diff --git a/.github/workflows/mkdocs-deploy.yml b/.github/workflows/mkdocs-deploy.yml deleted file mode 100644 index f17ea8d..0000000 --- a/.github/workflows/mkdocs-deploy.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: mkdocs-deploy -on: - push: - branches: - - docs - -permissions: - contents: write -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Configure Git Credentials - run: | - git config --global user.name 'GitHub Actions' - git config --global user.email 'actions@github.com' - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - name: Install Dependencies - run: pip install mkdocs-material[imaging] mkdocs-autorefs mkdocs-get-deps mkdocs-material-extensions mkdocstrings mkdocstrings-python mkdocs-git-revision-date-localized-plugin - - name: Deploy docs - run: mkdocs gh-deploy --force --verbose diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml deleted file mode 100644 index b2e9c30..0000000 --- a/.github/workflows/python-publish.yml +++ /dev/null @@ -1,52 +0,0 @@ -# This workflow will upload a Python Package to PyPi when a Release is created -name: Publish Python Package - -on: - release: - types: [published] - -permissions: - contents: read - -env: - PYPI_USERNAME: __token__ - PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - -jobs: - publish: - name: Publish to PyPi - runs-on: ubuntu-latest - - steps: - - name: Checkout the code - uses: actions/checkout@v4 - - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - - name: Install Poetry - run: | - curl -sSL https://install.python-poetry.org | python - -y - echo "$HOME/.local/bin" >> $GITHUB_PATH - - - name: Install Python package dependencies - run: | - poetry config virtualenvs.create false - poetry install --sync --no-interaction - - - name: Inject the latest Code Analyzer JAR - run: | - CODE_ANALYZER_URL=$(curl -s https://api.github.com/repos/IBM/codenet-minerva-code-analyzer/releases/latest | jq -r '.assets[] | .browser_download_url') - echo "Downloading: " $CODE_ANALYZER_URL - wget -q $CODE_ANALYZER_URL - echo "Moving codeanalyzer jar to:" ${{ github.workspace }}/cldk/analysis/java/codeanalyzer/jar/ - mv codeanalyzer-*.jar ${{ github.workspace }}/cldk/analysis/java/codeanalyzer/jar/ - - - name: Build package - run: poetry build - - - name: Publish package distributions to PyPI - run: poetry publish --username $PYPI_USERNAME --password $PYPI_PASSWORD - \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 377b062..0dda56a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,46 +12,56 @@ jobs: release: runs-on: ubuntu-latest - env: - JAVA_HOME: ${{ github.workspace }}/graalvm-ce-java11-22.3.3 - steps: - name: Check out code uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Set up JDK 11 from GraalVM - run: | - echo "${{ env.JAVA_HOME }}/bin" >> $GITHUB_PATH - wget https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.3/graalvm-ce-java11-linux-amd64-22.3.3.tar.gz - tar -xvzf graalvm-ce-java11-linux-amd64-22.3.3.tar.gz - ${{ env.JAVA_HOME }}/bin/gu install native-image + - name: Set up GraalVM CE Java 11 + uses: graalvm/setup-graalvm@v1 + with: + java-version: '21' + distribution: 'graalvm' + github-token: ${{ secrets.GITHUB_TOKEN }} + native-image-job-reports: 'true' + + - name: Install jq + run: sudo apt-get update && sudo apt-get install -y jq - name: Install Poetry run: | curl -sSL https://install.python-poetry.org | python3 - echo "${HOME}/.local/bin" >> $GITHUB_PATH + export PATH="${HOME}/.local/bin:$PATH" - - name: Configure Poetry - run: poetry config virtualenvs.in-project true - - - name: Install Dependencies - run: poetry install --no-root + - name: Install Python package dependencies + run: | + poetry config virtualenvs.create false + poetry install --sync --no-interaction - name: Run Tests - id: build - continue-on-error: true # Allow workflow continuation on failure + id: test + continue-on-error: true run: poetry run make test - name: Delete tag on failure - if: steps.build.outcome != 'success' + if: steps.test.conclusion == 'failure' run: | + echo "Tests failed. Deleting tag ${GITHUB_REF#refs/tags/}..." git push --delete origin ${GITHUB_REF#refs/tags/} - exit 1 # Fail the workflow + exit 1 + + - name: Inject the latest Code Analyzer JAR + run: | + CODE_ANALYZER_URL=$(curl -s https://api.github.com/repos/codellm-devkit/codeanalyzer-java/releases/latest | jq -r '.assets[] | select(.name | endswith(".jar")) | .browser_download_url') + echo "Downloading: $CODE_ANALYZER_URL" + wget -q "$CODE_ANALYZER_URL" + mkdir -p ${{ github.workspace }}/cldk/analysis/java/codeanalyzer/jar/ + mv codeanalyzer-*.jar ${{ github.workspace }}/cldk/analysis/java/codeanalyzer/jar/ - name: Build Package run: poetry build @@ -72,3 +82,6 @@ jobs: body: ${{ steps.gen_changelog.outputs.changelog }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Publish package distributions to PyPI + run: poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/release_config.json b/.github/workflows/release_config.json index f0d4b5b..200120c 100644 --- a/.github/workflows/release_config.json +++ b/.github/workflows/release_config.json @@ -1,36 +1,62 @@ { "categories": [ + { + "title": "## ✨ Release", + "labels": [ + "release" + ] + }, { "title": "## 🚀 Features", - "labels": ["kind/feature", "enhancement"] + "labels": [ + "kind/feature", + "enhancement" + ] }, { "title": "## 🐛 Fixes", - "labels": ["fix", "bug"] + "labels": [ + "fix", + "bug" + ] }, { "title": "## ♻️ Refactoring", - "labels": ["refactoring"] + "labels": [ + "refactoring" + ] }, { "title": "## ⚡️ Performance Improvements", - "labels": ["performance"] + "labels": [ + "performance" + ] }, { "title": "## \uD83D\uDCDA Documentation", - "labels": ["documentation", "doc"] + "labels": [ + "documentation", + "doc" + ] }, { "title": "## \uD83D\uDEA6 Tests", - "labels": ["test"] + "labels": [ + "test" + ] }, { "title": "## \uD83D\uDEE0 Other Updates", - "labels": ["other", "kind/dependency-change"] + "labels": [ + "other", + "kind/dependency-change" + ] }, { "title": "## 🚨 Breaking Changes", - "labels": ["breaking"] + "labels": [ + "breaking" + ] } ], "ignore_labels": [ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..21c4bd5 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,66 @@ +# Contributing to Codellm-Devkit + +Thank you for your interest in contributing to the Codellm-Devkit (CLDK)! Here we provide guidelines for contributing to any repository in the codellm-devkit organization. + +## How to Contribute + +### Issues and Discussions +- For bugs and actionable items, please prefer creating an issue in the relevant repository +- For open-ended or design discussions _specifically related to the specification_, use our [specification discussions](https://github.com/codellm-devkit/specification/discussions) +- For other general discussions that are not suitable as issues, use our [organization discussions](https://github.com/orgs/codellm-devkit/discussions) + +In all cases, please check for duplicates before creating new issues or discussions! + +### Pull Requests +We welcome PRs across all our repositories! When submitting: +- Fork the repository +- Follow existing code style +- Include tests where applicable +- Update documentation as needed +- Link related issues + +## Development Guidelines + +### Code Quality +- Follow the repository's established patterns +- Include appropriate documentation +- Add tests for new functionality +- Handle errors appropriately + +### Documentation +- Keep READMEs current +- Document configuration options +- Provide clear examples +- Include setup instructions + +### Security +- Follow security best practices +- Implement proper input validation +- Document security considerations + +## Getting Started + +1. Fork the repository +2. Clone your fork: + ```bash + git clone https://github.com/your-username/repository-name.git + ``` +3. Create a feature branch: + ```bash + git checkout -b my-feature + ``` +4. Make your changes and commit: + ```bash + git commit -m "Description of changes" + ``` +5. Push and create a Pull Request + +## Code of Conduct + +Please note that this project is released with a [Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. + +## License + +By contributing, you agree that your contributions will be licensed under the Apache 2.0 License. + +Thank you for contributing to Codellm-Devkit! \ No newline at end of file diff --git a/README.md b/README.md index 383c38a..a13a635 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ - - - Logo + + + Logo - +

+

+

+

@@ -54,257 +57,195 @@ Codellm-Devkit is an ongoing project, developed at IBM Research. For any questions, feedback, or suggestions, please contact the authors: -| Name | Email | -| ---- | ----- | -| Rahul Krishna | [i.m.ralk@gmail.com](mailto:imralk+oss@gmail.com) | -| Rangeet Pan | [rangeet.pan@ibm.com](mailto:rangeet.pan@gmail.com) | -| Saurabh Sihna | [sinhas@us.ibm.com](mailto:sinhas@us.ibm.com) | +| Name | Email | +| ------------- | --------------------------------------------------- | +| Rahul Krishna | [i.m.ralk@gmail.com](mailto:imralk+oss@gmail.com) | +| Rangeet Pan | [rangeet.pan@ibm.com](mailto:rangeet.pan@gmail.com) | +| Saurabh Sihna | [sinhas@us.ibm.com](mailto:sinhas@us.ibm.com) | ## Table of Contents - [Contact](#contact) - [Table of Contents](#table-of-contents) +- [Quick Start](#quick-start) - [Architectural and Design Overview](#architectural-and-design-overview) -- [Quick Start: Example Walkthrough](#quick-start-example-walkthrough) - - [Prerequisites](#prerequisites) - - [Step 1: Set up an Ollama server](#step-1--set-up-an-ollama-server) - - [Pull the latest version of Granite 8b instruct model from ollama](#pull-the-latest-version-of-granite-8b-instruct-model-from-ollama) - - [Step 2: Install CLDK](#step-2--install-cldk) - - [Step 3: Build a code summarization pipeline](#step-3--build-a-code-summarization-pipeline) + - [1. **Data Models**](#1-data-models) + - [2. **Analysis Backends**](#2-analysis-backends) + - [Java](#java) + - [Python](#python) + - [C](#c) + - [3. **Utilities and Extensions**](#3-utilities-and-extensions) +- [Contributing](#contributing) - [Publication (papers and blogs related to CLDK)](#publication-papers-and-blogs-related-to-cldk) -## Architectural and Design Overview - -Below is a very high-level overview of the architectural of CLDK: +## Quick Start -```mermaid -graph TD -User <--> A[CLDK] - A --> 15[Retrieval ‡] - A --> 16[Prompting ‡] - A[CLDK] <--> B[Languages] - B --> C[Java, Python, Go ‡, C ‡, JavaScript ‡, TypeScript ‡, Rust ‡] - C --> D[Data Models] - D --> 13{Pydantic} - 13 --> 7 - C --> 7{backends} - 7 <--> 9[WALA] - 9 <--> 14[Analysis] - 7 <--> 10[Tree-sitter] - 10 <--> 14[Analysis] - 7 <--> 11[LLVM ‡] - 11 <--> 14[Analysis] - 7 <--> 12[CodeQL ‡] - 12 <--> 14[Analysis] - - - -X[‡ Yet to be implemented] -``` +In this section, we will walk through a simple example to demonstrate how to get started with CLDK. -The user interacts by invoking the CLDK API. The CLDK API is responsible for handling the user requests and delegating them to the appropriate language-specific modules. +1. Install the CLDK package using pip: + + ```bash + pip install cldk + ``` -Each language comprises of two key components: data models and backends. -1. **Data Models:** These are high level abstractions that represent the various language constructs and componentes in a structured format using pydantic. This confers a high degree of flexibility and extensibility to the models as well as allowing for easy accees of various data components via a simple dot notation. In addition, the data models are designed to be easily serializable and deserializable, making it easy to store and retrieve data from various sources. +2. To use CLDK, just import the `CLDK` class from the `cldk` module: + + ```python + from cldk import CLDK + ``` -2. **Analysis Backends:** These are the components that are responsible for interfacing with the various program analysis tools. The core backends are Treesitter, Javaparse, WALA, LLVM, and CodeQL. The backends are responsible for handling the user requests and delegating them to the appropriate analysis tools. The analysis tools perfrom the requisite analysis and return the results to the user. The user merely calls one of several high-level API functions such as `get_method_body`, `get_method_signature`, `get_call_graph`, etc. and the backend takes care of the rest. +3. Next, to select a language for analysis, create an instance of the `CLDK` class with the desired language: - Some langugages may have multiple backends. For example, Java has WALA, Javaparser, Treesitter, and CodeQL backends. The user has freedom to choose the backend that best suits their needs. + ```python + cldk = CLDK(language="java") # For Java analysis + ``` -We are currently working on implementing the retrieval and prompting components. The retrieval component will be responsible for retrieving the relevant code snippets from the codebase for RAG usecases. The prompting component will be responsible for generating the prompts for the CodeLLMs using popular prompting frameworks such as `PDL`, `Guidance`, or `LMQL`. +4. Create an analysis object over the Java application by providing the path to the project: -## Quick Start: Example Walkthrough + ```python + analysis = cldk.analysis(project_path="/path/to/your/java/project") + ``` + This will initialize the analysis pipeline for the specified project. The analysis engine, in the backend, will parse the java project and build a symbol table representing the program structure and return the artifact to CLDK which will map it to the CLDK data schema (`cldk/models/java/models.py`). -In this section, we will walk through a simple example to demonstrate how to use CLDK. We will: + Depending on the size of the project, this step may take some time as it involves parsing, building, and statically analyzing the codebase. -* Set up a local ollama server to interact with CodeLLMs -* Build a simple code summarization pipeline for a Java and a Python application. +5. Once the analysis is complete, you can call the various methods provided by the `analysis` object to interact with the analyzed codebase. For example, you can retrieve method bodies, signatures, and call graphs. -### Prerequisites + ```python + # Iterate over all the files in the project + from CLDK import cldk -Before we begin, make sure you have the following prerequisites installed: + analysis: JavaAnalysis = CLDK(language="java").analysis(project_path="/path/to/your/java/project") + + all_files = [file_path for file_path, class_file in analysis.get_symbol_table().items()] - * Python 3.11 or later - * Ollama v0.3.4 or later + # Process each file + for file_path in all_files: + # Additional processing can be done here + pass + ``` -If you are using [Visual Studio Code](https://code.visualstudio.com) with the [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension along with [Docker Desktop](https://www.docker.com/products/docker-desktop) or [Rancher Desktop](https://w3.ibm.com/w3publisher/docker-desktop/rancher-desktop), this project contains a Dev Container environment for you to develop in. + Likewise, you can also retrieve method bodies. -Use the following commands: + ```python + from cldk import CLDK -```bash -git clone https://github.com/codellm-devkit/python-sdk.git -cd python-dsk -code . -``` + analysis: JavaAnalysis = CLDK(language="java").analysis(project_path="/path/to/your/java/project") + for class_file in analysis.get_symbol_table().values(): + for type_name, type_declaration in class_file.type_declarations.items(): + for method in type_declaration.callable_declarations.values(): + method_body = analysis.get_method_body(method.declaration) + print(f"Method: {method.declaration}\nBody: {method_body}\n") + ``` -When Visual Studio Code starts, select the option to **Reopen in Container** and a development environment with Python, Java, C, and Rust will be available to you. See [Developing inside a Container](https://code.visualstudio.com/docs/devcontainers/containers) for more detailed instructions. +## Architectural and Design Overview -### Step 1: Set up an Ollama server +Below is a very high-level overview of the architectural of CLDK: -If don't already have ollama, please download and install it from here: [Ollama](https://ollama.com/download). -Once you have ollama, start the server and make sure it is running. +```mermaid +graph TD +User <--> A[CLDK] -If you're on MacOS, Linux, or WSL, you can check to make sure the server is running by running the following command: + A --> A1[cldk.analysis] + + A1 --> A2[cldk.analysis.java] + A2 --> A3[codeanalyzer → WALA] + A3 --> JA[Analysis] + + A1 --> A4[cldk.analysis.c] + A4 --> A5[clang] + A5 --> CA[Analysis] + + A1 --> A6[cldk.analysis.python] + A6 --> A7[treesitter_python] + A7 --> PA[Analysis] + + A1 --> A8[cldk.analysis.commons] + A8 --> LSP[LSP] + A8 --> TS[treesitter base] + A8 --> TU[treesitter utils] + + A --> M[cldk.models] + M --> MJ[Java models] + M --> MP[Python models] + M --> MC[C models] + M --> MT[treesitter models] + + A --> U[cldk.utils] + U --> UX[exceptions] + U --> UL[logging] + U --> US[sanitization] + US --> USJ[java sanitization] -```bash -sudo systemctl status ollama ``` -You should see an output similar to the following: - -```bash -➜ sudo systemctl status ollama -● ollama.service - Ollama Service - Loaded: loaded (/etc/systemd/system/ollama.service; enabled; preset: enabled) - Active: active (running) since Sat 2024-08-10 20:39:56 EDT; 17s ago - Main PID: 23069 (ollama) - Tasks: 19 (limit: 76802) - Memory: 1.2G (peak: 1.2G) - CPU: 6.745s - CGroup: /system.slice/ollama.service - └─23069 /usr/local/bin/ollama serve -``` +The user interacts with the CLDK API via the top-level `CLDK` interface exposed in `core.py`. This interface is responsible for configuring the analysis session, initializing language-specific pipelines, and exposing a high-level, language-agnostic API for interacting with program structure and semantics. -If not, you may have to start the server manually. You can do this by running the following command: +CLDK is currently implemented with full support for **Java**, **Python**, and **C**. Each language module is structured around two core components: **data models** and **analysis backends**. -```bash -sudo systemctl start ollama -``` -#### Pull the latest version of Granite 8b instruct model from ollama +### 1. **Data Models** -To pull the latest version of the Granite 8b instruct model from ollama, run the following command: +Each supported language has its own set of Pydantic-based data models, located in the `cldk.models` module (e.g., `cldk.models.java`, `cldk.models.python`, `cldk.models.c`). These models provide: -```bash -ollama pull granite-code:8b-instruct -``` +- **Structured representations** of language elements such as classes, methods, annotations, fields, and statements. +- **Typed access** using dot notation (e.g., `method.return_type` or `klass.methods`), promoting developer productivity. +- **Serialization support** to and from JSON and other formats, enabling easy storage, inspection, and exchange of analysis results. +- **Consistency** across languages via shared modeling conventions and base abstractions, including a common treesitter schema. -Check to make sure the model was successfully pulled by running the following command: -```bash -ollama run granite-code:8b-instruct 'Write a function to print hello world in python' -``` -The output should be similar to the following: +### 2. **Analysis Backends** -``` -➜ ollama run granite-code:8b-instruct 'Write a function to print hello world in python' +Each language has a dedicated analysis backend implemented under `cldk.analysis.`, responsible for coordinating concrete analysis steps using language-specific tooling: -def say_hello(): - print("Hello World!") -``` +#### Java +- **Backend:** `cldk.analysis.java` +- **Tools:** JavaParser, WALA (via CodeAnalyzer JAR) +- **Capabilities:** Bytecode-level call graphs, symbol resolution, method declarations, type hierarchies -### Step 2: Install CLDK +#### Python +- **Backend:** `cldk.analysis.python` +- **Tools:** Tree-sitter +- **Capabilities:** Lightweight structural parsing, method/function boundaries, control/data flow approximation -You may install the latest version of CLDK from [PyPi](https://pypi.org/project/cldk/): +#### C +- **Backend:** `cldk.analysis.c` +- **Tools:** Clang frontend +- **Capabilities:** Structural symbol resolution and method/function layout using Clang AST -```python -pip install cldk -``` +All analysis backends share common infrastructure defined in `cldk.analysis.commons`, including: +- **Tree-sitter utilities** (`treesitter_java`, `treesitter_python`) +- **LSP integration hooks** +- **Generic model builders and transformation utilities** -Once CLDK is installed, you can import it into your Python code: +Backends are internally orchestrated such that the user does not interact with them directly. Instead, they simply call high-level SDK methods such as: ```python -from cldk import CLDK +get_method_body(...) +get_method_signature(...) +get_call_graph(...) ``` -### Step 3: Build a code summarization pipeline - -Now that we have set up the ollama server and installed CLDK, we can build a simple code summarization pipeline for a Java application. - -1. Let's download a sample Java (apache-commons-cli): +CLDK handles tool coordination, language resolution, parsing, transformation, and data marshalling under the hood. - * Download and unzip the sample Java application: - ```bash - wget https://github.com/apache/commons-cli/archive/refs/tags/rel/commons-cli-1.7.0.zip -O commons-cli-1.7.0.zip && unzip commons-cli-1.7.0.zip - ``` - * Record the path to the sample Java application: - ```bash - export JAVA_APP_PATH=/path/to/commons-cli-1.7.0 - ``` +--- -Below is a simple code summarization pipeline for a Java application using CLDK. It does the following things: +### 3. **Utilities and Extensions** -* Creates a new instance of the CLDK class (see comment `# (1)`) -* Creates an analysis object over the Java application (see comment `# (2)`) -* Iterates over all the files in the project (see comment `# (3)`) -* Iterates over all the classes in the file (see comment `# (4)`) -* Iterates over all the methods in the class (see comment `# (5)`) -* Gets the code body of the method (see comment `# (6)`) -* Initializes the treesitter utils for the class file content (see comment `# (7)`) -* Sanitizes the class for analysis (see comment `# (8)`) -* Formats the instruction for the given focal method and class (see comment `# (9)`) -* Prompts the local model on Ollama (see comment `# (10)`) -* Prints the instruction and LLM output (see comment `# (11)`) +The `cldk.utils` module provides additional support functionality: +- **Exception handling utilities** +- **Logging configuration** +- **Sanitization logic** (especially for Java, via `sanitization.java.treesitter_sanitizer`) -```python -# code_summarization_for_java.py - -from cldk import CLDK - - -def format_inst(code, focal_method, focal_class): - """ - Format the instruction for the given focal method and class. - """ - inst = f"Question: Can you write a brief summary for the method `{focal_method}` in the class `{focal_class}` below?\n" - - inst += "\n" - inst += f"```{language}\n" - inst += code - inst += "```" if code.endswith("\n") else "\n```" - inst += "\n" - return inst +These modules ensure robustness and clean error management across backend interactions and user API layers. -def prompt_ollama(message: str, model_id: str = "granite-code:8b-instruct") -> str: - """Prompt local model on Ollama""" - response_object = ollama.generate(model=model_id, prompt=message) - return response_object["response"] +## Contributing +We invite contributors of all levels of experience! We would love to see you get involved in the project. See the [CONTRIBUTING](./CONTRIBUTING.md) guide to get started. -if __name__ == "__main__": - # (1) Create a new instance of the CLDK class - cldk = CLDK(language="java") - - # (2) Create an analysis object over the java application - analysis = cldk.analysis(project_path=os.getenv("JAVA_APP_PATH")) - - # (3) Iterate over all the files in the project - for file_path, class_file in analysis.get_symbol_table().items(): - class_file_path = Path(file_path).absolute().resolve() - # (4) Iterate over all the classes in the file - for type_name, type_declaration in class_file.type_declarations.items(): - # (5) Iterate over all the methods in the class - for method in type_declaration.callable_declarations.values(): - - # (6) Get code body of the method - code_body = class_file_path.read_text() - - # (7) Initialize the treesitter utils for the class file content - tree_sitter_utils = cldk.tree_sitter_utils(source_code=code_body) - - # (8) Sanitize the class for analysis - sanitized_class = tree_sitter_utils.sanitize_focal_class(method.declaration) - - # (9) Format the instruction for the given focal method and class - instruction = format_inst( - code=sanitized_class, - focal_method=method.declaration, - focal_class=type_name, - ) - - # (10) Prompt the local model on Ollama - llm_output = prompt_ollama( - message=instruction, - model_id="granite-code:20b-instruct", - ) - - # (11) Print the instruction and LLM output - print(f"Instruction:\n{instruction}") - print(f"LLM Output:\n{llm_output}") -``` ### Publication (papers and blogs related to CLDK) 1. Krishna, Rahul, Rangeet Pan, Raju Pavuluri, Srikanth Tamilselvam, Maja Vukovic, and Saurabh Sinha. "[Codellm-Devkit: A Framework for Contextualizing Code LLMs with Program Analysis Insights.](https://arxiv.org/pdf/2410.13007)" arXiv preprint arXiv:2410.13007 (2024). diff --git a/cldk/analysis/commons/treesitter/treesitter_java.py b/cldk/analysis/commons/treesitter/treesitter_java.py index 3c0033d..a7f68ad 100644 --- a/cldk/analysis/commons/treesitter/treesitter_java.py +++ b/cldk/analysis/commons/treesitter/treesitter_java.py @@ -26,6 +26,9 @@ logger = logging.getLogger(__name__) +LANGUAGE: Language = Language(tsjava.language()) +PARSER: Parser = Parser(LANGUAGE) + # pylint: disable=too-many-public-methods class TreesitterJava: @@ -34,8 +37,7 @@ class TreesitterJava: """ def __init__(self) -> None: - self.language: Language = Language(tsjava.language()) - self.parser: Parser = Parser(self.language) + pass def method_is_not_in_class(self, method_name: str, class_body: str) -> bool: """Check if a method is in a class. @@ -78,7 +80,7 @@ def syntax_error(node): return False - tree = self.parser.parse(bytes(code, "utf-8")) + tree = PARSER.parse(bytes(code, "utf-8")) if tree is not None: return not syntax_error(tree.root_node) return False @@ -92,7 +94,7 @@ def get_raw_ast(self, code: str) -> Tree: Returns: Tree: the raw AST """ - return self.parser.parse(bytes(code, "utf-8")) + return PARSER.parse(bytes(code, "utf-8")) def get_all_imports(self, source_code: str) -> Set[str]: """Get a list of all the imports in a class. @@ -103,8 +105,8 @@ def get_all_imports(self, source_code: str) -> Set[str]: Returns: Set[str]: A set of all the imports in the class. """ - import_declerations: Captures = self.frame_query_and_capture_output(query="(import_declaration (scoped_identifier) @name)", code_to_process=source_code) - return {capture.node.text.decode() for capture in import_declerations} + import_declarations: Captures = self.frame_query_and_capture_output(query="(import_declaration (scoped_identifier) @name)", code_to_process=source_code) + return {capture.node.text.decode() for capture in import_declarations} # TODO: This typo needs to be fixed (i.e., package not pacakge) def get_pacakge_name(self, source_code: str) -> str: @@ -176,8 +178,8 @@ def frame_query_and_capture_output(self, query: str, code_to_process: str) -> Ca code_to_process : str The code to process. """ - framed_query: Query = self.language.query(query) - tree = self.parser.parse(bytes(code_to_process, "utf-8")) + framed_query: Query = LANGUAGE.query(query) + tree = PARSER.parse(bytes(code_to_process, "utf-8")) return Captures(framed_query.captures(tree.root_node)) def get_method_name_from_declaration(self, method_name_string: str) -> str: @@ -424,7 +426,7 @@ def get_lexical_tokens(self, code: str, filter_by_node_type: List[str] | None = List of lexical tokens """ - tree = self.parser.parse(bytes(code, "utf-8")) + tree = PARSER.parse(bytes(code, "utf-8")) root_node = tree.root_node lexical_tokens = [] diff --git a/cldk/analysis/commons/treesitter/treesitter_python.py b/cldk/analysis/commons/treesitter/treesitter_python.py index d423ab9..a9f401f 100644 --- a/cldk/analysis/commons/treesitter/treesitter_python.py +++ b/cldk/analysis/commons/treesitter/treesitter_python.py @@ -28,6 +28,9 @@ from cldk.analysis.commons.treesitter.models import Captures from cldk.analysis.commons.treesitter.utils.treesitter_utils import TreeSitterUtils +LANGUAGE: Language = Language(tspython.language()) +PARSER: Parser = Parser(LANGUAGE) + class TreesitterPython: """ @@ -35,8 +38,6 @@ class TreesitterPython: """ def __init__(self) -> None: - self.language: Language = Language(tspython.language()) - self.parser: Parser = Parser(self.language) self.utils: TreeSitterUtils = TreeSitterUtils() def is_parsable(self, code: str) -> bool: @@ -62,7 +63,7 @@ def syntax_error(node): return False - tree = self.parser.parse(bytes(code, "utf-8")) + tree = PARSER.parse(bytes(code, "utf-8")) if tree is not None: return not syntax_error(tree.root_node) return False @@ -76,7 +77,7 @@ def get_raw_ast(self, code: str) -> Tree: Returns: Tree: the raw AST """ - return self.parser.parse(bytes(code, "utf-8")) + return PARSER.parse(bytes(code, "utf-8")) def get_all_methods(self, module: str) -> List[PyMethod]: """ @@ -163,8 +164,8 @@ def get_all_imports(self, module: str) -> List[str]: List[str]: List of imports """ import_list = [] - captures_from_import: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((import_from_statement) @imports))", module) - captures_import: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((import_statement) @imports))", module) + captures_from_import: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((import_from_statement) @imports))", module) + captures_import: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((import_statement) @imports))", module) for capture in captures_import: import_list.append(capture.node.text.decode()) for capture in captures_from_import: @@ -188,8 +189,8 @@ def get_all_imports_details(self, module: str) -> List[PyImport]: List[PyImport]: List of imports """ import_list = [] - captures_from_import: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((import_from_statement) @imports))", module) - captures_import: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((import_statement) @imports))", module) + captures_from_import: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((import_from_statement) @imports))", module) + captures_import: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((import_statement) @imports))", module) for capture in captures_import: imports = [] for import_name in capture.node.children: @@ -223,7 +224,7 @@ def get_all_classes(self, module: str) -> List[PyClass]: List[PyClass]: returns details of all classes in it """ classes: List[PyClass] = [] - all_class_details: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((class_definition) @class_name))", module) + all_class_details: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((class_definition) @class_name))", module) for class_name in all_class_details: code_body = class_name.node.text.decode() class_full_signature = "" # TODO: what to fill here @@ -331,7 +332,7 @@ def __get_function_details(self, node: Node, klass_name: str = "") -> PyMethod: is_constructor = False is_static = False call_sites: List[PyCallSite] = [] - call_nodes: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((call) @call_name))", node.text.decode()) + call_nodes: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((call) @call_name))", node.text.decode()) for call_node in call_nodes: call_sites.append(self.__get_call_site_details(call_node.node)) for function_detail in node.children: @@ -390,9 +391,9 @@ def __get_function_details(self, node: Node, klass_name: str = "") -> PyMethod: return function def __get_class_nodes(self, module: str) -> Captures: - captures: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((class_definition) @class_name))", module) + captures: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((class_definition) @class_name))", module) return captures def __get_method_nodes(self, module: str) -> Captures: - captures: Captures = self.utils.frame_query_and_capture_output(self.parser, self.language, "(((function_definition) @function_name))", module) + captures: Captures = self.utils.frame_query_and_capture_output(PARSER, LANGUAGE, "(((function_definition) @function_name))", module) return captures diff --git a/cldk/analysis/java/codeanalyzer/codeanalyzer.py b/cldk/analysis/java/codeanalyzer/codeanalyzer.py index 3ac7a45..0a2fcd2 100644 --- a/cldk/analysis/java/codeanalyzer/codeanalyzer.py +++ b/cldk/analysis/java/codeanalyzer/codeanalyzer.py @@ -67,7 +67,10 @@ def __init__( self.eager_analysis = eager_analysis self.analysis_level = analysis_level self.target_files = target_files - self.application = self._init_codeanalyzer(analysis_level=1 if analysis_level == AnalysisLevel.symbol_table else 2) + if self.source_code is None: + self.application = self._init_codeanalyzer(analysis_level=1 if analysis_level == AnalysisLevel.symbol_table else 2) + else: + self.application = self._codeanalyzer_single_file() # Attributes related the Java code analysis... if analysis_level == AnalysisLevel.call_graph: self.call_graph: nx.DiGraph = self._generate_call_graph(using_symbol_table=False) @@ -121,6 +124,22 @@ def _init_japplication(data: str) -> JApplication: # set_trace() return JApplication(**json.loads(data)) + + @staticmethod + def check_exisiting_analysis_file_level(analysis_json_path_file: Path, analysis_level: int) -> bool: + analysis_file_compatible = True + if not analysis_json_path_file.exists(): + analysis_file_compatible = False + else: + with open(analysis_json_path_file) as f: + data = json.load(f) + if analysis_level == 2 and "call_graph" not in data: + analysis_file_compatible = False + elif analysis_level == 1 and "symbol_table" not in data: + analysis_file_compatible = False + return analysis_file_compatible + + def _init_codeanalyzer(self, analysis_level=1) -> JApplication: """Should initialize the Codeanalyzer. @@ -167,7 +186,7 @@ def _init_codeanalyzer(self, analysis_level=1) -> JApplication: ) is_run_code_analyzer = True else: - if not analysis_json_path_file.exists() or self.eager_analysis: + if not self.check_exisiting_analysis_file_level(analysis_json_path_file, analysis_level) or self.eager_analysis: # If the analysis file does not exist, we'll run the analysis. Alternately, if the eager_analysis # flag is set, we'll run the analysis every time the object is created. This will happen regradless # of the existence of the analysis file. @@ -592,7 +611,7 @@ def get_all_nested_classes(self, qualified_class_name) -> List[JType]: if ci is None: logging.warning(f"Class {qualified_class_name} not found in the application view.") return list() - nested_classes = ci.nested_type_declerations + nested_classes = ci.nested_type_declarations return [self.get_class(c) for c in nested_classes] # Assuming qualified nested class names def get_extended_classes(self, qualified_class_name) -> List[str]: @@ -1052,4 +1071,4 @@ def get_all_docstrings(self) -> List[Tuple[str, JComment]]: if javadoc_comments: docstrings[file_path] = javadoc_comments - return docstrings \ No newline at end of file + return docstrings diff --git a/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.1.jar b/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.1.jar deleted file mode 100644 index 2c5450a..0000000 Binary files a/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.1.jar and /dev/null differ diff --git a/tests/resources/java/codeanalyzer_jars/2.3.0/codeanalyzer-2.3.0.jar b/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.4.jar similarity index 96% rename from tests/resources/java/codeanalyzer_jars/2.3.0/codeanalyzer-2.3.0.jar rename to cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.4.jar index 2409ed7..5118d1a 100644 Binary files a/tests/resources/java/codeanalyzer_jars/2.3.0/codeanalyzer-2.3.0.jar and b/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.4.jar differ diff --git a/cldk/analysis/python/python_analysis.py b/cldk/analysis/python/python_analysis.py index 4b35e56..de248ad 100644 --- a/cldk/analysis/python/python_analysis.py +++ b/cldk/analysis/python/python_analysis.py @@ -30,17 +30,11 @@ class PythonAnalysis: def __init__( self, - eager_analysis: bool, project_dir: str | Path | None, source_code: str | None, - analysis_backend_path: str | None, - analysis_json_path: str | Path | None, ) -> None: self.project_dir = project_dir self.source_code = source_code - self.analysis_json_path = analysis_json_path - self.analysis_backend_path = analysis_backend_path - self.eager_analysis = eager_analysis self.analysis_backend: TreesitterPython = TreesitterPython() def get_methods(self) -> List[PyMethod]: diff --git a/cldk/core.py b/cldk/core.py index 3c24697..7024d32 100644 --- a/cldk/core.py +++ b/cldk/core.py @@ -27,6 +27,8 @@ from cldk.analysis.c import CAnalysis from cldk.analysis.java import JavaAnalysis from cldk.analysis.commons.treesitter import TreesitterJava +from cldk.analysis.python.python_analysis import PythonAnalysis +from cldk.analysis.python.python_analysis import PythonAnalysis from cldk.utils.exceptions import CldkInitializationException from cldk.utils.sanitization.java import TreesitterSanitizer @@ -118,6 +120,11 @@ def analysis( target_files=target_files, eager_analysis=eager, ) + elif self.language == "python": + return PythonAnalysis( + project_dir=project_path, + source_code=source_code, + ) elif self.language == "c": return CAnalysis(project_dir=project_path) else: diff --git a/cldk/models/java/models.py b/cldk/models/java/models.py index 58746cc..52e855c 100644 --- a/cldk/models/java/models.py +++ b/cldk/models/java/models.py @@ -270,6 +270,7 @@ class JCallable(BaseModel): code (str): The code block of the callable. start_line (int): The starting line number of the callable in the source file. end_line (int): The ending line number of the callable in the source file. + code_start_line (int): The starting line number of the code block of a callable in the source file. referenced_types (List[str]): The types referenced within the callable. accessed_fields (List[str]): Fields accessed in the callable. call_sites (List[JCallSite]): Call sites in the callable. @@ -293,6 +294,7 @@ class JCallable(BaseModel): code: str start_line: int end_line: int + code_start_line: int referenced_types: List[str] accessed_fields: List[str] call_sites: List[JCallSite] @@ -350,7 +352,7 @@ class JType(BaseModel): modifiers: List[str] | None = [] annotations: List[str] | None = [] parent_type: str - nested_type_declerations: List[str] | None = [] + nested_type_declarations: List[str] | None = [] callable_declarations: Dict[str, JCallable] = {} field_declarations: List[JField] = [] enum_constants: List[JEnumConstant] | None = [] @@ -363,11 +365,15 @@ class JCompilationUnit(BaseModel): """Represents a compilation unit in Java. Attributes: + file_path (str): The path to the source file. + package_name (str): The name of the package for the comppilation unit. comments (List[JComment]): A list of comments in the compilation unit. imports (List[str]): A list of import statements in the compilation unit. type_declarations (Dict[str, JType]): A dictionary mapping type names to their corresponding JType representations. """ + file_path: str + package_name: str comments: List[JComment] imports: List[str] type_declarations: Dict[str, JType] @@ -427,14 +433,13 @@ class JGraphEdges(BaseModel): @classmethod def validate_source(cls, value) -> JMethodDetail: _, type_declaration, signature = value["file_path"], value["type_declaration"], value["signature"] - j_callable = _CALLABLES_LOOKUP_TABLE.get( + j_callable: JCallable = _CALLABLES_LOOKUP_TABLE.get( (type_declaration, signature), JCallable( - comments=[], signature=signature, is_implicit=True, is_constructor="" in value["callable_declaration"], - comment="", + comments=[], annotations=[], modifiers=[], thrown_exceptions=[], @@ -443,12 +448,15 @@ def validate_source(cls, value) -> JMethodDetail: JCallableParameter(name=None, type=t, annotations=[], modifiers=[], start_column=-1, end_column=-1, start_line=-1, end_line=-1) for t in value["callable_declaration"].split("(")[1].split(")")[0].split(",") ], + return_type=None, code="", start_line=-1, end_line=-1, + code_start_line=-1, referenced_types=[], accessed_fields=[], call_sites=[], + is_entrypoint=False, variable_declarations=[], crud_operations=[], crud_queries=[], diff --git a/cldk/models/python/models.py b/cldk/models/python/models.py index bdaf519..318e170 100644 --- a/cldk/models/python/models.py +++ b/cldk/models/python/models.py @@ -29,6 +29,7 @@ class PyArg(BaseModel): class PyImport(BaseModel): from_statement: str + # code_body: str imports: List[str] diff --git a/cldk/utils/sanitization/java/treesitter_sanitizer.py b/cldk/utils/sanitization/java/treesitter_sanitizer.py index 85de9b3..06b023c 100644 --- a/cldk/utils/sanitization/java/treesitter_sanitizer.py +++ b/cldk/utils/sanitization/java/treesitter_sanitizer.py @@ -86,11 +86,11 @@ def remove_unused_imports(self, sanitized_code: str) -> str: + Finally, remove all the unused imports from the source code and prettify it. """ pruned_source_code: str = deepcopy(sanitized_code) - import_declerations: Captures = self.__javasitter.frame_query_and_capture_output(query="((import_declaration) @imports)", code_to_process=self.source_code) + import_declarations: Captures = self.__javasitter.frame_query_and_capture_output(query="((import_declaration) @imports)", code_to_process=self.source_code) unused_imports: Set = set() ids_and_typeids: Set = set() - class_bodies: Captures = self.__javasitter.frame_query_and_capture_output(query="((class_declaration) @class_decleration)", code_to_process=self.source_code) + class_bodies: Captures = self.__javasitter.frame_query_and_capture_output(query="((class_declaration) @class_declaration)", code_to_process=self.source_code) for class_body in class_bodies: all_type_identifiers_in_class: Captures = self.__javasitter.frame_query_and_capture_output( query="((type_identifier) @type_id)", @@ -103,17 +103,17 @@ def remove_unused_imports(self, sanitized_code: str) -> str: ids_and_typeids.update({type_id.node.text.decode() for type_id in all_type_identifiers_in_class}) ids_and_typeids.update({other_id.node.text.decode() for other_id in all_other_identifiers_in_class}) - for import_decleration in import_declerations: - wildcard_import: Captures = self.__javasitter.frame_query_and_capture_output(query="((asterisk) @wildcard)", code_to_process=import_decleration.node.text.decode()) + for import_declaration in import_declarations: + wildcard_import: Captures = self.__javasitter.frame_query_and_capture_output(query="((asterisk) @wildcard)", code_to_process=import_declaration.node.text.decode()) if len(wildcard_import) > 0: continue import_statement: Captures = self.__javasitter.frame_query_and_capture_output( - query="((scoped_identifier) @scoped_identifier)", code_to_process=import_decleration.node.text.decode() + query="((scoped_identifier) @scoped_identifier)", code_to_process=import_declaration.node.text.decode() ) import_str = import_statement.captures[0].node.text.decode() if not import_str.split(".")[-1] in ids_and_typeids: - unused_imports.add(import_decleration.node.text.decode()) + unused_imports.add(import_declaration.node.text.decode()) for unused_import in unused_imports: pruned_source_code = pruned_source_code.replace(unused_import, "") diff --git a/pyproject.toml b/pyproject.toml index e8ff4c3..f3b4d04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cldk" -version = "0.5.1" +version = "1.0.5" description = "The official Python SDK for Codellm-Devkit." authors = ["Rahul Krishna ", "Rangeet Pan ", "Saurabh Sinhas ", "Raju Pavuluri "] @@ -27,14 +27,18 @@ include = [ "cldk/analysis/java/codeanalyzer/jar/*.jar" ] + +[tool.backend-versions] +codeanalyzer-java = "2.3.3" + [tool.poetry.dependencies] python = ">=3.11" pydantic = "^2.10.6" pandas = "^2.2.3" networkx = "^3.4.2" -pyarrow = "19.0.0" +pyarrow = "20.0.0" tree-sitter = "0.24.0" -rich = "13.9.4" +rich = "14.0.0" wget = "3.2" requests = "^2.32.3" tree-sitter-java = "0.23.5" @@ -52,7 +56,7 @@ ipython = "^8.32.0" [tool.poetry.group.test.dependencies] # Test dependencies toml = "^0.10.2" -pytest = "8.3.4" +pytest = "8.3.5" pytest-pspec = "^0.0.4" pytest-cov = "^6.0.0" pylint = "^3.3.4" @@ -116,4 +120,4 @@ directory = "coverage_html_report" sample-c-application = "tests/resources/c/application/" sample-application = "tests/resources/java/application/" sample-application-analysis-json = "tests/resources/java/analysis_json/" -codeanalyzer-jar-path = "tests/resources/java/codeanalyzer_jars/" +codeanalyzer-jar-path = "cldk/analysis/java/codeanalyzer/jar/" diff --git a/tests/analysis/java/test_java_analysis.py b/tests/analysis/java/test_java_analysis.py index 0810764..57327d1 100644 --- a/tests/analysis/java/test_java_analysis.py +++ b/tests/analysis/java/test_java_analysis.py @@ -50,6 +50,24 @@ def test_get_symbol_table_is_not_null(test_fixture, analysis_json): ) assert analysis.get_symbol_table() is not None +def test_get_symbol_table_source_code(java_code): + """Should return a symbol table for source analysis with expected class/method count""" + + # Initialize the CLDK object with the project directory, language, and analysis_backend + cldk = CLDK(language="java") + analysis = cldk.analysis( + source_code=java_code, + analysis_backend_path=None, + eager=True, + analysis_level=AnalysisLevel.symbol_table, + ) + + # assert on expected class name and method count in the symbol table + expected_class_name = "com.acme.modres.WeatherServlet" + assert analysis.get_symbol_table() is not None + assert len(analysis.get_symbol_table().keys()) == 1 + assert expected_class_name in analysis.get_methods().keys() + assert len(analysis.get_methods().get(expected_class_name).keys()) == 9 def test_get_imports(test_fixture, analysis_json): """Should return NotImplemented for get_imports()""" @@ -632,11 +650,11 @@ def test_get_methods_in_class(test_fixture, analysis_json): eager_analysis=False, ) - # Test that there are 30 methods in the Log class + # Test that there are 29 methods in the Log class methods = java_analysis.get_methods_in_class("com.ibm.websphere.samples.daytrader.util.Log") assert methods is not None assert isinstance(methods, Dict) - assert len(methods) == 30 + assert len(methods) == 29 for method in methods: assert isinstance(methods[method], JCallable) diff --git a/tests/analysis/python/test_python_analysis.py b/tests/analysis/python/test_python_analysis.py index 1997131..c04c328 100644 --- a/tests/analysis/python/test_python_analysis.py +++ b/tests/analysis/python/test_python_analysis.py @@ -67,7 +67,7 @@ def divide(self, a, b): def test_get_methods(): """Should return all of the methods""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) all_methods = python_analysis.get_methods() assert all_methods is not None @@ -79,7 +79,7 @@ def test_get_methods(): def test_get_functions(): """Should return all of the functions""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) all_functions = python_analysis.get_functions() assert all_functions is not None @@ -91,7 +91,7 @@ def test_get_functions(): def test_get_all_modules(tmp_path): """Should return all of the modules""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=tmp_path, source_code=None, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=tmp_path, source_code=None) # set up some temporary modules temp_file_path = os.path.join(tmp_path, "hello.py") @@ -111,7 +111,7 @@ def test_get_all_modules(tmp_path): def test_get_method_details(): """Should return the method details""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) method_details = python_analysis.get_method_details("add(self, a, b)") assert method_details is not None @@ -121,7 +121,7 @@ def test_get_method_details(): def test_is_parsable(): """Should be able to parse the code""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) code = "def is_parsable(self, code: str) -> bool: return True" is_parsable = python_analysis.is_parsable(code) @@ -134,7 +134,7 @@ def test_is_parsable(): def test_get_raw_ast(): """Should return the raw AST""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) raw_ast = python_analysis.get_raw_ast(PYTHON_CODE) assert raw_ast is not None @@ -144,7 +144,7 @@ def test_get_raw_ast(): def test_get_imports(): """Should return all of the imports""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) all_imports = python_analysis.get_imports() assert all_imports is not None @@ -156,7 +156,7 @@ def test_get_imports(): def test_get_variables(): """Should return all of the variables""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) with pytest.raises(NotImplementedError) as except_info: python_analysis.get_variables() @@ -165,7 +165,7 @@ def test_get_variables(): def test_get_classes(): """Should return all of the classes""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) all_classes = python_analysis.get_classes() assert all_classes is not None @@ -178,7 +178,7 @@ def test_get_classes(): def test_get_classes_by_criteria(): """Should return all of the classes that match the criteria""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) with pytest.raises(NotImplementedError) as except_info: python_analysis.get_classes_by_criteria() @@ -187,7 +187,7 @@ def test_get_classes_by_criteria(): def test_get_sub_classes(): """Should return all of the subclasses""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) with pytest.raises(NotImplementedError) as except_info: python_analysis.get_sub_classes() @@ -196,7 +196,7 @@ def test_get_sub_classes(): def test_get_nested_classes(): """Should return all of the nested classes""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) with pytest.raises(NotImplementedError) as except_info: python_analysis.get_nested_classes() @@ -205,7 +205,7 @@ def test_get_nested_classes(): def test_get_constructors(): """Should return all of the constructors""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) with pytest.raises(NotImplementedError) as except_info: python_analysis.get_constructors() @@ -214,7 +214,7 @@ def test_get_constructors(): def test_get_methods_in_class(): """Should return all of the methods in the class""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) with pytest.raises(NotImplementedError) as except_info: python_analysis.get_methods_in_class() @@ -223,7 +223,7 @@ def test_get_methods_in_class(): def test_get_fields(): """Should return all of the fields in the class""" - python_analysis = PythonAnalysis(eager_analysis=True, project_dir=None, source_code=PYTHON_CODE, analysis_backend_path=None, analysis_json_path=None) + python_analysis = PythonAnalysis(project_dir=None, source_code=PYTHON_CODE) with pytest.raises(NotImplementedError) as except_info: python_analysis.get_fields() diff --git a/tests/conftest.py b/tests/conftest.py index 5c9afdb..ebfacbd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -75,7 +75,7 @@ def codeanalyzer_jar_path(): # Load the configuration config = toml.load(pyproject_path) - return Path(config["tool"]["cldk"]["testing"]["codeanalyzer-jar-path"]) / "2.3.0" + return Path(config["tool"]["cldk"]["testing"]["codeanalyzer-jar-path"]) @pytest.fixture(scope="session", autouse=True) @@ -190,3 +190,24 @@ def test_fixture_binutils(): for directory in Path(test_data_path).iterdir(): if directory.exists() and directory.is_dir(): shutil.rmtree(directory) + +@pytest.fixture(scope="session", autouse=True) +def java_code() -> str: + """ + Returns sample Java source code for analysis. + + Yields: + str : Java code to be analyzed. + """ + # ----------------------------------[ SETUP ]---------------------------------- + # Path to your pyproject.toml + pyproject_path = Path(__file__).parent.parent / "pyproject.toml" + + # Load the configuration + config = toml.load(pyproject_path) + + # Access the test data path + test_data_path = config["tool"]["cldk"]["testing"]["sample-application"] + javafile = Path(test_data_path).absolute() / ("WeatherServlet.java") + with open(javafile) as f: + return f.read() diff --git a/tests/resources/java/analysis_json/analysis.json b/tests/resources/java/analysis_json/analysis.json index 8fda632..958c85f 100644 --- a/tests/resources/java/analysis_json/analysis.json +++ b/tests/resources/java/analysis_json/analysis.json @@ -1,8 +1,258 @@ { "symbol_table": { - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", - "comment": "//", + "/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", @@ -31,7 +281,128 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * A basic POJO class for resetting the database.\r\n */", + "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" @@ -41,9 +412,18 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Populate()", - "comment": "/**\r\n\t * \r\n\t */", + "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" @@ -51,9 +431,10 @@ "thrown_exceptions": [], "declaration": "public Populate()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 56, "end_line": 57, + "code_start_line": 56, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -67,9 +448,98 @@ "is_entrypoint": false }, "doPopulate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "doPopulate()", - "comment": "/**\r\n\t * \r\n\t */", + "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" @@ -77,9 +547,10 @@ "thrown_exceptions": [], "declaration": "public void doPopulate()", "parameters": [], - "code": "{\n try {\n resetDB.deleteAll();\n } catch (Exception e) {\n Util.debug(\"Populate:doPopulate() - Exception deleting data in database: \" + e);\n e.printStackTrace();\n }\n /**\n * Populate INVENTORY table with text\n */\n Util.debug(\"Populating INVENTORY table with text...\");\n try {\n String[] values = Util.getProperties(\"inventory\");\n for (int index = 0; index < values.length; index++) {\n Util.debug(\"Found INVENTORY property values: \" + values[index]);\n String[] fields = Util.readTokens(values[index], \"|\");\n String id = fields[0];\n String name = fields[1];\n String heading = fields[2];\n String descr = fields[3];\n String pkginfo = fields[4];\n String image = fields[5];\n float price = new Float(fields[6]).floatValue();\n float cost = new Float(fields[7]).floatValue();\n int quantity = new Integer(fields[8]).intValue();\n int category = new Integer(fields[9]).intValue();\n String notes = fields[10];\n boolean isPublic = new Boolean(fields[11]).booleanValue();\n Util.debug(\"Populating INVENTORY with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n Util.debug(fields[8]);\n Util.debug(fields[9]);\n Util.debug(fields[10]);\n Util.debug(fields[11]);\n Inventory storeItem = new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity, category, notes, isPublic);\n catalog.addItem(storeItem);\n addImage(id, image, catalog);\n }\n Util.debug(\"INVENTORY table populated with text...\");\n } catch (Exception e) {\n Util.debug(\"Unable to populate INVENTORY table with text data: \" + e);\n }\n /**\n * Populate CUSTOMER table with text\n */\n Util.debug(\"Populating CUSTOMER table with default values...\");\n try {\n String[] values = Util.getProperties(\"customer\");\n Util.debug(\"Found CUSTOMER properties: \" + values[0]);\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n String customerID = fields[0];\n String password = fields[1];\n String firstName = fields[2];\n String lastName = fields[3];\n String addr1 = fields[4];\n String addr2 = fields[5];\n String addrCity = fields[6];\n String addrState = fields[7];\n String addrZip = fields[8];\n String phone = fields[9];\n Util.debug(\"Populating CUSTOMER with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n Util.debug(fields[8]);\n Util.debug(fields[9]);\n login.createCustomer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\n }\n } catch (Exception e) {\n Util.debug(\"Unable to populate CUSTOMER table with text data: \" + e);\n }\n /**\n * Populate ORDER table with text\n */\n Util.debug(\"Populating ORDER table with default values...\");\n try {\n String[] values = Util.getProperties(\"order\");\n Util.debug(\"Found ORDER properties: \" + values[0]);\n if (values[0] != null && values.length > 0) {\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n if (fields != null && fields.length >= 21) {\n String customerID = fields[0];\n String billName = fields[1];\n String billAddr1 = fields[2];\n String billAddr2 = fields[3];\n String billCity = fields[4];\n String billState = fields[5];\n String billZip = fields[6];\n String billPhone = fields[7];\n String shipName = fields[8];\n String shipAddr1 = fields[9];\n String shipAddr2 = fields[10];\n String shipCity = fields[11];\n String shipState = fields[12];\n String shipZip = fields[13];\n String shipPhone = fields[14];\n int shippingMethod = Integer.parseInt(fields[15]);\n String creditCard = fields[16];\n String ccNum = fields[17];\n String ccExpireMonth = fields[18];\n String ccExpireYear = fields[19];\n String cardHolder = fields[20];\n Vector items = new Vector();\n Util.debug(\"Populating ORDER with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n Util.debug(fields[8]);\n Util.debug(fields[9]);\n Util.debug(fields[10]);\n Util.debug(fields[11]);\n Util.debug(fields[12]);\n Util.debug(fields[13]);\n Util.debug(fields[14]);\n Util.debug(fields[15]);\n Util.debug(fields[16]);\n Util.debug(fields[17]);\n Util.debug(fields[18]);\n Util.debug(fields[19]);\n Util.debug(fields[20]);\n cart.createOrder(customerID, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName, shipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth, ccExpireYear, cardHolder, shippingMethod, items);\n } else {\n Util.debug(\"Property does not contain enough fields: \" + values[index]);\n Util.debug(\"Fields found were: \" + fields);\n }\n }\n }\n // stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,\n // CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',\n // 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");\n } catch (Exception e) {\n Util.debug(\"Unable to populate ORDERITEM table with text data: \" + e);\n e.printStackTrace();\n }\n /**\n * Populate BACKORDER table with text\n */\n Util.debug(\"Populating BACKORDER table with default values...\");\n try {\n String[] values = Util.getProperties(\"backorder\");\n Util.debug(\"Found BACKORDER properties: \" + values[0]);\n // Inserting backorders\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n String inventoryID = fields[0];\n int amountToOrder = new Integer(fields[1]).intValue();\n int maximumItems = new Integer(fields[2]).intValue();\n Util.debug(\"Populating BACKORDER with following values: \");\n Util.debug(inventoryID);\n Util.debug(\"amountToOrder -> \" + amountToOrder);\n Util.debug(\"maximumItems -> \" + maximumItems);\n backOrderStock.createBackOrder(inventoryID, amountToOrder, maximumItems);\n }\n } catch (Exception e) {\n Util.debug(\"Unable to populate BACKORDER table with text data: \" + e);\n }\n /**\n * Populate SUPPLIER table with text\n */\n Util.debug(\"Populating SUPPLIER table with default values...\");\n try {\n String[] values = Util.getProperties(\"supplier\");\n Util.debug(\"Found SUPPLIER properties: \" + values[0]);\n // Inserting Suppliers\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n String supplierID = fields[0];\n String name = fields[1];\n String address = fields[2];\n String city = fields[3];\n String state = fields[4];\n String zip = fields[5];\n String phone = fields[6];\n String url = fields[7];\n Util.debug(\"Populating SUPPLIER with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n suppliers.createSupplier(supplierID, name, address, city, state, zip, phone, url);\n }\n } catch (Exception e) {\n Util.debug(\"Unable to populate SUPPLIER table with text data: \" + e);\n }\n}", + "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, @@ -100,6 +571,7 @@ "call_sites": [ { "method_name": "deleteAll", + "comment": null, "receiver_expr": "resetDB", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", "argument_types": [], @@ -120,6 +592,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -142,6 +615,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -162,6 +636,14 @@ }, { "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": [ @@ -184,6 +666,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -206,6 +689,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -228,6 +712,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -251,6 +736,7 @@ }, { "method_name": "floatValue", + "comment": null, "receiver_expr": "new Float(fields[6])", "receiver_type": "java.lang.Float", "argument_types": [], @@ -271,6 +757,7 @@ }, { "method_name": "floatValue", + "comment": null, "receiver_expr": "new Float(fields[7])", "receiver_type": "java.lang.Float", "argument_types": [], @@ -291,6 +778,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[8])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -311,6 +799,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[9])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -331,6 +820,7 @@ }, { "method_name": "booleanValue", + "comment": null, "receiver_expr": "new Boolean(fields[11])", "receiver_type": "java.lang.Boolean", "argument_types": [], @@ -351,6 +841,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -373,6 +864,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -395,6 +887,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -417,6 +910,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -439,6 +933,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -461,6 +956,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -483,6 +979,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -505,6 +1002,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -527,6 +1025,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -549,6 +1048,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -571,6 +1071,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -593,6 +1094,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -615,6 +1117,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -637,6 +1140,7 @@ }, { "method_name": "addItem", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -659,6 +1163,7 @@ }, { "method_name": "addImage", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -683,6 +1188,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -705,6 +1211,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -727,6 +1234,14 @@ }, { "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": [ @@ -749,6 +1264,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -771,6 +1287,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -793,6 +1310,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -816,6 +1334,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -838,6 +1357,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -860,6 +1380,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -882,6 +1403,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -904,6 +1426,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -926,6 +1449,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -948,6 +1472,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -970,6 +1495,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -992,6 +1518,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1014,6 +1541,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1036,6 +1564,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1058,6 +1587,7 @@ }, { "method_name": "createCustomer", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -1089,6 +1619,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1111,6 +1642,14 @@ }, { "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": [ @@ -1133,6 +1672,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1155,6 +1695,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1177,6 +1718,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1200,6 +1742,7 @@ }, { "method_name": "parseInt", + "comment": null, "receiver_expr": "Integer", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -1222,6 +1765,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1244,6 +1788,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1266,6 +1811,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1288,6 +1834,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1310,6 +1857,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1332,6 +1880,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1354,6 +1903,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1376,6 +1926,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1398,6 +1949,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1420,6 +1972,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1442,6 +1995,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1464,6 +2018,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1486,6 +2041,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1508,6 +2064,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1530,6 +2087,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1552,6 +2110,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1574,6 +2133,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1596,6 +2156,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1618,6 +2179,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1640,6 +2202,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1662,6 +2225,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1684,6 +2248,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1706,6 +2271,7 @@ }, { "method_name": "createOrder", + "comment": null, "receiver_expr": "cart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [ @@ -1749,6 +2315,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1771,6 +2338,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1793,6 +2361,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1815,6 +2384,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -1835,6 +2405,14 @@ }, { "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": [ @@ -1857,6 +2435,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1879,6 +2458,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1901,6 +2481,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1924,6 +2505,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[1])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -1944,6 +2526,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[2])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -1964,6 +2547,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -1986,6 +2570,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2008,6 +2593,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2030,6 +2616,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2052,6 +2639,7 @@ }, { "method_name": "createBackOrder", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -2076,6 +2664,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2098,6 +2687,14 @@ }, { "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": [ @@ -2120,6 +2717,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2142,6 +2740,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2164,6 +2763,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2187,6 +2787,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2209,6 +2810,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2231,6 +2833,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2253,6 +2856,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2275,6 +2879,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2297,6 +2902,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2319,6 +2925,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2341,6 +2948,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2363,6 +2971,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2385,6 +2994,7 @@ }, { "method_name": "createSupplier", + "comment": null, "receiver_expr": "suppliers", "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "argument_types": [ @@ -2414,6 +3024,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -2436,6 +3047,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Float", "argument_types": [ @@ -2458,6 +3070,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Float", "argument_types": [ @@ -2480,6 +3093,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -2502,6 +3116,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -2524,6 +3139,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Boolean", "argument_types": [ @@ -2546,6 +3162,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -2579,6 +3196,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.Vector", "argument_types": [], @@ -2599,6 +3217,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -2621,6 +3240,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -2644,6 +3264,14 @@ ], "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\")", @@ -2653,6 +3281,14 @@ "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", @@ -2662,6 +3298,14 @@ "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], \"|\")", @@ -2671,6 +3315,14 @@ "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]", @@ -2680,6 +3332,14 @@ "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]", @@ -2689,6 +3349,14 @@ "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]", @@ -2698,6 +3366,14 @@ "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]", @@ -2707,6 +3383,14 @@ "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]", @@ -2716,6 +3400,14 @@ "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]", @@ -2725,6 +3417,14 @@ "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()", @@ -2734,6 +3434,14 @@ "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()", @@ -2743,6 +3451,14 @@ "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()", @@ -2752,6 +3468,14 @@ "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()", @@ -2761,6 +3485,14 @@ "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]", @@ -2770,6 +3502,14 @@ "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()", @@ -2779,6 +3519,14 @@ "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)", @@ -2788,6 +3536,14 @@ "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\")", @@ -2797,6 +3553,14 @@ "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", @@ -2806,6 +3570,14 @@ "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], \"|\")", @@ -2815,6 +3587,14 @@ "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]", @@ -2824,6 +3604,14 @@ "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]", @@ -2833,6 +3621,14 @@ "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]", @@ -2842,6 +3638,14 @@ "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]", @@ -2851,6 +3655,14 @@ "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]", @@ -2860,6 +3672,14 @@ "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]", @@ -2869,6 +3689,14 @@ "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]", @@ -2878,6 +3706,14 @@ "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]", @@ -2887,6 +3723,14 @@ "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]", @@ -2896,6 +3740,14 @@ "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]", @@ -2905,6 +3757,14 @@ "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\")", @@ -2914,6 +3774,14 @@ "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", @@ -2923,6 +3791,14 @@ "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], \"|\")", @@ -2932,6 +3808,14 @@ "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]", @@ -2941,6 +3825,14 @@ "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]", @@ -2950,6 +3842,14 @@ "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]", @@ -2959,6 +3859,14 @@ "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]", @@ -2968,6 +3876,14 @@ "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]", @@ -2977,6 +3893,14 @@ "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]", @@ -2986,6 +3910,14 @@ "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]", @@ -2995,6 +3927,14 @@ "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]", @@ -3004,6 +3944,14 @@ "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]", @@ -3013,6 +3961,14 @@ "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]", @@ -3022,6 +3978,14 @@ "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]", @@ -3031,6 +3995,14 @@ "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]", @@ -3040,6 +4012,14 @@ "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]", @@ -3049,6 +4029,14 @@ "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]", @@ -3058,6 +4046,14 @@ "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]", @@ -3067,6 +4063,14 @@ "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])", @@ -3076,6 +4080,14 @@ "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]", @@ -3085,6 +4097,14 @@ "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]", @@ -3094,6 +4114,14 @@ "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]", @@ -3103,6 +4131,14 @@ "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]", @@ -3112,6 +4148,14 @@ "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]", @@ -3121,6 +4165,14 @@ "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()", @@ -3130,6 +4182,14 @@ "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\")", @@ -3139,6 +4199,14 @@ "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", @@ -3148,6 +4216,14 @@ "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], \"|\")", @@ -3157,6 +4233,14 @@ "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]", @@ -3166,6 +4250,14 @@ "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()", @@ -3175,6 +4267,14 @@ "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()", @@ -3184,6 +4284,14 @@ "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\")", @@ -3193,6 +4301,14 @@ "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", @@ -3202,6 +4318,14 @@ "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], \"|\")", @@ -3211,6 +4335,14 @@ "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]", @@ -3220,6 +4352,14 @@ "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]", @@ -3229,6 +4369,14 @@ "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]", @@ -3238,6 +4386,14 @@ "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]", @@ -3247,6 +4403,14 @@ "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]", @@ -3256,6 +4420,14 @@ "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]", @@ -3265,6 +4437,14 @@ "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]", @@ -3274,6 +4454,14 @@ "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]", @@ -3289,9 +4477,9 @@ "is_entrypoint": false }, "(ResetDBBean, CatalogMgr, CustomerMgr, BackOrderMgr, SuppliersBean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Populate(ResetDBBean, CatalogMgr, CustomerMgr, BackOrderMgr, SuppliersBean)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -3303,36 +4491,57 @@ "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", "name": "resetDB", "annotations": [], - "modifiers": [] + "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": [] + "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": [] + "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": [] + "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": [] + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 84, + "end_column": 98 } ], - "code": "{\n this.resetDB = resetDB;\n this.catalog = c;\n this.login = l;\n this.backOrderStock = b;\n this.suppliers = s;\n}", + "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, @@ -3358,9 +4567,26 @@ "is_entrypoint": false }, "addImage(String, String, CatalogMgr)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "addImage(String, String, CatalogMgr)", - "comment": "/**\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 */", + "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", @@ -3376,24 +4602,37 @@ "type": "java.lang.String", "name": "itemID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 74, + "end_line": 74, + "start_column": 30, + "end_column": 42 }, { "type": "java.lang.String", "name": "fileName", "annotations": [], - "modifiers": [] + "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": [] + "modifiers": [], + "start_line": 76, + "end_line": 76, + "start_column": 4, + "end_column": 21 } ], - "code": "{\n URL url = Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName);\n Util.debug(\"URL: \" + url);\n fileName = url.getPath();\n Util.debug(\"Fully-qualified Filename: \" + fileName);\n File imgFile = new File(fileName);\n // Open the input file as a stream of bytes\n FileInputStream fis = new FileInputStream(imgFile);\n DataInputStream dis = new DataInputStream(fis);\n int dataSize = dis.available();\n byte[] data = new byte[dataSize];\n dis.readFully(data);\n catalog.setItemImageBytes(itemID, data);\n}", + "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, @@ -3409,6 +4648,7 @@ "call_sites": [ { "method_name": "getResource", + "comment": null, "receiver_expr": "Thread.currentThread().getContextClassLoader()", "receiver_type": "java.lang.ClassLoader", "argument_types": [ @@ -3431,6 +4671,7 @@ }, { "method_name": "getContextClassLoader", + "comment": null, "receiver_expr": "Thread.currentThread()", "receiver_type": "java.lang.Thread", "argument_types": [], @@ -3451,6 +4692,7 @@ }, { "method_name": "currentThread", + "comment": null, "receiver_expr": "Thread", "receiver_type": "java.lang.Thread", "argument_types": [], @@ -3471,6 +4713,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -3493,6 +4736,7 @@ }, { "method_name": "getPath", + "comment": null, "receiver_expr": "url", "receiver_type": "java.net.URL", "argument_types": [], @@ -3513,6 +4757,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -3535,6 +4780,7 @@ }, { "method_name": "available", + "comment": null, "receiver_expr": "dis", "receiver_type": "java.io.DataInputStream", "argument_types": [], @@ -3555,6 +4801,7 @@ }, { "method_name": "readFully", + "comment": null, "receiver_expr": "dis", "receiver_type": "java.io.DataInputStream", "argument_types": [ @@ -3577,6 +4824,7 @@ }, { "method_name": "setItemImageBytes", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -3600,6 +4848,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.File", "argument_types": [ @@ -3622,6 +4871,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.FileInputStream", "argument_types": [ @@ -3644,6 +4894,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.DataInputStream", "argument_types": [ @@ -3667,6 +4918,14 @@ ], "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)", @@ -3676,6 +4935,14 @@ "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)", @@ -3685,6 +4952,14 @@ "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)", @@ -3694,6 +4969,14 @@ "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)", @@ -3703,6 +4986,14 @@ "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()", @@ -3712,6 +5003,14 @@ "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]", @@ -3729,7 +5028,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -3743,7 +5049,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -3757,7 +5070,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -3771,7 +5091,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -3785,7 +5112,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -3799,7 +5133,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -3813,15 +5154,187 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", - "comment": "//", + "/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", @@ -3841,7 +5354,48 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * This class sends the email confirmation message.\r\n */", + "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" ], @@ -3855,9 +5409,18 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "MailAction()", - "comment": "/** Public constructor */", + "comments": [ + { + "content": " Public constructor ", + "start_line": 40, + "end_line": 40, + "start_column": 2, + "end_column": 26, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -3865,9 +5428,10 @@ "thrown_exceptions": [], "declaration": "public MailAction()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 41, "end_line": 42, + "code_start_line": 41, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -3881,9 +5445,26 @@ "is_entrypoint": false }, "sendConfirmationMessage(Customer, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "sendConfirmationMessage(Customer, String)", - "comment": "/**\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 */", + "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", @@ -3896,18 +5477,27 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Customer", "name": "customer", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 52, + "end_line": 52, + "start_column": 44, + "end_column": 60 }, { "type": "java.lang.String", "name": "orderKey", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 53, + "end_line": 53, + "start_column": 4, + "end_column": 18 } ], - "code": "{\n try {\n System.out.println(\"mailer=\" + mailer);\n mailer.createAndSendMail(customer, orderKey);\n }// The MailerAppException will be ignored since mail may not be configured.\n catch (MailerAppException e) {\n Util.debug(\"Mailer threw exception, mail may not be configured. Exception:\" + e);\n }\n}", + "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, @@ -3921,6 +5511,7 @@ "call_sites": [ { "method_name": "println", + "comment": null, "receiver_expr": "System.out", "receiver_type": "java.io.PrintStream", "argument_types": [ @@ -3943,6 +5534,7 @@ }, { "method_name": "createAndSendMail", + "comment": null, "receiver_expr": "mailer", "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerBean", "argument_types": [ @@ -3966,6 +5558,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -3996,7 +5589,14 @@ }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "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, @@ -4012,7 +5612,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -4028,15 +5635,211 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", - "comment": "//", + "/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", @@ -4059,7 +5862,72 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Bean implementation class for Enterprise Bean: Suppliers\r\n */", + "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" ], @@ -4073,9 +5941,34 @@ "nested_type_declarations": [], "callable_declarations": { "updateSupplier(String, String, String, String, String, String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "updateSupplier(String, String, String, String, String, String, String, String)", - "comment": "/**\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 */", + "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" @@ -4087,54 +5980,87 @@ "type": "java.lang.String", "name": "supplierID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 104, + "end_line": 104, + "start_column": 33, + "end_column": 49 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 105, + "end_line": 105, + "start_column": 4, + "end_column": 14 }, { "type": "java.lang.String", "name": "street", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 106, + "end_line": 106, + "start_column": 4, + "end_column": 16 }, { "type": "java.lang.String", "name": "city", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 107, + "end_line": 107, + "start_column": 4, + "end_column": 14 }, { "type": "java.lang.String", "name": "state", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 108, + "end_line": 108, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "zip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 4, + "end_column": 13 }, { "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 110, + "end_line": 110, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "url", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 111, + "end_line": 111, + "start_column": 4, + "end_column": 13 } ], - "code": "{\n Supplier supplier = null;\n try {\n Util.debug(\"SuppliersBean.updateSupplier() - Entered\");\n supplier = em.find(Supplier.class, supplierID);\n if (supplier != null) {\n // Create a new Supplier if there is NOT an existing Supplier.\n // supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));\n supplier.setName(name);\n supplier.setStreet(street);\n supplier.setCity(city);\n supplier.setUsstate(state);\n supplier.setZip(zip);\n supplier.setPhone(phone);\n supplier.setUrl(url);\n } else {\n Util.debug(\"SuppliersBean.updateSupplier() - supplier doesn't exist.\");\n Util.debug(\"SuppliersBean.updateSupplier() - Couldn't update Supplier for SupplierID: \" + supplierID);\n }\n } catch (Exception e) {\n Util.debug(\"SuppliersBean.createSupplier() - Exception: \" + e);\n }\n return (supplier);\n}", + "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, @@ -4147,6 +6073,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4169,6 +6096,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -4192,6 +6120,14 @@ }, { "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": [ @@ -4214,6 +6150,7 @@ }, { "method_name": "setStreet", + "comment": null, "receiver_expr": "supplier", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -4236,6 +6173,7 @@ }, { "method_name": "setCity", + "comment": null, "receiver_expr": "supplier", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -4258,6 +6196,7 @@ }, { "method_name": "setUsstate", + "comment": null, "receiver_expr": "supplier", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -4280,6 +6219,7 @@ }, { "method_name": "setZip", + "comment": null, "receiver_expr": "supplier", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -4302,6 +6242,7 @@ }, { "method_name": "setPhone", + "comment": null, "receiver_expr": "supplier", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -4324,6 +6265,7 @@ }, { "method_name": "setUrl", + "comment": null, "receiver_expr": "supplier", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -4346,6 +6288,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4368,6 +6311,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4390,6 +6334,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4413,6 +6358,14 @@ ], "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", @@ -4428,9 +6381,18 @@ "is_entrypoint": false }, "createSupplier(String, String, String, String, String, String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "createSupplier(String, String, String, String, String, String, String, String)", - "comment": "/**\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 */", + "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" @@ -4442,54 +6404,87 @@ "type": "java.lang.String", "name": "supplierID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 29, + "end_column": 45 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 51, + "end_line": 51, + "start_column": 4, + "end_column": 14 }, { "type": "java.lang.String", "name": "street", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 52, + "end_line": 52, + "start_column": 4, + "end_column": 16 }, { "type": "java.lang.String", "name": "city", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 53, + "end_line": 53, + "start_column": 4, + "end_column": 14 }, { "type": "java.lang.String", "name": "state", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 54, + "end_line": 54, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "zip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 55, + "end_line": 55, + "start_column": 4, + "end_column": 13 }, { "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 56, + "end_line": 56, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "url", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 4, + "end_column": 13 } ], - "code": "{\n try {\n Util.debug(\"SuppliersBean.createSupplier() - Entered\");\n Supplier supplier = null;\n supplier = em.find(Supplier.class, supplierID);\n if (supplier == null) {\n Util.debug(\"SuppliersBean.createSupplier() - supplier doesn't exist.\");\n Util.debug(\"SuppliersBean.createSupplier() - Creating Supplier for SupplierID: \" + supplierID);\n supplier = new Supplier(supplierID, name, street, city, state, zip, phone, url);\n em.persist(supplier);\n }\n } catch (Exception e) {\n Util.debug(\"SuppliersBean.createSupplier() - Exception: \" + e);\n }\n}", + "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, @@ -4502,6 +6497,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4524,6 +6520,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -4547,6 +6544,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4569,6 +6567,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4591,6 +6590,7 @@ }, { "method_name": "persist", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -4613,6 +6613,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4635,6 +6636,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -4665,6 +6667,14 @@ ], "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", @@ -4680,9 +6690,26 @@ "is_entrypoint": false }, "getSupplier()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSupplier()", - "comment": "/**\r\n\t * @return Supplier\r\n\t */", + "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" @@ -4690,9 +6717,10 @@ "thrown_exceptions": [], "declaration": "public Supplier getSupplier()", "parameters": [], - "code": "{\n // Retrieve the first Supplier Info\n try {\n Collection suppliers = this.findSuppliers();\n if (suppliers != null) {\n Util.debug(\"AdminServlet.getSupplierInfo() - Supplier found!\");\n Iterator i = suppliers.iterator();\n if (i.hasNext()) {\n return (Supplier) i.next();\n }\n }\n } catch (Exception e) {\n Util.debug(\"AdminServlet.getSupplierInfo() - Exception:\" + e);\n }\n return null;\n}", + "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, @@ -4704,6 +6732,7 @@ "call_sites": [ { "method_name": "findSuppliers", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "argument_types": [], @@ -4724,6 +6753,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4746,6 +6776,7 @@ }, { "method_name": "iterator", + "comment": null, "receiver_expr": "suppliers", "receiver_type": "java.util.Collection", "argument_types": [], @@ -4766,6 +6797,7 @@ }, { "method_name": "hasNext", + "comment": null, "receiver_expr": "i", "receiver_type": "java.util.Iterator", "argument_types": [], @@ -4786,6 +6818,7 @@ }, { "method_name": "next", + "comment": null, "receiver_expr": "i", "receiver_type": "java.util.Iterator", "argument_types": [], @@ -4806,6 +6839,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -4829,6 +6863,14 @@ ], "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()", @@ -4838,6 +6880,14 @@ "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()", @@ -4853,9 +6903,18 @@ "is_entrypoint": false }, "findSuppliers()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "findSuppliers()", - "comment": "/**\r\n\t * @return suppliers\r\n\t */", + "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\")" ], @@ -4865,9 +6924,10 @@ "thrown_exceptions": [], "declaration": "private Collection findSuppliers()", "parameters": [], - "code": "{\n Query q = em.createNamedQuery(\"findAllSuppliers\");\n return q.getResultList();\n}", + "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, @@ -4880,6 +6940,7 @@ "call_sites": [ { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -4902,6 +6963,7 @@ }, { "method_name": "getResultList", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -4923,6 +6985,14 @@ ], "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\")", @@ -4940,7 +7010,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -4954,15 +7031,155 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java", - "comment": "//", + "/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", @@ -4982,7 +7199,16 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * A JSF validator class, not implemented in Bean Validation since validation is only required\r\n * during GUI interaction.\r\n */", + "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" ], @@ -4996,9 +7222,9 @@ "nested_type_declarations": [], "callable_declarations": { "validate(FacesContext, UIComponent, Object)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "validate(FacesContext, UIComponent, Object)", - "comment": "", + "comments": [], "annotations": [ "@Override" ], @@ -5014,24 +7240,37 @@ "type": "FacesContext", "name": "context", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 35, + "end_line": 35, + "start_column": 23, + "end_column": 42 }, { "type": "UIComponent", "name": "component", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 35, + "end_line": 35, + "start_column": 45, + "end_column": 65 }, { "type": "java.lang.Object", "name": "value", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 35, + "end_line": 35, + "start_column": 68, + "end_column": 79 } ], - "code": "{\n UIInput otherComponent;\n String otherID = (String) component.getAttributes().get(\"otherPasswordID\");\n String otherStr;\n String str = (String) value;\n otherComponent = (UIInput) context.getViewRoot().findComponent(otherID);\n otherStr = (String) otherComponent.getValue();\n if (!otherStr.equals(str)) {\n ValidatorUtils.addErrorMessage(context, \"Passwords do not match.\");\n }\n}", + "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, @@ -5043,6 +7282,7 @@ "call_sites": [ { "method_name": "get", + "comment": null, "receiver_expr": "component.getAttributes()", "receiver_type": "", "argument_types": [ @@ -5065,6 +7305,7 @@ }, { "method_name": "getAttributes", + "comment": null, "receiver_expr": "component", "receiver_type": "", "argument_types": [], @@ -5085,6 +7326,7 @@ }, { "method_name": "findComponent", + "comment": null, "receiver_expr": "context.getViewRoot()", "receiver_type": "", "argument_types": [ @@ -5107,6 +7349,7 @@ }, { "method_name": "getViewRoot", + "comment": null, "receiver_expr": "context", "receiver_type": "", "argument_types": [], @@ -5127,6 +7370,7 @@ }, { "method_name": "getValue", + "comment": null, "receiver_expr": "otherComponent", "receiver_type": "", "argument_types": [], @@ -5147,6 +7391,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "otherStr", "receiver_type": "java.lang.String", "argument_types": [ @@ -5169,6 +7414,7 @@ }, { "method_name": "addErrorMessage", + "comment": null, "receiver_expr": "ValidatorUtils", "receiver_type": "com.ibm.websphere.samples.pbw.war.ValidatorUtils", "argument_types": [ @@ -5193,6 +7439,14 @@ ], "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": "", @@ -5202,6 +7456,14 @@ "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\")", @@ -5211,6 +7473,14 @@ "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": "", @@ -5220,6 +7490,14 @@ "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", @@ -5236,15 +7514,155 @@ } }, "field_declarations": [], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "comment": "//", + "/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" @@ -5260,7 +7678,16 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\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 */", + "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" @@ -5270,9 +7697,9 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "LoginInfo()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5280,9 +7707,10 @@ "thrown_exceptions": [], "declaration": "public LoginInfo()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 38, "end_line": 39, + "code_start_line": 38, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -5296,9 +7724,9 @@ "is_entrypoint": false }, "getPassword()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPassword()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5306,9 +7734,10 @@ "thrown_exceptions": [], "declaration": "public String getPassword()", "parameters": [], - "code": "{\n return this.password;\n}", + "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, @@ -5326,9 +7755,9 @@ "is_entrypoint": false }, "setEmail(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setEmail(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5340,12 +7769,17 @@ "type": "java.lang.String", "name": "email", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 61, + "end_line": 61, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.email = email;\n}", + "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, @@ -5363,9 +7797,9 @@ "is_entrypoint": false }, "setMessage(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setMessage(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5377,12 +7811,17 @@ "type": "java.lang.String", "name": "message", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 65, + "end_line": 65, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.message = message;\n}", + "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, @@ -5400,9 +7839,9 @@ "is_entrypoint": false }, "getCheckPassword()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCheckPassword()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5410,9 +7849,10 @@ "thrown_exceptions": [], "declaration": "public String getCheckPassword()", "parameters": [], - "code": "{\n return this.checkPassword;\n}", + "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, @@ -5430,9 +7870,9 @@ "is_entrypoint": false }, "setCheckPassword(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCheckPassword(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5444,12 +7884,17 @@ "type": "java.lang.String", "name": "checkPassword", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 31, + "end_column": 50 } ], - "code": "{\n this.checkPassword = checkPassword;\n}", + "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, @@ -5467,9 +7912,9 @@ "is_entrypoint": false }, "getMessage()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getMessage()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5477,9 +7922,10 @@ "thrown_exceptions": [], "declaration": "public String getMessage()", "parameters": [], - "code": "{\n return this.message;\n}", + "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, @@ -5497,9 +7943,9 @@ "is_entrypoint": false }, "getEmail()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getEmail()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5507,9 +7953,10 @@ "thrown_exceptions": [], "declaration": "public String getEmail()", "parameters": [], - "code": "{\n return this.email;\n}", + "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, @@ -5527,9 +7974,9 @@ "is_entrypoint": false }, "setPassword(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPassword(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5541,12 +7988,17 @@ "type": "java.lang.String", "name": "password", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 69, + "end_line": 69, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.password = password;\n}", + "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, @@ -5566,7 +8018,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -5580,7 +8039,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -5596,7 +8062,14 @@ ] }, { - "comment": "", + "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, @@ -5610,7 +8083,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -5626,15 +8106,155 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "comment": "//", + "/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", @@ -5654,7 +8274,16 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Provides backing bean support for the product web page. Accessed via the shopping bean.\r\n *\r\n */", + "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" ], @@ -5666,9 +8295,9 @@ "nested_type_declarations": [], "callable_declarations": { "getCategoryName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCategoryName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5676,9 +8305,10 @@ "thrown_exceptions": [], "declaration": "public String getCategoryName()", "parameters": [], - "code": "{\n return Util.getCategoryString(this.inventory.getCategory());\n}", + "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, @@ -5691,6 +8321,7 @@ "call_sites": [ { "method_name": "getCategoryString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -5713,6 +8344,7 @@ }, { "method_name": "getCategory", + "comment": null, "receiver_expr": "this.inventory", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -5739,9 +8371,9 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getQuantity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5749,9 +8381,10 @@ "thrown_exceptions": [], "declaration": "public int getQuantity()", "parameters": [], - "code": "{\n return this.quantity;\n}", + "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, @@ -5767,9 +8400,9 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPrice()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5777,9 +8410,10 @@ "thrown_exceptions": [], "declaration": "public String getPrice()", "parameters": [], - "code": "{\n return NumberFormat.getCurrencyInstance(Locale.US).format(new Float(this.inventory.getPrice()));\n}", + "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, @@ -5794,6 +8428,7 @@ "call_sites": [ { "method_name": "format", + "comment": null, "receiver_expr": "NumberFormat.getCurrencyInstance(Locale.US)", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -5816,6 +8451,7 @@ }, { "method_name": "getCurrencyInstance", + "comment": null, "receiver_expr": "NumberFormat", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -5838,6 +8474,7 @@ }, { "method_name": "getPrice", + "comment": null, "receiver_expr": "this.inventory", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -5858,6 +8495,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Float", "argument_types": [ @@ -5886,9 +8524,9 @@ "is_entrypoint": false }, "getInventory()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventory()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5896,9 +8534,10 @@ "thrown_exceptions": [], "declaration": "public Inventory getInventory()", "parameters": [], - "code": "{\n return this.inventory;\n}", + "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, @@ -5916,9 +8555,9 @@ "is_entrypoint": false }, "setQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setQuantity(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -5930,12 +8569,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 79, + "end_line": 79, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -5951,9 +8595,9 @@ "is_entrypoint": false }, "(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "ProductBean(Inventory)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "protected" @@ -5965,12 +8609,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "inventory", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 37, + "end_line": 37, + "start_column": 24, + "end_column": 42 } ], - "code": "{\n Objects.requireNonNull(inventory, \"Inventory cannot be null\");\n this.inventory = inventory;\n this.quantity = 1;\n}", + "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, @@ -5984,6 +8633,7 @@ "call_sites": [ { "method_name": "requireNonNull", + "comment": null, "receiver_expr": "Objects", "receiver_type": "java.util.Objects", "argument_types": [ @@ -6013,9 +8663,9 @@ "is_entrypoint": false }, "getMenuString()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getMenuString()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -6023,9 +8673,10 @@ "thrown_exceptions": [], "declaration": "public String getMenuString()", "parameters": [], - "code": "{\n String categoryString = getCategoryName();\n if (categoryString.equals(\"Flowers\")) {\n return \"banner:menu1\";\n } else if (categoryString.equals(\"Fruits & Vegetables\")) {\n return \"banner:menu2\";\n } else if (categoryString.equals(\"Trees\")) {\n return \"banner:menu3\";\n } else {\n return \"banner:menu4\";\n }\n}", + "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, @@ -6036,6 +8687,7 @@ "call_sites": [ { "method_name": "getCategoryName", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -6056,6 +8708,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "categoryString", "receiver_type": "java.lang.String", "argument_types": [ @@ -6078,6 +8731,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "categoryString", "receiver_type": "java.lang.String", "argument_types": [ @@ -6100,6 +8754,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "categoryString", "receiver_type": "java.lang.String", "argument_types": [ @@ -6123,6 +8778,14 @@ ], "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()", @@ -6140,7 +8803,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -6156,7 +8826,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -6170,7 +8847,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -6184,15 +8868,435 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", - "comment": "//", + "/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", @@ -6223,7 +9327,296 @@ "extends_list": [ "HttpServlet" ], - "comment": "/**\r\n * Servlet to handle customer account actions, such as login and register.\r\n */", + "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" @@ -6236,9 +9629,18 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "init(ServletConfig)", - "comment": "/**\r\n\t * Servlet initialization.\r\n\t */", + "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" @@ -6252,12 +9654,17 @@ "type": "ServletConfig", "name": "config", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 19, + "end_column": 38 } ], - "code": "{\n super.init(config);\n}", + "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, @@ -6266,6 +9673,7 @@ "call_sites": [ { "method_name": "init", + "comment": null, "receiver_expr": "super", "receiver_type": "", "argument_types": [ @@ -6294,9 +9702,18 @@ "is_entrypoint": false }, "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comment": "/**\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 */", + "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" @@ -6311,18 +9728,27 @@ "type": "javax.servlet.http.HttpServletRequest", "name": "request", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 20, + "end_column": 64 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "response", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 4, + "end_column": 50 } ], - "code": "{\n performTask(request, response);\n}", + "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, @@ -6331,6 +9757,7 @@ "call_sites": [ { "method_name": "performTask", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -6357,12 +9784,21 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comment": "/**\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 */", + "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" @@ -6377,18 +9813,27 @@ "type": "javax.servlet.http.HttpServletRequest", "name": "request", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 84, + "end_line": 84, + "start_column": 21, + "end_column": 65 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "response", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 85, + "end_line": 85, + "start_column": 4, + "end_column": 50 } ], - "code": "{\n performTask(request, response);\n}", + "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, @@ -6397,6 +9842,7 @@ "call_sites": [ { "method_name": "performTask", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -6423,12 +9869,253 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "comment": "/**\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 */", + "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" @@ -6443,18 +10130,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 97, + "end_line": 97, + "start_column": 27, + "end_column": 48 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 97, + "end_line": 97, + "start_column": 51, + "end_column": 74 } ], - "code": "{\n String action = null;\n action = req.getParameter(Util.ATTR_ACTION);\n Util.debug(\"action=\" + action);\n if (action.equals(ACTION_LOGIN)) {\n try {\n HttpSession session = req.getSession(true);\n String userid = req.getParameter(\"userid\");\n String passwd = req.getParameter(\"passwd\");\n String updating = req.getParameter(Util.ATTR_UPDATING);\n String results = null;\n if (Util.validateString(userid)) {\n results = login.verifyUserAndPassword(userid, passwd);\n } else {\n // user id was invalid, and may contain XSS attack\n results = \"\\nEmail address was invalid.\";\n Util.debug(\"User id or email address was invalid. id=\" + userid);\n }\n // If results have an error msg, return it, otherwise continue.\n if (results != null) {\n // Proliferate UPDATING flag if user is trying to update his account.\n if (updating.equals(\"true\"))\n req.setAttribute(Util.ATTR_UPDATING, \"true\");\n req.setAttribute(Util.ATTR_RESULTS, results);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_LOGIN);\n } else {\n // If not logging in for the first time, then clear out the\n // session data for the old user.\n if (session.getAttribute(Util.ATTR_CUSTOMER) != null) {\n session.removeAttribute(Util.ATTR_CART);\n // session.removeAttribute(Util.ATTR_CART_CONTENTS);\n session.removeAttribute(Util.ATTR_CHECKOUT);\n session.removeAttribute(Util.ATTR_ORDERKEY);\n }\n // Store customer userid in HttpSession.\n Customer customer = login.getCustomer(userid);\n session.setAttribute(Util.ATTR_CUSTOMER, customer);\n Util.debug(\"updating=\" + updating + \"=\");\n // Was customer trying to edit account information.\n if (updating.equals(\"true\")) {\n req.setAttribute(Util.ATTR_EDITACCOUNTINFO, customer);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ACCOUNT);\n } else {\n // See if user was in the middle of checking out.\n Boolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\n Util.debug(\"checkingOut=\" + checkingOut + \"=\");\n if ((checkingOut != null) && (checkingOut.booleanValue())) {\n Util.debug(\"must be checking out\");\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ORDERINFO);\n } else {\n Util.debug(\"must NOT be checking out\");\n String url;\n String category = (String) session.getAttribute(Util.ATTR_CATEGORY);\n // Default to plants\n if ((category == null) || (category.equals(\"null\"))) {\n url = Util.PAGE_PROMO;\n } else {\n url = Util.PAGE_SHOPPING;\n req.setAttribute(Util.ATTR_INVITEMS, catalog.getItemsByCategory(Integer.parseInt(category)));\n }\n requestDispatch(getServletConfig().getServletContext(), req, resp, url);\n }\n }\n }\n } catch (ServletException e) {\n req.setAttribute(Util.ATTR_RESULTS, \"/nException occurred\");\n throw e;\n } catch (Exception e) {\n req.setAttribute(Util.ATTR_RESULTS, \"/nException occurred\");\n throw new ServletException(e.getMessage());\n }\n } else if (action.equals(ACTION_REGISTER)) {\n // Register a new user.\n // try\n // {\n String url;\n HttpSession session = req.getSession(true);\n String userid = req.getParameter(\"userid\");\n String password = req.getParameter(\"passwd\");\n String cpassword = req.getParameter(\"vpasswd\");\n String firstName = req.getParameter(\"fname\");\n String lastName = req.getParameter(\"lname\");\n String addr1 = req.getParameter(\"addr1\");\n String addr2 = req.getParameter(\"addr2\");\n String addrCity = req.getParameter(\"city\");\n String addrState = req.getParameter(\"state\");\n String addrZip = req.getParameter(\"zip\");\n String phone = req.getParameter(\"phone\");\n // validate all user input\n if (!Util.validateString(userid)) {\n req.setAttribute(Util.ATTR_RESULTS, \"Email address contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(firstName)) {\n req.setAttribute(Util.ATTR_RESULTS, \"First Name contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(lastName)) {\n req.setAttribute(Util.ATTR_RESULTS, \"Last Name contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(addr1)) {\n req.setAttribute(Util.ATTR_RESULTS, \"Address Line 1 contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(addr2)) {\n req.setAttribute(Util.ATTR_RESULTS, \"Address Line 2 contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(addrCity)) {\n req.setAttribute(Util.ATTR_RESULTS, \"City contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(addrState)) {\n req.setAttribute(Util.ATTR_RESULTS, \"State contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(addrZip)) {\n req.setAttribute(Util.ATTR_RESULTS, \"Zip contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else if (!Util.validateString(phone)) {\n req.setAttribute(Util.ATTR_RESULTS, \"Phone Number contains invalid characters.\");\n url = Util.PAGE_REGISTER;\n } else // Make sure passwords match.\n if (!password.equals(cpassword)) {\n req.setAttribute(Util.ATTR_RESULTS, \"Passwords do not match.\");\n url = Util.PAGE_REGISTER;\n } else {\n // Create the new user.\n Customer customer = login.createCustomer(userid, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\n if (customer != null) {\n // Store customer info in HttpSession.\n session.setAttribute(Util.ATTR_CUSTOMER, customer);\n // See if user was in the middle of checking out.\n Boolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\n if ((checkingOut != null) && (checkingOut.booleanValue())) {\n url = Util.PAGE_ORDERINFO;\n } else {\n String category = (String) session.getAttribute(Util.ATTR_CATEGORY);\n // Default to plants\n if (category == null) {\n url = Util.PAGE_PROMO;\n } else {\n url = Util.PAGE_SHOPPING;\n req.setAttribute(Util.ATTR_INVITEMS, catalog.getItemsByCategory(Integer.parseInt(category)));\n }\n }\n } else {\n url = Util.PAGE_REGISTER;\n req.setAttribute(Util.ATTR_RESULTS, \"New user NOT created!\");\n }\n }\n requestDispatch(getServletConfig().getServletContext(), req, resp, url);\n // }\n // catch (CreateException e) { }\n } else if (action.equals(ACTION_ACCOUNT)) {\n String url;\n HttpSession session = req.getSession(true);\n Customer customer = (Customer) session.getAttribute(Util.ATTR_CUSTOMER);\n if (customer == null) {\n url = Util.PAGE_LOGIN;\n req.setAttribute(Util.ATTR_UPDATING, \"true\");\n req.setAttribute(Util.ATTR_RESULTS, \"\\nYou must login first.\");\n } else {\n url = Util.PAGE_ACCOUNT;\n req.setAttribute(Util.ATTR_EDITACCOUNTINFO, customer);\n }\n requestDispatch(getServletConfig().getServletContext(), req, resp, url);\n } else if (action.equals(ACTION_ACCOUNTUPDATE)) {\n // try\n // {\n String url;\n HttpSession session = req.getSession(true);\n Customer customer = (Customer) session.getAttribute(Util.ATTR_CUSTOMER);\n String userid = customer.getCustomerID();\n String firstName = req.getParameter(\"fname\");\n String lastName = req.getParameter(\"lname\");\n String addr1 = req.getParameter(\"addr1\");\n String addr2 = req.getParameter(\"addr2\");\n String addrCity = req.getParameter(\"city\");\n String addrState = req.getParameter(\"state\");\n String addrZip = req.getParameter(\"zip\");\n String phone = req.getParameter(\"phone\");\n // Create the new user.\n customer = login.updateUser(userid, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\n // Store updated customer info in HttpSession.\n session.setAttribute(Util.ATTR_CUSTOMER, customer);\n // See if user was in the middle of checking out.\n Boolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\n if ((checkingOut != null) && (checkingOut.booleanValue())) {\n url = Util.PAGE_ORDERINFO;\n } else {\n String category = (String) session.getAttribute(Util.ATTR_CATEGORY);\n // Default to plants\n if (category == null) {\n url = Util.PAGE_PROMO;\n } else {\n url = Util.PAGE_SHOPPING;\n req.setAttribute(Util.ATTR_INVITEMS, catalog.getItemsByCategory(Integer.parseInt(category)));\n }\n }\n requestDispatch(getServletConfig().getServletContext(), req, resp, url);\n // }\n // catch (CreateException e) { }\n } else if (action.equals(ACTION_SETLOGGING)) {\n String debugSetting = req.getParameter(\"logging\");\n if ((debugSetting == null) || (!debugSetting.equals(\"debug\")))\n Util.setDebug(false);\n else\n Util.setDebug(true);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_HELP);\n }\n}", + "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, @@ -6493,6 +10189,7 @@ "call_sites": [ { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -6515,6 +10212,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -6537,6 +10235,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -6559,6 +10258,7 @@ }, { "method_name": "getSession", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -6581,6 +10281,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -6603,6 +10304,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -6625,6 +10327,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -6647,6 +10350,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -6669,6 +10373,7 @@ }, { "method_name": "verifyUserAndPassword", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -6692,6 +10397,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -6714,6 +10420,14 @@ }, { "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": [ @@ -6736,6 +10450,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -6759,6 +10474,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -6782,6 +10498,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -6807,6 +10524,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -6827,6 +10545,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -6847,6 +10566,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -6869,6 +10589,7 @@ }, { "method_name": "removeAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -6891,6 +10612,14 @@ }, { "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": [ @@ -6913,6 +10642,7 @@ }, { "method_name": "removeAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -6935,6 +10665,7 @@ }, { "method_name": "getCustomer", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -6957,6 +10688,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -6980,6 +10712,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7002,6 +10735,14 @@ }, { "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": [ @@ -7024,6 +10765,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7047,6 +10789,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -7072,6 +10815,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -7092,6 +10836,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -7112,6 +10857,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -7134,6 +10880,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7156,6 +10903,7 @@ }, { "method_name": "booleanValue", + "comment": null, "receiver_expr": "checkingOut", "receiver_type": "java.lang.Boolean", "argument_types": [], @@ -7176,6 +10924,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7198,6 +10947,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -7223,6 +10973,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -7243,6 +10994,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -7263,6 +11015,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7285,6 +11038,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -7307,6 +11061,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "category", "receiver_type": "java.lang.String", "argument_types": [ @@ -7329,6 +11084,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7352,6 +11108,7 @@ }, { "method_name": "getItemsByCategory", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -7374,6 +11131,7 @@ }, { "method_name": "parseInt", + "comment": null, "receiver_expr": "Integer", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -7396,6 +11154,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -7421,6 +11180,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -7441,6 +11201,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -7461,6 +11222,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7484,6 +11246,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7507,6 +11270,7 @@ }, { "method_name": "getMessage", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -7527,6 +11291,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -7549,6 +11314,7 @@ }, { "method_name": "getSession", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7571,6 +11337,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7593,6 +11360,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7615,6 +11383,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7637,6 +11406,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7659,6 +11429,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7681,6 +11452,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7703,6 +11475,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7725,6 +11498,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7747,6 +11521,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7769,6 +11544,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7791,6 +11567,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7813,6 +11590,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7835,6 +11613,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7858,6 +11637,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7880,6 +11660,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7903,6 +11684,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7925,6 +11707,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7948,6 +11731,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -7970,6 +11754,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -7993,6 +11778,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -8015,6 +11801,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8038,6 +11825,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -8060,6 +11848,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8083,6 +11872,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -8105,6 +11895,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8128,6 +11919,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -8150,6 +11942,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8173,6 +11966,7 @@ }, { "method_name": "validateString", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -8195,6 +11989,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8218,6 +12013,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "password", "receiver_type": "java.lang.String", "argument_types": [ @@ -8240,6 +12036,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8263,6 +12060,7 @@ }, { "method_name": "createCustomer", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -8294,6 +12092,14 @@ }, { "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": [ @@ -8317,6 +12123,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -8339,6 +12146,7 @@ }, { "method_name": "booleanValue", + "comment": null, "receiver_expr": "checkingOut", "receiver_type": "java.lang.Boolean", "argument_types": [], @@ -8359,6 +12167,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -8381,6 +12190,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8404,6 +12214,7 @@ }, { "method_name": "getItemsByCategory", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -8426,6 +12237,7 @@ }, { "method_name": "parseInt", + "comment": null, "receiver_expr": "Integer", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -8448,6 +12260,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8471,6 +12284,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -8496,6 +12310,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -8516,6 +12331,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -8536,6 +12352,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -8558,6 +12375,7 @@ }, { "method_name": "getSession", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8580,6 +12398,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -8602,6 +12421,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8625,6 +12445,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8648,6 +12469,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8671,6 +12493,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -8696,6 +12519,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -8716,6 +12540,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -8736,6 +12561,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -8758,6 +12584,7 @@ }, { "method_name": "getSession", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8780,6 +12607,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -8802,6 +12630,7 @@ }, { "method_name": "getCustomerID", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -8822,6 +12651,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8844,6 +12674,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8866,6 +12697,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8888,6 +12720,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8910,6 +12743,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8932,6 +12766,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8954,6 +12789,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8976,6 +12812,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -8998,6 +12835,7 @@ }, { "method_name": "updateUser", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -9028,6 +12866,14 @@ }, { "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": [ @@ -9051,6 +12897,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -9073,6 +12920,7 @@ }, { "method_name": "booleanValue", + "comment": null, "receiver_expr": "checkingOut", "receiver_type": "java.lang.Boolean", "argument_types": [], @@ -9093,6 +12941,7 @@ }, { "method_name": "getAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -9115,6 +12964,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -9138,6 +12988,7 @@ }, { "method_name": "getItemsByCategory", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -9160,6 +13011,7 @@ }, { "method_name": "parseInt", + "comment": null, "receiver_expr": "Integer", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -9182,6 +13034,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -9207,6 +13060,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -9227,6 +13081,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -9247,6 +13102,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -9269,6 +13125,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -9291,6 +13148,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "debugSetting", "receiver_type": "java.lang.String", "argument_types": [ @@ -9313,6 +13171,7 @@ }, { "method_name": "setDebug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -9335,6 +13194,7 @@ }, { "method_name": "setDebug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -9357,6 +13217,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -9382,6 +13243,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -9402,6 +13264,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -9422,6 +13285,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "ServletException", "argument_types": [ @@ -9445,6 +13309,14 @@ ], "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", @@ -9454,6 +13326,14 @@ "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)", @@ -9463,6 +13343,14 @@ "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\")", @@ -9472,6 +13360,14 @@ "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\")", @@ -9481,6 +13377,14 @@ "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)", @@ -9490,6 +13394,14 @@ "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", @@ -9499,6 +13411,14 @@ "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)", @@ -9508,6 +13428,14 @@ "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)", @@ -9517,6 +13445,14 @@ "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": "", @@ -9526,6 +13462,14 @@ "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)", @@ -9535,6 +13479,14 @@ "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": "", @@ -9544,6 +13496,14 @@ "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)", @@ -9553,6 +13513,14 @@ "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\")", @@ -9562,6 +13530,14 @@ "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\")", @@ -9571,6 +13547,14 @@ "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\")", @@ -9580,6 +13564,14 @@ "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\")", @@ -9589,6 +13581,14 @@ "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\")", @@ -9598,6 +13598,14 @@ "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\")", @@ -9607,6 +13615,14 @@ "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\")", @@ -9616,6 +13632,14 @@ "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\")", @@ -9625,6 +13649,14 @@ "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\")", @@ -9634,6 +13666,14 @@ "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\")", @@ -9643,6 +13683,14 @@ "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\")", @@ -9652,6 +13700,14 @@ "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)", @@ -9661,6 +13717,14 @@ "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)", @@ -9670,6 +13734,14 @@ "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)", @@ -9679,6 +13751,14 @@ "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": "", @@ -9688,6 +13768,14 @@ "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)", @@ -9697,6 +13785,14 @@ "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)", @@ -9706,6 +13802,14 @@ "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": "", @@ -9715,6 +13819,14 @@ "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)", @@ -9724,6 +13836,14 @@ "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)", @@ -9733,6 +13853,14 @@ "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()", @@ -9742,6 +13870,14 @@ "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\")", @@ -9751,6 +13887,14 @@ "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\")", @@ -9760,6 +13904,14 @@ "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\")", @@ -9769,6 +13921,14 @@ "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\")", @@ -9778,6 +13938,14 @@ "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\")", @@ -9787,6 +13955,14 @@ "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\")", @@ -9796,6 +13972,14 @@ "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\")", @@ -9805,6 +13989,14 @@ "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\")", @@ -9814,6 +14006,14 @@ "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)", @@ -9823,6 +14023,14 @@ "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)", @@ -9832,6 +14040,14 @@ "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\")", @@ -9844,12 +14060,21 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 32, - "is_entrypoint": false + "is_entrypoint": true }, "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "comment": "/**\r\n\t * Request dispatch.\r\n\t */", + "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" @@ -9864,30 +14089,47 @@ "type": "ServletContext", "name": "ctx", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 332, + "end_line": 332, + "start_column": 31, + "end_column": 48 }, { "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 333, + "end_line": 333, + "start_column": 4, + "end_column": 25 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 334, + "end_line": 334, + "start_column": 4, + "end_column": 27 }, { "type": "java.lang.String", "name": "page", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 335, + "end_line": 335, + "start_column": 4, + "end_column": 14 } ], - "code": "{\n resp.setContentType(\"text/html\");\n ctx.getRequestDispatcher(page).include(req, resp);\n}", + "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, @@ -9896,6 +14138,7 @@ "call_sites": [ { "method_name": "setContentType", + "comment": null, "receiver_expr": "resp", "receiver_type": "", "argument_types": [ @@ -9918,6 +14161,7 @@ }, { "method_name": "include", + "comment": null, "receiver_expr": "ctx.getRequestDispatcher(page)", "receiver_type": "", "argument_types": [ @@ -9941,6 +14185,7 @@ }, { "method_name": "getRequestDispatcher", + "comment": null, "receiver_expr": "ctx", "receiver_type": "", "argument_types": [ @@ -9966,12 +14211,19 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true } }, "field_declarations": [ { - "comment": "", + "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, @@ -9987,7 +14239,14 @@ "annotations": [] }, { - "comment": "// Servlet action codes.", + "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, @@ -10003,7 +14262,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -10019,7 +14285,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -10035,7 +14308,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -10051,7 +14331,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -10067,7 +14354,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -10083,7 +14377,14 @@ ] }, { - "comment": "", + "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, @@ -10099,15 +14400,179 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": true } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "comment": "//", + "/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", @@ -10132,7 +14597,40 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Bean mapping for BACKORDER table.\r\n */", + "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" @@ -10146,9 +14644,9 @@ "nested_type_declarations": [], "callable_declarations": { "setBackOrderID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBackOrderID(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10160,12 +14658,17 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 74, + "end_line": 74, + "start_column": 29, + "end_column": 46 } ], - "code": "{\n this.backOrderID = backOrderID;\n}", + "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, @@ -10183,9 +14686,9 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getQuantity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10193,9 +14696,10 @@ "thrown_exceptions": [], "declaration": "public int getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "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, @@ -10211,9 +14715,9 @@ "is_entrypoint": false }, "getInventory()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventory()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10221,9 +14725,10 @@ "thrown_exceptions": [], "declaration": "public Inventory getInventory()", "parameters": [], - "code": "{\n return inventory;\n}", + "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, @@ -10239,9 +14744,9 @@ "is_entrypoint": false }, "getOrderDate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getOrderDate()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10249,9 +14754,10 @@ "thrown_exceptions": [], "declaration": "public long getOrderDate()", "parameters": [], - "code": "{\n return orderDate;\n}", + "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, @@ -10267,9 +14773,9 @@ "is_entrypoint": false }, "getLowDate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getLowDate()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10277,9 +14783,10 @@ "thrown_exceptions": [], "declaration": "public long getLowDate()", "parameters": [], - "code": "{\n return lowDate;\n}", + "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, @@ -10295,9 +14802,9 @@ "is_entrypoint": false }, "(Inventory, int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "BackOrder(Inventory, int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10309,18 +14816,27 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "inventory", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 63, + "end_line": 63, + "start_column": 19, + "end_column": 37 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 63, + "end_line": 63, + "start_column": 40, + "end_column": 51 } ], - "code": "{\n this.setInventory(inventory);\n this.setQuantity(quantity);\n this.setStatus(Util.STATUS_ORDERSTOCK);\n this.setLowDate(System.currentTimeMillis());\n}", + "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, @@ -10335,6 +14851,7 @@ "call_sites": [ { "method_name": "setInventory", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -10357,6 +14874,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -10379,6 +14897,7 @@ }, { "method_name": "setStatus", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -10401,6 +14920,7 @@ }, { "method_name": "setLowDate", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -10423,6 +14943,7 @@ }, { "method_name": "currentTimeMillis", + "comment": null, "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], @@ -10449,9 +14970,9 @@ "is_entrypoint": false }, "setStatus(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setStatus(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10463,12 +14984,17 @@ "type": "java.lang.String", "name": "status", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 115, + "end_line": 115, + "start_column": 24, + "end_column": 36 } ], - "code": "{\n this.status = status;\n}", + "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, @@ -10486,9 +15012,9 @@ "is_entrypoint": false }, "setLowDate(long)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setLowDate(long)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10500,12 +15026,17 @@ "type": "long", "name": "lowDate", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 82, + "end_line": 82, + "start_column": 25, + "end_column": 36 } ], - "code": "{\n this.lowDate = lowDate;\n}", + "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, @@ -10521,9 +15052,9 @@ "is_entrypoint": false }, "setOrderDate(long)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setOrderDate(long)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10535,12 +15066,17 @@ "type": "long", "name": "orderDate", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 27, + "end_column": 40 } ], - "code": "{\n this.orderDate = orderDate;\n}", + "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, @@ -10556,9 +15092,9 @@ "is_entrypoint": false }, "(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "BackOrder(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10570,12 +15106,17 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 19, + "end_column": 36 } ], - "code": "{\n setBackOrderID(backOrderID);\n}", + "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, @@ -10586,6 +15127,7 @@ "call_sites": [ { "method_name": "setBackOrderID", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -10614,9 +15156,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "BackOrder()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10624,9 +15166,10 @@ "thrown_exceptions": [], "declaration": "public BackOrder()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 56, "end_line": 57, + "code_start_line": 56, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -10640,9 +15183,9 @@ "is_entrypoint": false }, "getSupplierOrderID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSupplierOrderID()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10650,9 +15193,10 @@ "thrown_exceptions": [], "declaration": "public String getSupplierOrderID()", "parameters": [], - "code": "{\n return supplierOrderID;\n}", + "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, @@ -10668,9 +15212,18 @@ "is_entrypoint": false }, "increateQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "increateQuantity(int)", - "comment": "", + "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" @@ -10682,12 +15235,17 @@ "type": "int", "name": "delta", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 102, + "end_line": 102, + "start_column": 31, + "end_column": 39 } ], - "code": "{\n if (!(status.equals(Util.STATUS_ORDERSTOCK))) {\n Util.debug(\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\");\n throw new RuntimeException(\"cannot increase order size for orders already in progress\");\n }\n // Increase the BackOrder quantity for an existing Back Order.\n quantity = quantity + delta;\n}", + "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, @@ -10702,6 +15260,7 @@ "call_sites": [ { "method_name": "equals", + "comment": null, "receiver_expr": "status", "receiver_type": "java.lang.String", "argument_types": [ @@ -10724,6 +15283,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -10746,6 +15306,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.RuntimeException", "argument_types": [ @@ -10774,9 +15335,9 @@ "is_entrypoint": false }, "setInventory(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setInventory(Inventory)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10788,12 +15349,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "inventory", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 27, + "end_column": 45 } ], - "code": "{\n this.inventory = inventory;\n}", + "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, @@ -10811,9 +15377,9 @@ "is_entrypoint": false }, "setQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setQuantity(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10825,12 +15391,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 98, + "end_line": 98, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -10846,9 +15417,9 @@ "is_entrypoint": false }, "setSupplierOrderID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setSupplierOrderID(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10860,12 +15431,17 @@ "type": "java.lang.String", "name": "supplierOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 33, + "end_column": 54 } ], - "code": "{\n this.supplierOrderID = supplierOrderID;\n}", + "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, @@ -10883,9 +15459,9 @@ "is_entrypoint": false }, "getStatus()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getStatus()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10893,9 +15469,10 @@ "thrown_exceptions": [], "declaration": "public String getStatus()", "parameters": [], - "code": "{\n return status;\n}", + "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, @@ -10911,9 +15488,9 @@ "is_entrypoint": false }, "getBackOrderID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBackOrderID()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -10921,9 +15498,10 @@ "thrown_exceptions": [], "declaration": "public String getBackOrderID()", "parameters": [], - "code": "{\n return backOrderID;\n}", + "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, @@ -10941,7 +15519,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -10959,7 +15544,14 @@ ] }, { - "comment": "", + "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, @@ -10973,7 +15565,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -10987,7 +15586,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -11001,7 +15607,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -11015,7 +15628,14 @@ "annotations": [] }, { - "comment": "// missing table", + "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, @@ -11029,7 +15649,14 @@ "annotations": [] }, { - "comment": "// relationships", + "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, @@ -11046,15 +15673,163 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java", - "comment": "//", + "/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": { @@ -11069,7 +15844,24 @@ "extends_list": [ "java.lang.Exception" ], - "comment": "", + "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" @@ -11079,9 +15871,18 @@ "nested_type_declarations": [], "callable_declarations": { "(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "NoSupplierException(String)", - "comment": "/**\r\n\t * Method NoSupplierException\r\n\t * \r\n\t * @param message\r\n\t */", + "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" @@ -11093,12 +15894,17 @@ "type": "java.lang.String", "name": "message", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 31, + "end_line": 31, + "start_column": 29, + "end_column": 42 } ], - "code": "{\n super(message);\n return;\n}", + "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, @@ -11114,7 +15920,14 @@ }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "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, @@ -11130,15 +15943,187 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "comment": "//", + "/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", @@ -11158,7 +16143,48 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * JSF action bean for the help page.\r\n *\r\n */", + "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" ], @@ -11172,9 +16198,18 @@ "nested_type_declarations": [], "callable_declarations": { "setDebug(boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setDebug(boolean)", - "comment": "/**\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 */", + "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" @@ -11186,12 +16221,17 @@ "type": "boolean", "name": "debug", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 82, + "end_line": 82, + "start_column": 23, + "end_column": 35 } ], - "code": "{\n Util.setDebug(debug);\n}", + "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, @@ -11200,6 +16240,7 @@ "call_sites": [ { "method_name": "setDebug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -11228,9 +16269,9 @@ "is_entrypoint": false }, "performDBReset()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performDBReset()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -11238,9 +16279,10 @@ "thrown_exceptions": [], "declaration": "public String performDBReset()", "parameters": [], - "code": "{\n rdb.resetDB();\n return ACTION_HOME;\n}", + "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, @@ -11252,6 +16294,7 @@ "call_sites": [ { "method_name": "resetDB", + "comment": null, "receiver_expr": "rdb", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", "argument_types": [], @@ -11278,9 +16321,18 @@ "is_entrypoint": false }, "getDbDumpFile()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getDbDumpFile()", - "comment": "/**\r\n\t * @return the dbDumpFile\r\n\t */", + "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" @@ -11288,9 +16340,10 @@ "thrown_exceptions": [], "declaration": "public String getDbDumpFile()", "parameters": [], - "code": "{\n return dbDumpFile;\n}", + "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, @@ -11306,9 +16359,18 @@ "is_entrypoint": false }, "setDbDumpFile(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setDbDumpFile(String)", - "comment": "/**\r\n\t * @param dbDumpFile\r\n\t * the dbDumpFile to set\r\n\t */", + "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" @@ -11320,12 +16382,17 @@ "type": "java.lang.String", "name": "dbDumpFile", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 64, + "end_line": 64, + "start_column": 28, + "end_column": 44 } ], - "code": "{\n this.dbDumpFile = dbDumpFile;\n}", + "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, @@ -11343,9 +16410,9 @@ "is_entrypoint": false }, "performHelp()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performHelp()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -11353,9 +16420,10 @@ "thrown_exceptions": [], "declaration": "public String performHelp()", "parameters": [], - "code": "{\n return ACTION_HELP;\n}", + "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, @@ -11371,9 +16439,18 @@ "is_entrypoint": false }, "isDebug()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "isDebug()", - "comment": "/**\r\n\t * @return whether debug is on or not\r\n\t */", + "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" @@ -11381,9 +16458,10 @@ "thrown_exceptions": [], "declaration": "public boolean isDebug()", "parameters": [], - "code": "{\n return Util.debugOn();\n}", + "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, @@ -11392,6 +16470,7 @@ "call_sites": [ { "method_name": "debugOn", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [], @@ -11420,7 +16499,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -11436,7 +16522,14 @@ ] }, { - "comment": "", + "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, @@ -11450,7 +16543,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -11466,7 +16566,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -11482,15 +16589,267 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", - "comment": "//", + "/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", @@ -11531,7 +16890,120 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "", + "comments": [ + { + "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 + } + ], "implements_list": [ "java.io.Serializable" ], @@ -11547,9 +17019,26 @@ "nested_type_declarations": [], "callable_declarations": { "deleteAll()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "deleteAll()", - "comment": "", + "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": [ "@Transactional" ], @@ -11559,9 +17048,10 @@ "thrown_exceptions": [], "declaration": "public void deleteAll()", "parameters": [], - "code": "{\n try {\n Query q = em.createNamedQuery(\"removeAllOrders\");\n q.executeUpdate();\n q = em.createNamedQuery(\"removeAllInventory\");\n q.executeUpdate();\n // q=em.createNamedQuery(\"removeAllIdGenerator\");\n // q.executeUpdate();\n q = em.createNamedQuery(\"removeAllCustomers\");\n q.executeUpdate();\n q = em.createNamedQuery(\"removeAllOrderItem\");\n q.executeUpdate();\n q = em.createNamedQuery(\"removeAllBackOrder\");\n q.executeUpdate();\n q = em.createNamedQuery(\"removeAllSupplier\");\n q.executeUpdate();\n em.flush();\n Util.debug(\"Deleted all data from database\");\n } catch (Exception e) {\n Util.debug(\"ResetDB(deleteAll) -- Error deleting data from the database: \" + e);\n e.printStackTrace();\n try {\n tx.setRollbackOnly();\n } catch (IllegalStateException | SystemException ignore) {\n }\n }\n}", + "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, @@ -11575,6 +17065,7 @@ "call_sites": [ { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -11597,6 +17088,7 @@ }, { "method_name": "executeUpdate", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -11617,6 +17109,7 @@ }, { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -11639,6 +17132,7 @@ }, { "method_name": "executeUpdate", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -11659,6 +17153,7 @@ }, { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -11681,6 +17176,7 @@ }, { "method_name": "executeUpdate", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -11701,6 +17197,7 @@ }, { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -11723,6 +17220,7 @@ }, { "method_name": "executeUpdate", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -11743,6 +17241,7 @@ }, { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -11765,6 +17264,7 @@ }, { "method_name": "executeUpdate", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -11785,6 +17285,7 @@ }, { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -11807,6 +17308,7 @@ }, { "method_name": "executeUpdate", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -11827,6 +17329,7 @@ }, { "method_name": "flush", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [], @@ -11847,6 +17350,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -11869,6 +17373,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -11891,6 +17396,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -11911,6 +17417,7 @@ }, { "method_name": "setRollbackOnly", + "comment": null, "receiver_expr": "tx", "receiver_type": "", "argument_types": [], @@ -11932,6 +17439,14 @@ ], "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\")", @@ -11947,9 +17462,9 @@ "is_entrypoint": false }, "resetDB()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "resetDB()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -11957,9 +17472,10 @@ "thrown_exceptions": [], "declaration": "public void resetDB()", "parameters": [], - "code": "{\n deleteAll();\n populateDB();\n}", + "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, @@ -11968,6 +17484,7 @@ "call_sites": [ { "method_name": "deleteAll", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -11988,6 +17505,7 @@ }, { "method_name": "populateDB", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -12014,9 +17532,26 @@ "is_entrypoint": false }, "addImage(String, String, CatalogMgr)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "addImage(String, String, CatalogMgr)", - "comment": "/**\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 */", + "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", @@ -12032,24 +17567,37 @@ "type": "java.lang.String", "name": "itemID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 30, + "end_column": 42 }, { "type": "java.lang.String", "name": "fileName", "annotations": [], - "modifiers": [] + "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": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 4, + "end_column": 21 } ], - "code": "{\n URL url = Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName);\n Util.debug(\"URL: \" + url);\n fileName = url.getPath();\n Util.debug(\"Fully-qualified Filename: \" + fileName);\n File imgFile = new File(fileName);\n // Open the input file as a stream of bytes\n FileInputStream fis = new FileInputStream(imgFile);\n DataInputStream dis = new DataInputStream(fis);\n int dataSize = dis.available();\n byte[] data = new byte[dataSize];\n dis.readFully(data);\n catalog.setItemImageBytes(itemID, data);\n}", + "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, @@ -12065,6 +17613,7 @@ "call_sites": [ { "method_name": "getResource", + "comment": null, "receiver_expr": "Thread.currentThread().getContextClassLoader()", "receiver_type": "java.lang.ClassLoader", "argument_types": [ @@ -12087,6 +17636,7 @@ }, { "method_name": "getContextClassLoader", + "comment": null, "receiver_expr": "Thread.currentThread()", "receiver_type": "java.lang.Thread", "argument_types": [], @@ -12107,6 +17657,7 @@ }, { "method_name": "currentThread", + "comment": null, "receiver_expr": "Thread", "receiver_type": "java.lang.Thread", "argument_types": [], @@ -12127,6 +17678,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12149,6 +17701,7 @@ }, { "method_name": "getPath", + "comment": null, "receiver_expr": "url", "receiver_type": "java.net.URL", "argument_types": [], @@ -12169,6 +17722,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12191,6 +17745,7 @@ }, { "method_name": "available", + "comment": null, "receiver_expr": "dis", "receiver_type": "java.io.DataInputStream", "argument_types": [], @@ -12211,6 +17766,7 @@ }, { "method_name": "readFully", + "comment": null, "receiver_expr": "dis", "receiver_type": "java.io.DataInputStream", "argument_types": [ @@ -12233,6 +17789,7 @@ }, { "method_name": "setItemImageBytes", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -12256,6 +17813,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.File", "argument_types": [ @@ -12278,6 +17836,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.FileInputStream", "argument_types": [ @@ -12300,6 +17859,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.DataInputStream", "argument_types": [ @@ -12323,6 +17883,14 @@ ], "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)", @@ -12332,6 +17900,14 @@ "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)", @@ -12341,6 +17917,14 @@ "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)", @@ -12350,6 +17934,14 @@ "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)", @@ -12359,6 +17951,14 @@ "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()", @@ -12368,6 +17968,14 @@ "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]", @@ -12383,9 +17991,90 @@ "is_entrypoint": false }, "populateDB()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "populateDB()", - "comment": "", + "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": [ "public" @@ -12393,9 +18082,10 @@ "thrown_exceptions": [], "declaration": "public void populateDB()", "parameters": [], - "code": "{\n /**\n * Populate INVENTORY table with text\n */\n Util.debug(\"Populating INVENTORY table with text...\");\n try {\n String[] values = Util.getProperties(\"inventory\");\n for (int index = 0; index < values.length; index++) {\n Util.debug(\"Found INVENTORY property values: \" + values[index]);\n String[] fields = Util.readTokens(values[index], \"|\");\n String id = fields[0];\n String name = fields[1];\n String heading = fields[2];\n String descr = fields[3];\n String pkginfo = fields[4];\n String image = fields[5];\n float price = new Float(fields[6]).floatValue();\n float cost = new Float(fields[7]).floatValue();\n int quantity = new Integer(fields[8]).intValue();\n int category = new Integer(fields[9]).intValue();\n String notes = fields[10];\n boolean isPublic = new Boolean(fields[11]).booleanValue();\n Util.debug(\"Populating INVENTORY with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n Util.debug(fields[8]);\n Util.debug(fields[9]);\n Util.debug(fields[10]);\n Util.debug(fields[11]);\n Inventory storeItem = new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity, category, notes, isPublic);\n catalog.addItem(storeItem);\n addImage(id, image, catalog);\n }\n Util.debug(\"INVENTORY table populated with text...\");\n } catch (Exception e) {\n Util.debug(\"Unable to populate INVENTORY table with text data: \" + e);\n e.printStackTrace();\n }\n /**\n * Populate CUSTOMER table with text\n */\n Util.debug(\"Populating CUSTOMER table with default values...\");\n try {\n String[] values = Util.getProperties(\"customer\");\n Util.debug(\"Found CUSTOMER properties: \" + values[0]);\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n String customerID = fields[0];\n String password = fields[1];\n String firstName = fields[2];\n String lastName = fields[3];\n String addr1 = fields[4];\n String addr2 = fields[5];\n String addrCity = fields[6];\n String addrState = fields[7];\n String addrZip = fields[8];\n String phone = fields[9];\n Util.debug(\"Populating CUSTOMER with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n Util.debug(fields[8]);\n Util.debug(fields[9]);\n customer.createCustomer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\n }\n } catch (Exception e) {\n Util.debug(\"Unable to populate CUSTOMER table with text data: \" + e);\n e.printStackTrace();\n }\n /**\n * Populate ORDER table with text\n */\n Util.debug(\"Populating ORDER table with default values...\");\n try {\n String[] values = Util.getProperties(\"order\");\n Util.debug(\"Found ORDER properties: \" + values[0]);\n if (values[0] != null && values.length > 0) {\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n if (fields != null && fields.length >= 21) {\n String customerID = fields[0];\n String billName = fields[1];\n String billAddr1 = fields[2];\n String billAddr2 = fields[3];\n String billCity = fields[4];\n String billState = fields[5];\n String billZip = fields[6];\n String billPhone = fields[7];\n String shipName = fields[8];\n String shipAddr1 = fields[9];\n String shipAddr2 = fields[10];\n String shipCity = fields[11];\n String shipState = fields[12];\n String shipZip = fields[13];\n String shipPhone = fields[14];\n int shippingMethod = Integer.parseInt(fields[15]);\n String creditCard = fields[16];\n String ccNum = fields[17];\n String ccExpireMonth = fields[18];\n String ccExpireYear = fields[19];\n String cardHolder = fields[20];\n Vector items = new Vector();\n Util.debug(\"Populating ORDER with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n Util.debug(fields[8]);\n Util.debug(fields[9]);\n Util.debug(fields[10]);\n Util.debug(fields[11]);\n Util.debug(fields[12]);\n Util.debug(fields[13]);\n Util.debug(fields[14]);\n Util.debug(fields[15]);\n Util.debug(fields[16]);\n Util.debug(fields[17]);\n Util.debug(fields[18]);\n Util.debug(fields[19]);\n Util.debug(fields[20]);\n cart.createOrder(customerID, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName, shipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth, ccExpireYear, cardHolder, shippingMethod, items);\n } else {\n Util.debug(\"Property does not contain enough fields: \" + values[index]);\n Util.debug(\"Fields found were: \" + fields);\n }\n }\n }\n // stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,\n // CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',\n // 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");\n } catch (Exception e) {\n Util.debug(\"Unable to populate ORDERITEM table with text data: \" + e);\n e.printStackTrace();\n e.printStackTrace();\n }\n /**\n * Populate BACKORDER table with text\n */\n Util.debug(\"Populating BACKORDER table with default values...\");\n try {\n String[] values = Util.getProperties(\"backorder\");\n Util.debug(\"Found BACKORDER properties: \" + values[0]);\n // Inserting backorders\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n String inventoryID = fields[0];\n int amountToOrder = new Integer(fields[1]).intValue();\n int maximumItems = new Integer(fields[2]).intValue();\n Util.debug(\"Populating BACKORDER with following values: \");\n Util.debug(inventoryID);\n Util.debug(\"amountToOrder -> \" + amountToOrder);\n Util.debug(\"maximumItems -> \" + maximumItems);\n backOrderStock.createBackOrder(inventoryID, amountToOrder, maximumItems);\n }\n } catch (Exception e) {\n Util.debug(\"Unable to populate BACKORDER table with text data: \" + e);\n e.printStackTrace();\n }\n /**\n * Populate SUPPLIER table with text\n */\n Util.debug(\"Populating SUPPLIER table with default values...\");\n try {\n String[] values = Util.getProperties(\"supplier\");\n Util.debug(\"Found SUPPLIER properties: \" + values[0]);\n // Inserting Suppliers\n for (int index = 0; index < values.length; index++) {\n String[] fields = Util.readTokens(values[index], \"|\");\n String supplierID = fields[0];\n String name = fields[1];\n String address = fields[2];\n String city = fields[3];\n String state = fields[4];\n String zip = fields[5];\n String phone = fields[6];\n String url = fields[7];\n Util.debug(\"Populating SUPPLIER with following values: \");\n Util.debug(fields[0]);\n Util.debug(fields[1]);\n Util.debug(fields[2]);\n Util.debug(fields[3]);\n Util.debug(fields[4]);\n Util.debug(fields[5]);\n Util.debug(fields[6]);\n Util.debug(fields[7]);\n suppliers.createSupplier(supplierID, name, address, city, state, zip, phone, url);\n }\n } catch (Exception e) {\n Util.debug(\"Unable to populate SUPPLIER table with text data: \" + e);\n e.printStackTrace();\n }\n}", + "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, @@ -12415,6 +18105,14 @@ "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": [ @@ -12437,6 +18135,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12459,6 +18158,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12481,6 +18181,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12504,6 +18205,7 @@ }, { "method_name": "floatValue", + "comment": null, "receiver_expr": "new Float(fields[6])", "receiver_type": "java.lang.Float", "argument_types": [], @@ -12524,6 +18226,7 @@ }, { "method_name": "floatValue", + "comment": null, "receiver_expr": "new Float(fields[7])", "receiver_type": "java.lang.Float", "argument_types": [], @@ -12544,6 +18247,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[8])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -12564,6 +18268,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[9])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -12584,6 +18289,7 @@ }, { "method_name": "booleanValue", + "comment": null, "receiver_expr": "new Boolean(fields[11])", "receiver_type": "java.lang.Boolean", "argument_types": [], @@ -12604,6 +18310,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12626,6 +18333,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12648,6 +18356,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12670,6 +18379,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12692,6 +18402,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12714,6 +18425,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12736,6 +18448,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12758,6 +18471,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12780,6 +18494,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12802,6 +18517,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12824,6 +18540,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12846,6 +18563,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12868,6 +18586,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12890,6 +18609,7 @@ }, { "method_name": "addItem", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -12912,6 +18632,7 @@ }, { "method_name": "addImage", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -12936,6 +18657,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12958,6 +18680,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -12980,6 +18703,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -13000,6 +18724,14 @@ }, { "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": [ @@ -13022,6 +18754,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13044,6 +18777,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13066,6 +18800,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13089,6 +18824,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13111,6 +18847,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13133,6 +18870,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13155,6 +18893,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13177,6 +18916,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13199,6 +18939,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13221,6 +18962,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13243,6 +18985,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13265,6 +19008,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13287,6 +19031,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13309,6 +19054,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13331,6 +19077,7 @@ }, { "method_name": "createCustomer", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -13362,6 +19109,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13384,6 +19132,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -13404,6 +19153,14 @@ }, { "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": [ @@ -13426,6 +19183,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13448,6 +19206,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13470,6 +19229,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13493,6 +19253,7 @@ }, { "method_name": "parseInt", + "comment": null, "receiver_expr": "Integer", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -13515,6 +19276,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13537,6 +19299,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13559,6 +19322,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13581,6 +19345,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13603,6 +19368,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13625,6 +19391,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13647,6 +19414,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13669,6 +19437,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13691,6 +19460,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13713,6 +19483,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13735,6 +19506,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13757,6 +19529,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13779,6 +19552,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13801,6 +19575,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13823,6 +19598,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13845,6 +19621,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13867,6 +19644,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13889,6 +19667,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13911,6 +19690,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13933,6 +19713,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13955,6 +19736,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13977,6 +19759,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -13999,6 +19782,7 @@ }, { "method_name": "createOrder", + "comment": null, "receiver_expr": "cart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [ @@ -14042,6 +19826,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14064,6 +19849,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14086,6 +19872,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14108,6 +19895,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -14128,6 +19916,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -14148,6 +19937,14 @@ }, { "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": [ @@ -14170,6 +19967,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14192,6 +19990,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14214,6 +20013,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14237,6 +20037,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[1])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -14257,6 +20058,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(fields[2])", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -14277,6 +20079,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14299,6 +20102,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14321,6 +20125,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14343,6 +20148,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14365,6 +20171,7 @@ }, { "method_name": "createBackOrder", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -14389,6 +20196,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14411,6 +20219,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -14431,6 +20240,14 @@ }, { "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": [ @@ -14453,6 +20270,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14475,6 +20293,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14497,6 +20316,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14520,6 +20340,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14542,6 +20363,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14564,6 +20386,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14586,6 +20409,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14608,6 +20432,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14630,6 +20455,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14652,6 +20478,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14674,6 +20501,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14696,6 +20524,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14718,6 +20547,7 @@ }, { "method_name": "createSupplier", + "comment": null, "receiver_expr": "suppliers", "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "argument_types": [ @@ -14747,6 +20577,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -14769,6 +20600,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -14789,6 +20621,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Float", "argument_types": [ @@ -14811,6 +20644,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Float", "argument_types": [ @@ -14833,6 +20667,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -14855,6 +20690,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -14877,6 +20713,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Boolean", "argument_types": [ @@ -14899,6 +20736,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -14932,6 +20770,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.Vector", "argument_types": [], @@ -14952,6 +20791,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -14974,6 +20814,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -14997,6 +20838,14 @@ ], "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\")", @@ -15006,6 +20855,14 @@ "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", @@ -15015,6 +20872,14 @@ "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], \"|\")", @@ -15024,6 +20889,14 @@ "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]", @@ -15033,6 +20906,14 @@ "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]", @@ -15042,6 +20923,14 @@ "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]", @@ -15051,6 +20940,14 @@ "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]", @@ -15060,6 +20957,14 @@ "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]", @@ -15069,6 +20974,14 @@ "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]", @@ -15078,6 +20991,14 @@ "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()", @@ -15087,6 +21008,14 @@ "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()", @@ -15096,6 +21025,14 @@ "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()", @@ -15105,6 +21042,14 @@ "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()", @@ -15114,6 +21059,14 @@ "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]", @@ -15123,6 +21076,14 @@ "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()", @@ -15132,6 +21093,14 @@ "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)", @@ -15141,6 +21110,14 @@ "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\")", @@ -15150,6 +21127,14 @@ "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", @@ -15159,6 +21144,14 @@ "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], \"|\")", @@ -15168,6 +21161,14 @@ "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]", @@ -15177,6 +21178,14 @@ "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]", @@ -15186,6 +21195,14 @@ "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]", @@ -15195,6 +21212,14 @@ "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]", @@ -15204,6 +21229,14 @@ "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]", @@ -15213,6 +21246,14 @@ "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]", @@ -15222,6 +21263,14 @@ "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]", @@ -15231,6 +21280,14 @@ "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]", @@ -15240,6 +21297,14 @@ "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]", @@ -15249,6 +21314,14 @@ "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]", @@ -15258,6 +21331,14 @@ "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\")", @@ -15267,6 +21348,14 @@ "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", @@ -15276,6 +21365,14 @@ "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], \"|\")", @@ -15285,6 +21382,14 @@ "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]", @@ -15294,6 +21399,14 @@ "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]", @@ -15303,6 +21416,14 @@ "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]", @@ -15312,6 +21433,14 @@ "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]", @@ -15321,6 +21450,14 @@ "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]", @@ -15330,6 +21467,14 @@ "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]", @@ -15339,6 +21484,14 @@ "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]", @@ -15348,6 +21501,14 @@ "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]", @@ -15357,6 +21518,14 @@ "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]", @@ -15366,6 +21535,14 @@ "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]", @@ -15375,6 +21552,14 @@ "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]", @@ -15384,6 +21569,14 @@ "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]", @@ -15393,6 +21586,14 @@ "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]", @@ -15402,6 +21603,14 @@ "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]", @@ -15411,6 +21620,14 @@ "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]", @@ -15420,6 +21637,14 @@ "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])", @@ -15429,6 +21654,14 @@ "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]", @@ -15438,6 +21671,14 @@ "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]", @@ -15447,6 +21688,14 @@ "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]", @@ -15456,6 +21705,14 @@ "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]", @@ -15465,6 +21722,14 @@ "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]", @@ -15474,6 +21739,14 @@ "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()", @@ -15483,6 +21756,14 @@ "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\")", @@ -15492,6 +21773,14 @@ "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", @@ -15501,6 +21790,14 @@ "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], \"|\")", @@ -15510,6 +21807,14 @@ "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]", @@ -15519,6 +21824,14 @@ "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()", @@ -15528,6 +21841,14 @@ "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()", @@ -15537,6 +21858,14 @@ "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\")", @@ -15546,6 +21875,14 @@ "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", @@ -15555,6 +21892,14 @@ "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], \"|\")", @@ -15564,6 +21909,14 @@ "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]", @@ -15573,6 +21926,14 @@ "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]", @@ -15582,6 +21943,14 @@ "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]", @@ -15591,6 +21960,14 @@ "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]", @@ -15600,6 +21977,14 @@ "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]", @@ -15609,6 +21994,14 @@ "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]", @@ -15618,6 +22011,14 @@ "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]", @@ -15627,6 +22028,14 @@ "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]", @@ -15644,7 +22053,14 @@ }, "field_declarations": [ { - "comment": "", + "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": 59, @@ -15660,7 +22076,14 @@ ] }, { - "comment": "", + "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, @@ -15676,7 +22099,14 @@ ] }, { - "comment": "", + "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, @@ -15692,7 +22122,14 @@ ] }, { - "comment": "", + "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, @@ -15708,7 +22145,14 @@ ] }, { - "comment": "", + "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, @@ -15724,7 +22168,14 @@ ] }, { - "comment": "", + "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, @@ -15738,7 +22189,14 @@ ] }, { - "comment": "", + "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, @@ -15752,15 +22210,187 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", - "comment": "//", + "/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, ", + "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 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": "\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, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], "imports": [], "type_declarations": { "com.ibm.websphere.samples.pbw.bean.EMailMessage": { @@ -15773,7 +22403,48 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\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 */", + "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, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], "implements_list": [ "java.io.Serializable" ], @@ -15785,9 +22456,9 @@ "nested_type_declarations": [], "callable_declarations": { "getSubject()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSubject()", - "comment": "// subject field of email message", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -15795,9 +22466,10 @@ "thrown_exceptions": [], "declaration": "public String getSubject()", "parameters": [], - "code": "{\n return subject;\n}", + "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, @@ -15813,9 +22485,9 @@ "is_entrypoint": false }, "(String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "EMailMessage(String, String, String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -15827,24 +22499,37 @@ "type": "java.lang.String", "name": "subject", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 22, + "end_column": 35 }, { "type": "java.lang.String", "name": "htmlContents", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 38, + "end_column": 56 }, { "type": "java.lang.String", "name": "emailReceiver", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 59, + "end_column": 78 } ], - "code": "{\n this.subject = subject;\n this.htmlContents = htmlContents;\n this.emailReceiver = emailReceiver;\n}", + "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, @@ -15864,9 +22549,9 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "toString()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -15874,9 +22559,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return \" subject=\" + subject + \" \" + emailReceiver + \" \" + htmlContents;\n}", + "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, @@ -15894,9 +22580,9 @@ "is_entrypoint": false }, "getHtmlContents()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getHtmlContents()", - "comment": "// contents of email message", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -15904,9 +22590,10 @@ "thrown_exceptions": [], "declaration": "public String getHtmlContents()", "parameters": [], - "code": "{\n return htmlContents;\n}", + "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, @@ -15922,9 +22609,9 @@ "is_entrypoint": false }, "getEmailReceiver()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getEmailReceiver()", - "comment": "// Email address of recipient of email message", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -15932,9 +22619,10 @@ "thrown_exceptions": [], "declaration": "public String getEmailReceiver()", "parameters": [], - "code": "{\n return emailReceiver;\n}", + "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, @@ -15952,7 +22640,14 @@ }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "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, @@ -15968,7 +22663,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -15982,7 +22684,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -15996,7 +22705,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -16010,15 +22726,163 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "comment": "//", + "/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", @@ -16037,7 +22901,24 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Bean mapping for the SUPPLIER table.\r\n */", + "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" @@ -16051,9 +22932,9 @@ "nested_type_declarations": [], "callable_declarations": { "getStreet()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getStreet()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16061,9 +22942,10 @@ "thrown_exceptions": [], "declaration": "public String getStreet()", "parameters": [], - "code": "{\n return street;\n}", + "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, @@ -16079,9 +22961,9 @@ "is_entrypoint": false }, "setCity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCity(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16093,12 +22975,17 @@ "type": "java.lang.String", "name": "city", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 47, + "end_line": 47, + "start_column": 22, + "end_column": 32 } ], - "code": "{\n this.city = city;\n}", + "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, @@ -16116,9 +23003,9 @@ "is_entrypoint": false }, "setSupplierID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setSupplierID(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16130,12 +23017,17 @@ "type": "java.lang.String", "name": "supplierID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 79, + "end_line": 79, + "start_column": 28, + "end_column": 44 } ], - "code": "{\n this.supplierID = supplierID;\n}", + "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, @@ -16153,9 +23045,9 @@ "is_entrypoint": false }, "setName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setName(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16167,12 +23059,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 55, + "end_line": 55, + "start_column": 22, + "end_column": 32 } ], - "code": "{\n this.name = name;\n}", + "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, @@ -16190,9 +23087,9 @@ "is_entrypoint": false }, "getCity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16200,9 +23097,10 @@ "thrown_exceptions": [], "declaration": "public String getCity()", "parameters": [], - "code": "{\n return city;\n}", + "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, @@ -16218,9 +23116,9 @@ "is_entrypoint": false }, "setUsstate(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setUsstate(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16232,12 +23130,17 @@ "type": "java.lang.String", "name": "usstate", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 95, + "end_line": 95, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.usstate = usstate;\n}", + "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, @@ -16255,9 +23158,9 @@ "is_entrypoint": false }, "setZip(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setZip(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16269,12 +23172,17 @@ "type": "java.lang.String", "name": "zip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 103, + "end_line": 103, + "start_column": 21, + "end_column": 30 } ], - "code": "{\n this.zip = zip;\n}", + "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, @@ -16292,9 +23200,9 @@ "is_entrypoint": false }, "setStreet(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setStreet(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16306,12 +23214,17 @@ "type": "java.lang.String", "name": "street", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 24, + "end_column": 36 } ], - "code": "{\n this.street = street;\n}", + "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, @@ -16329,9 +23242,9 @@ "is_entrypoint": false }, "getZip()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getZip()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16339,9 +23252,10 @@ "thrown_exceptions": [], "declaration": "public String getZip()", "parameters": [], - "code": "{\n return zip;\n}", + "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, @@ -16357,9 +23271,18 @@ "is_entrypoint": false }, "(String, String, String, String, String, String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Supplier(String, String, String, String, String, String, String, String)", - "comment": "/**\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 */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -16371,54 +23294,87 @@ "type": "java.lang.String", "name": "supplierID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 18, + "end_column": 34 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 37, + "end_column": 47 }, { "type": "java.lang.String", "name": "street", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 50, + "end_column": 62 }, { "type": "java.lang.String", "name": "city", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 65, + "end_column": 75 }, { "type": "java.lang.String", "name": "state", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 78, + "end_column": 89 }, { "type": "java.lang.String", "name": "zip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 92, + "end_column": 101 }, { "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 104, + "end_column": 115 }, { "type": "java.lang.String", "name": "url", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 4, + "end_column": 13 } ], - "code": "{\n this.setSupplierID(supplierID);\n this.setName(name);\n this.setStreet(street);\n this.setCity(city);\n this.setUsstate(state);\n this.setZip(zip);\n this.setPhone(phone);\n this.setUrl(url);\n}", + "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, @@ -16435,6 +23391,7 @@ "call_sites": [ { "method_name": "setSupplierID", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16457,6 +23414,7 @@ }, { "method_name": "setName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16479,6 +23437,7 @@ }, { "method_name": "setStreet", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16501,6 +23460,7 @@ }, { "method_name": "setCity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16523,6 +23483,7 @@ }, { "method_name": "setUsstate", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16545,6 +23506,7 @@ }, { "method_name": "setZip", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16567,6 +23529,7 @@ }, { "method_name": "setPhone", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16589,6 +23552,7 @@ }, { "method_name": "setUrl", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", "argument_types": [ @@ -16617,9 +23581,9 @@ "is_entrypoint": false }, "setUrl(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setUrl(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16631,12 +23595,17 @@ "type": "java.lang.String", "name": "url", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 87, + "end_line": 87, + "start_column": 21, + "end_column": 30 } ], - "code": "{\n this.url = url;\n}", + "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, @@ -16654,9 +23623,9 @@ "is_entrypoint": false }, "(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Supplier(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16668,12 +23637,17 @@ "type": "java.lang.String", "name": "supplierID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 110, + "end_line": 110, + "start_column": 18, + "end_column": 34 } ], - "code": "{\n setSupplierID(supplierID);\n}", + "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, @@ -16684,6 +23658,7 @@ "call_sites": [ { "method_name": "setSupplierID", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -16712,9 +23687,9 @@ "is_entrypoint": false }, "getName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16722,9 +23697,10 @@ "thrown_exceptions": [], "declaration": "public String getName()", "parameters": [], - "code": "{\n return name;\n}", + "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, @@ -16740,9 +23716,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Supplier()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16750,9 +23726,10 @@ "thrown_exceptions": [], "declaration": "public Supplier()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 107, "end_line": 108, + "code_start_line": 107, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -16766,9 +23743,9 @@ "is_entrypoint": false }, "setPhone(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPhone(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16780,12 +23757,17 @@ "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 63, + "end_line": 63, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.phone = phone;\n}", + "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, @@ -16803,9 +23785,9 @@ "is_entrypoint": false }, "getPhone()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPhone()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16813,9 +23795,10 @@ "thrown_exceptions": [], "declaration": "public String getPhone()", "parameters": [], - "code": "{\n return phone;\n}", + "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, @@ -16831,9 +23814,9 @@ "is_entrypoint": false }, "getSupplierID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSupplierID()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16841,9 +23824,10 @@ "thrown_exceptions": [], "declaration": "public String getSupplierID()", "parameters": [], - "code": "{\n return supplierID;\n}", + "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, @@ -16859,9 +23843,9 @@ "is_entrypoint": false }, "getUrl()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getUrl()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16869,9 +23853,10 @@ "thrown_exceptions": [], "declaration": "public String getUrl()", "parameters": [], - "code": "{\n return url;\n}", + "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, @@ -16887,9 +23872,9 @@ "is_entrypoint": false }, "getUsstate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getUsstate()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -16897,9 +23882,10 @@ "thrown_exceptions": [], "declaration": "public String getUsstate()", "parameters": [], - "code": "{\n return usstate;\n}", + "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, @@ -16917,7 +23903,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -16933,7 +23926,14 @@ ] }, { - "comment": "", + "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, @@ -16947,7 +23947,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -16961,7 +23968,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -16975,7 +23989,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -16989,7 +24010,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -17003,7 +24031,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -17017,7 +24052,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -17031,15 +24073,195 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "comment": "//", + "/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", @@ -17064,7 +24286,56 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Bean mapping for the ORDERITEM table.\r\n */", + "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" @@ -17080,9 +24351,9 @@ ], "callable_declarations": { "getQuantity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getQuantity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17090,9 +24361,10 @@ "thrown_exceptions": [], "declaration": "public int getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "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, @@ -17108,9 +24380,9 @@ "is_entrypoint": false }, "getInventory()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventory()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17118,9 +24390,10 @@ "thrown_exceptions": [], "declaration": "public Inventory getInventory()", "parameters": [], - "code": "{\n return inventory;\n}", + "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, @@ -17136,9 +24409,9 @@ "is_entrypoint": false }, "getSellDate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSellDate()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17146,9 +24419,10 @@ "thrown_exceptions": [], "declaration": "public String getSellDate()", "parameters": [], - "code": "{\n return sellDate;\n}", + "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, @@ -17164,9 +24438,9 @@ "is_entrypoint": false }, "getOrder()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getOrder()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17174,9 +24448,10 @@ "thrown_exceptions": [], "declaration": "public Order getOrder()", "parameters": [], - "code": "{\n return order;\n}", + "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, @@ -17192,9 +24467,9 @@ "is_entrypoint": false }, "setName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setName(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17206,12 +24481,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 22, + "end_column": 32 } ], - "code": "{\n this.name = name;\n}", + "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, @@ -17229,9 +24509,9 @@ "is_entrypoint": false }, "(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "OrderItem(Inventory)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17243,12 +24523,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "inv", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 164, + "end_line": 164, + "start_column": 19, + "end_column": 31 } ], - "code": "{\n Util.debug(\"OrderItem(inv) - id = \" + inv.getInventoryId());\n setInventoryId(inv.getInventoryId());\n inventory = inv;\n name = inv.getName();\n pkginfo = inv.getPkginfo();\n price = inv.getPrice();\n cost = inv.getCost();\n category = inv.getCategory();\n}", + "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, @@ -17264,6 +24549,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -17286,6 +24572,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -17306,6 +24593,7 @@ }, { "method_name": "setInventoryId", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -17328,6 +24616,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -17348,6 +24637,7 @@ }, { "method_name": "getName", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -17368,6 +24658,7 @@ }, { "method_name": "getPkginfo", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -17388,6 +24679,7 @@ }, { "method_name": "getPrice", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -17408,6 +24700,7 @@ }, { "method_name": "getCost", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -17428,6 +24721,7 @@ }, { "method_name": "getCategory", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -17454,9 +24748,9 @@ "is_entrypoint": false }, "setPrice(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPrice(float)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17468,12 +24762,17 @@ "type": "float", "name": "price", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 141, + "end_line": 141, + "start_column": 23, + "end_column": 33 } ], - "code": "{\n this.price = price;\n}", + "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, @@ -17489,9 +24788,9 @@ "is_entrypoint": false }, "getInventoryId()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventoryId()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17499,9 +24798,10 @@ "thrown_exceptions": [], "declaration": "public String getInventoryId()", "parameters": [], - "code": "{\n return inventoryId;\n}", + "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, @@ -17517,9 +24817,9 @@ "is_entrypoint": false }, "getPkginfo()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPkginfo()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17527,9 +24827,10 @@ "thrown_exceptions": [], "declaration": "public String getPkginfo()", "parameters": [], - "code": "{\n return pkginfo;\n}", + "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, @@ -17545,9 +24846,9 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPrice()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17555,9 +24856,10 @@ "thrown_exceptions": [], "declaration": "public float getPrice()", "parameters": [], - "code": "{\n return price;\n}", + "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, @@ -17573,9 +24875,9 @@ "is_entrypoint": false }, "setInventoryId(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setInventoryId(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17587,12 +24889,17 @@ "type": "java.lang.String", "name": "inventoryId", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 224, + "end_line": 224, + "start_column": 29, + "end_column": 46 } ], - "code": "{\n this.inventoryId = inventoryId;\n}", + "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, @@ -17610,9 +24917,9 @@ "is_entrypoint": false }, "setSellDate(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setSellDate(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17624,12 +24931,17 @@ "type": "java.lang.String", "name": "sellDate", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 157, + "end_line": 157, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.sellDate = sellDate;\n}", + "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, @@ -17647,9 +24959,9 @@ "is_entrypoint": false }, "getName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17657,9 +24969,10 @@ "thrown_exceptions": [], "declaration": "public String getName()", "parameters": [], - "code": "{\n return name;\n}", + "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, @@ -17675,9 +24988,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "OrderItem()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17685,9 +24998,10 @@ "thrown_exceptions": [], "declaration": "public OrderItem()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 161, "end_line": 162, + "code_start_line": 161, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -17701,9 +25015,9 @@ "is_entrypoint": false }, "setInventory(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setInventory(Inventory)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17715,12 +25029,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "inv", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 202, + "end_line": 202, + "start_column": 27, + "end_column": 39 } ], - "code": "{\n this.inventory = inv;\n}", + "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, @@ -17738,9 +25057,9 @@ "is_entrypoint": false }, "setQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setQuantity(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17752,12 +25071,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 149, + "end_line": 149, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -17773,9 +25097,9 @@ "is_entrypoint": false }, "setPkginfo(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPkginfo(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17787,12 +25111,17 @@ "type": "java.lang.String", "name": "pkginfo", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.pkginfo = pkginfo;\n}", + "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, @@ -17810,9 +25139,18 @@ "is_entrypoint": false }, "setOrder(Order)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setOrder(Order)", - "comment": "/**\r\n\t * Sets the order for this item Also updates the sellDate\r\n\t * \r\n\t * @param order\r\n\t */", + "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" @@ -17824,12 +25162,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Order", "name": "order", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 215, + "end_line": 215, + "start_column": 23, + "end_column": 33 } ], - "code": "{\n this.order = order;\n this.sellDate = order.getSellDate();\n}", + "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, @@ -17844,6 +25187,7 @@ "call_sites": [ { "method_name": "getSellDate", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -17870,9 +25214,9 @@ "is_entrypoint": false }, "getCategory()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCategory()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17880,9 +25224,10 @@ "thrown_exceptions": [], "declaration": "public int getCategory()", "parameters": [], - "code": "{\n return category;\n}", + "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, @@ -17898,9 +25243,9 @@ "is_entrypoint": false }, "getCost()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCost()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17908,9 +25253,10 @@ "thrown_exceptions": [], "declaration": "public float getCost()", "parameters": [], - "code": "{\n return cost;\n}", + "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, @@ -17926,9 +25272,9 @@ "is_entrypoint": false }, "(Order, String, Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "OrderItem(Order, String, Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -17940,66 +25286,107 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Order", "name": "order", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 19, + "end_column": 29 }, { "type": "java.lang.String", "name": "orderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 32, + "end_column": 45 }, { "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "inv", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 48, + "end_column": 60 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 63, + "end_column": 83 }, { "type": "java.lang.String", "name": "pkginfo", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 86, + "end_column": 109 }, { "type": "float", "name": "price", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 4, + "end_column": 14 }, { "type": "float", "name": "cost", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 17, + "end_column": 26 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 29, + "end_column": 40 }, { "type": "int", "name": "category", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 43, + "end_column": 54 }, { "type": "java.lang.String", "name": "sellDate", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 57, + "end_column": 81 } ], - "code": "{\n Util.debug(\"OrderItem(etc.)\");\n inventory = inv;\n setInventoryId(inv.getInventoryId());\n setName(name);\n setPkginfo(pkginfo);\n setPrice(price);\n setCost(cost);\n setQuantity(quantity);\n setCategory(category);\n setSellDate(sellDate);\n setOrder(order);\n id = new OrderItem.PK(inv.getInventoryId(), order.getOrderID());\n}", + "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, @@ -18019,6 +25406,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -18041,6 +25429,7 @@ }, { "method_name": "setInventoryId", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18063,6 +25452,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -18083,6 +25473,7 @@ }, { "method_name": "setName", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18105,6 +25496,7 @@ }, { "method_name": "setPkginfo", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18127,6 +25519,7 @@ }, { "method_name": "setPrice", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18149,6 +25542,7 @@ }, { "method_name": "setCost", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18171,6 +25565,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18193,6 +25588,7 @@ }, { "method_name": "setCategory", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18215,6 +25611,7 @@ }, { "method_name": "setSellDate", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18237,6 +25634,7 @@ }, { "method_name": "setOrder", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -18259,6 +25657,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -18279,6 +25678,7 @@ }, { "method_name": "getOrderID", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -18299,6 +25699,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", "argument_types": [ @@ -18328,9 +25729,9 @@ "is_entrypoint": false }, "setCategory(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCategory(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -18342,12 +25743,17 @@ "type": "int", "name": "category", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.category = category;\n}", + "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, @@ -18363,9 +25769,9 @@ "is_entrypoint": false }, "setCost(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCost(float)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -18377,12 +25783,17 @@ "type": "float", "name": "cost", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 22, + "end_column": 31 } ], - "code": "{\n this.cost = cost;\n}", + "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, @@ -18398,9 +25809,9 @@ "is_entrypoint": false }, "updatePK()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "updatePK()", - "comment": "/*\r\n\t * updates the primary key field with the composite orderId+inventoryId\r\n\t */", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -18408,9 +25819,10 @@ "thrown_exceptions": [], "declaration": "public void updatePK()", "parameters": [], - "code": "{\n id = new OrderItem.PK(inventoryId, order.getOrderID());\n}", + "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, @@ -18423,6 +25835,7 @@ "call_sites": [ { "method_name": "getOrderID", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -18443,6 +25856,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", "argument_types": [ @@ -18474,7 +25888,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -18491,7 +25912,14 @@ ] }, { - "comment": "", + "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, @@ -18505,7 +25933,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -18519,7 +25954,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -18533,7 +25975,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -18547,7 +25996,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -18561,7 +26017,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -18575,7 +26038,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -18589,7 +26059,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -18605,7 +26082,14 @@ ] }, { - "comment": "", + "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, @@ -18622,7 +26106,14 @@ ] }, { - "comment": "", + "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, @@ -18639,7 +26130,9 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false }, "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK": { @@ -18652,7 +26145,32 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\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 */", + "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" ], @@ -18667,9 +26185,9 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "PK()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -18677,9 +26195,10 @@ "thrown_exceptions": [], "declaration": "public PK()", "parameters": [], - "code": "{\n Util.debug(\"OrderItem.PK()\");\n}", + "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, @@ -18688,6 +26207,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -18716,9 +26236,9 @@ "is_entrypoint": false }, "(String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "PK(String, String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -18730,18 +26250,27 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 56, + "end_line": 56, + "start_column": 13, + "end_column": 30 }, { "type": "java.lang.String", "name": "argOrder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 56, + "end_line": 56, + "start_column": 33, + "end_column": 47 } ], - "code": "{\n Util.debug(\"OrderItem.PK() inventoryID=\" + inventoryID + \"=\");\n Util.debug(\"OrderItem.PK() orderID=\" + argOrder + \"=\");\n this.inventoryID = inventoryID;\n this.order_orderID = argOrder;\n}", + "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, @@ -18755,6 +26284,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -18777,6 +26307,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -18805,9 +26336,18 @@ "is_entrypoint": false }, "equals(java.lang.Object)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "equals(java.lang.Object)", - "comment": "/**\r\n\t\t * Returns true if both keys are equal.\r\n\t\t */", + "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" @@ -18819,12 +26359,17 @@ "type": "java.lang.Object", "name": "otherKey", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 25, + "end_column": 49 } ], - "code": "{\n if (otherKey instanceof PK) {\n PK o = (PK) otherKey;\n return ((this.inventoryID.equals(o.inventoryID)) && (this.order_orderID.equals(o.order_orderID)));\n }\n return false;\n}", + "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, @@ -18839,6 +26384,7 @@ "call_sites": [ { "method_name": "equals", + "comment": null, "receiver_expr": "this.inventoryID", "receiver_type": "java.lang.String", "argument_types": [ @@ -18861,6 +26407,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "this.order_orderID", "receiver_type": "java.lang.String", "argument_types": [ @@ -18884,6 +26431,14 @@ ], "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", @@ -18899,9 +26454,18 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "hashCode()", - "comment": "/**\r\n\t\t * Returns the hash code for the key.\r\n\t\t */", + "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" @@ -18909,9 +26473,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n Util.debug(\"OrderItem.PK.hashCode() inventoryID=\" + inventoryID + \"=\");\n Util.debug(\"OrderItem.PK.hashCode() orderID=\" + order_orderID + \"=\");\n return (inventoryID.hashCode() + order_orderID.hashCode());\n}", + "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, @@ -18923,6 +26488,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -18945,6 +26511,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -18967,6 +26534,7 @@ }, { "method_name": "hashCode", + "comment": null, "receiver_expr": "inventoryID", "receiver_type": "java.lang.String", "argument_types": [], @@ -18987,6 +26555,7 @@ }, { "method_name": "hashCode", + "comment": null, "receiver_expr": "order_orderID", "receiver_type": "java.lang.String", "argument_types": [], @@ -19015,7 +26584,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -19030,7 +26606,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -19046,7 +26629,14 @@ ] }, { - "comment": "", + "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, @@ -19062,15 +26652,179 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "comment": "//", + "/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", @@ -19097,7 +26851,40 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Bean mapping for the ORDER1 table.\r\n */", + "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" @@ -19111,9 +26898,9 @@ "nested_type_declarations": [], "callable_declarations": { "setCcNum(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCcNum(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19125,12 +26912,17 @@ "type": "java.lang.String", "name": "ccNum", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 270, + "end_line": 270, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.ccNum = ccNum;\n}", + "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, @@ -19148,9 +26940,9 @@ "is_entrypoint": false }, "getShipAddr1()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipAddr1()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19158,9 +26950,10 @@ "thrown_exceptions": [], "declaration": "public String getShipAddr1()", "parameters": [], - "code": "{\n return shipAddr1;\n}", + "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, @@ -19176,9 +26969,9 @@ "is_entrypoint": false }, "setShipAddr2(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipAddr2(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19190,12 +26983,17 @@ "type": "java.lang.String", "name": "shipAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 342, + "end_line": 342, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipAddr2 = shipAddr2;\n}", + "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, @@ -19213,9 +27011,9 @@ "is_entrypoint": false }, "getShipZip()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipZip()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19223,9 +27021,10 @@ "thrown_exceptions": [], "declaration": "public String getShipZip()", "parameters": [], - "code": "{\n return shipZip;\n}", + "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, @@ -19241,9 +27040,9 @@ "is_entrypoint": false }, "getBillAddr1()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillAddr1()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19251,9 +27050,10 @@ "thrown_exceptions": [], "declaration": "public String getBillAddr1()", "parameters": [], - "code": "{\n return billAddr1;\n}", + "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, @@ -19269,9 +27069,9 @@ "is_entrypoint": false }, "getShipCity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipCity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19279,9 +27079,10 @@ "thrown_exceptions": [], "declaration": "public String getShipCity()", "parameters": [], - "code": "{\n return shipCity;\n}", + "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, @@ -19297,9 +27098,9 @@ "is_entrypoint": false }, "setBillPhone(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillPhone(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19311,12 +27112,17 @@ "type": "java.lang.String", "name": "billPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 222, + "end_line": 222, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billPhone = billPhone;\n}", + "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, @@ -19334,9 +27140,9 @@ "is_entrypoint": false }, "setOrderID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setOrderID(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19348,12 +27154,17 @@ "type": "java.lang.String", "name": "orderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 302, + "end_line": 302, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.orderID = orderID;\n}", + "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, @@ -19371,9 +27182,9 @@ "is_entrypoint": false }, "(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Order(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19385,12 +27196,17 @@ "type": "java.lang.String", "name": "orderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 179, + "end_line": 179, + "start_column": 15, + "end_column": 28 } ], - "code": "{\n setOrderID(orderID);\n}", + "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, @@ -19401,6 +27217,7 @@ "call_sites": [ { "method_name": "setOrderID", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -19429,9 +27246,9 @@ "is_entrypoint": false }, "getBillState()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillState()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19439,9 +27256,10 @@ "thrown_exceptions": [], "declaration": "public String getBillState()", "parameters": [], - "code": "{\n return billState;\n}", + "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, @@ -19457,9 +27275,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Order()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19467,9 +27285,10 @@ "thrown_exceptions": [], "declaration": "public Order()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 183, "end_line": 184, + "code_start_line": 183, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -19483,9 +27302,9 @@ "is_entrypoint": false }, "setBillAddr1(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillAddr1(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19497,12 +27316,17 @@ "type": "java.lang.String", "name": "billAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 190, + "end_line": 190, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billAddr1 = billAddr1;\n}", + "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, @@ -19520,9 +27344,9 @@ "is_entrypoint": false }, "setBillState(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillState(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19534,12 +27358,17 @@ "type": "java.lang.String", "name": "billState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billState = billState;\n}", + "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, @@ -19557,9 +27386,9 @@ "is_entrypoint": false }, "getCcNum()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCcNum()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19567,9 +27396,10 @@ "thrown_exceptions": [], "declaration": "public String getCcNum()", "parameters": [], - "code": "{\n return ccNum;\n}", + "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, @@ -19585,9 +27415,9 @@ "is_entrypoint": false }, "setItems(Collection)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setItems(Collection)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19599,12 +27429,17 @@ "type": "java.util.Collection", "name": "items", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 294, + "end_line": 294, + "start_column": 23, + "end_column": 49 } ], - "code": "{\n this.items = items;\n}", + "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, @@ -19622,9 +27457,9 @@ "is_entrypoint": false }, "setCreditCard(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCreditCard(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19636,12 +27471,17 @@ "type": "java.lang.String", "name": "creditCard", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 278, + "end_line": 278, + "start_column": 28, + "end_column": 44 } ], - "code": "{\n this.creditCard = creditCard;\n}", + "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, @@ -19659,9 +27499,9 @@ "is_entrypoint": false }, "getBillName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19669,9 +27509,10 @@ "thrown_exceptions": [], "declaration": "public String getBillName()", "parameters": [], - "code": "{\n return billName;\n}", + "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, @@ -19687,9 +27528,9 @@ "is_entrypoint": false }, "getCreditCard()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCreditCard()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -19697,9 +27538,10 @@ "thrown_exceptions": [], "declaration": "public String getCreditCard()", "parameters": [], - "code": "{\n return creditCard;\n}", + "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, @@ -19715,9 +27557,34 @@ "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": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Order(Customer, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, Collection)", - "comment": "/**\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 */", + "comments": [ + { + "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\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" @@ -19729,138 +27596,227 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Customer", "name": "customer", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 15, + "end_column": 31 }, { "type": "java.lang.String", "name": "billName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 34, + "end_column": 48 }, { "type": "java.lang.String", "name": "billAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 51, + "end_column": 66 }, { "type": "java.lang.String", "name": "billAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 69, + "end_column": 84 }, { "type": "java.lang.String", "name": "billCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 87, + "end_column": 101 }, { "type": "java.lang.String", "name": "billState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "billZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 22, + "end_column": 35 }, { "type": "java.lang.String", "name": "billPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 38, + "end_column": 53 }, { "type": "java.lang.String", "name": "shipName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 56, + "end_column": 70 }, { "type": "java.lang.String", "name": "shipAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 73, + "end_column": 88 }, { "type": "java.lang.String", "name": "shipAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 91, + "end_column": 106 }, { "type": "java.lang.String", "name": "shipCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "shipState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 21, + "end_column": 36 }, { "type": "java.lang.String", "name": "shipZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 39, + "end_column": 52 }, { "type": "java.lang.String", "name": "shipPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 55, + "end_column": 70 }, { "type": "java.lang.String", "name": "creditCard", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 73, + "end_column": 89 }, { "type": "java.lang.String", "name": "ccNum", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 92, + "end_column": 103 }, { "type": "java.lang.String", "name": "ccExpireMonth", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 4, + "end_column": 23 }, { "type": "java.lang.String", "name": "ccExpireYear", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 26, + "end_column": 44 }, { "type": "java.lang.String", "name": "cardHolder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 47, + "end_column": 63 }, { "type": "int", "name": "shippingMethod", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 66, + "end_column": 83 }, { "type": "java.util.Collection", "name": "items", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 134, + "end_line": 134, + "start_column": 4, + "end_column": 30 } ], - "code": "{\n this.setSellDate(Long.toString(System.currentTimeMillis()));\n // Pad it to 14 digits so sorting works properly.\n if (this.getSellDate().length() < 14) {\n StringBuffer sb = new StringBuffer(Util.ZERO_14);\n sb.replace((14 - this.getSellDate().length()), 14, this.getSellDate());\n this.setSellDate(sb.toString());\n }\n this.setCustomer(customer);\n this.setBillName(billName);\n this.setBillAddr1(billAddr1);\n this.setBillAddr2(billAddr2);\n this.setBillCity(billCity);\n this.setBillState(billState);\n this.setBillZip(billZip);\n this.setBillPhone(billPhone);\n this.setShipName(shipName);\n this.setShipAddr1(shipAddr1);\n this.setShipAddr2(shipAddr2);\n this.setShipCity(shipCity);\n this.setShipState(shipState);\n this.setShipZip(shipZip);\n this.setShipPhone(shipPhone);\n this.setCreditCard(creditCard);\n this.setCcNum(ccNum);\n this.setCcExpireMonth(ccExpireMonth);\n this.setCcExpireYear(ccExpireYear);\n this.setCardHolder(cardHolder);\n this.setShippingMethod(shippingMethod);\n this.items = items;\n // Get profit for total order.\n OrderItem oi;\n float profit;\n profit = 0.0f;\n for (Object o : items) {\n oi = (OrderItem) o;\n profit = profit + (oi.getQuantity() * (oi.getPrice() - oi.getCost()));\n oi.setOrder(this);\n }\n this.setProfit(profit);\n}", + "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, @@ -19900,6 +27856,7 @@ "call_sites": [ { "method_name": "setSellDate", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -19922,6 +27879,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "Long", "receiver_type": "java.lang.Long", "argument_types": [ @@ -19944,6 +27902,7 @@ }, { "method_name": "currentTimeMillis", + "comment": null, "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], @@ -19964,6 +27923,7 @@ }, { "method_name": "length", + "comment": null, "receiver_expr": "this.getSellDate()", "receiver_type": "java.lang.String", "argument_types": [], @@ -19984,6 +27944,7 @@ }, { "method_name": "getSellDate", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -20004,6 +27965,7 @@ }, { "method_name": "replace", + "comment": null, "receiver_expr": "sb", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -20028,6 +27990,7 @@ }, { "method_name": "length", + "comment": null, "receiver_expr": "this.getSellDate()", "receiver_type": "java.lang.String", "argument_types": [], @@ -20048,6 +28011,7 @@ }, { "method_name": "getSellDate", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -20068,6 +28032,7 @@ }, { "method_name": "getSellDate", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -20088,6 +28053,7 @@ }, { "method_name": "setSellDate", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20110,6 +28076,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "sb", "receiver_type": "java.lang.StringBuffer", "argument_types": [], @@ -20130,6 +28097,7 @@ }, { "method_name": "setCustomer", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20152,6 +28120,7 @@ }, { "method_name": "setBillName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20174,6 +28143,7 @@ }, { "method_name": "setBillAddr1", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20196,6 +28166,7 @@ }, { "method_name": "setBillAddr2", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20218,6 +28189,7 @@ }, { "method_name": "setBillCity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20240,6 +28212,7 @@ }, { "method_name": "setBillState", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20262,6 +28235,7 @@ }, { "method_name": "setBillZip", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20284,6 +28258,7 @@ }, { "method_name": "setBillPhone", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20306,6 +28281,7 @@ }, { "method_name": "setShipName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20328,6 +28304,7 @@ }, { "method_name": "setShipAddr1", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20350,6 +28327,7 @@ }, { "method_name": "setShipAddr2", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20372,6 +28350,7 @@ }, { "method_name": "setShipCity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20394,6 +28373,7 @@ }, { "method_name": "setShipState", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20416,6 +28396,7 @@ }, { "method_name": "setShipZip", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20438,6 +28419,7 @@ }, { "method_name": "setShipPhone", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20460,6 +28442,7 @@ }, { "method_name": "setCreditCard", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20482,6 +28465,7 @@ }, { "method_name": "setCcNum", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20504,6 +28488,7 @@ }, { "method_name": "setCcExpireMonth", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20526,6 +28511,7 @@ }, { "method_name": "setCcExpireYear", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20548,6 +28534,7 @@ }, { "method_name": "setCardHolder", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20570,6 +28557,7 @@ }, { "method_name": "setShippingMethod", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20592,6 +28580,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "oi", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [], @@ -20612,6 +28601,7 @@ }, { "method_name": "getPrice", + "comment": null, "receiver_expr": "oi", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [], @@ -20632,6 +28622,7 @@ }, { "method_name": "getCost", + "comment": null, "receiver_expr": "oi", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [], @@ -20652,6 +28643,7 @@ }, { "method_name": "setOrder", + "comment": null, "receiver_expr": "oi", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [ @@ -20674,6 +28666,7 @@ }, { "method_name": "setProfit", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -20696,6 +28689,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -20719,6 +28713,14 @@ ], "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)", @@ -20728,6 +28730,14 @@ "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": "", @@ -20737,6 +28747,14 @@ "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": "", @@ -20746,6 +28764,14 @@ "end_column": 14 }, { + "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": "", @@ -20761,9 +28787,9 @@ "is_entrypoint": false }, "getProfit()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getProfit()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20771,9 +28797,10 @@ "thrown_exceptions": [], "declaration": "public float getProfit()", "parameters": [], - "code": "{\n return profit;\n}", + "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, @@ -20789,9 +28816,9 @@ "is_entrypoint": false }, "getBillPhone()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillPhone()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20799,9 +28826,10 @@ "thrown_exceptions": [], "declaration": "public String getBillPhone()", "parameters": [], - "code": "{\n return billPhone;\n}", + "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, @@ -20817,9 +28845,9 @@ "is_entrypoint": false }, "setShippingMethod(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShippingMethod(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20831,12 +28859,17 @@ "type": "int", "name": "shippingMethod", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 374, + "end_line": 374, + "start_column": 32, + "end_column": 49 } ], - "code": "{\n this.shippingMethod = shippingMethod;\n}", + "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, @@ -20852,9 +28885,9 @@ "is_entrypoint": false }, "getOrderItems()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getOrderItems()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20862,9 +28895,10 @@ "thrown_exceptions": [], "declaration": "public Collection getOrderItems()", "parameters": [], - "code": "{\n return orderItems;\n}", + "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, @@ -20880,9 +28914,9 @@ "is_entrypoint": false }, "setBillCity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillCity(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20894,12 +28928,17 @@ "type": "java.lang.String", "name": "billCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 206, + "end_line": 206, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.billCity = billCity;\n}", + "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, @@ -20917,9 +28956,9 @@ "is_entrypoint": false }, "getCcExpireMonth()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCcExpireMonth()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20927,9 +28966,10 @@ "thrown_exceptions": [], "declaration": "public String getCcExpireMonth()", "parameters": [], - "code": "{\n return ccExpireMonth;\n}", + "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, @@ -20945,9 +28985,9 @@ "is_entrypoint": false }, "getCardHolder()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCardHolder()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20955,9 +28995,10 @@ "thrown_exceptions": [], "declaration": "public String getCardHolder()", "parameters": [], - "code": "{\n return cardHolder;\n}", + "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, @@ -20973,9 +29014,9 @@ "is_entrypoint": false }, "setSellDate(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setSellDate(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -20987,12 +29028,17 @@ "type": "java.lang.String", "name": "sellDate", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 326, + "end_line": 326, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.sellDate = sellDate;\n}", + "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, @@ -21010,9 +29056,9 @@ "is_entrypoint": false }, "setOrderItems(Collection)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setOrderItems(Collection)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21024,12 +29070,17 @@ "type": "java.util.Collection", "name": "orderItems", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 310, + "end_line": 310, + "start_column": 28, + "end_column": 48 } ], - "code": "{\n this.orderItems = orderItems;\n}", + "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, @@ -21047,9 +29098,9 @@ "is_entrypoint": false }, "setShipPhone(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipPhone(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21061,12 +29112,17 @@ "type": "java.lang.String", "name": "shipPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 366, + "end_line": 366, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipPhone = shipPhone;\n}", + "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, @@ -21084,9 +29140,9 @@ "is_entrypoint": false }, "setCcExpireYear(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCcExpireYear(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21098,12 +29154,17 @@ "type": "java.lang.String", "name": "ccExpireYear", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 262, + "end_line": 262, + "start_column": 30, + "end_column": 48 } ], - "code": "{\n this.ccExpireYear = ccExpireYear;\n}", + "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, @@ -21121,9 +29182,9 @@ "is_entrypoint": false }, "setProfit(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setProfit(float)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21135,12 +29196,17 @@ "type": "float", "name": "profit", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 318, + "end_line": 318, + "start_column": 24, + "end_column": 35 } ], - "code": "{\n this.profit = profit;\n}", + "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, @@ -21156,9 +29222,9 @@ "is_entrypoint": false }, "getShippingMethod()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethod()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21166,9 +29232,10 @@ "thrown_exceptions": [], "declaration": "public int getShippingMethod()", "parameters": [], - "code": "{\n return shippingMethod;\n}", + "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, @@ -21184,9 +29251,9 @@ "is_entrypoint": false }, "setCustomer(Customer)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCustomer(Customer)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21198,12 +29265,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Customer", "name": "customer", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 286, + "end_line": 286, + "start_column": 26, + "end_column": 42 } ], - "code": "{\n this.customer = customer;\n}", + "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, @@ -21221,9 +29293,9 @@ "is_entrypoint": false }, "getBillAddr2()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillAddr2()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21231,9 +29303,10 @@ "thrown_exceptions": [], "declaration": "public String getBillAddr2()", "parameters": [], - "code": "{\n return billAddr2;\n}", + "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, @@ -21249,9 +29322,9 @@ "is_entrypoint": false }, "setShipCity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipCity(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21263,12 +29336,17 @@ "type": "java.lang.String", "name": "shipCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 350, + "end_line": 350, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.shipCity = shipCity;\n}", + "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, @@ -21286,9 +29364,9 @@ "is_entrypoint": false }, "setShipName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipName(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21300,12 +29378,17 @@ "type": "java.lang.String", "name": "shipName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 358, + "end_line": 358, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.shipName = shipName;\n}", + "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, @@ -21323,9 +29406,9 @@ "is_entrypoint": false }, "setBillZip(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillZip(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21337,12 +29420,17 @@ "type": "java.lang.String", "name": "billZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 238, + "end_line": 238, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.billZip = billZip;\n}", + "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, @@ -21360,9 +29448,9 @@ "is_entrypoint": false }, "getCustomer()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCustomer()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21370,9 +29458,10 @@ "thrown_exceptions": [], "declaration": "public Customer getCustomer()", "parameters": [], - "code": "{\n return customer;\n}", + "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, @@ -21388,9 +29477,9 @@ "is_entrypoint": false }, "getShipName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21398,9 +29487,10 @@ "thrown_exceptions": [], "declaration": "public String getShipName()", "parameters": [], - "code": "{\n return shipName;\n}", + "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, @@ -21416,9 +29506,9 @@ "is_entrypoint": false }, "getShipAddr2()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipAddr2()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21426,9 +29516,10 @@ "thrown_exceptions": [], "declaration": "public String getShipAddr2()", "parameters": [], - "code": "{\n return shipAddr2;\n}", + "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, @@ -21444,9 +29535,9 @@ "is_entrypoint": false }, "setBillAddr2(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillAddr2(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21458,12 +29549,17 @@ "type": "java.lang.String", "name": "billAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 198, + "end_line": 198, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billAddr2 = billAddr2;\n}", + "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, @@ -21481,9 +29577,9 @@ "is_entrypoint": false }, "setShipAddr1(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipAddr1(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21495,12 +29591,17 @@ "type": "java.lang.String", "name": "shipAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 334, + "end_line": 334, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipAddr1 = shipAddr1;\n}", + "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, @@ -21518,9 +29619,9 @@ "is_entrypoint": false }, "getShipState()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipState()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21528,9 +29629,10 @@ "thrown_exceptions": [], "declaration": "public String getShipState()", "parameters": [], - "code": "{\n return shipState;\n}", + "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, @@ -21546,9 +29648,9 @@ "is_entrypoint": false }, "getSellDate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSellDate()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21556,9 +29658,10 @@ "thrown_exceptions": [], "declaration": "public String getSellDate()", "parameters": [], - "code": "{\n return sellDate;\n}", + "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, @@ -21574,9 +29677,9 @@ "is_entrypoint": false }, "setCcExpireMonth(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCcExpireMonth(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21588,12 +29691,17 @@ "type": "java.lang.String", "name": "ccExpireMonth", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 254, + "end_line": 254, + "start_column": 31, + "end_column": 50 } ], - "code": "{\n this.ccExpireMonth = ccExpireMonth;\n}", + "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, @@ -21611,9 +29719,9 @@ "is_entrypoint": false }, "getOrderID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getOrderID()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21621,9 +29729,10 @@ "thrown_exceptions": [], "declaration": "public String getOrderID()", "parameters": [], - "code": "{\n return orderID;\n}", + "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, @@ -21639,9 +29748,9 @@ "is_entrypoint": false }, "getBillZip()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillZip()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21649,9 +29758,10 @@ "thrown_exceptions": [], "declaration": "public String getBillZip()", "parameters": [], - "code": "{\n return billZip;\n}", + "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, @@ -21667,9 +29777,9 @@ "is_entrypoint": false }, "setBillName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillName(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21681,12 +29791,17 @@ "type": "java.lang.String", "name": "billName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 214, + "end_line": 214, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.billName = billName;\n}", + "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, @@ -21704,9 +29819,9 @@ "is_entrypoint": false }, "getShipPhone()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipPhone()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21714,9 +29829,10 @@ "thrown_exceptions": [], "declaration": "public String getShipPhone()", "parameters": [], - "code": "{\n return shipPhone;\n}", + "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, @@ -21732,9 +29848,9 @@ "is_entrypoint": false }, "setShipState(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipState(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21746,12 +29862,17 @@ "type": "java.lang.String", "name": "shipState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 390, + "end_line": 390, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipState = shipState;\n}", + "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, @@ -21769,9 +29890,9 @@ "is_entrypoint": false }, "getBillCity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillCity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21779,9 +29900,10 @@ "thrown_exceptions": [], "declaration": "public String getBillCity()", "parameters": [], - "code": "{\n return billCity;\n}", + "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, @@ -21797,9 +29919,9 @@ "is_entrypoint": false }, "setCardHolder(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCardHolder(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21811,12 +29933,17 @@ "type": "java.lang.String", "name": "cardHolder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 246, + "end_line": 246, + "start_column": 28, + "end_column": 44 } ], - "code": "{\n this.cardHolder = cardHolder;\n}", + "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, @@ -21834,9 +29961,9 @@ "is_entrypoint": false }, "getCcExpireYear()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCcExpireYear()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21844,9 +29971,10 @@ "thrown_exceptions": [], "declaration": "public String getCcExpireYear()", "parameters": [], - "code": "{\n return ccExpireYear;\n}", + "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, @@ -21862,9 +29990,9 @@ "is_entrypoint": false }, "getItems()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getItems()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21872,9 +30000,10 @@ "thrown_exceptions": [], "declaration": "public Collection getItems()", "parameters": [], - "code": "{\n return items;\n}", + "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, @@ -21890,9 +30019,9 @@ "is_entrypoint": false }, "setShipZip(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipZip(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -21904,12 +30033,17 @@ "type": "java.lang.String", "name": "shipZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 382, + "end_line": 382, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.shipZip = shipZip;\n}", + "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, @@ -21929,7 +30063,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -21945,7 +30086,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -21961,7 +30109,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -21979,7 +30134,14 @@ ] }, { - "comment": "", + "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, @@ -21993,7 +30155,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22007,7 +30176,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22021,7 +30197,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22035,7 +30218,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22049,7 +30239,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22063,7 +30260,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22077,7 +30281,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22091,7 +30302,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22105,7 +30323,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22119,7 +30344,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22133,7 +30365,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22147,7 +30386,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22161,7 +30407,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22175,7 +30428,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22189,7 +30449,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22203,7 +30470,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22217,7 +30491,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22231,7 +30512,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22245,7 +30533,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22259,7 +30554,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22273,7 +30575,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22287,7 +30596,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -22304,7 +30620,14 @@ ] }, { - "comment": "", + "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, @@ -22320,7 +30643,14 @@ ] }, { - "comment": "", + "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, @@ -22336,15 +30666,187 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", - "comment": "//", + "/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", @@ -22376,7 +30878,40 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "", + "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" ], @@ -22391,9 +30926,18 @@ "nested_type_declarations": [], "callable_declarations": { "createAndSendMail(Customer, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "createAndSendMail(Customer, String)", - "comment": "/**\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 */", + "comments": [ + { + "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" @@ -22407,18 +30951,27 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Customer", "name": "customerInfo", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 32, + "end_column": 52 }, { "type": "java.lang.String", "name": "orderKey", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 55, + "end_column": 69 } ], - "code": "{\n try {\n EMailMessage eMessage = new EMailMessage(createSubjectLine(orderKey), createMessage(orderKey), customerInfo.getCustomerID());\n Util.debug(\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \" + eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents());\n Util.debug(\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \" + eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents());\n MimeMessage msg = new MimeMessage(mailSession);\n msg.setFrom();\n msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(eMessage.getEmailReceiver(), false));\n msg.setSubject(eMessage.getSubject());\n MimeBodyPart mbp = new MimeBodyPart();\n mbp.setText(eMessage.getHtmlContents(), \"us-ascii\");\n msg.setHeader(\"X-Mailer\", \"JavaMailer\");\n Multipart mp = new MimeMultipart();\n mp.addBodyPart(mbp);\n msg.setContent(mp);\n msg.setSentDate(new Date());\n Transport.send(msg);\n Util.debug(\"Mail sent successfully.\");\n } catch (Exception e) {\n Util.debug(\"Error sending mail. Have mail resources been configured correctly?\");\n Util.debug(\"createAndSendMail exception : \" + e);\n e.printStackTrace();\n throw new MailerAppException(\"Failure while sending mail\");\n }\n}", + "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, @@ -22435,6 +30988,7 @@ "call_sites": [ { "method_name": "createSubjectLine", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -22457,6 +31011,7 @@ }, { "method_name": "createMessage", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -22479,6 +31034,7 @@ }, { "method_name": "getCustomerID", + "comment": null, "receiver_expr": "customerInfo", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -22499,6 +31055,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -22521,6 +31078,7 @@ }, { "method_name": "getEmailReceiver", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22541,6 +31099,7 @@ }, { "method_name": "getSubject", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22561,6 +31120,7 @@ }, { "method_name": "getHtmlContents", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22581,6 +31141,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -22603,6 +31164,7 @@ }, { "method_name": "getEmailReceiver", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22623,6 +31185,7 @@ }, { "method_name": "getSubject", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22643,6 +31206,7 @@ }, { "method_name": "getHtmlContents", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22663,6 +31227,7 @@ }, { "method_name": "setFrom", + "comment": null, "receiver_expr": "msg", "receiver_type": "", "argument_types": [], @@ -22683,6 +31248,7 @@ }, { "method_name": "setRecipients", + "comment": null, "receiver_expr": "msg", "receiver_type": "", "argument_types": [ @@ -22706,6 +31272,7 @@ }, { "method_name": "parse", + "comment": null, "receiver_expr": "InternetAddress", "receiver_type": "", "argument_types": [ @@ -22729,6 +31296,7 @@ }, { "method_name": "getEmailReceiver", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22749,6 +31317,7 @@ }, { "method_name": "setSubject", + "comment": null, "receiver_expr": "msg", "receiver_type": "", "argument_types": [ @@ -22771,6 +31340,7 @@ }, { "method_name": "getSubject", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22791,6 +31361,7 @@ }, { "method_name": "setText", + "comment": null, "receiver_expr": "mbp", "receiver_type": "", "argument_types": [ @@ -22814,6 +31385,7 @@ }, { "method_name": "getHtmlContents", + "comment": null, "receiver_expr": "eMessage", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], @@ -22834,6 +31406,7 @@ }, { "method_name": "setHeader", + "comment": null, "receiver_expr": "msg", "receiver_type": "", "argument_types": [ @@ -22857,6 +31430,7 @@ }, { "method_name": "addBodyPart", + "comment": null, "receiver_expr": "mp", "receiver_type": "", "argument_types": [ @@ -22879,6 +31453,7 @@ }, { "method_name": "setContent", + "comment": null, "receiver_expr": "msg", "receiver_type": "", "argument_types": [ @@ -22901,6 +31476,7 @@ }, { "method_name": "setSentDate", + "comment": null, "receiver_expr": "msg", "receiver_type": "", "argument_types": [ @@ -22923,6 +31499,7 @@ }, { "method_name": "send", + "comment": null, "receiver_expr": "Transport", "receiver_type": "", "argument_types": [ @@ -22945,6 +31522,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -22967,6 +31545,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -22989,6 +31568,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -23011,6 +31591,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -23031,6 +31612,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [ @@ -23055,6 +31637,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "MimeMessage", "argument_types": [ @@ -23077,6 +31660,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "MimeBodyPart", "argument_types": [], @@ -23097,6 +31681,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "MimeMultipart", "argument_types": [], @@ -23117,6 +31702,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], @@ -23137,6 +31723,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", "argument_types": [ @@ -23160,6 +31747,14 @@ ], "variable_declarations": [ { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "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())", @@ -23169,6 +31764,14 @@ "end_column": 34 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "msg", "type": "MimeMessage", "initializer": "new MimeMessage(mailSession)", @@ -23178,6 +31781,14 @@ "end_column": 49 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "mbp", "type": "MimeBodyPart", "initializer": "new MimeBodyPart()", @@ -23187,6 +31798,14 @@ "end_column": 40 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "mp", "type": "Multipart", "initializer": "new MimeMultipart()", @@ -23202,9 +31821,18 @@ "is_entrypoint": false }, "createMessage(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "createMessage(String)", - "comment": "/**\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 */", + "comments": [ + { + "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" @@ -23216,12 +31844,17 @@ "type": "java.lang.String", "name": "orderKey", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 31, + "end_column": 45 } ], - "code": "{\n Util.debug(\"creating email message for order:\" + orderKey);\n StringBuffer msg = new StringBuffer();\n Order order = em.find(Order.class, orderKey);\n msg.append(\"Thank you for your order \" + orderKey + \".\\n\");\n msg.append(\"Your Plants By WebSphere order will be shipped to:\\n\");\n msg.append(\" \" + order.getShipName() + \"\\n\");\n msg.append(\" \" + order.getShipAddr1() + \" \" + order.getShipAddr2() + \"\\n\");\n msg.append(\" \" + order.getShipCity() + \", \" + order.getShipState() + \" \" + order.getShipZip() + \"\\n\\n\");\n msg.append(\"Please save it for your records.\\n\");\n return msg.toString();\n}", + "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, @@ -23235,6 +31868,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -23257,6 +31891,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -23280,6 +31915,7 @@ }, { "method_name": "append", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -23302,6 +31938,7 @@ }, { "method_name": "append", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -23324,6 +31961,7 @@ }, { "method_name": "append", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -23346,6 +31984,7 @@ }, { "method_name": "getShipName", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -23366,6 +32005,7 @@ }, { "method_name": "append", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -23388,6 +32028,7 @@ }, { "method_name": "getShipAddr1", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -23408,6 +32049,7 @@ }, { "method_name": "getShipAddr2", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -23428,6 +32070,7 @@ }, { "method_name": "append", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -23450,6 +32093,7 @@ }, { "method_name": "getShipCity", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -23470,6 +32114,7 @@ }, { "method_name": "getShipState", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -23490,6 +32135,7 @@ }, { "method_name": "getShipZip", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -23510,6 +32156,7 @@ }, { "method_name": "append", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -23532,6 +32179,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [], @@ -23552,6 +32200,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.StringBuffer", "argument_types": [], @@ -23573,6 +32222,14 @@ ], "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()", @@ -23582,6 +32239,14 @@ "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)", @@ -23597,9 +32262,18 @@ "is_entrypoint": false }, "createSubjectLine(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "createSubjectLine(String)", - "comment": "/**\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 */", + "comments": [ + { + "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" @@ -23611,12 +32285,17 @@ "type": "java.lang.String", "name": "orderKey", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 86, + "end_line": 86, + "start_column": 35, + "end_column": 49 } ], - "code": "{\n StringBuffer msg = new StringBuffer();\n msg.append(\"Your order number \" + orderKey);\n return msg.toString();\n}", + "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, @@ -23627,6 +32306,7 @@ "call_sites": [ { "method_name": "append", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [ @@ -23649,6 +32329,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "msg", "receiver_type": "java.lang.StringBuffer", "argument_types": [], @@ -23669,6 +32350,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.StringBuffer", "argument_types": [], @@ -23690,6 +32372,14 @@ ], "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()", @@ -23707,7 +32397,14 @@ }, "field_declarations": [ { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "long", "start_line": 50, @@ -23723,7 +32420,14 @@ "annotations": [] }, { - "comment": "// public static final String MAIL_SESSION = \"java:comp/env/mail/PlantsByWebSphere\";", + "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, + "is_javadoc": false + }, "name": null, "type": "Session", "start_line": 52, @@ -23737,7 +32441,14 @@ ] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "EntityManager", "start_line": 55, @@ -23751,15 +32462,203 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "comment": "//", + "/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": [ + { + "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 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": " 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": " 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 + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], "imports": [ "java.io.Serializable", "javax.enterprise.context.SessionScoped", @@ -23785,7 +32684,64 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Provides a combination of JSF action and backing bean support for the account web page.\r\n *\r\n */", + "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": " 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 + }, + { + "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" ], @@ -23800,9 +32756,9 @@ "nested_type_declarations": [], "callable_declarations": { "performAccount()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performAccount()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -23810,9 +32766,10 @@ "thrown_exceptions": [], "declaration": "public String performAccount()", "parameters": [], - "code": "{\n if (customer == null || loginInfo == null) {\n checkingOut = false;\n loginInfo = new LoginInfo();\n register = false;\n updating = true;\n loginInfo.setMessage(\"You must log in first.\");\n return AccountBean.ACTION_LOGIN;\n } else {\n return AccountBean.ACTION_ACCOUNT;\n }\n}", + "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, @@ -23831,6 +32788,7 @@ "call_sites": [ { "method_name": "setMessage", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [ @@ -23853,6 +32811,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -23879,9 +32838,34 @@ "is_entrypoint": false }, "performLoginComplete()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performLoginComplete()", - "comment": "", + "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" @@ -23889,9 +32873,10 @@ "thrown_exceptions": [], "declaration": "public String performLoginComplete()", "parameters": [], - "code": "{\n String message;\n // Attempt to log in the user.\n message = login.verifyUserAndPassword(loginInfo.getEmail(), loginInfo.getPassword());\n if (message != null) {\n // Error, so go back to the login page.\n loginInfo.setMessage(message);\n return AccountBean.ACTION_LOGIN;\n }\n // Otherwise, no error, so continue to the correct page.\n customer = login.getCustomer(loginInfo.getEmail());\n if (isCheckingOut()) {\n return performOrderInfo();\n }\n if (isUpdating()) {\n return performAccount();\n }\n return AccountBean.ACTION_PROMO;\n}", + "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, @@ -23908,6 +32893,7 @@ "call_sites": [ { "method_name": "verifyUserAndPassword", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -23931,6 +32917,7 @@ }, { "method_name": "getEmail", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -23951,6 +32938,7 @@ }, { "method_name": "getPassword", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -23971,6 +32959,7 @@ }, { "method_name": "setMessage", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [ @@ -23993,6 +32982,7 @@ }, { "method_name": "getCustomer", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -24015,6 +33005,7 @@ }, { "method_name": "getEmail", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -24035,6 +33026,7 @@ }, { "method_name": "isCheckingOut", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -24055,6 +33047,7 @@ }, { "method_name": "performOrderInfo", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -24075,6 +33068,7 @@ }, { "method_name": "isUpdating", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -24095,6 +33089,7 @@ }, { "method_name": "performAccount", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -24116,6 +33111,14 @@ ], "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": "", @@ -24131,9 +33134,9 @@ "is_entrypoint": false }, "performCheckoutFinal()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performCheckoutFinal()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -24141,9 +33144,10 @@ "thrown_exceptions": [], "declaration": "public String performCheckoutFinal()", "parameters": [], - "code": "{\n FacesContext context = FacesContext.getCurrentInstance();\n Application app = context.getApplication();\n ShoppingBean shopping = (ShoppingBean) app.createValueBinding(\"#{shopping}\").getValue(context);\n shopping.setShippingCost(Util.getShippingMethodPrice(orderInfo.getShippingMethod()));\n return AccountBean.ACTION_CHECKOUT_FINAL;\n}", + "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, @@ -24160,6 +33164,7 @@ "call_sites": [ { "method_name": "getCurrentInstance", + "comment": null, "receiver_expr": "FacesContext", "receiver_type": "", "argument_types": [], @@ -24180,6 +33185,7 @@ }, { "method_name": "getApplication", + "comment": null, "receiver_expr": "context", "receiver_type": "", "argument_types": [], @@ -24200,6 +33206,7 @@ }, { "method_name": "getValue", + "comment": null, "receiver_expr": "app.createValueBinding(\"#{shopping}\")", "receiver_type": "", "argument_types": [ @@ -24222,6 +33229,7 @@ }, { "method_name": "createValueBinding", + "comment": null, "receiver_expr": "app", "receiver_type": "", "argument_types": [ @@ -24244,6 +33252,7 @@ }, { "method_name": "setShippingCost", + "comment": null, "receiver_expr": "shopping", "receiver_type": "com.ibm.websphere.samples.pbw.war.ShoppingBean", "argument_types": [ @@ -24266,6 +33275,7 @@ }, { "method_name": "getShippingMethodPrice", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -24288,6 +33298,7 @@ }, { "method_name": "getShippingMethod", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24309,6 +33320,14 @@ ], "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()", @@ -24318,6 +33337,14 @@ "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()", @@ -24327,6 +33354,14 @@ "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)", @@ -24342,9 +33377,34 @@ "is_entrypoint": false }, "performCompleteCheckout()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performCompleteCheckout()", - "comment": "", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -24352,9 +33412,10 @@ "thrown_exceptions": [], "declaration": "public String performCompleteCheckout()", "parameters": [], - "code": "{\n FacesContext context = FacesContext.getCurrentInstance();\n Application app = context.getApplication();\n app.createValueBinding(\"#{shopping}\").getValue(context);\n // persist the order\n OrderInfo oi = 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()));\n lastOrderNum = oi.getID();\n Util.debug(\"Account.performCompleteCheckout: order id =\" + orderInfo);\n /*\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\n\t\t * }\n\t\t */\n try {\n mailer.createAndSendMail(customer, oi.getID());\n } catch (MailerAppException e) {\n System.out.println(\"MailerAppException:\" + e);\n e.printStackTrace();\n } catch (Exception e) {\n System.out.println(\"Exception during create and send mail :\" + e);\n e.printStackTrace();\n }\n orderInfo = null;\n // shoppingCart.setCartContents (new ShoppingCartContents());\n shoppingCart.removeAllItems();\n return AccountBean.ACTION_ORDERDONE;\n}", + "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, @@ -24377,6 +33438,7 @@ "call_sites": [ { "method_name": "getCurrentInstance", + "comment": null, "receiver_expr": "FacesContext", "receiver_type": "", "argument_types": [], @@ -24397,6 +33459,7 @@ }, { "method_name": "getApplication", + "comment": null, "receiver_expr": "context", "receiver_type": "", "argument_types": [], @@ -24417,6 +33480,7 @@ }, { "method_name": "getValue", + "comment": null, "receiver_expr": "app.createValueBinding(\"#{shopping}\")", "receiver_type": "", "argument_types": [ @@ -24439,6 +33503,7 @@ }, { "method_name": "createValueBinding", + "comment": null, "receiver_expr": "app", "receiver_type": "", "argument_types": [ @@ -24461,6 +33526,7 @@ }, { "method_name": "createOrder", + "comment": null, "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [ @@ -24504,6 +33570,7 @@ }, { "method_name": "getCustomerID", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -24524,6 +33591,7 @@ }, { "method_name": "getBillName", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24544,6 +33612,7 @@ }, { "method_name": "getBillAddr1", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24564,6 +33633,7 @@ }, { "method_name": "getBillAddr2", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24584,6 +33654,7 @@ }, { "method_name": "getBillCity", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24604,6 +33675,7 @@ }, { "method_name": "getBillState", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24624,6 +33696,7 @@ }, { "method_name": "getBillZip", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24644,6 +33717,7 @@ }, { "method_name": "getBillPhone", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24664,6 +33738,7 @@ }, { "method_name": "getShipName", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24684,6 +33759,7 @@ }, { "method_name": "getShipAddr1", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24704,6 +33780,7 @@ }, { "method_name": "getShipAddr2", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24724,6 +33801,7 @@ }, { "method_name": "getShipCity", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24744,6 +33822,7 @@ }, { "method_name": "getShipState", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24764,6 +33843,7 @@ }, { "method_name": "getShipZip", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24784,6 +33864,7 @@ }, { "method_name": "getShipPhone", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24804,6 +33885,7 @@ }, { "method_name": "getCardName", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24824,6 +33906,7 @@ }, { "method_name": "getCardNum", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24844,6 +33927,7 @@ }, { "method_name": "getCardExpMonth", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24864,6 +33948,7 @@ }, { "method_name": "getCardExpYear", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24884,6 +33969,7 @@ }, { "method_name": "getCardholderName", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24904,6 +33990,7 @@ }, { "method_name": "getShippingMethod", + "comment": null, "receiver_expr": "orderInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24924,6 +34011,7 @@ }, { "method_name": "getItems", + "comment": null, "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], @@ -24944,6 +34032,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "oi", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -24964,6 +34053,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -24986,6 +34076,7 @@ }, { "method_name": "createAndSendMail", + "comment": null, "receiver_expr": "mailer", "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerBean", "argument_types": [ @@ -25009,6 +34100,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "oi", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [], @@ -25029,6 +34121,7 @@ }, { "method_name": "println", + "comment": null, "receiver_expr": "System.out", "receiver_type": "java.io.PrintStream", "argument_types": [ @@ -25051,6 +34144,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", "argument_types": [], @@ -25071,6 +34165,7 @@ }, { "method_name": "println", + "comment": null, "receiver_expr": "System.out", "receiver_type": "java.io.PrintStream", "argument_types": [ @@ -25093,6 +34188,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -25113,6 +34209,14 @@ }, { "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": [], @@ -25133,6 +34237,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [ @@ -25156,6 +34261,14 @@ ], "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()", @@ -25165,6 +34278,14 @@ "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()", @@ -25174,6 +34295,14 @@ "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()))", @@ -25189,9 +34318,9 @@ "is_entrypoint": false }, "isCheckingOut()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "isCheckingOut()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -25199,9 +34328,10 @@ "thrown_exceptions": [], "declaration": "public boolean isCheckingOut()", "parameters": [], - "code": "{\n return checkingOut;\n}", + "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, @@ -25217,9 +34347,9 @@ "is_entrypoint": false }, "getLoginInfo()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getLoginInfo()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -25227,9 +34357,10 @@ "thrown_exceptions": [], "declaration": "public LoginInfo getLoginInfo()", "parameters": [], - "code": "{\n return loginInfo;\n}", + "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, @@ -25245,9 +34376,9 @@ "is_entrypoint": false }, "performLogin()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performLogin()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -25255,9 +34386,10 @@ "thrown_exceptions": [], "declaration": "public String performLogin()", "parameters": [], - "code": "{\n checkingOut = false;\n loginInfo = new LoginInfo();\n register = false;\n updating = false;\n loginInfo.setMessage(\"\");\n return AccountBean.ACTION_LOGIN;\n}", + "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, @@ -25274,6 +34406,7 @@ "call_sites": [ { "method_name": "setMessage", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [ @@ -25296,6 +34429,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -25322,9 +34456,9 @@ "is_entrypoint": false }, "getLastOrderNum()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getLastOrderNum()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -25332,9 +34466,10 @@ "thrown_exceptions": [], "declaration": "public String getLastOrderNum()", "parameters": [], - "code": "{\n return lastOrderNum;\n}", + "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, @@ -25350,9 +34485,9 @@ "is_entrypoint": false }, "performOrderInfo()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performOrderInfo()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -25360,9 +34495,10 @@ "thrown_exceptions": [], "declaration": "public String performOrderInfo()", "parameters": [], - "code": "{\n if (customer == null) {\n checkingOut = true;\n loginInfo = new LoginInfo();\n register = false;\n updating = false;\n loginInfo.setMessage(\"You must log in first.\");\n return AccountBean.ACTION_LOGIN;\n } else {\n if (orderInfo == null) {\n orderInfo = new OrderInfo(customer.getFirstName() + \" \" + customer.getLastName(), customer.getAddr1(), customer.getAddr2(), customer.getAddrCity(), customer.getAddrState(), customer.getAddrZip(), customer.getPhone(), \"\", \"\", \"\", \"\", \"\", \"\", \"\", 0, \"\" + (orderNum++));\n }\n return AccountBean.ACTION_ORDERINFO;\n }\n}", + "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, @@ -25383,6 +34519,7 @@ "call_sites": [ { "method_name": "setMessage", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [ @@ -25405,6 +34542,7 @@ }, { "method_name": "getFirstName", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25425,6 +34563,7 @@ }, { "method_name": "getLastName", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25445,6 +34584,7 @@ }, { "method_name": "getAddr1", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25465,6 +34605,7 @@ }, { "method_name": "getAddr2", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25485,6 +34626,7 @@ }, { "method_name": "getAddrCity", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25505,6 +34647,7 @@ }, { "method_name": "getAddrState", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25525,6 +34668,7 @@ }, { "method_name": "getAddrZip", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25545,6 +34689,7 @@ }, { "method_name": "getPhone", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25565,6 +34710,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -25585,6 +34731,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "argument_types": [ @@ -25628,9 +34775,9 @@ "is_entrypoint": false }, "getCustomer()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCustomer()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -25638,9 +34785,10 @@ "thrown_exceptions": [], "declaration": "public Customer getCustomer()", "parameters": [], - "code": "{\n return (isRegister() ? newCustomer : customer);\n}", + "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, @@ -25652,6 +34800,7 @@ "call_sites": [ { "method_name": "isRegister", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -25678,9 +34827,9 @@ "is_entrypoint": false }, "performAccountUpdate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performAccountUpdate()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -25688,9 +34837,10 @@ "thrown_exceptions": [], "declaration": "public String performAccountUpdate()", "parameters": [], - "code": "{\n if (register) {\n customer = login.createCustomer(loginInfo.getEmail(), loginInfo.getPassword(), newCustomer.getFirstName(), newCustomer.getLastName(), newCustomer.getAddr1(), newCustomer.getAddr2(), newCustomer.getAddrCity(), newCustomer.getAddrState(), newCustomer.getAddrZip(), newCustomer.getPhone());\n register = false;\n } else {\n customer = login.updateUser(customer.getCustomerID(), customer.getFirstName(), customer.getLastName(), customer.getAddr1(), customer.getAddr2(), customer.getAddrCity(), customer.getAddrState(), customer.getAddrZip(), customer.getPhone());\n }\n return AccountBean.ACTION_PROMO;\n}", + "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, @@ -25708,6 +34858,7 @@ "call_sites": [ { "method_name": "createCustomer", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -25739,6 +34890,7 @@ }, { "method_name": "getEmail", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -25759,6 +34911,7 @@ }, { "method_name": "getPassword", + "comment": null, "receiver_expr": "loginInfo", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -25779,6 +34932,7 @@ }, { "method_name": "getFirstName", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25799,6 +34953,7 @@ }, { "method_name": "getLastName", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25819,6 +34974,7 @@ }, { "method_name": "getAddr1", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25839,6 +34995,7 @@ }, { "method_name": "getAddr2", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25859,6 +35016,7 @@ }, { "method_name": "getAddrCity", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25879,6 +35037,7 @@ }, { "method_name": "getAddrState", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25899,6 +35058,7 @@ }, { "method_name": "getAddrZip", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25919,6 +35079,7 @@ }, { "method_name": "getPhone", + "comment": null, "receiver_expr": "newCustomer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25939,6 +35100,7 @@ }, { "method_name": "updateUser", + "comment": null, "receiver_expr": "login", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ @@ -25969,6 +35131,7 @@ }, { "method_name": "getCustomerID", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -25989,6 +35152,7 @@ }, { "method_name": "getFirstName", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26009,6 +35173,7 @@ }, { "method_name": "getLastName", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26029,6 +35194,7 @@ }, { "method_name": "getAddr1", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26049,6 +35215,7 @@ }, { "method_name": "getAddr2", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26069,6 +35236,7 @@ }, { "method_name": "getAddrCity", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26089,6 +35257,7 @@ }, { "method_name": "getAddrState", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26109,6 +35278,7 @@ }, { "method_name": "getAddrZip", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26129,6 +35299,7 @@ }, { "method_name": "getPhone", + "comment": null, "receiver_expr": "customer", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -26155,9 +35326,9 @@ "is_entrypoint": false }, "isRegister()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "isRegister()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -26165,9 +35336,10 @@ "thrown_exceptions": [], "declaration": "public boolean isRegister()", "parameters": [], - "code": "{\n return register;\n}", + "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, @@ -26183,9 +35355,9 @@ "is_entrypoint": false }, "isUpdating()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "isUpdating()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -26193,9 +35365,10 @@ "thrown_exceptions": [], "declaration": "public boolean isUpdating()", "parameters": [], - "code": "{\n return updating;\n}", + "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, @@ -26211,9 +35384,9 @@ "is_entrypoint": false }, "getOrderInfo()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getOrderInfo()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -26221,9 +35394,10 @@ "thrown_exceptions": [], "declaration": "public OrderInfo getOrderInfo()", "parameters": [], - "code": "{\n return orderInfo;\n}", + "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, @@ -26239,9 +35413,9 @@ "is_entrypoint": false }, "performRegister()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performRegister()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -26249,9 +35423,10 @@ "thrown_exceptions": [], "declaration": "public String performRegister()", "parameters": [], - "code": "{\n loginInfo = new LoginInfo();\n newCustomer = new Customer(\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\");\n register = true;\n updating = false;\n return AccountBean.ACTION_REGISTER;\n}", + "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, @@ -26268,6 +35443,7 @@ "call_sites": [ { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], @@ -26288,6 +35464,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -26327,7 +35504,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -26343,7 +35527,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26359,7 +35550,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26375,7 +35573,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26391,7 +35596,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26407,7 +35619,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26423,7 +35642,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26439,7 +35665,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26455,7 +35688,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26471,7 +35711,14 @@ ] }, { - "comment": "", + "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, @@ -26487,7 +35734,14 @@ ] }, { - "comment": "", + "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, @@ -26503,7 +35757,14 @@ ] }, { - "comment": "", + "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, @@ -26517,7 +35778,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26531,7 +35799,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26545,7 +35820,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26559,7 +35841,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26573,7 +35862,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26587,7 +35883,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26601,7 +35904,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26615,7 +35925,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -26629,15 +35946,379 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "comment": "//", + "/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", @@ -26676,7 +36357,240 @@ "extends_list": [ "HttpServlet" ], - "comment": "/**\r\n * Servlet to handle Administration actions\r\n */", + "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, + "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": "\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" @@ -26689,9 +36603,34 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "init(ServletConfig)", - "comment": "/**\r\n\t * Servlet initialization.\r\n\t */", + "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": " Util.setDebug(true);", + "start_line": 77, + "end_line": 77, + "start_column": 3, + "end_column": 25, + "is_javadoc": 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 + } + ], "annotations": [], "modifiers": [ "public" @@ -26705,12 +36644,17 @@ "type": "ServletConfig", "name": "config", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 74, + "end_line": 74, + "start_column": 19, + "end_column": 38 } ], - "code": "{\n super.init(config);\n // Uncomment the following to generated debug code.\n // Util.setDebug(true);\n}", + "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, @@ -26719,6 +36663,7 @@ "call_sites": [ { "method_name": "init", + "comment": null, "receiver_expr": "super", "receiver_type": "", "argument_types": [ @@ -26747,9 +36692,18 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "comment": "/**\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 */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -26764,18 +36718,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 21, + "end_column": 42 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 45, + "end_column": 68 } ], - "code": "{\n performTask(req, resp);\n}", + "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, @@ -26784,6 +36747,7 @@ "call_sites": [ { "method_name": "performTask", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -26810,12 +36774,21 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "sendRedirect(HttpServletResponse, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "sendRedirect(HttpServletResponse, String)", - "comment": "/**\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 */", + "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" @@ -26830,18 +36803,27 @@ "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 360, + "end_line": 360, + "start_column": 28, + "end_column": 51 }, { "type": "java.lang.String", "name": "page", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 360, + "end_line": 360, + "start_column": 54, + "end_column": 64 } ], - "code": "{\n resp.sendRedirect(resp.encodeRedirectURL(page));\n}", + "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, @@ -26850,6 +36832,7 @@ "call_sites": [ { "method_name": "sendRedirect", + "comment": null, "receiver_expr": "resp", "receiver_type": "", "argument_types": [ @@ -26872,6 +36855,7 @@ }, { "method_name": "encodeRedirectURL", + "comment": null, "receiver_expr": "resp", "receiver_type": "", "argument_types": [ @@ -26897,12 +36881,45 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "performSupplierConfig(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performSupplierConfig(HttpServletRequest, HttpServletResponse)", - "comment": "/**\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t */", + "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": [ "public" @@ -26917,18 +36934,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 165, + "end_line": 165, + "start_column": 36, + "end_column": 57 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 166, + "end_line": 166, + "start_column": 4, + "end_column": 27 } ], - "code": "{\n Supplier supplier = null;\n String action = null;\n action = req.getParameter(Util.ATTR_ACTION);\n if ((action == null) || (action.equals(\"\")))\n action = Util.ACTION_GETSUPPLIER;\n Util.debug(\"AdminServlet.performSupplierConfig() - action=\" + action);\n HttpSession session = req.getSession(true);\n if (action.equals(Util.ACTION_GETSUPPLIER)) {\n // Get supplier info\n try {\n supplier = suppliers.getSupplier();\n } catch (Exception e) {\n Util.debug(\"AdminServlet.performSupplierConfig() Exception: \" + e);\n }\n } else if (action.equals(Util.ACTION_UPDATESUPPLIER)) {\n String supplierID = req.getParameter(\"supplierid\");\n Util.debug(\"AdminServlet.performSupplierConfig() - supplierid = \" + supplierID);\n if ((supplierID != null) && (!supplierID.equals(\"\"))) {\n String name = req.getParameter(\"name\");\n String street = req.getParameter(\"street\");\n String city = req.getParameter(\"city\");\n String state = req.getParameter(\"state\");\n String zip = req.getParameter(\"zip\");\n String phone = req.getParameter(\"phone\");\n String location_url = req.getParameter(\"location_url\");\n supplier = updateSupplierInfo(supplierID, name, street, city, state, zip, phone, location_url);\n }\n } else {\n // Unknown Supplier Config Admin Action so go back to the\n // Administration home page\n sendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME);\n }\n session.setAttribute(Util.ATTR_SUPPLIER, supplier);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_SUPPLIERCFG);\n}", + "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, @@ -26949,6 +36975,7 @@ "call_sites": [ { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -26971,6 +36998,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -26993,6 +37021,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -27015,6 +37044,7 @@ }, { "method_name": "getSession", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27037,6 +37067,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -27059,6 +37090,7 @@ }, { "method_name": "getSupplier", + "comment": null, "receiver_expr": "suppliers", "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "argument_types": [], @@ -27079,6 +37111,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -27101,6 +37134,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -27123,6 +37157,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27145,6 +37180,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -27167,6 +37203,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "supplierID", "receiver_type": "java.lang.String", "argument_types": [ @@ -27189,6 +37226,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27211,6 +37249,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27233,6 +37272,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27255,6 +37295,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27277,6 +37318,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27299,6 +37341,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27321,6 +37364,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27343,6 +37387,7 @@ }, { "method_name": "updateSupplierInfo", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -27372,6 +37417,14 @@ }, { "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": [ @@ -27395,6 +37448,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -27418,6 +37472,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -27443,6 +37498,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -27463,6 +37519,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -27484,6 +37541,14 @@ ], "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", @@ -27493,6 +37558,14 @@ "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", @@ -27502,6 +37575,14 @@ "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)", @@ -27511,6 +37592,14 @@ "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\")", @@ -27520,6 +37609,14 @@ "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\")", @@ -27529,6 +37626,14 @@ "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\")", @@ -27538,6 +37643,14 @@ "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\")", @@ -27547,6 +37660,14 @@ "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\")", @@ -27556,6 +37677,14 @@ "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\")", @@ -27565,6 +37694,14 @@ "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\")", @@ -27574,6 +37711,14 @@ "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\")", @@ -27586,12 +37731,29 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 6, - "is_entrypoint": false + "is_entrypoint": true }, "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "comment": "/**\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 */", + "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": [ "public" @@ -27606,18 +37768,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 26, + "end_column": 47 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 50, + "end_column": 73 } ], - "code": "{\n String admintype = null;\n admintype = req.getParameter(Util.ATTR_ADMINTYPE);\n Util.debug(\"inside AdminServlet:performTask. admintype=\" + admintype);\n if ((admintype == null) || (admintype.equals(\"\"))) {\n // Invalid Admin\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ADMINHOME);\n }\n if (admintype.equals(Util.ADMIN_BACKORDER)) {\n performBackOrder(req, resp);\n } else if (admintype.equals(Util.ADMIN_SUPPLIERCFG)) {\n performSupplierConfig(req, resp);\n } else if (admintype.equals(Util.ADMIN_POPULATE)) {\n performPopulate(req, resp);\n }\n}", + "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, @@ -27634,6 +37805,7 @@ "call_sites": [ { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -27656,6 +37828,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -27678,6 +37851,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "admintype", "receiver_type": "java.lang.String", "argument_types": [ @@ -27700,6 +37874,14 @@ }, { "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": [ @@ -27725,6 +37907,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -27745,6 +37928,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -27765,6 +37949,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "admintype", "receiver_type": "java.lang.String", "argument_types": [ @@ -27787,6 +37972,7 @@ }, { "method_name": "performBackOrder", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -27810,6 +37996,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "admintype", "receiver_type": "java.lang.String", "argument_types": [ @@ -27832,6 +38019,7 @@ }, { "method_name": "performSupplierConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -27855,6 +38043,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "admintype", "receiver_type": "java.lang.String", "argument_types": [ @@ -27877,6 +38066,7 @@ }, { "method_name": "performPopulate", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -27901,6 +38091,14 @@ ], "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", @@ -27913,12 +38111,21 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 5, - "is_entrypoint": false + "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comment": "/**\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 */", + "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" @@ -27933,18 +38140,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 20, + "end_column": 41 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 44, + "end_column": 67 } ], - "code": "{\n performTask(req, resp);\n}", + "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, @@ -27953,6 +38169,7 @@ "call_sites": [ { "method_name": "performTask", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -27979,12 +38196,45 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "performBackOrder(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performBackOrder(HttpServletRequest, HttpServletResponse)", - "comment": "/**\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 */", + "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" @@ -27999,18 +38249,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 223, + "end_line": 223, + "start_column": 31, + "end_column": 52 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 224, + "end_line": 224, + "start_column": 4, + "end_column": 27 } ], - "code": "{\n String action = null;\n action = req.getParameter(Util.ATTR_ACTION);\n if ((action == null) || (action.equals(\"\")))\n action = Util.ACTION_GETBACKORDERS;\n Util.debug(\"AdminServlet.performBackOrder() - action=\" + action);\n HttpSession session = req.getSession(true);\n if (action.equals(Util.ACTION_GETBACKORDERS)) {\n getBackOrders(session);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\n } else if (action.equals(Util.ACTION_UPDATESTOCK)) {\n Util.debug(\"AdminServlet.performBackOrder() - AdminServlet(performTask): Update Stock Action\");\n String[] backOrderIDs = (String[]) req.getParameterValues(\"selectedObjectIds\");\n if (backOrderIDs != null) {\n for (int i = 0; i < backOrderIDs.length; i++) {\n String backOrderID = backOrderIDs[i];\n Util.debug(\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID);\n try {\n String inventoryID = backOrderStock.getBackOrderInventoryID(backOrderID);\n Util.debug(\"AdminServlet.performBackOrder() - backOrderID = \" + inventoryID);\n int quantity = backOrderStock.getBackOrderQuantity(backOrderID);\n catalog.setItemQuantity(inventoryID, quantity);\n // Update the BackOrder status\n Util.debug(\"AdminServlet.performBackOrder() - quantity: \" + quantity);\n backOrderStock.updateStock(backOrderID, quantity);\n } catch (Exception e) {\n Util.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\n e.printStackTrace();\n }\n }\n }\n getBackOrders(session);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\n } else if (action.equals(Util.ACTION_CANCEL)) {\n Util.debug(\"AdminServlet.performBackOrder() - AdminServlet(performTask): Cancel Action\");\n String[] backOrderIDs = (String[]) req.getParameterValues(\"selectedObjectIds\");\n if (backOrderIDs != null) {\n for (int i = 0; i < backOrderIDs.length; i++) {\n String backOrderID = backOrderIDs[i];\n Util.debug(\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID);\n try {\n backOrderStock.deleteBackOrder(backOrderID);\n } catch (Exception e) {\n Util.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\n e.printStackTrace();\n }\n }\n }\n getBackOrders(session);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\n } else if (action.equals(Util.ACTION_UPDATEQUANTITY)) {\n Util.debug(\"AdminServlet.performBackOrder() - Update Quantity Action\");\n try {\n String backOrderID = req.getParameter(\"backOrderID\");\n if (backOrderID != null) {\n Util.debug(\"AdminServlet.performBackOrder() - backOrderID = \" + backOrderID);\n String paramquantity = req.getParameter(\"itemqty\");\n if (paramquantity != null) {\n int quantity = new Integer(paramquantity).intValue();\n Util.debug(\"AdminServlet.performBackOrder() - quantity: \" + quantity);\n backOrderStock.setBackOrderQuantity(backOrderID, quantity);\n }\n }\n } catch (Exception e) {\n Util.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\n e.printStackTrace();\n }\n getBackOrders(session);\n requestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\n } else {\n // Unknown Backup Admin Action so go back to the Administration home\n // page\n sendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME);\n }\n}", + "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, @@ -28033,6 +38292,7 @@ "call_sites": [ { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -28055,6 +38315,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -28077,6 +38338,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28099,6 +38361,7 @@ }, { "method_name": "getSession", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -28121,6 +38384,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -28143,6 +38407,7 @@ }, { "method_name": "getBackOrders", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -28165,6 +38430,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -28190,6 +38456,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -28210,6 +38477,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -28230,6 +38498,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -28252,6 +38521,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28274,6 +38544,7 @@ }, { "method_name": "getParameterValues", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -28296,6 +38567,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28318,6 +38590,7 @@ }, { "method_name": "getBackOrderInventoryID", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -28340,6 +38613,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28362,6 +38636,7 @@ }, { "method_name": "getBackOrderQuantity", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -28384,6 +38659,7 @@ }, { "method_name": "setItemQuantity", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -28407,6 +38683,14 @@ }, { "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": [ @@ -28429,6 +38713,7 @@ }, { "method_name": "updateStock", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -28452,6 +38737,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28474,6 +38760,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -28494,6 +38781,7 @@ }, { "method_name": "getBackOrders", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -28516,6 +38804,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -28541,6 +38830,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -28561,6 +38851,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -28581,6 +38872,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -28603,6 +38895,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28625,6 +38918,7 @@ }, { "method_name": "getParameterValues", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -28647,6 +38941,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28669,6 +38964,7 @@ }, { "method_name": "deleteBackOrder", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -28691,6 +38987,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28713,6 +39010,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -28733,6 +39031,7 @@ }, { "method_name": "getBackOrders", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -28755,6 +39054,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -28780,6 +39080,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -28800,6 +39101,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -28820,6 +39122,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -28842,6 +39145,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28864,6 +39168,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -28886,6 +39191,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28908,6 +39214,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -28930,6 +39237,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "new Integer(paramquantity)", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -28950,6 +39258,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -28972,6 +39281,7 @@ }, { "method_name": "setBackOrderQuantity", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -28995,6 +39305,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -29017,6 +39328,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -29037,6 +39349,7 @@ }, { "method_name": "getBackOrders", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -29059,6 +39372,7 @@ }, { "method_name": "requestDispatch", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -29084,6 +39398,7 @@ }, { "method_name": "getServletContext", + "comment": null, "receiver_expr": "getServletConfig()", "receiver_type": "", "argument_types": [], @@ -29104,6 +39419,7 @@ }, { "method_name": "getServletConfig", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -29124,6 +39440,14 @@ }, { "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": [ @@ -29147,6 +39471,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -29170,6 +39495,14 @@ ], "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", @@ -29179,6 +39512,14 @@ "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)", @@ -29188,6 +39529,14 @@ "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\")", @@ -29197,6 +39546,14 @@ "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", @@ -29206,6 +39563,14 @@ "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]", @@ -29215,6 +39580,14 @@ "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)", @@ -29224,6 +39597,14 @@ "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)", @@ -29233,6 +39614,14 @@ "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\")", @@ -29242,6 +39631,14 @@ "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", @@ -29251,6 +39648,14 @@ "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]", @@ -29260,6 +39665,14 @@ "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\")", @@ -29269,6 +39682,14 @@ "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\")", @@ -29278,6 +39699,14 @@ "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()", @@ -29290,12 +39719,21 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 15, - "is_entrypoint": false + "is_entrypoint": true }, "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "comment": "/**\r\n\t * Request dispatch\r\n\t */", + "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" @@ -29310,30 +39748,47 @@ "type": "ServletContext", "name": "ctx", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 377, + "end_line": 377, + "start_column": 31, + "end_column": 48 }, { "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 378, + "end_line": 378, + "start_column": 4, + "end_column": 25 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 379, + "end_line": 379, + "start_column": 4, + "end_column": 27 }, { "type": "java.lang.String", "name": "page", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 380, + "end_line": 380, + "start_column": 4, + "end_column": 14 } ], - "code": "{\n resp.setContentType(\"text/html\");\n ctx.getRequestDispatcher(page).forward(req, resp);\n}", + "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, @@ -29342,6 +39797,7 @@ "call_sites": [ { "method_name": "setContentType", + "comment": null, "receiver_expr": "resp", "receiver_type": "", "argument_types": [ @@ -29364,6 +39820,7 @@ }, { "method_name": "forward", + "comment": null, "receiver_expr": "ctx.getRequestDispatcher(page)", "receiver_type": "", "argument_types": [ @@ -29387,6 +39844,7 @@ }, { "method_name": "getRequestDispatcher", + "comment": null, "receiver_expr": "ctx", "receiver_type": "", "argument_types": [ @@ -29412,12 +39870,29 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "updateSupplierInfo(String, String, String, String, String, String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "updateSupplierInfo(String, String, String, String, String, String, String, String)", - "comment": "/**\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 */", + "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" @@ -29429,54 +39904,87 @@ "type": "java.lang.String", "name": "supplierID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 141, + "end_line": 141, + "start_column": 37, + "end_column": 53 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 142, + "end_line": 142, + "start_column": 4, + "end_column": 14 }, { "type": "java.lang.String", "name": "street", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 143, + "end_line": 143, + "start_column": 4, + "end_column": 16 }, { "type": "java.lang.String", "name": "city", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 144, + "end_line": 144, + "start_column": 4, + "end_column": 14 }, { "type": "java.lang.String", "name": "state", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 145, + "end_line": 145, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "zip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 146, + "end_line": 146, + "start_column": 4, + "end_column": 13 }, { "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 147, + "end_line": 147, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "location_url", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 148, + "end_line": 148, + "start_column": 4, + "end_column": 22 } ], - "code": "{\n // Only retrieving info for 1 supplier.\n Supplier supplier = null;\n try {\n supplier = suppliers.updateSupplier(supplierID, name, street, city, state, zip, phone, location_url);\n } catch (Exception e) {\n Util.debug(\"AdminServlet.updateSupplierInfo() - Exception: \" + e);\n }\n return (supplier);\n}", + "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, @@ -29489,6 +39997,7 @@ "call_sites": [ { "method_name": "updateSupplier", + "comment": null, "receiver_expr": "suppliers", "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "argument_types": [ @@ -29518,6 +40027,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -29541,6 +40051,14 @@ ], "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", @@ -29556,9 +40074,18 @@ "is_entrypoint": false }, "performPopulate(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performPopulate(HttpServletRequest, HttpServletResponse)", - "comment": "/**\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t */", + "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" @@ -29573,18 +40100,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 209, + "end_line": 209, + "start_column": 30, + "end_column": 51 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 209, + "end_line": 209, + "start_column": 54, + "end_column": 77 } ], - "code": "{\n Populate popDB = new Populate(resetDB, catalog, login, backOrderStock, suppliers);\n popDB.doPopulate();\n sendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_HELP);\n}", + "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, @@ -29603,6 +40139,7 @@ "call_sites": [ { "method_name": "doPopulate", + "comment": null, "receiver_expr": "popDB", "receiver_type": "com.ibm.websphere.samples.pbw.war.Populate", "argument_types": [], @@ -29623,6 +40160,7 @@ }, { "method_name": "sendRedirect", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -29646,6 +40184,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.Populate", "argument_types": [ @@ -29673,6 +40212,14 @@ ], "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)", @@ -29685,12 +40232,53 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "getBackOrders(HttpSession)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBackOrders(HttpSession)", - "comment": "/**\r\n\t * Method getBackOrders.\r\n\t * \r\n\t * @param session\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -29702,12 +40290,17 @@ "type": "HttpSession", "name": "session", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 305, + "end_line": 305, + "start_column": 28, + "end_column": 46 } ], - "code": "{\n try {\n // Get the list of back order items.\n Util.debug(\"AdminServlet.getBackOrders() - Looking for BackOrders\");\n Collection backOrders = backOrderStock.findBackOrders();\n ArrayList backOrderItems = new ArrayList();\n for (BackOrder bo : backOrders) {\n BackOrderItem boi = new BackOrderItem(bo);\n backOrderItems.add(boi);\n }\n Util.debug(\"AdminServlet.getBackOrders() - BackOrders found!\");\n Iterator i = backOrderItems.iterator();\n while (i.hasNext()) {\n BackOrderItem backOrderItem = (BackOrderItem) i.next();\n String backOrderID = backOrderItem.getBackOrderID();\n String inventoryID = backOrderItem.getInventory().getInventoryId();\n // Get the inventory quantity and name for the back order item\n // information.\n Inventory item = catalog.getItemInventory(inventoryID);\n int quantity = item.getQuantity();\n backOrderItem.setInventoryQuantity(quantity);\n String name = item.getName();\n backOrderItem.setName(name);\n // Don't include backorders that have been completed.\n if (!(backOrderItem.getStatus().equals(Util.STATUS_ADDEDSTOCK))) {\n String invID = backOrderItem.getInventory().getInventoryId();\n String supplierOrderID = backOrderItem.getSupplierOrderID();\n String status = backOrderItem.getStatus();\n String lowDate = new Long(backOrderItem.getLowDate()).toString();\n String orderDate = new Long(backOrderItem.getOrderDate()).toString();\n Util.debug(\"AdminServlet.getBackOrders() - backOrderID = \" + backOrderID);\n Util.debug(\"AdminServlet.getBackOrders() - supplierOrderID = \" + supplierOrderID);\n Util.debug(\"AdminServlet.getBackOrders() - invID = \" + invID);\n Util.debug(\"AdminServlet.getBackOrders() - name = \" + name);\n Util.debug(\"AdminServlet.getBackOrders() - quantity = \" + quantity);\n Util.debug(\"AdminServlet.getBackOrders() - status = \" + status);\n Util.debug(\"AdminServlet.getBackOrders() - lowDate = \" + lowDate);\n Util.debug(\"AdminServlet.getBackOrders() - orderDate = \" + orderDate);\n }\n }\n session.setAttribute(\"backorderitems\", backOrderItems);\n } catch (Exception e) {\n e.printStackTrace();\n Util.debug(\"AdminServlet.getBackOrders() - RemoteException: \" + e);\n }\n}", + "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, @@ -29728,6 +40321,14 @@ "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", "argument_types": [ @@ -29750,6 +40351,7 @@ }, { "method_name": "findBackOrders", + "comment": null, "receiver_expr": "backOrderStock", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [], @@ -29770,6 +40372,7 @@ }, { "method_name": "add", + "comment": null, "receiver_expr": "backOrderItems", "receiver_type": "java.util.ArrayList", "argument_types": [ @@ -29792,6 +40395,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -29814,6 +40418,7 @@ }, { "method_name": "iterator", + "comment": null, "receiver_expr": "backOrderItems", "receiver_type": "java.util.ArrayList", "argument_types": [], @@ -29834,6 +40439,7 @@ }, { "method_name": "hasNext", + "comment": null, "receiver_expr": "i", "receiver_type": "java.util.Iterator", "argument_types": [], @@ -29854,6 +40460,7 @@ }, { "method_name": "next", + "comment": null, "receiver_expr": "i", "receiver_type": "java.util.Iterator", "argument_types": [], @@ -29874,6 +40481,7 @@ }, { "method_name": "getBackOrderID", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -29894,6 +40502,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "backOrderItem.getInventory()", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -29914,6 +40523,7 @@ }, { "method_name": "getInventory", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -29934,6 +40544,7 @@ }, { "method_name": "getItemInventory", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -29956,6 +40567,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -29976,6 +40588,7 @@ }, { "method_name": "setInventoryQuantity", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [ @@ -29998,6 +40611,7 @@ }, { "method_name": "getName", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -30018,6 +40632,7 @@ }, { "method_name": "setName", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [ @@ -30040,6 +40655,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "backOrderItem.getStatus()", "receiver_type": "java.lang.String", "argument_types": [ @@ -30062,6 +40678,7 @@ }, { "method_name": "getStatus", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -30082,6 +40699,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "backOrderItem.getInventory()", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -30102,6 +40720,7 @@ }, { "method_name": "getInventory", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -30122,6 +40741,7 @@ }, { "method_name": "getSupplierOrderID", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -30142,6 +40762,7 @@ }, { "method_name": "getStatus", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -30162,6 +40783,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "new Long(backOrderItem.getLowDate())", "receiver_type": "java.lang.Long", "argument_types": [], @@ -30182,6 +40804,7 @@ }, { "method_name": "getLowDate", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -30202,6 +40825,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "new Long(backOrderItem.getOrderDate())", "receiver_type": "java.lang.Long", "argument_types": [], @@ -30222,6 +40846,7 @@ }, { "method_name": "getOrderDate", + "comment": null, "receiver_expr": "backOrderItem", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], @@ -30242,6 +40867,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30264,6 +40890,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30286,6 +40913,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30308,6 +40936,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30330,6 +40959,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30352,6 +40982,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30374,6 +41005,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30396,6 +41028,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30418,6 +41051,7 @@ }, { "method_name": "setAttribute", + "comment": null, "receiver_expr": "session", "receiver_type": "", "argument_types": [ @@ -30441,6 +41075,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -30461,6 +41096,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -30483,6 +41119,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], @@ -30503,6 +41140,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [ @@ -30525,6 +41163,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Long", "argument_types": [ @@ -30547,6 +41186,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Long", "argument_types": [ @@ -30570,6 +41210,14 @@ ], "variable_declarations": [ { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "backOrders", "type": "java.util.Collection", "initializer": "backOrderStock.findBackOrders()", @@ -30579,6 +41227,14 @@ "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()", @@ -30588,6 +41244,14 @@ "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": "", @@ -30597,6 +41261,14 @@ "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)", @@ -30606,6 +41278,14 @@ "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()", @@ -30615,6 +41295,14 @@ "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()", @@ -30624,6 +41312,14 @@ "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()", @@ -30633,6 +41329,14 @@ "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()", @@ -30642,6 +41346,14 @@ "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)", @@ -30651,6 +41363,14 @@ "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()", @@ -30660,6 +41380,14 @@ "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()", @@ -30669,6 +41397,14 @@ "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()", @@ -30678,6 +41414,14 @@ "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()", @@ -30687,6 +41431,14 @@ "end_column": 64 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "status", "type": "java.lang.String", "initializer": "backOrderItem.getStatus()", @@ -30696,6 +41448,14 @@ "end_column": 46 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "lowDate", "type": "java.lang.String", "initializer": "new Long(backOrderItem.getLowDate()).toString()", @@ -30705,6 +41465,14 @@ "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()", @@ -30722,7 +41490,14 @@ }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 51, + "end_line": 53, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, "name": null, "type": "long", "start_line": 54, @@ -30738,7 +41513,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -30754,7 +41536,14 @@ ] }, { - "comment": "", + "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, @@ -30770,7 +41559,14 @@ ] }, { - "comment": "", + "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, @@ -30786,7 +41582,14 @@ ] }, { - "comment": "", + "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, @@ -30802,7 +41605,14 @@ ] }, { - "comment": "", + "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, @@ -30818,15 +41628,563 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": true } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "comment": "//", + "/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, ", + "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 * 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": "\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": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], "imports": [ "java.util.Calendar", "javax.validation.constraints.NotNull", @@ -30846,7 +42204,424 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * A class to hold an order's data.\r\n */", + "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": "\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": 3, + "is_javadoc": true + } + ], "implements_list": [ "java.io.Serializable" ], @@ -30858,9 +42633,18 @@ "nested_type_declarations": [], "callable_declarations": { "getShipAddr1()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipAddr1()", - "comment": "/**\r\n\t * @return the shipAddr1\r\n\t */", + "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" @@ -30868,9 +42652,10 @@ "thrown_exceptions": [], "declaration": "public String getShipAddr1()", "parameters": [], - "code": "{\n return shipAddr1;\n}", + "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, @@ -30886,9 +42671,18 @@ "is_entrypoint": false }, "setShipAddr2(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipAddr2(String)", - "comment": "/**\r\n\t * @param shipAddr2\r\n\t * the shipAddr2 to set\r\n\t */", + "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" @@ -30900,12 +42694,17 @@ "type": "java.lang.String", "name": "shipAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 335, + "end_line": 335, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipAddr2 = shipAddr2;\n}", + "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, @@ -30923,9 +42722,18 @@ "is_entrypoint": false }, "setShipisbill(boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipisbill(boolean)", - "comment": "/**\r\n\t * @param shipisbill\r\n\t * the shipisbill to set\r\n\t */", + "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" @@ -30937,12 +42745,17 @@ "type": "boolean", "name": "shipisbill", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 515, + "end_line": 515, + "start_column": 28, + "end_column": 45 } ], - "code": "{\n this.shipisbill = shipisbill;\n}", + "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, @@ -30958,9 +42771,18 @@ "is_entrypoint": false }, "getShipZip()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipZip()", - "comment": "/**\r\n\t * @return the shipZip\r\n\t */", + "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" @@ -30968,9 +42790,10 @@ "thrown_exceptions": [], "declaration": "public String getShipZip()", "parameters": [], - "code": "{\n return shipZip;\n}", + "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, @@ -30986,9 +42809,18 @@ "is_entrypoint": false }, "getBillAddr1()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillAddr1()", - "comment": "/**\r\n\t * @return the billAddr1\r\n\t */", + "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" @@ -30996,9 +42828,10 @@ "thrown_exceptions": [], "declaration": "public String getBillAddr1()", "parameters": [], - "code": "{\n return billAddr1;\n}", + "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, @@ -31014,9 +42847,9 @@ "is_entrypoint": false }, "getShippingMethodCount()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethodCount()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -31024,9 +42857,10 @@ "thrown_exceptions": [], "declaration": "public int getShippingMethodCount()", "parameters": [], - "code": "{\n return Util.getShippingMethodStrings().length;\n}", + "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, @@ -31037,6 +42871,7 @@ "call_sites": [ { "method_name": "getShippingMethodStrings", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [], @@ -31063,9 +42898,18 @@ "is_entrypoint": false }, "getShipCity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipCity()", - "comment": "/**\r\n\t * @return the shipCity\r\n\t */", + "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" @@ -31073,9 +42917,10 @@ "thrown_exceptions": [], "declaration": "public String getShipCity()", "parameters": [], - "code": "{\n return shipCity;\n}", + "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, @@ -31091,9 +42936,18 @@ "is_entrypoint": false }, "(Order)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "OrderInfo(Order)", - "comment": "/**\r\n\t * Constructor to create an OrderInfo using an Order.\r\n\t * \r\n\t * @param order\r\n\t */", + "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" @@ -31105,12 +42959,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Order", "name": "order", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 19, + "end_column": 29 } ], - "code": "{\n orderID = order.getOrderID();\n billName = order.getBillName();\n billAddr1 = order.getBillAddr1();\n billAddr2 = order.getBillAddr2();\n billCity = order.getBillCity();\n billState = order.getBillState();\n billZip = order.getBillZip();\n billPhone = order.getBillPhone();\n shipName = order.getShipName();\n shipAddr1 = order.getShipAddr1();\n shipAddr2 = order.getShipAddr2();\n shipCity = order.getShipCity();\n shipState = order.getShipState();\n shipZip = order.getShipZip();\n shipPhone = order.getShipPhone();\n shippingMethod = order.getShippingMethod();\n}", + "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, @@ -31136,6 +42995,7 @@ "call_sites": [ { "method_name": "getOrderID", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31156,6 +43016,7 @@ }, { "method_name": "getBillName", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31176,6 +43037,7 @@ }, { "method_name": "getBillAddr1", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31196,6 +43058,7 @@ }, { "method_name": "getBillAddr2", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31216,6 +43079,7 @@ }, { "method_name": "getBillCity", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31236,6 +43100,7 @@ }, { "method_name": "getBillState", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31256,6 +43121,7 @@ }, { "method_name": "getBillZip", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31276,6 +43142,7 @@ }, { "method_name": "getBillPhone", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31296,6 +43163,7 @@ }, { "method_name": "getShipName", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31316,6 +43184,7 @@ }, { "method_name": "getShipAddr1", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31336,6 +43205,7 @@ }, { "method_name": "getShipAddr2", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31356,6 +43226,7 @@ }, { "method_name": "getShipCity", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31376,6 +43247,7 @@ }, { "method_name": "getShipState", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31396,6 +43268,7 @@ }, { "method_name": "getShipZip", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31416,6 +43289,7 @@ }, { "method_name": "getShipPhone", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31436,6 +43310,7 @@ }, { "method_name": "getShippingMethod", + "comment": null, "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], @@ -31462,9 +43337,18 @@ "is_entrypoint": false }, "getCardExpMonth()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCardExpMonth()", - "comment": "/**\r\n\t * @return the cardExpMonth\r\n\t */", + "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" @@ -31472,9 +43356,10 @@ "thrown_exceptions": [], "declaration": "public String getCardExpMonth()", "parameters": [], - "code": "{\n return cardExpMonth;\n}", + "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, @@ -31490,9 +43375,18 @@ "is_entrypoint": false }, "setBillPhone(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillPhone(String)", - "comment": "/**\r\n\t * @param billPhone\r\n\t * the billPhone to set\r\n\t */", + "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" @@ -31504,12 +43398,17 @@ "type": "java.lang.String", "name": "billPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 290, + "end_line": 290, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billPhone = billPhone;\n}", + "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, @@ -31527,9 +43426,18 @@ "is_entrypoint": false }, "getBillState()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillState()", - "comment": "/**\r\n\t * @return the billState\r\n\t */", + "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" @@ -31537,9 +43445,10 @@ "thrown_exceptions": [], "declaration": "public String getBillState()", "parameters": [], - "code": "{\n return billState;\n}", + "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, @@ -31555,9 +43464,18 @@ "is_entrypoint": false }, "setBillAddr1(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillAddr1(String)", - "comment": "/**\r\n\t * @param billAddr1\r\n\t * the billAddr1 to set\r\n\t */", + "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" @@ -31569,12 +43487,17 @@ "type": "java.lang.String", "name": "billAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 215, + "end_line": 215, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billAddr1 = billAddr1;\n}", + "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, @@ -31592,9 +43515,18 @@ "is_entrypoint": false }, "setBillState(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillState(String)", - "comment": "/**\r\n\t * @param billState\r\n\t * the billState to set\r\n\t */", + "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" @@ -31606,12 +43538,17 @@ "type": "java.lang.String", "name": "billState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 260, + "end_line": 260, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billState = billState;\n}", + "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, @@ -31629,9 +43566,18 @@ "is_entrypoint": false }, "(String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "OrderInfo(String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, String)", - "comment": "/**\r\n\t * Constructor to create an OrderInfo by passing each field.\r\n\t */", + "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" @@ -31643,102 +43589,167 @@ "type": "java.lang.String", "name": "billName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 19, + "end_column": 33 }, { "type": "java.lang.String", "name": "billAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 36, + "end_column": 51 }, { "type": "java.lang.String", "name": "billAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 54, + "end_column": 69 }, { "type": "java.lang.String", "name": "billCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 72, + "end_column": 86 }, { "type": "java.lang.String", "name": "billState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 89, + "end_column": 104 }, { "type": "java.lang.String", "name": "billZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 4, + "end_column": 17 }, { "type": "java.lang.String", "name": "billPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 20, + "end_column": 35 }, { "type": "java.lang.String", "name": "shipName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 38, + "end_column": 52 }, { "type": "java.lang.String", "name": "shipAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 55, + "end_column": 70 }, { "type": "java.lang.String", "name": "shipAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 73, + "end_column": 88 }, { "type": "java.lang.String", "name": "shipCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 91, + "end_column": 105 }, { "type": "java.lang.String", "name": "shipState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "shipZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 22, + "end_column": 35 }, { "type": "java.lang.String", "name": "shipPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 38, + "end_column": 53 }, { "type": "int", "name": "shippingMethod", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 56, + "end_column": 73 }, { "type": "java.lang.String", "name": "orderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 76, + "end_column": 89 } ], - "code": "{\n this.orderID = orderID;\n this.billName = billName;\n this.billAddr1 = billAddr1;\n this.billAddr2 = billAddr2;\n this.billCity = billCity;\n this.billState = billState;\n this.billZip = billZip;\n this.billPhone = billPhone;\n this.shipName = shipName;\n this.shipAddr1 = shipAddr1;\n this.shipAddr2 = shipAddr2;\n this.shipCity = shipCity;\n this.shipState = shipState;\n this.shipZip = shipZip;\n this.shipPhone = shipPhone;\n this.shippingMethod = shippingMethod;\n initLists();\n cardholderName = \"\";\n cardNum = \"\";\n}", + "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, @@ -31768,6 +43779,7 @@ "call_sites": [ { "method_name": "initLists", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -31794,9 +43806,18 @@ "is_entrypoint": false }, "getBillName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillName()", - "comment": "/**\r\n\t * @return the billName\r\n\t */", + "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" @@ -31804,9 +43825,10 @@ "thrown_exceptions": [], "declaration": "public String getBillName()", "parameters": [], - "code": "{\n return billName;\n}", + "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, @@ -31822,9 +43844,18 @@ "is_entrypoint": false }, "isShipisbill()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "isShipisbill()", - "comment": "/**\r\n\t * @return the shipisbill\r\n\t */", + "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" @@ -31832,9 +43863,10 @@ "thrown_exceptions": [], "declaration": "public boolean isShipisbill()", "parameters": [], - "code": "{\n return shipisbill;\n}", + "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, @@ -31850,9 +43882,18 @@ "is_entrypoint": false }, "getCardName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCardName()", - "comment": "/**\r\n\t * @return the cardName\r\n\t */", + "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" @@ -31860,9 +43901,10 @@ "thrown_exceptions": [], "declaration": "public String getCardName()", "parameters": [], - "code": "{\n return cardName;\n}", + "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, @@ -31878,9 +43920,18 @@ "is_entrypoint": false }, "setID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setID(String)", - "comment": "/**\r\n\t * @param orderID\r\n\t * the orderID to set\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -31892,12 +43943,17 @@ "type": "java.lang.String", "name": "orderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 185, + "end_line": 185, + "start_column": 20, + "end_column": 33 } ], - "code": "{\n this.orderID = orderID;\n}", + "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, @@ -31915,9 +43971,18 @@ "is_entrypoint": false }, "getShippingMethods()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethods()", - "comment": "/**\r\n\t * Get shipping methods that are possible.\r\n\t * \r\n\t * @return String[] of method names\r\n\t */", + "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" @@ -31925,9 +43990,10 @@ "thrown_exceptions": [], "declaration": "public String[] getShippingMethods()", "parameters": [], - "code": "{\n return Util.getFullShippingMethodStrings();\n}", + "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, @@ -31936,6 +44002,7 @@ "call_sites": [ { "method_name": "getFullShippingMethodStrings", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [], @@ -31962,9 +44029,9 @@ "is_entrypoint": false }, "initLists()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "initLists()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "private" @@ -31972,9 +44039,10 @@ "thrown_exceptions": [], "declaration": "private void initLists()", "parameters": [], - "code": "{\n int i = Calendar.getInstance().get(1);\n cardExpYears = new String[5];\n for (int j = 0; j < 5; j++) cardExpYears[j] = (new Integer(i + j)).toString();\n}", + "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, @@ -31985,6 +44053,7 @@ "call_sites": [ { "method_name": "get", + "comment": null, "receiver_expr": "Calendar.getInstance()", "receiver_type": "java.util.Calendar", "argument_types": [ @@ -32007,6 +44076,7 @@ }, { "method_name": "getInstance", + "comment": null, "receiver_expr": "Calendar", "receiver_type": "java.util.Calendar", "argument_types": [], @@ -32027,6 +44097,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "(new Integer(i + j))", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -32047,6 +44118,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -32070,6 +44142,14 @@ ], "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)", @@ -32079,6 +44159,14 @@ "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", @@ -32094,9 +44182,18 @@ "is_entrypoint": false }, "getCardExpYear()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCardExpYear()", - "comment": "/**\r\n\t * @return the cardExpYear\r\n\t */", + "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" @@ -32104,9 +44201,10 @@ "thrown_exceptions": [], "declaration": "public String getCardExpYear()", "parameters": [], - "code": "{\n return cardExpYear;\n}", + "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, @@ -32122,9 +44220,18 @@ "is_entrypoint": false }, "getBillPhone()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillPhone()", - "comment": "/**\r\n\t * @return the billPhone\r\n\t */", + "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" @@ -32132,9 +44239,10 @@ "thrown_exceptions": [], "declaration": "public String getBillPhone()", "parameters": [], - "code": "{\n return billPhone;\n}", + "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, @@ -32150,9 +44258,18 @@ "is_entrypoint": false }, "setShippingMethod(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShippingMethod(int)", - "comment": "/**\r\n\t * @param shippingMethod\r\n\t * the shippingMethod to set\r\n\t */", + "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" @@ -32164,12 +44281,17 @@ "type": "int", "name": "shippingMethod", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 410, + "end_line": 410, + "start_column": 32, + "end_column": 49 } ], - "code": "{\n this.shippingMethod = shippingMethod;\n}", + "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, @@ -32185,9 +44307,18 @@ "is_entrypoint": false }, "setBillCity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillCity(String)", - "comment": "/**\r\n\t * @param billCity\r\n\t * the billCity to set\r\n\t */", + "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" @@ -32199,12 +44330,17 @@ "type": "java.lang.String", "name": "billCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 245, + "end_line": 245, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.billCity = billCity;\n}", + "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, @@ -32222,9 +44358,18 @@ "is_entrypoint": false }, "getID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getID()", - "comment": "/**\r\n\t * @return the orderID\r\n\t */", + "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" @@ -32232,9 +44377,10 @@ "thrown_exceptions": [], "declaration": "public String getID()", "parameters": [], - "code": "{\n return orderID;\n}", + "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, @@ -32250,9 +44396,18 @@ "is_entrypoint": false }, "setCardName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCardName(String)", - "comment": "/**\r\n\t * @param cardName\r\n\t * the cardName to set\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -32264,12 +44419,17 @@ "type": "java.lang.String", "name": "cardName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 440, + "end_line": 440, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.cardName = cardName;\n}", + "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, @@ -32287,9 +44447,18 @@ "is_entrypoint": false }, "setCardExpYears(String[])": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCardExpYears(String[])", - "comment": "/**\r\n\t * @param cardExpYears\r\n\t * the cardExpYears to set\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -32301,12 +44470,17 @@ "type": "java.lang.String[]", "name": "cardExpYears", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 500, + "end_line": 500, + "start_column": 30, + "end_column": 50 } ], - "code": "{\n this.cardExpYears = cardExpYears;\n}", + "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, @@ -32322,9 +44496,18 @@ "is_entrypoint": false }, "setShipPhone(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipPhone(String)", - "comment": "/**\r\n\t * @param shipPhone\r\n\t * the shipPhone to set\r\n\t */", + "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" @@ -32336,12 +44519,17 @@ "type": "java.lang.String", "name": "shipPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 395, + "end_line": 395, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipPhone = shipPhone;\n}", + "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, @@ -32359,9 +44547,18 @@ "is_entrypoint": false }, "getShippingMethod()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethod()", - "comment": "/**\r\n\t * @return the shippingMethod\r\n\t */", + "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" @@ -32369,9 +44566,10 @@ "thrown_exceptions": [], "declaration": "public int getShippingMethod()", "parameters": [], - "code": "{\n return shippingMethod;\n}", + "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, @@ -32387,9 +44585,18 @@ "is_entrypoint": false }, "getCardNum()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCardNum()", - "comment": "/**\r\n\t * @return the cardNum\r\n\t */", + "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" @@ -32397,9 +44604,10 @@ "thrown_exceptions": [], "declaration": "public String getCardNum()", "parameters": [], - "code": "{\n return cardNum;\n}", + "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, @@ -32415,9 +44623,18 @@ "is_entrypoint": false }, "getBillAddr2()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillAddr2()", - "comment": "/**\r\n\t * @return the billAddr2\r\n\t */", + "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" @@ -32425,9 +44642,10 @@ "thrown_exceptions": [], "declaration": "public String getBillAddr2()", "parameters": [], - "code": "{\n return billAddr2;\n}", + "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, @@ -32443,9 +44661,18 @@ "is_entrypoint": false }, "setCardExpMonth(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCardExpMonth(String)", - "comment": "/**\r\n\t * @param cardExpMonth\r\n\t * the cardExpMonth to set\r\n\t */", + "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" @@ -32457,12 +44684,17 @@ "type": "java.lang.String", "name": "cardExpMonth", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 470, + "end_line": 470, + "start_column": 30, + "end_column": 48 } ], - "code": "{\n this.cardExpMonth = cardExpMonth;\n}", + "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, @@ -32480,9 +44712,18 @@ "is_entrypoint": false }, "setShipCity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipCity(String)", - "comment": "/**\r\n\t * @param shipCity\r\n\t * the shipCity to set\r\n\t */", + "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" @@ -32494,12 +44735,17 @@ "type": "java.lang.String", "name": "shipCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 350, + "end_line": 350, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.shipCity = shipCity;\n}", + "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, @@ -32517,9 +44763,18 @@ "is_entrypoint": false }, "setCardExpYear(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCardExpYear(String)", - "comment": "/**\r\n\t * @param cardExpYear\r\n\t * the cardExpYear to set\r\n\t */", + "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" @@ -32531,12 +44786,17 @@ "type": "java.lang.String", "name": "cardExpYear", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 485, + "end_line": 485, + "start_column": 29, + "end_column": 46 } ], - "code": "{\n this.cardExpYear = cardExpYear;\n}", + "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, @@ -32554,9 +44814,18 @@ "is_entrypoint": false }, "setShipName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipName(String)", - "comment": "/**\r\n\t * @param shipName\r\n\t * the shipName to set\r\n\t */", + "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" @@ -32568,12 +44837,17 @@ "type": "java.lang.String", "name": "shipName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 305, + "end_line": 305, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.shipName = shipName;\n}", + "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, @@ -32591,9 +44865,18 @@ "is_entrypoint": false }, "setShippingMethodName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShippingMethodName(String)", - "comment": "/**\r\n\t * Set the shipping method by name\r\n\t */", + "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" @@ -32605,12 +44888,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 146, + "end_line": 146, + "start_column": 36, + "end_column": 46 } ], - "code": "{\n String[] methodNames = Util.getShippingMethodStrings();\n for (int i = 0; i < methodNames.length; i++) {\n if (methodNames[i].equals(name))\n shippingMethod = i;\n }\n}", + "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, @@ -32622,6 +44910,7 @@ "call_sites": [ { "method_name": "getShippingMethodStrings", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [], @@ -32642,6 +44931,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "methodNames[i]", "receiver_type": "java.lang.String", "argument_types": [ @@ -32665,6 +44955,14 @@ ], "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()", @@ -32674,6 +44972,14 @@ "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", @@ -32689,9 +44995,18 @@ "is_entrypoint": false }, "setBillZip(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillZip(String)", - "comment": "/**\r\n\t * @param billZip\r\n\t * the billZip to set\r\n\t */", + "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" @@ -32703,12 +45018,17 @@ "type": "java.lang.String", "name": "billZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 275, + "end_line": 275, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.billZip = billZip;\n}", + "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, @@ -32726,9 +45046,18 @@ "is_entrypoint": false }, "getShipName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipName()", - "comment": "/**\r\n\t * @return the shipName\r\n\t */", + "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" @@ -32736,9 +45065,10 @@ "thrown_exceptions": [], "declaration": "public String getShipName()", "parameters": [], - "code": "{\n return shipName;\n}", + "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, @@ -32754,9 +45084,18 @@ "is_entrypoint": false }, "getShipAddr2()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipAddr2()", - "comment": "/**\r\n\t * @return the shipAddr2\r\n\t */", + "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" @@ -32764,9 +45103,10 @@ "thrown_exceptions": [], "declaration": "public String getShipAddr2()", "parameters": [], - "code": "{\n return shipAddr2;\n}", + "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, @@ -32782,9 +45122,18 @@ "is_entrypoint": false }, "setBillAddr2(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillAddr2(String)", - "comment": "/**\r\n\t * @param billAddr2\r\n\t * the billAddr2 to set\r\n\t */", + "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" @@ -32796,12 +45145,17 @@ "type": "java.lang.String", "name": "billAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.billAddr2 = billAddr2;\n}", + "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, @@ -32819,9 +45173,18 @@ "is_entrypoint": false }, "setShipAddr1(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipAddr1(String)", - "comment": "/**\r\n\t * @param shipAddr1\r\n\t * the shipAddr1 to set\r\n\t */", + "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" @@ -32833,12 +45196,17 @@ "type": "java.lang.String", "name": "shipAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 320, + "end_line": 320, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipAddr1 = shipAddr1;\n}", + "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, @@ -32856,9 +45224,18 @@ "is_entrypoint": false }, "getShipState()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipState()", - "comment": "/**\r\n\t * @return the shipState\r\n\t */", + "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" @@ -32866,9 +45243,10 @@ "thrown_exceptions": [], "declaration": "public String getShipState()", "parameters": [], - "code": "{\n return shipState;\n}", + "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, @@ -32884,9 +45262,18 @@ "is_entrypoint": false }, "getCardExpYears()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCardExpYears()", - "comment": "/**\r\n\t * @return the cardExpYears\r\n\t */", + "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" @@ -32894,9 +45281,10 @@ "thrown_exceptions": [], "declaration": "public String[] getCardExpYears()", "parameters": [], - "code": "{\n return cardExpYears;\n}", + "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, @@ -32912,9 +45300,18 @@ "is_entrypoint": false }, "getBillZip()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillZip()", - "comment": "/**\r\n\t * @return the billZip\r\n\t */", + "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" @@ -32922,9 +45319,10 @@ "thrown_exceptions": [], "declaration": "public String getBillZip()", "parameters": [], - "code": "{\n return billZip;\n}", + "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, @@ -32940,9 +45338,18 @@ "is_entrypoint": false }, "setBillName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBillName(String)", - "comment": "/**\r\n\t * @param billName\r\n\t * the billName to set\r\n\t */", + "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" @@ -32954,12 +45361,17 @@ "type": "java.lang.String", "name": "billName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 200, + "end_line": 200, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.billName = billName;\n}", + "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, @@ -32977,9 +45389,18 @@ "is_entrypoint": false }, "setShipState(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipState(String)", - "comment": "/**\r\n\t * @param shipState\r\n\t * the shipState to set\r\n\t */", + "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" @@ -32991,12 +45412,17 @@ "type": "java.lang.String", "name": "shipState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 365, + "end_line": 365, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.shipState = shipState;\n}", + "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, @@ -33014,9 +45440,18 @@ "is_entrypoint": false }, "getShipPhone()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShipPhone()", - "comment": "/**\r\n\t * @return the shipPhone\r\n\t */", + "comments": [ + { + "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" @@ -33024,9 +45459,10 @@ "thrown_exceptions": [], "declaration": "public String getShipPhone()", "parameters": [], - "code": "{\n return shipPhone;\n}", + "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, @@ -33042,9 +45478,18 @@ "is_entrypoint": false }, "getBillCity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBillCity()", - "comment": "/**\r\n\t * @return the billCity\r\n\t */", + "comments": [ + { + "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" @@ -33052,9 +45497,10 @@ "thrown_exceptions": [], "declaration": "public String getBillCity()", "parameters": [], - "code": "{\n return billCity;\n}", + "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, @@ -33070,9 +45516,18 @@ "is_entrypoint": false }, "getShippingMethodName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethodName()", - "comment": "/**\r\n\t * Get the shipping method name.\r\n\t */", + "comments": [ + { + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -33080,9 +45535,10 @@ "thrown_exceptions": [], "declaration": "public String getShippingMethodName()", "parameters": [], - "code": "{\n return getShippingMethods()[shippingMethod];\n}", + "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", "is_implicit": false, "is_constructor": false, @@ -33093,6 +45549,7 @@ "call_sites": [ { "method_name": "getShippingMethods", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -33119,9 +45576,18 @@ "is_entrypoint": false }, "setCardholderName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCardholderName(String)", - "comment": "/**\r\n\t * @param cardholderName\r\n\t * the cardholderName to set\r\n\t */", + "comments": [ + { + "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": [ "public" @@ -33133,12 +45599,17 @@ "type": "java.lang.String", "name": "cardholderName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 425, + "end_line": 425, + "start_column": 32, + "end_column": 52 } ], - "code": "{\n this.cardholderName = cardholderName;\n}", + "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, @@ -33156,9 +45627,18 @@ "is_entrypoint": false }, "setShipZip(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setShipZip(String)", - "comment": "/**\r\n\t * @param shipZip\r\n\t * the shipZip to set\r\n\t */", + "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" @@ -33170,12 +45650,17 @@ "type": "java.lang.String", "name": "shipZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 380, + "end_line": 380, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.shipZip = shipZip;\n}", + "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, @@ -33193,9 +45678,18 @@ "is_entrypoint": false }, "getCardholderName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCardholderName()", - "comment": "/**\r\n\t * @return the cardholderName\r\n\t */", + "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" @@ -33203,9 +45697,10 @@ "thrown_exceptions": [], "declaration": "public String getCardholderName()", "parameters": [], - "code": "{\n return cardholderName;\n}", + "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, @@ -33221,9 +45716,18 @@ "is_entrypoint": false }, "setCardNum(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCardNum(String)", - "comment": "/**\r\n\t * @param cardNum\r\n\t * the cardNum to set\r\n\t */", + "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" @@ -33235,12 +45739,17 @@ "type": "java.lang.String", "name": "cardNum", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 455, + "end_line": 455, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.cardNum = cardNum;\n}", + "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, @@ -33260,7 +45769,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -33276,7 +45792,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33290,7 +45813,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33307,7 +45837,14 @@ ] }, { - "comment": "", + "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, @@ -33324,7 +45861,14 @@ ] }, { - "comment": "", + "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, @@ -33338,7 +45882,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33355,7 +45906,14 @@ ] }, { - "comment": "", + "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, @@ -33372,7 +45930,14 @@ ] }, { - "comment": "", + "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, @@ -33388,7 +45953,14 @@ ] }, { - "comment": "", + "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, @@ -33404,7 +45976,14 @@ ] }, { - "comment": "", + "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, @@ -33421,7 +46000,14 @@ ] }, { - "comment": "", + "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, @@ -33438,7 +46024,14 @@ ] }, { - "comment": "", + "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, @@ -33452,7 +46045,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33469,7 +46069,14 @@ ] }, { - "comment": "", + "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, @@ -33486,7 +46093,14 @@ ] }, { - "comment": "", + "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, @@ -33502,7 +46116,14 @@ ] }, { - "comment": "", + "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, @@ -33518,7 +46139,14 @@ ] }, { - "comment": "", + "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, @@ -33532,7 +46160,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33549,7 +46184,14 @@ ] }, { - "comment": "", + "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, @@ -33563,7 +46205,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33579,7 +46228,14 @@ ] }, { - "comment": "", + "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, @@ -33593,7 +46249,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33607,7 +46270,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33621,7 +46291,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -33635,15 +46312,307 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", - "comment": "//", + "/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", @@ -33667,7 +46636,160 @@ "extends_list": [ "java.util.Properties" ], - "comment": "/**\r\n * Utility class.\r\n */", + "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 + }, + { + "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" @@ -33677,9 +46799,122 @@ "nested_type_declarations": [], "callable_declarations": { "load(InputStream)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "load(InputStream)", - "comment": "", + "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": [ "public" @@ -33693,12 +46928,17 @@ "type": "java.io.InputStream", "name": "inStream", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 47, + "end_line": 47, + "start_column": 19, + "end_column": 38 } ], - "code": "{\n try {\n Util.debug(\"ListProperties.load - loading from stream \" + inStream);\n // Parse property file, remove comments, blank lines, and combine\n // continued lines.\n String propFile = \"\";\n BufferedReader inputLine = new BufferedReader(new InputStreamReader(inStream));\n String line = inputLine.readLine();\n boolean lineContinue = false;\n while (line != null) {\n Util.debug(\"ListProperties.load - Line read: \" + line);\n line = line.trim();\n String currLine = \"\";\n if (line.startsWith(\"#\")) {\n // Skipping comment\n } else if (line.startsWith(\"!\")) {\n // Skipping comment\n } else if (line.equals(\"\")) {\n // Skipping blank lines\n } else {\n if (!lineContinue) {\n currLine = line;\n } else {\n // This is a continuation line. Add to previous line.\n currLine += line;\n }\n // Must be a property line\n if (line.endsWith(\"\\\\\")) {\n // Next line is continued from the current one.\n lineContinue = true;\n } else {\n // The current line is completed. Parse the property.\n propFile += currLine + \"\\n\";\n currLine = \"\";\n lineContinue = false;\n }\n }\n line = inputLine.readLine();\n }\n // Load Properties\n listProps = new Hashtable>();\n // Now parse the Properties to create an array\n String[] props = readTokens(propFile, \"\\n\");\n for (int index = 0; index < props.length; index++) {\n Util.debug(\"ListProperties.load() - props[\" + index + \"] = \" + props[index]);\n // Parse the line to get the key,value pair\n String[] val = readTokens(props[index], \"=\");\n Util.debug(\"ListProperties.load() - val[0]: \" + val[0] + \" val[1]: \" + val[1]);\n if (!val[0].equals(\"\")) {\n if (this.containsKey(val[0])) {\n // Previous key,value was already created.\n // Need an array\n Vector currList = (Vector) listProps.get(val[0]);\n if ((currList == null) || currList.isEmpty()) {\n currList = new Vector();\n String prevVal = this.getProperty(val[0]);\n currList.addElement(prevVal);\n }\n currList.addElement(val[1]);\n listProps.put(val[0], currList);\n }\n this.setProperty(val[0], val[1]);\n }\n }\n } catch (Exception e) {\n Util.debug(\"ListProperties.load(): Exception: \" + e);\n e.printStackTrace();\n }\n}", + "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, @@ -33714,6 +46954,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -33736,6 +46977,7 @@ }, { "method_name": "readLine", + "comment": null, "receiver_expr": "inputLine", "receiver_type": "java.io.BufferedReader", "argument_types": [], @@ -33756,6 +46998,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -33778,6 +47021,7 @@ }, { "method_name": "trim", + "comment": null, "receiver_expr": "line", "receiver_type": "java.lang.String", "argument_types": [], @@ -33798,6 +47042,7 @@ }, { "method_name": "startsWith", + "comment": null, "receiver_expr": "line", "receiver_type": "java.lang.String", "argument_types": [ @@ -33820,6 +47065,7 @@ }, { "method_name": "startsWith", + "comment": null, "receiver_expr": "line", "receiver_type": "java.lang.String", "argument_types": [ @@ -33842,6 +47088,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "line", "receiver_type": "java.lang.String", "argument_types": [ @@ -33864,6 +47111,14 @@ }, { "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": [ @@ -33886,6 +47141,7 @@ }, { "method_name": "readLine", + "comment": null, "receiver_expr": "inputLine", "receiver_type": "java.io.BufferedReader", "argument_types": [], @@ -33906,6 +47162,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -33929,6 +47186,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -33951,6 +47209,7 @@ }, { "method_name": "readTokens", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -33974,6 +47233,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -33996,6 +47256,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "val[0]", "receiver_type": "java.lang.String", "argument_types": [ @@ -34018,6 +47279,7 @@ }, { "method_name": "containsKey", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ @@ -34040,6 +47302,7 @@ }, { "method_name": "get", + "comment": null, "receiver_expr": "listProps", "receiver_type": "java.util.Hashtable>", "argument_types": [ @@ -34062,6 +47325,7 @@ }, { "method_name": "isEmpty", + "comment": null, "receiver_expr": "currList", "receiver_type": "java.util.Vector", "argument_types": [], @@ -34082,6 +47346,7 @@ }, { "method_name": "getProperty", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ @@ -34104,6 +47369,7 @@ }, { "method_name": "addElement", + "comment": null, "receiver_expr": "currList", "receiver_type": "java.util.Vector", "argument_types": [ @@ -34126,6 +47392,7 @@ }, { "method_name": "addElement", + "comment": null, "receiver_expr": "currList", "receiver_type": "java.util.Vector", "argument_types": [ @@ -34148,6 +47415,7 @@ }, { "method_name": "put", + "comment": null, "receiver_expr": "listProps", "receiver_type": "java.util.Hashtable>", "argument_types": [ @@ -34171,6 +47439,7 @@ }, { "method_name": "setProperty", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ @@ -34194,6 +47463,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -34216,6 +47486,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -34236,6 +47507,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.BufferedReader", "argument_types": [ @@ -34258,6 +47530,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.InputStreamReader", "argument_types": [ @@ -34280,6 +47553,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.Hashtable>", "argument_types": [], @@ -34300,6 +47574,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.Vector", "argument_types": [], @@ -34321,6 +47596,14 @@ ], "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": "\"\"", @@ -34330,6 +47613,14 @@ "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))", @@ -34339,6 +47630,14 @@ "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()", @@ -34348,6 +47647,14 @@ "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", @@ -34357,6 +47664,14 @@ "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": "\"\"", @@ -34366,6 +47681,14 @@ "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\")", @@ -34375,6 +47698,14 @@ "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", @@ -34384,6 +47715,14 @@ "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], \"=\")", @@ -34393,6 +47732,14 @@ "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])", @@ -34402,6 +47749,14 @@ "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])", @@ -34417,9 +47772,18 @@ "is_entrypoint": false }, "getProperties(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getProperties(String)", - "comment": "/**\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n */", + "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" @@ -34431,12 +47795,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 136, + "end_line": 136, + "start_column": 35, + "end_column": 45 } ], - "code": "{\n String[] values = { \"\" };\n try {\n String value = this.getProperty(name);\n Util.debug(\"ListProperties.getProperties: property (\" + name + \") -> \" + value);\n if (listProps.containsKey(name)) {\n Vector list = (Vector) listProps.get(name);\n values = new String[list.size()];\n for (int index = 0; index < list.size(); index++) {\n values[index] = (String) list.elementAt(index);\n }\n } else {\n values[0] = value;\n }\n } catch (Exception e) {\n Util.debug(\"ListProperties.getProperties(): Exception: \" + e);\n }\n return (values);\n}", + "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, @@ -34450,6 +47819,7 @@ "call_sites": [ { "method_name": "getProperty", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ @@ -34472,6 +47842,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -34494,6 +47865,7 @@ }, { "method_name": "containsKey", + "comment": null, "receiver_expr": "listProps", "receiver_type": "java.util.Hashtable>", "argument_types": [ @@ -34516,6 +47888,7 @@ }, { "method_name": "get", + "comment": null, "receiver_expr": "listProps", "receiver_type": "java.util.Hashtable>", "argument_types": [ @@ -34538,6 +47911,7 @@ }, { "method_name": "size", + "comment": null, "receiver_expr": "list", "receiver_type": "java.util.Vector", "argument_types": [], @@ -34558,6 +47932,7 @@ }, { "method_name": "size", + "comment": null, "receiver_expr": "list", "receiver_type": "java.util.Vector", "argument_types": [], @@ -34578,6 +47953,7 @@ }, { "method_name": "elementAt", + "comment": null, "receiver_expr": "list", "receiver_type": "java.util.Vector", "argument_types": [ @@ -34600,6 +47976,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -34623,6 +48000,14 @@ ], "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": "{ \"\" }", @@ -34632,6 +48017,14 @@ "end_column": 32 }, { + "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)", @@ -34641,6 +48034,14 @@ "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)", @@ -34650,6 +48051,14 @@ "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", @@ -34665,9 +48074,18 @@ "is_entrypoint": false }, "readTokens(String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "readTokens(String, String)", - "comment": "/**\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n */", + "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" @@ -34679,18 +48097,27 @@ "type": "java.lang.String", "name": "text", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 122, + "end_line": 122, + "start_column": 32, + "end_column": 42 }, { "type": "java.lang.String", "name": "token", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 122, + "end_line": 122, + "start_column": 45, + "end_column": 56 } ], - "code": "{\n StringTokenizer parser = new StringTokenizer(text, token);\n int numTokens = parser.countTokens();\n String[] list = new String[numTokens];\n for (int i = 0; i < numTokens; i++) {\n list[i] = parser.nextToken();\n }\n return list;\n}", + "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, @@ -34701,6 +48128,7 @@ "call_sites": [ { "method_name": "countTokens", + "comment": null, "receiver_expr": "parser", "receiver_type": "java.util.StringTokenizer", "argument_types": [], @@ -34721,6 +48149,7 @@ }, { "method_name": "nextToken", + "comment": null, "receiver_expr": "parser", "receiver_type": "java.util.StringTokenizer", "argument_types": [], @@ -34741,6 +48170,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.StringTokenizer", "argument_types": [ @@ -34765,6 +48195,14 @@ ], "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)", @@ -34774,6 +48212,14 @@ "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()", @@ -34783,6 +48229,14 @@ "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]", @@ -34792,6 +48246,14 @@ "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", @@ -34809,7 +48271,14 @@ }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 38, + "end_line": 40, + "start_column": 5, + "end_column": 4, + "is_javadoc": false + }, "name": null, "type": "long", "start_line": 41, @@ -34825,7 +48294,14 @@ "annotations": [] }, { - "comment": "", + "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": 42, @@ -34839,15 +48315,427 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "comment": "//", + "/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, ", + "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 * Utility class.\r\n ", + "start_line": 29, + "end_line": 31, + "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": " Datasource name. ", + "start_line": 33, + "end_line": 33, + "start_column": 5, + "end_column": 27, + "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": " Request and session attributes.", + "start_line": 51, + "end_line": 51, + "start_column": 5, + "end_column": 38, + "is_javadoc": false + }, + { + "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": " if this is changed, updated session timeout", + "start_line": 67, + "end_line": 67, + "start_column": 56, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " in the PlantsByWebSphere web.xml", + "start_line": 68, + "end_line": 68, + "start_column": 20, + "end_column": 54, + "is_javadoc": false + }, + { + "content": " Admin type actions", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 25, + "is_javadoc": false + }, + { + "content": " Supplier Config actions", + "start_line": 76, + "end_line": 76, + "start_column": 5, + "end_column": 30, + "is_javadoc": false + }, + { + "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": " 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 * 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 * 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 * 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 * 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 * 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 * 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 + }, + { + "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 * 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": "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 + }, + { + "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 * 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 + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], "imports": [ "java.io.FileNotFoundException", "java.text.NumberFormat", @@ -34869,7 +48757,288 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Utility class.\r\n */", + "comments": [ + { + "content": " Servlet action codes.", + "start_line": 75, + "end_line": 75, + "start_column": 5, + "end_column": 28, + "is_javadoc": false + }, + { + "content": " Datasource name. ", + "start_line": 33, + "end_line": 33, + "start_column": 5, + "end_column": 27, + "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": " Request and session attributes.", + "start_line": 51, + "end_line": 51, + "start_column": 5, + "end_column": 38, + "is_javadoc": false + }, + { + "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": " if this is changed, updated session timeout", + "start_line": 67, + "end_line": 67, + "start_column": 56, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " in the PlantsByWebSphere web.xml", + "start_line": 68, + "end_line": 68, + "start_column": 20, + "end_column": 54, + "is_javadoc": false + }, + { + "content": " Admin type actions", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 25, + "is_javadoc": false + }, + { + "content": " Supplier Config actions", + "start_line": 76, + "end_line": 76, + "start_column": 5, + "end_column": 30, + "is_javadoc": false + }, + { + "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": " 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 * 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 * 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 * 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 * 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 * 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 * 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 + }, + { + "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 * 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": "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 + }, + { + "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 * 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 + }, + { + "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" @@ -34879,9 +49048,18 @@ "nested_type_declarations": [], "callable_declarations": { "setDebug(boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setDebug(boolean)", - "comment": "/** Set debug setting to on or off.\r\n * @param val True or false.\r\n */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -34895,12 +49073,17 @@ "type": "boolean", "name": "val", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 265, + "end_line": 265, + "start_column": 39, + "end_column": 49 } ], - "code": "{\n debug = val;\n}", + "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": false, @@ -34916,9 +49099,18 @@ "is_entrypoint": false }, "getCategoryStrings()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCategoryStrings()", - "comment": "/**\r\n * Get the category strings in an array.\r\n *\r\n * @return The category strings in an array.\r\n */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -34927,9 +49119,10 @@ "thrown_exceptions": [], "declaration": "public static String[] getCategoryStrings()", "parameters": [], - "code": "{\n return CATEGORY_STRINGS;\n}", + "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, @@ -34945,9 +49138,34 @@ "is_entrypoint": false }, "readProperties()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "readProperties()", - "comment": "/**\r\n * Method readProperties.\r\n */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public", @@ -34958,9 +49176,10 @@ ], "declaration": "public static void readProperties() throws FileNotFoundException", "parameters": [], - "code": "{\n if (PBW_Properties == null) {\n // Try to read the properties file.\n ListProperties prop = new ListProperties();\n try {\n String PBW_Properties_File = PBW_PROPERTIES;\n debug(\"Util.readProperties(): Loading PBW Properties from file: \" + PBW_Properties_File);\n prop.load(Util.class.getClassLoader().getResourceAsStream(PBW_Properties_File));\n } catch (Exception e) {\n debug(\"Util.readProperties(): Exception: \" + e);\n // Reset properties to retry loading next time.\n PBW_Properties = null;\n e.printStackTrace();\n throw new FileNotFoundException();\n }\n PBW_Properties = prop;\n }\n}", + "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": false, @@ -34975,6 +49194,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -34997,6 +49217,7 @@ }, { "method_name": "load", + "comment": null, "receiver_expr": "prop", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ @@ -35019,6 +49240,7 @@ }, { "method_name": "getResourceAsStream", + "comment": null, "receiver_expr": "Util.class.getClassLoader()", "receiver_type": "java.lang.ClassLoader", "argument_types": [ @@ -35041,6 +49263,7 @@ }, { "method_name": "getClassLoader", + "comment": null, "receiver_expr": "Util.class", "receiver_type": "java.lang.Class", "argument_types": [], @@ -35061,6 +49284,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -35083,6 +49307,7 @@ }, { "method_name": "printStackTrace", + "comment": null, "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], @@ -35103,6 +49328,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [], @@ -35123,6 +49349,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.io.FileNotFoundException", "argument_types": [], @@ -35144,6 +49371,14 @@ ], "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()", @@ -35153,6 +49388,14 @@ "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", @@ -35168,9 +49411,18 @@ "is_entrypoint": false }, "getCategoryString(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCategoryString(int)", - "comment": "/**\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 */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -35183,12 +49435,17 @@ "type": "int", "name": "index", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 120, + "end_line": 120, + "start_column": 44, + "end_column": 52 } ], - "code": "{\n if ((index >= 0) && (index < CATEGORY_STRINGS.length))\n return CATEGORY_STRINGS[index];\n else\n return null;\n}", + "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, @@ -35205,9 +49462,18 @@ "is_entrypoint": false }, "getFullShippingMethodStrings()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getFullShippingMethodStrings()", - "comment": "/**\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 */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -35216,9 +49482,10 @@ "thrown_exceptions": [], "declaration": "public static String[] getFullShippingMethodStrings()", "parameters": [], - "code": "{\n String[] shippingMethods = new String[SHIPPING_METHOD_STRINGS.length];\n for (int i = 0; i < shippingMethods.length; i++) {\n shippingMethods[i] = SHIPPING_METHOD_STRINGS[i] + \" \" + SHIPPING_METHOD_TIMES[i] + \" \" + NumberFormat.getCurrencyInstance(java.util.Locale.US).format(new Float(SHIPPING_METHOD_PRICES[i]));\n }\n return shippingMethods;\n}", + "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, @@ -35235,6 +49502,7 @@ "call_sites": [ { "method_name": "format", + "comment": null, "receiver_expr": "NumberFormat.getCurrencyInstance(java.util.Locale.US)", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -35257,6 +49525,7 @@ }, { "method_name": "getCurrencyInstance", + "comment": null, "receiver_expr": "NumberFormat", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -35279,6 +49548,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Float", "argument_types": [ @@ -35302,6 +49572,14 @@ ], "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]", @@ -35311,6 +49589,14 @@ "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", @@ -35326,9 +49612,18 @@ "is_entrypoint": false }, "getShippingMethodPrice(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethodPrice(int)", - "comment": "/**\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 */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -35341,12 +49636,17 @@ "type": "int", "name": "index", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 150, + "end_line": 150, + "start_column": 48, + "end_column": 56 } ], - "code": "{\n if ((index >= 0) && (index < SHIPPING_METHOD_PRICES.length))\n return SHIPPING_METHOD_PRICES[index];\n else\n return -1;\n}", + "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, @@ -35363,9 +49663,18 @@ "is_entrypoint": false }, "getShippingMethod(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethod(int)", - "comment": "/**\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 */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -35378,12 +49687,17 @@ "type": "int", "name": "index", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 139, + "end_line": 139, + "start_column": 44, + "end_column": 52 } ], - "code": "{\n if ((index >= 0) && (index < SHIPPING_METHOD_STRINGS.length))\n return SHIPPING_METHOD_STRINGS[index];\n else\n return null;\n}", + "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, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -35400,9 +49714,18 @@ "is_entrypoint": false }, "debug(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "debug(String)", - "comment": "/**\r\n * Output RAS message.\r\n * @param msg Message to be output.\r\n */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -35416,12 +49739,17 @@ "type": "java.lang.String", "name": "msg", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 276, + "end_line": 276, + "start_column": 36, + "end_column": 45 } ], - "code": "{\n FacesContext context = FacesContext.getCurrentInstance();\n if (context != null) {\n Application app = context.getApplication();\n if (app != null) {\n ProjectStage stage = app.getProjectStage();\n if (stage == ProjectStage.Development || stage == ProjectStage.UnitTest) {\n setDebug(true);\n }\n }\n if (debug) {\n System.out.println(msg);\n }\n }\n}", + "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, @@ -35440,6 +49768,7 @@ "call_sites": [ { "method_name": "getCurrentInstance", + "comment": null, "receiver_expr": "FacesContext", "receiver_type": "", "argument_types": [], @@ -35460,6 +49789,7 @@ }, { "method_name": "getApplication", + "comment": null, "receiver_expr": "context", "receiver_type": "", "argument_types": [], @@ -35480,6 +49810,7 @@ }, { "method_name": "getProjectStage", + "comment": null, "receiver_expr": "app", "receiver_type": "", "argument_types": [], @@ -35500,6 +49831,7 @@ }, { "method_name": "setDebug", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -35522,6 +49854,7 @@ }, { "method_name": "println", + "comment": null, "receiver_expr": "System.out", "receiver_type": "java.io.PrintStream", "argument_types": [ @@ -35545,6 +49878,14 @@ ], "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()", @@ -35554,6 +49895,14 @@ "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()", @@ -35563,6 +49912,14 @@ "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()", @@ -35578,9 +49935,42 @@ "is_entrypoint": false }, "getProperties(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getProperties(String)", - "comment": "/**\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public", @@ -35593,12 +49983,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 245, + "end_line": 245, + "start_column": 42, + "end_column": 52 } ], - "code": "{\n String[] values = { \"\" };\n try {\n if (PBW_Properties == null) {\n readProperties();\n }\n values = PBW_Properties.getProperties(name);\n debug(\"Util.getProperties: property (\" + name + \") -> \" + values.toString());\n //for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {\n // debug((String)e.nextElement());\n //}\n } catch (Exception e) {\n debug(\"Util.getProperties(): Exception: \" + e);\n }\n return (values);\n}", + "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, @@ -35609,6 +50004,7 @@ "call_sites": [ { "method_name": "readProperties", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -35629,6 +50025,7 @@ }, { "method_name": "getProperties", + "comment": null, "receiver_expr": "PBW_Properties", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ @@ -35651,6 +50048,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -35673,6 +50071,7 @@ }, { "method_name": "toString", + "comment": null, "receiver_expr": "values", "receiver_type": "", "argument_types": [], @@ -35693,6 +50092,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -35716,6 +50116,14 @@ ], "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": "{ \"\" }", @@ -35731,9 +50139,18 @@ "is_entrypoint": false }, "getShippingMethodStrings()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethodStrings()", - "comment": "/**\r\n * Get the shipping method strings in an array.\r\n * @return The shipping method strings in an array.\r\n */", + "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", @@ -35742,9 +50159,10 @@ "thrown_exceptions": [], "declaration": "public static String[] getShippingMethodStrings()", "parameters": [], - "code": "{\n return SHIPPING_METHOD_STRINGS;\n}", + "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, @@ -35760,9 +50178,18 @@ "is_entrypoint": false }, "getProperty(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getProperty(String)", - "comment": "/**\r\n * Method getProperty.\r\n * @param name\r\n * @return value\r\n */", + "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", @@ -35775,12 +50202,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 213, + "end_line": 213, + "start_column": 38, + "end_column": 48 } ], - "code": "{\n String value = \"\";\n try {\n if (PBW_Properties == null) {\n readProperties();\n }\n value = PBW_Properties.getProperty(name);\n } catch (Exception e) {\n debug(\"Util.getProperty(): Exception: \" + e);\n }\n return (value);\n}", + "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, @@ -35793,6 +50225,7 @@ "call_sites": [ { "method_name": "readProperties", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -35813,6 +50246,7 @@ }, { "method_name": "getProperty", + "comment": null, "receiver_expr": "PBW_Properties", "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ @@ -35835,6 +50269,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -35858,6 +50293,14 @@ ], "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": "\"\"", @@ -35873,9 +50316,18 @@ "is_entrypoint": false }, "readTokens(String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "readTokens(String, String)", - "comment": "/**\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n */", + "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", @@ -35888,18 +50340,27 @@ "type": "java.lang.String", "name": "text", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 231, + "end_line": 231, + "start_column": 39, + "end_column": 49 }, { "type": "java.lang.String", "name": "token", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 231, + "end_line": 231, + "start_column": 52, + "end_column": 63 } ], - "code": "{\n StringTokenizer parser = new StringTokenizer(text, token);\n int numTokens = parser.countTokens();\n String[] list = new String[numTokens];\n for (int i = 0; i < numTokens; i++) {\n list[i] = parser.nextToken();\n }\n return list;\n}", + "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, @@ -35910,6 +50371,7 @@ "call_sites": [ { "method_name": "countTokens", + "comment": null, "receiver_expr": "parser", "receiver_type": "java.util.StringTokenizer", "argument_types": [], @@ -35930,6 +50392,7 @@ }, { "method_name": "nextToken", + "comment": null, "receiver_expr": "parser", "receiver_type": "java.util.StringTokenizer", "argument_types": [], @@ -35950,6 +50413,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.StringTokenizer", "argument_types": [ @@ -35974,6 +50438,14 @@ ], "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)", @@ -35983,6 +50455,14 @@ "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()", @@ -35992,6 +50472,14 @@ "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]", @@ -36001,6 +50489,14 @@ "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", @@ -36016,9 +50512,18 @@ "is_entrypoint": false }, "getShippingMethodTime(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getShippingMethodTime(int)", - "comment": "/**\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 */", + "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", @@ -36031,12 +50536,17 @@ "type": "int", "name": "index", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 161, + "end_line": 161, + "start_column": 48, + "end_column": 56 } ], - "code": "{\n if ((index >= 0) && (index < SHIPPING_METHOD_TIMES.length))\n return SHIPPING_METHOD_TIMES[index];\n else\n return null;\n}", + "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, @@ -36053,9 +50563,9 @@ "is_entrypoint": false }, "validateString(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "validateString(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public", @@ -36068,12 +50578,17 @@ "type": "java.lang.String", "name": "input", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 302, + "end_line": 302, + "start_column": 39, + "end_column": 50 } ], - "code": "{\n if (input == null)\n return true;\n for (int i = 0; i < invalidCharList.length; i++) {\n if (input.indexOf(invalidCharList[i]) != -1) {\n return false;\n }\n }\n return true;\n}", + "code": "{\r\n\t\tif (input==null) return true;\r\n\t\tfor (int i=0;i", + "comment": null, "receiver_expr": "", "receiver_type": "javax.naming.InitialContext", "argument_types": [], @@ -36173,9 +50732,18 @@ "is_entrypoint": false }, "debugOn()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "debugOn()", - "comment": "/** Is debug turned on? */", + "comments": [ + { + "content": " Is debug turned on? ", + "start_line": 268, + "end_line": 268, + "start_column": 5, + "end_column": 30, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "static", @@ -36185,9 +50753,10 @@ "thrown_exceptions": [], "declaration": "public static final boolean debugOn()", "parameters": [], - "code": "{\n return debug;\n}", + "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, @@ -36205,7 +50774,14 @@ }, "field_declarations": [ { - "comment": "/** Datasource name. */", + "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, @@ -36221,7 +50797,14 @@ "annotations": [] }, { - "comment": "// Constants for JSPs and HTMLs.", + "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, @@ -36237,7 +50820,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36253,7 +50843,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36269,7 +50866,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36285,7 +50889,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36301,7 +50912,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36317,7 +50935,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36333,7 +50958,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36349,7 +50981,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36365,7 +51004,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36381,7 +51027,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36397,7 +51050,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36413,7 +51073,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36429,7 +51096,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36445,7 +51119,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36461,7 +51142,14 @@ "annotations": [] }, { - "comment": "// Request and session attributes.", + "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, @@ -36477,7 +51165,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36493,7 +51188,14 @@ "annotations": [] }, { - "comment": "// public static final String ATTR_CART_CONTENTS = \"CartContents\";", + "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, @@ -36509,7 +51211,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36525,7 +51234,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36541,7 +51257,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36557,7 +51280,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36573,7 +51303,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36589,7 +51326,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36605,7 +51349,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36621,7 +51372,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36637,7 +51395,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36653,7 +51418,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36669,7 +51441,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36685,7 +51464,14 @@ "annotations": [] }, { - "comment": "// if this is changed, updated session timeout", + "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, @@ -36701,7 +51487,14 @@ "annotations": [] }, { - "comment": "// in the PlantsByWebSphere web.xml", + "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, @@ -36717,7 +51510,14 @@ "annotations": [] }, { - "comment": "// Admin type actions", + "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, @@ -36733,7 +51533,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36749,7 +51556,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36765,7 +51579,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36781,7 +51602,14 @@ "annotations": [] }, { - "comment": "// Supplier Config actions", + "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, @@ -36797,7 +51625,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36813,7 +51648,14 @@ "annotations": [] }, { - "comment": "// Backorder actions", + "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, @@ -36829,7 +51671,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36845,7 +51694,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36861,7 +51717,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36877,7 +51740,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36893,7 +51763,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36909,7 +51786,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36925,7 +51809,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36941,7 +51832,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36957,7 +51855,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36973,7 +51878,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -36989,7 +51901,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37004,7 +51923,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37020,7 +51946,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37036,7 +51969,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37052,7 +51992,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37068,7 +52015,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37084,7 +52038,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37100,7 +52061,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37115,7 +52083,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37130,7 +52105,14 @@ "annotations": [] }, { - "comment": "/**\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 */", + "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, @@ -37145,15 +52127,195 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", - "comment": "//", + "/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", @@ -37180,7 +52342,56 @@ "extends_list": [ "HttpServlet" ], - "comment": "/**\r\n * Servlet to handle image actions.\r\n */", + "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 + }, + { + "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" @@ -37193,9 +52404,18 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "init(ServletConfig)", - "comment": "/**\r\n\t * Servlet initialization.\r\n\t */", + "comments": [ + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 47, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -37209,12 +52429,17 @@ "type": "ServletConfig", "name": "config", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 19, + "end_column": 38 } ], - "code": "{\n super.init(config);\n}", + "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, @@ -37223,6 +52448,7 @@ "call_sites": [ { "method_name": "init", + "comment": null, "receiver_expr": "super", "receiver_type": "", "argument_types": [ @@ -37251,9 +52477,18 @@ "is_entrypoint": false }, "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comment": "/**\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 */", + "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" @@ -37268,18 +52503,27 @@ "type": "javax.servlet.http.HttpServletRequest", "name": "request", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 62, + "end_line": 62, + "start_column": 20, + "end_column": 64 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "response", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 63, + "end_line": 63, + "start_column": 4, + "end_column": 50 } ], - "code": "{\n performTask(request, response);\n}", + "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, @@ -37288,6 +52532,7 @@ "call_sites": [ { "method_name": "performTask", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -37314,12 +52559,21 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comment": "/**\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 */", + "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" @@ -37334,18 +52588,27 @@ "type": "javax.servlet.http.HttpServletRequest", "name": "request", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 75, + "end_line": 75, + "start_column": 21, + "end_column": 65 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "response", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 76, + "end_line": 76, + "start_column": 4, + "end_column": 50 } ], - "code": "{\n performTask(request, response);\n}", + "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, @@ -37354,6 +52617,7 @@ "call_sites": [ { "method_name": "performTask", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -37380,12 +52644,21 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "comment": "/**\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 */", + "comments": [ + { + "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" @@ -37400,18 +52673,27 @@ "type": "HttpServletRequest", "name": "req", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 27, + "end_column": 48 }, { "type": "HttpServletResponse", "name": "resp", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 51, + "end_column": 74 } ], - "code": "{\n String action = null;\n action = req.getParameter(\"action\");\n Util.debug(\"action=\" + action);\n if (action.equals(\"getimage\")) {\n String inventoryID = req.getParameter(\"inventoryID\");\n byte[] buf = catalog.getItemImageBytes(inventoryID);\n if (buf != null) {\n resp.setContentType(\"image/jpeg\");\n resp.getOutputStream().write(buf);\n }\n }\n}", + "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, @@ -37424,6 +52706,7 @@ "call_sites": [ { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -37446,6 +52729,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -37468,6 +52752,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [ @@ -37490,6 +52775,7 @@ }, { "method_name": "getParameter", + "comment": null, "receiver_expr": "req", "receiver_type": "", "argument_types": [ @@ -37512,6 +52798,7 @@ }, { "method_name": "getItemImageBytes", + "comment": null, "receiver_expr": "catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -37534,6 +52821,7 @@ }, { "method_name": "setContentType", + "comment": null, "receiver_expr": "resp", "receiver_type": "", "argument_types": [ @@ -37556,6 +52844,7 @@ }, { "method_name": "write", + "comment": null, "receiver_expr": "resp.getOutputStream()", "receiver_type": "", "argument_types": [ @@ -37578,6 +52867,7 @@ }, { "method_name": "getOutputStream", + "comment": null, "receiver_expr": "resp", "receiver_type": "", "argument_types": [], @@ -37599,6 +52889,14 @@ ], "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", @@ -37608,6 +52906,14 @@ "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\")", @@ -37617,6 +52923,14 @@ "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)", @@ -37629,12 +52943,19 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 3, - "is_entrypoint": false + "is_entrypoint": true } }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "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, @@ -37650,7 +52971,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -37666,15 +52994,363 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": true } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "comment": "//", + "/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", @@ -37691,7 +53367,224 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * A class to hold a back order item's data.\r\n */", + "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 + }, + { + "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": "\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" ], @@ -37703,9 +53596,18 @@ "nested_type_declarations": [], "callable_declarations": { "setBackOrderID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBackOrderID(String)", - "comment": "/**\r\n\t * Method setBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t */", + "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" @@ -37717,12 +53619,17 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 98, + "end_line": 98, + "start_column": 29, + "end_column": 46 } ], - "code": "{\n this.backOrderID = backOrderID;\n}", + "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, @@ -37740,9 +53647,18 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getQuantity()", - "comment": "/**\r\n\t * Method getQuantity.\r\n\t * \r\n\t * @return int\r\n\t */", + "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" @@ -37750,9 +53666,10 @@ "thrown_exceptions": [], "declaration": "public int getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "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, @@ -37768,9 +53685,18 @@ "is_entrypoint": false }, "getInventory()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventory()", - "comment": "/**\r\n\t * Method getInventoryID.\r\n\t * \r\n\t * @return String\r\n\t */", + "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" @@ -37778,9 +53704,10 @@ "thrown_exceptions": [], "declaration": "public Inventory getInventory()", "parameters": [], - "code": "{\n return inventory;\n}", + "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, @@ -37796,9 +53723,18 @@ "is_entrypoint": false }, "getOrderDate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getOrderDate()", - "comment": "/**\r\n\t * Method getOrderDate.\r\n\t * \r\n\t * @return long\r\n\t */", + "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" @@ -37806,9 +53742,10 @@ "thrown_exceptions": [], "declaration": "public long getOrderDate()", "parameters": [], - "code": "{\n return orderDate;\n}", + "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, @@ -37824,9 +53761,18 @@ "is_entrypoint": false }, "setName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setName(String)", - "comment": "/**\r\n\t * Method setName.\r\n\t * \r\n\t * @param name\r\n\t */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -37838,12 +53784,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 152, + "end_line": 152, + "start_column": 22, + "end_column": 32 } ], - "code": "{\n this.name = name;\n}", + "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, @@ -37861,9 +53812,18 @@ "is_entrypoint": false }, "getLowDate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getLowDate()", - "comment": "/**\r\n\t * Method getLowDate.\r\n\t * \r\n\t * @return long\r\n\t */", + "comments": [ + { + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -37871,9 +53831,10 @@ "thrown_exceptions": [], "declaration": "public long getLowDate()", "parameters": [], - "code": "{\n return lowDate;\n}", + "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, @@ -37889,9 +53850,18 @@ "is_entrypoint": false }, "(String, Inventory, String, int, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "BackOrderItem(String, Inventory, String, int, String)", - "comment": "/**\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 */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -37903,36 +53873,57 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "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": [] + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 43, + "end_column": 63 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 66, + "end_column": 76 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 79, + "end_column": 90 }, { "type": "java.lang.String", "name": "status", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 93, + "end_column": 105 } ], - "code": "{\n this.backOrderID = backOrderID;\n this.inventory = inventoryID;\n this.name = name;\n this.quantity = quantity;\n this.status = status;\n}", + "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": true, @@ -37955,9 +53946,18 @@ "is_entrypoint": false }, "getInventoryQuantity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventoryQuantity()", - "comment": "/**\r\n\t * Method getInventoryQuantity.\r\n\t * \r\n\t * @return int\r\n\t */", + "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" @@ -37965,9 +53965,10 @@ "thrown_exceptions": [], "declaration": "public int getInventoryQuantity()", "parameters": [], - "code": "{\n return inventoryQuantity;\n}", + "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": false, @@ -37983,9 +53984,18 @@ "is_entrypoint": false }, "(BackOrder)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "BackOrderItem(BackOrder)", - "comment": "/**\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrder\r\n\t */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -37997,12 +54007,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "name": "backOrder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 70, + "end_line": 70, + "start_column": 23, + "end_column": 41 } ], - "code": "{\n try {\n this.backOrderID = backOrder.getBackOrderID();\n this.inventory = backOrder.getInventory();\n this.quantity = backOrder.getQuantity();\n this.status = backOrder.getStatus();\n this.lowDate = backOrder.getLowDate();\n this.orderDate = backOrder.getOrderDate();\n this.supplierOrderID = backOrder.getSupplierOrderID();\n } catch (Exception e) {\n Util.debug(\"BackOrderItem - Exception: \" + e);\n }\n}", + "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": true, @@ -38022,6 +54037,7 @@ "call_sites": [ { "method_name": "getBackOrderID", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -38042,6 +54058,7 @@ }, { "method_name": "getInventory", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -38062,6 +54079,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -38082,6 +54100,7 @@ }, { "method_name": "getStatus", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -38102,6 +54121,7 @@ }, { "method_name": "getLowDate", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -38122,6 +54142,7 @@ }, { "method_name": "getOrderDate", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -38142,6 +54163,7 @@ }, { "method_name": "getSupplierOrderID", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -38162,6 +54184,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -38190,9 +54213,18 @@ "is_entrypoint": false }, "setInventoryQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setInventoryQuantity(int)", - "comment": "/**\r\n\t * Method setInventoryQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t */", + "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" @@ -38204,12 +54236,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 179, + "end_line": 179, + "start_column": 35, + "end_column": 46 } ], - "code": "{\n this.inventoryQuantity = quantity;\n}", + "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": false, @@ -38226,9 +54263,18 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "BackOrderItem()", - "comment": "/** Default constructor. */", + "comments": [ + { + "content": " Default constructor. ", + "start_line": 44, + "end_line": 44, + "start_column": 2, + "end_column": 28, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -38236,9 +54282,10 @@ "thrown_exceptions": [], "declaration": "public BackOrderItem()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 45, "end_line": 46, + "code_start_line": 45, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -38252,9 +54299,18 @@ "is_entrypoint": false }, "getSupplierOrderID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSupplierOrderID()", - "comment": "/**\r\n\t * Method getSupplierOrderID.\r\n\t * \r\n\t * @return String\r\n\t */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -38262,9 +54318,10 @@ "thrown_exceptions": [], "declaration": "public String getSupplierOrderID()", "parameters": [], - "code": "{\n return supplierOrderID;\n}", + "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, @@ -38280,9 +54337,18 @@ "is_entrypoint": false }, "getName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getName()", - "comment": "/**\r\n\t * Method getName.\r\n\t * \r\n\t * @return String\r\n\t */", + "comments": [ + { + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -38290,9 +54356,10 @@ "thrown_exceptions": [], "declaration": "public String getName()", "parameters": [], - "code": "{\n return name;\n}", + "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, @@ -38308,9 +54375,18 @@ "is_entrypoint": false }, "setQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setQuantity(int)", - "comment": "/**\r\n\t * Method setQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -38322,12 +54398,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -38343,9 +54424,18 @@ "is_entrypoint": false }, "setSupplierOrderID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setSupplierOrderID(String)", - "comment": "/**\r\n\t * Method setSupplierOrderID.\r\n\t * \r\n\t * @param supplierOrderID\r\n\t */", + "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, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -38357,12 +54447,17 @@ "type": "java.lang.String", "name": "supplierOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 116, + "end_line": 116, + "start_column": 33, + "end_column": 54 } ], - "code": "{\n this.supplierOrderID = supplierOrderID;\n}", + "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, @@ -38380,9 +54475,18 @@ "is_entrypoint": false }, "getStatus()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getStatus()", - "comment": "/**\r\n\t * Method getStatus.\r\n\t * \r\n\t * @return String\r\n\t */", + "comments": [ + { + "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" @@ -38390,9 +54494,10 @@ "thrown_exceptions": [], "declaration": "public String getStatus()", "parameters": [], - "code": "{\n return status;\n}", + "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, @@ -38408,9 +54513,18 @@ "is_entrypoint": false }, "getBackOrderID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBackOrderID()", - "comment": "/**\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @return String\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -38418,9 +54532,10 @@ "thrown_exceptions": [], "declaration": "public String getBackOrderID()", "parameters": [], - "code": "{\n return backOrderID;\n}", + "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, @@ -38438,7 +54553,14 @@ }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "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, @@ -38454,7 +54576,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -38468,7 +54597,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -38482,7 +54618,14 @@ "annotations": [] }, { - "comment": "// from BackOrder", + "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, @@ -38496,7 +54639,14 @@ "annotations": [] }, { - "comment": "// from BackOrder", + "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, @@ -38510,7 +54660,14 @@ "annotations": [] }, { - "comment": "// from BackOrder", + "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, @@ -38524,7 +54681,14 @@ "annotations": [] }, { - "comment": "// from BackOrder", + "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, @@ -38538,7 +54702,14 @@ "annotations": [] }, { - "comment": "// from BackOrder", + "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, @@ -38552,7 +54723,14 @@ "annotations": [] }, { - "comment": "// from BackOrder", + "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, @@ -38566,7 +54744,14 @@ "annotations": [] }, { - "comment": "// from BackOrder", + "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, @@ -38580,15 +54765,475 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "comment": "//", + "/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", @@ -38606,7 +55251,336 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * ShoppingItem wraps the JPA Inventory entity class to provide additional methods needed by the web\r\n * app.\r\n */", + "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 + }, + { + "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": "\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" @@ -38619,9 +55593,18 @@ "nested_type_declarations": [], "callable_declarations": { "setImage(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setImage(String)", - "comment": "/**\r\n\t * @param image\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImage(java.lang.String)\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -38633,12 +55616,17 @@ "type": "java.lang.String", "name": "image", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 166, + "end_line": 166, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n item.setImage(image);\n}", + "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, @@ -38649,6 +55637,7 @@ "call_sites": [ { "method_name": "setImage", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -38677,9 +55666,18 @@ "is_entrypoint": false }, "getDescription()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getDescription()", - "comment": "/**\r\n\t * @return String description of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getDescription()\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -38687,9 +55685,10 @@ "thrown_exceptions": [], "declaration": "public String getDescription()", "parameters": [], - "code": "{\n return item.getDescription();\n}", + "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, @@ -38700,6 +55699,7 @@ "call_sites": [ { "method_name": "getDescription", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -38726,9 +55726,18 @@ "is_entrypoint": false }, "increaseInventory(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "increaseInventory(int)", - "comment": "/**\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#increaseInventory(int)\r\n\t */", + "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": [], "modifiers": [ "public" @@ -38740,12 +55749,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 86, + "end_line": 86, + "start_column": 32, + "end_column": 43 } ], - "code": "{\n item.increaseInventory(quantity);\n}", + "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, @@ -38756,6 +55770,7 @@ "call_sites": [ { "method_name": "increaseInventory", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -38784,9 +55799,18 @@ "is_entrypoint": false }, "setBackOrder(BackOrder)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBackOrder(BackOrder)", - "comment": "/**\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 */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -38798,12 +55822,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "name": "backOrder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 370, + "end_line": 370, + "start_column": 27, + "end_column": 45 } ], - "code": "{\n item.setBackOrder(backOrder);\n}", + "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, @@ -38814,6 +55843,7 @@ "call_sites": [ { "method_name": "setBackOrder", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -38842,9 +55872,18 @@ "is_entrypoint": false }, "setName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setName(String)", - "comment": "/**\r\n\t * @param name\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setName(java.lang.String)\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -38856,12 +55895,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 182, + "end_line": 182, + "start_column": 22, + "end_column": 32 } ], - "code": "{\n item.setName(name);\n}", + "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, @@ -38872,6 +55916,7 @@ "call_sites": [ { "method_name": "setName", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -38900,9 +55945,18 @@ "is_entrypoint": false }, "setImgbytes(byte[])": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setImgbytes(byte[])", - "comment": "/**\r\n\t * @param imgbytes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImgbytes(byte[])\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -38914,12 +55968,17 @@ "type": "byte[]", "name": "imgbytes", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 354, + "end_line": 354, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n item.setImgbytes(imgbytes);\n}", + "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, @@ -38930,6 +55989,7 @@ "call_sites": [ { "method_name": "setImgbytes", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -38958,9 +56018,18 @@ "is_entrypoint": false }, "getMaxThreshold()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getMaxThreshold()", - "comment": "/**\r\n\t * @return int maximum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMaxThreshold()\r\n\t */", + "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" @@ -38968,9 +56037,10 @@ "thrown_exceptions": [], "declaration": "public int getMaxThreshold()", "parameters": [], - "code": "{\n return item.getMaxThreshold();\n}", + "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, @@ -38981,6 +56051,7 @@ "call_sites": [ { "method_name": "getMaxThreshold", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39007,9 +56078,18 @@ "is_entrypoint": false }, "getInventoryId()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventoryId()", - "comment": "/**\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 */", + "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": [ "public" @@ -39017,9 +56097,10 @@ "thrown_exceptions": [], "declaration": "public String getInventoryId()", "parameters": [], - "code": "{\n return item.getInventoryId();\n}", + "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, @@ -39030,6 +56111,7 @@ "call_sites": [ { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39056,9 +56138,18 @@ "is_entrypoint": false }, "getPkginfo()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPkginfo()", - "comment": "/**\r\n\t * @return String package information\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPkginfo()\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -39066,9 +56157,10 @@ "thrown_exceptions": [], "declaration": "public String getPkginfo()", "parameters": [], - "code": "{\n return item.getPkginfo();\n}", + "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, @@ -39079,6 +56171,7 @@ "call_sites": [ { "method_name": "getPkginfo", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39105,9 +56198,18 @@ "is_entrypoint": false }, "getMinThreshold()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getMinThreshold()", - "comment": "/**\r\n\t * @return int minimum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMinThreshold()\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -39115,9 +56217,10 @@ "thrown_exceptions": [], "declaration": "public int getMinThreshold()", "parameters": [], - "code": "{\n return item.getMinThreshold();\n}", + "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, @@ -39128,6 +56231,7 @@ "call_sites": [ { "method_name": "getMinThreshold", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39154,9 +56258,18 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "hashCode()", - "comment": "/**\r\n\t * @return int hashcode for this object\r\n\t * @see java.lang.Object#hashCode()\r\n\t */", + "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" @@ -39164,9 +56277,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n return item.hashCode();\n}", + "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, @@ -39177,6 +56291,7 @@ "call_sites": [ { "method_name": "hashCode", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39203,9 +56318,18 @@ "is_entrypoint": false }, "setNotes(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setNotes(String)", - "comment": "/**\r\n\t * @param notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setNotes(java.lang.String)\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -39217,12 +56341,17 @@ "type": "java.lang.String", "name": "notes", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 198, + "end_line": 198, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n item.setNotes(notes);\n}", + "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, @@ -39233,6 +56362,7 @@ "call_sites": [ { "method_name": "setNotes", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39261,9 +56391,18 @@ "is_entrypoint": false }, "setMinThreshold(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setMinThreshold(int)", - "comment": "/**\r\n\t * @param minThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMinThreshold(int)\r\n\t */", + "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" @@ -39275,12 +56414,17 @@ "type": "int", "name": "minThreshold", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 282, + "end_line": 282, + "start_column": 30, + "end_column": 45 } ], - "code": "{\n item.setMinThreshold(minThreshold);\n}", + "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, @@ -39291,6 +56435,7 @@ "call_sites": [ { "method_name": "setMinThreshold", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39319,9 +56464,18 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPrice()", - "comment": "/**\r\n\t * @return float Price of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPrice()\r\n\t */", + "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" @@ -39329,9 +56483,10 @@ "thrown_exceptions": [], "declaration": "public float getPrice()", "parameters": [], - "code": "{\n return item.getPrice();\n}", + "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, @@ -39342,6 +56497,7 @@ "call_sites": [ { "method_name": "getPrice", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39368,9 +56524,18 @@ "is_entrypoint": false }, "setInventoryId(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setInventoryId(String)", - "comment": "/**\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setInventoryId(java.lang.String)\r\n\t */", + "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" @@ -39382,12 +56547,17 @@ "type": "java.lang.String", "name": "id", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 298, + "end_line": 298, + "start_column": 29, + "end_column": 37 } ], - "code": "{\n item.setInventoryId(id);\n}", + "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, @@ -39398,6 +56568,7 @@ "call_sites": [ { "method_name": "setInventoryId", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39426,9 +56597,18 @@ "is_entrypoint": false }, "setPrivacy(boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPrivacy(boolean)", - "comment": "/**\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrivacy(boolean)\r\n\t */", + "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" @@ -39440,12 +56620,17 @@ "type": "boolean", "name": "isPublic", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 338, + "end_line": 338, + "start_column": 25, + "end_column": 40 } ], - "code": "{\n item.setPrivacy(isPublic);\n}", + "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, @@ -39456,6 +56641,7 @@ "call_sites": [ { "method_name": "setPrivacy", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39484,9 +56670,18 @@ "is_entrypoint": false }, "setMaxThreshold(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setMaxThreshold(int)", - "comment": "/**\r\n\t * @param maxThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMaxThreshold(int)\r\n\t */", + "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" @@ -39498,12 +56693,17 @@ "type": "int", "name": "maxThreshold", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 266, + "end_line": 266, + "start_column": 30, + "end_column": 45 } ], - "code": "{\n item.setMaxThreshold(maxThreshold);\n}", + "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, @@ -39514,6 +56714,7 @@ "call_sites": [ { "method_name": "setMaxThreshold", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39542,9 +56743,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "ShoppingItem()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -39552,9 +56753,10 @@ "thrown_exceptions": [], "declaration": "public ShoppingItem()", "parameters": [], - "code": "{\n}", + "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, @@ -39568,9 +56770,18 @@ "is_entrypoint": false }, "getName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getName()", - "comment": "/**\r\n\t * @return String name of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getName()\r\n\t */", + "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" @@ -39578,9 +56789,10 @@ "thrown_exceptions": [], "declaration": "public String getName()", "parameters": [], - "code": "{\n return item.getName();\n}", + "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, @@ -39591,6 +56803,7 @@ "call_sites": [ { "method_name": "getName", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39617,9 +56830,18 @@ "is_entrypoint": false }, "setQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setQuantity(int)", - "comment": "/**\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setQuantity(int)\r\n\t */", + "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" @@ -39631,12 +56853,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 250, + "end_line": 250, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n item.setQuantity(quantity);\n}", + "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, @@ -39647,6 +56874,7 @@ "call_sites": [ { "method_name": "setQuantity", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39675,9 +56903,18 @@ "is_entrypoint": false }, "setPkginfo(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPkginfo(String)", - "comment": "/**\r\n\t * @param pkginfo\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPkginfo(java.lang.String)\r\n\t */", + "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" @@ -39689,12 +56926,17 @@ "type": "java.lang.String", "name": "pkginfo", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 214, + "end_line": 214, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n item.setPkginfo(pkginfo);\n}", + "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, @@ -39705,6 +56947,7 @@ "call_sites": [ { "method_name": "setPkginfo", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39733,9 +56976,18 @@ "is_entrypoint": false }, "getCost()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCost()", - "comment": "/**\r\n\t * @return float cost of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCost()\r\n\t */", + "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" @@ -39743,9 +56995,10 @@ "thrown_exceptions": [], "declaration": "public float getCost()", "parameters": [], - "code": "{\n return item.getCost();\n}", + "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, @@ -39756,6 +57009,7 @@ "call_sites": [ { "method_name": "getCost", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39782,9 +57036,18 @@ "is_entrypoint": false }, "setID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setID(String)", - "comment": "/**\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setID(java.lang.String)\r\n\t */", + "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" @@ -39796,12 +57059,17 @@ "type": "java.lang.String", "name": "id", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 314, + "end_line": 314, + "start_column": 20, + "end_column": 28 } ], - "code": "{\n item.setID(id);\n}", + "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, @@ -39812,6 +57080,7 @@ "call_sites": [ { "method_name": "setID", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39840,9 +57109,18 @@ "is_entrypoint": false }, "setCategory(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCategory(int)", - "comment": "/**\r\n\t * @param category\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCategory(int)\r\n\t */", + "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" @@ -39854,12 +57132,17 @@ "type": "int", "name": "category", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 102, + "end_line": 102, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n item.setCategory(category);\n}", + "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, @@ -39870,6 +57153,7 @@ "call_sites": [ { "method_name": "setCategory", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -39898,9 +57182,18 @@ "is_entrypoint": false }, "getHeading()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getHeading()", - "comment": "/**\r\n\t * @return String item heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getHeading()\r\n\t */", + "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" @@ -39908,9 +57201,10 @@ "thrown_exceptions": [], "declaration": "public String getHeading()", "parameters": [], - "code": "{\n return item.getHeading();\n}", + "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, @@ -39921,6 +57215,7 @@ "call_sites": [ { "method_name": "getHeading", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39947,9 +57242,18 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getQuantity()", - "comment": "/**\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 */", + "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.\")" ], @@ -39959,9 +57263,10 @@ "thrown_exceptions": [], "declaration": "public int getQuantity()", "parameters": [], - "code": "{\n return item.getQuantity();\n}", + "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, @@ -39972,6 +57277,7 @@ "call_sites": [ { "method_name": "getQuantity", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -39998,9 +57304,18 @@ "is_entrypoint": false }, "equals(Object)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "equals(Object)", - "comment": "/**\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 */", + "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" @@ -40012,12 +57327,17 @@ "type": "java.lang.Object", "name": "o", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 62, + "end_line": 62, + "start_column": 24, + "end_column": 31 } ], - "code": "{\n return item.equals(o);\n}", + "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, @@ -40028,6 +57348,7 @@ "call_sites": [ { "method_name": "equals", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -40056,9 +57377,18 @@ "is_entrypoint": false }, "getBackOrder()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBackOrder()", - "comment": "/**\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 */", + "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" @@ -40066,9 +57396,10 @@ "thrown_exceptions": [], "declaration": "public BackOrder getBackOrder()", "parameters": [], - "code": "{\n return item.getBackOrder();\n}", + "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, @@ -40079,6 +57410,7 @@ "call_sites": [ { "method_name": "getBackOrder", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40105,9 +57437,18 @@ "is_entrypoint": false }, "getImage()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getImage()", - "comment": "/**\r\n\t * @return String image URI\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImage()\r\n\t */", + "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" @@ -40115,9 +57456,10 @@ "thrown_exceptions": [], "declaration": "public String getImage()", "parameters": [], - "code": "{\n return item.getImage();\n}", + "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": false, @@ -40128,6 +57470,7 @@ "call_sites": [ { "method_name": "getImage", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40154,9 +57497,18 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "toString()", - "comment": "/**\r\n\t * @return String String representation of this object\r\n\t * @see java.lang.Object#toString()\r\n\t */", + "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" @@ -40164,9 +57516,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return item.toString();\n}", + "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, @@ -40177,6 +57530,7 @@ "call_sites": [ { "method_name": "toString", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40203,9 +57557,18 @@ "is_entrypoint": false }, "isPublic()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "isPublic()", - "comment": "/**\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 */", + "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" @@ -40213,9 +57576,10 @@ "thrown_exceptions": [], "declaration": "public boolean isPublic()", "parameters": [], - "code": "{\n return item.isPublic();\n}", + "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, @@ -40226,6 +57590,7 @@ "call_sites": [ { "method_name": "isPublic", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40252,9 +57617,18 @@ "is_entrypoint": false }, "setIsPublic(boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setIsPublic(boolean)", - "comment": "/**\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setIsPublic(boolean)\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -40266,12 +57640,17 @@ "type": "boolean", "name": "isPublic", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 330, + "end_line": 330, + "start_column": 26, + "end_column": 41 } ], - "code": "{\n item.setIsPublic(isPublic);\n}", + "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, @@ -40282,6 +57661,7 @@ "call_sites": [ { "method_name": "setIsPublic", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -40310,9 +57690,9 @@ "is_entrypoint": false }, "(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "ShoppingItem(Inventory)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -40324,12 +57704,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "i", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 40, + "end_line": 40, + "start_column": 22, + "end_column": 32 } ], - "code": "{\n item = i;\n}", + "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, @@ -40345,9 +57730,18 @@ "is_entrypoint": false }, "setPrice(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPrice(float)", - "comment": "/**\r\n\t * @param price\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrice(float)\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -40359,12 +57753,17 @@ "type": "float", "name": "price", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 23, + "end_column": 33 } ], - "code": "{\n item.setPrice(price);\n}", + "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, @@ -40375,6 +57774,7 @@ "call_sites": [ { "method_name": "setPrice", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -40403,9 +57803,9 @@ "is_entrypoint": false }, "(String, String, String, String, String, String, float, float, int, int, String, boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "ShoppingItem(String, String, String, String, String, String, float, float, int, int, String, boolean)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -40417,78 +57817,127 @@ "type": "java.lang.String", "name": "key", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 22, + "end_column": 31 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 34, + "end_column": 44 }, { "type": "java.lang.String", "name": "heading", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 47, + "end_column": 60 }, { "type": "java.lang.String", "name": "desc", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 63, + "end_column": 73 }, { "type": "java.lang.String", "name": "pkginfo", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 76, + "end_column": 89 }, { "type": "java.lang.String", "name": "image", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 92, + "end_column": 103 }, { "type": "float", "name": "price", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 106, + "end_column": 116 }, { "type": "float", "name": "cost", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 45, + "end_line": 45, + "start_column": 4, + "end_column": 13 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 45, + "end_line": 45, + "start_column": 16, + "end_column": 27 }, { "type": "int", "name": "category", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 45, + "end_line": 45, + "start_column": 30, + "end_column": 41 }, { "type": "java.lang.String", "name": "notes", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 45, + "end_line": 45, + "start_column": 44, + "end_column": 55 }, { "type": "boolean", "name": "isPublic", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 45, + "end_line": 45, + "start_column": 58, + "end_column": 73 } ], - "code": "{\n item = new Inventory(key, name, heading, desc, pkginfo, image, price, cost, quantity, category, notes, isPublic);\n}", + "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, @@ -40499,6 +57948,7 @@ "call_sites": [ { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -40538,9 +57988,18 @@ "is_entrypoint": false }, "getID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getID()", - "comment": "/**\r\n\t * @return String item ID\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getID()\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -40548,9 +58007,10 @@ "thrown_exceptions": [], "declaration": "public String getID()", "parameters": [], - "code": "{\n return item.getID();\n}", + "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, @@ -40561,6 +58021,7 @@ "call_sites": [ { "method_name": "getID", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40587,9 +58048,18 @@ "is_entrypoint": false }, "getImgbytes()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getImgbytes()", - "comment": "/**\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 */", + "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" @@ -40597,9 +58067,10 @@ "thrown_exceptions": [], "declaration": "public byte[] getImgbytes()", "parameters": [], - "code": "{\n return item.getImgbytes();\n}", + "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, @@ -40610,6 +58081,7 @@ "call_sites": [ { "method_name": "getImgbytes", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40636,9 +58108,18 @@ "is_entrypoint": false }, "getSubtotalPrice()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSubtotalPrice()", - "comment": "/**\r\n\t * Subtotal price calculates a cost based on price and quantity.\r\n\t */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -40646,9 +58127,10 @@ "thrown_exceptions": [], "declaration": "public float getSubtotalPrice()", "parameters": [], - "code": "{\n return getPrice() * getQuantity();\n}", + "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, @@ -40657,6 +58139,7 @@ "call_sites": [ { "method_name": "getPrice", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -40677,6 +58160,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -40703,9 +58187,18 @@ "is_entrypoint": false }, "setDescription(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setDescription(String)", - "comment": "/**\r\n\t * @param description\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setDescription(java.lang.String)\r\n\t */", + "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" @@ -40717,12 +58210,17 @@ "type": "java.lang.String", "name": "description", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 134, + "end_line": 134, + "start_column": 29, + "end_column": 46 } ], - "code": "{\n item.setDescription(description);\n}", + "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, @@ -40733,6 +58231,7 @@ "call_sites": [ { "method_name": "setDescription", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -40761,9 +58260,18 @@ "is_entrypoint": false }, "setHeading(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setHeading(String)", - "comment": "/**\r\n\t * @param heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setHeading(java.lang.String)\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -40775,12 +58283,17 @@ "type": "java.lang.String", "name": "heading", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 150, + "end_line": 150, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n item.setHeading(heading);\n}", + "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, @@ -40791,6 +58304,7 @@ "call_sites": [ { "method_name": "setHeading", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -40819,9 +58333,18 @@ "is_entrypoint": false }, "getNotes()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getNotes()", - "comment": "/**\r\n\t * @return String item notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getNotes()\r\n\t */", + "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" @@ -40829,9 +58352,10 @@ "thrown_exceptions": [], "declaration": "public String getNotes()", "parameters": [], - "code": "{\n return item.getNotes();\n}", + "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, @@ -40842,6 +58366,7 @@ "call_sites": [ { "method_name": "getNotes", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40868,9 +58393,18 @@ "is_entrypoint": false }, "getCategory()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCategory()", - "comment": "/**\r\n\t * @return int category enum int value\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCategory()\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -40878,9 +58412,10 @@ "thrown_exceptions": [], "declaration": "public int getCategory()", "parameters": [], - "code": "{\n return item.getCategory();\n}", + "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, @@ -40891,6 +58426,7 @@ "call_sites": [ { "method_name": "getCategory", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -40917,9 +58453,18 @@ "is_entrypoint": false }, "setCost(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCost(float)", - "comment": "/**\r\n\t * @param cost\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCost(float)\r\n\t */", + "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" @@ -40931,12 +58476,17 @@ "type": "float", "name": "cost", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 118, + "end_line": 118, + "start_column": 22, + "end_column": 31 } ], - "code": "{\n item.setCost(cost);\n}", + "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, @@ -40947,6 +58497,7 @@ "call_sites": [ { "method_name": "setCost", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -40977,7 +58528,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -40993,7 +58551,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -41007,15 +58572,211 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "comment": "//", + "/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": [ + { + "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 * 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 * \r\n\t ", + "start_line": 28, + "end_line": 30, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Add the item to the shopping cart. ", + "start_line": 38, + "end_line": 38, + "start_column": 2, + "end_column": 42, + "is_javadoc": true + }, + { + "content": " Update the item in the shopping cart. ", + "start_line": 43, + "end_line": 43, + "start_column": 2, + "end_column": 45, + "is_javadoc": true + }, + { + "content": " Remove the item from the shopping cart. ", + "start_line": 48, + "end_line": 48, + "start_column": 2, + "end_column": 47, + "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, + "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, + "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, + "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.util.Enumeration", "java.util.Hashtable", @@ -41032,7 +58793,72 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * A class to hold a shopping cart's contents.\r\n */", + "comments": [ + { + "content": "\r\n\t * \r\n\t ", + "start_line": 28, + "end_line": 30, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Add the item to the shopping cart. ", + "start_line": 38, + "end_line": 38, + "start_column": 2, + "end_column": 42, + "is_javadoc": true + }, + { + "content": " Update the item in the shopping cart. ", + "start_line": 43, + "end_line": 43, + "start_column": 2, + "end_column": 45, + "is_javadoc": true + }, + { + "content": " Remove the item from the shopping cart. ", + "start_line": 48, + "end_line": 48, + "start_column": 2, + "end_column": 47, + "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, + "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, + "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, + "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, + "is_javadoc": true + } + ], "implements_list": [ "java.io.Serializable" ], @@ -41044,9 +58870,18 @@ "nested_type_declarations": [], "callable_declarations": { "getQuantity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getQuantity(String)", - "comment": "/**\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 */", + "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" @@ -41058,12 +58893,17 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 25, + "end_column": 42 } ], - "code": "{\n Integer quantity = (Integer) table.get(inventoryID);\n if (quantity == null)\n return 0;\n else\n return quantity.intValue();\n}", + "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, @@ -41076,6 +58916,7 @@ "call_sites": [ { "method_name": "get", + "comment": null, "receiver_expr": "table", "receiver_type": "java.util.Hashtable", "argument_types": [ @@ -41098,6 +58939,7 @@ }, { "method_name": "intValue", + "comment": null, "receiver_expr": "quantity", "receiver_type": "java.lang.Integer", "argument_types": [], @@ -41119,6 +58961,14 @@ ], "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)", @@ -41134,9 +58984,18 @@ "is_entrypoint": false }, "addItem(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "addItem(Inventory)", - "comment": "/** Add the item to the shopping cart. */", + "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" @@ -41148,12 +59007,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "si", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 39, + "end_line": 39, + "start_column": 22, + "end_column": 33 } ], - "code": "{\n table.put(si.getID(), new Integer(si.getQuantity()));\n}", + "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, @@ -41164,6 +59028,7 @@ "call_sites": [ { "method_name": "put", + "comment": null, "receiver_expr": "table", "receiver_type": "java.util.Hashtable", "argument_types": [ @@ -41187,6 +59052,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -41207,6 +59073,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -41227,6 +59094,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -41255,9 +59123,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "ShoppingCartContent()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -41265,9 +59133,10 @@ "thrown_exceptions": [], "declaration": "public ShoppingCartContent()", "parameters": [], - "code": "{\n table = new Hashtable();\n}", + "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, @@ -41278,6 +59147,7 @@ "call_sites": [ { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.Hashtable", "argument_types": [], @@ -41304,9 +59174,18 @@ "is_entrypoint": false }, "getInventoryID(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventoryID(int)", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -41318,12 +59197,17 @@ "type": "int", "name": "index", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 68, + "end_line": 68, + "start_column": 31, + "end_column": 39 } ], - "code": "{\n String retval = null;\n String inventoryID;\n int cnt = 0;\n for (Enumeration myEnum = table.keys(); myEnum.hasMoreElements(); cnt++) {\n inventoryID = (String) myEnum.nextElement();\n if (index == cnt) {\n retval = inventoryID;\n break;\n }\n }\n return retval;\n}", + "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, @@ -41337,6 +59221,7 @@ "call_sites": [ { "method_name": "keys", + "comment": null, "receiver_expr": "table", "receiver_type": "java.util.Hashtable", "argument_types": [], @@ -41357,6 +59242,7 @@ }, { "method_name": "hasMoreElements", + "comment": null, "receiver_expr": "myEnum", "receiver_type": "java.util.Enumeration", "argument_types": [], @@ -41377,6 +59263,7 @@ }, { "method_name": "nextElement", + "comment": null, "receiver_expr": "myEnum", "receiver_type": "java.util.Enumeration", "argument_types": [], @@ -41398,6 +59285,14 @@ ], "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", @@ -41407,6 +59302,14 @@ "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": "", @@ -41416,6 +59319,14 @@ "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", @@ -41425,6 +59336,14 @@ "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()", @@ -41440,9 +59359,18 @@ "is_entrypoint": false }, "removeItem(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "removeItem(Inventory)", - "comment": "/** Remove the item from the shopping cart. */", + "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" @@ -41454,12 +59382,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "si", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 49, + "end_line": 49, + "start_column": 25, + "end_column": 36 } ], - "code": "{\n table.remove(si.getID());\n}", + "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, @@ -41470,6 +59403,7 @@ "call_sites": [ { "method_name": "remove", + "comment": null, "receiver_expr": "table", "receiver_type": "java.util.Hashtable", "argument_types": [ @@ -41492,6 +59426,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -41518,9 +59453,18 @@ "is_entrypoint": false }, "updateItem(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "updateItem(Inventory)", - "comment": "/** Update the item in the shopping cart. */", + "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" @@ -41532,12 +59476,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "si", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 25, + "end_column": 36 } ], - "code": "{\n table.put(si.getID(), new Integer(si.getQuantity()));\n}", + "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, @@ -41548,6 +59497,7 @@ "call_sites": [ { "method_name": "put", + "comment": null, "receiver_expr": "table", "receiver_type": "java.util.Hashtable", "argument_types": [ @@ -41571,6 +59521,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -41591,6 +59542,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -41611,6 +59563,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -41639,9 +59592,18 @@ "is_entrypoint": false }, "size()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "size()", - "comment": "/**\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 */", + "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" @@ -41649,9 +59611,10 @@ "thrown_exceptions": [], "declaration": "public int size()", "parameters": [], - "code": "{\n return table.size();\n}", + "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, @@ -41662,6 +59625,7 @@ "call_sites": [ { "method_name": "size", + "comment": null, "receiver_expr": "table", "receiver_type": "java.util.Hashtable", "argument_types": [], @@ -41690,7 +59654,14 @@ }, "field_declarations": [ { - "comment": "/**\r\n\t * \r\n\t */", + "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, @@ -41706,7 +59677,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -41720,15 +59698,155 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", - "comment": "//", + "/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", @@ -41746,7 +59864,16 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Simple helper class for JSF validators to handle error messages.\r\n *\r\n */", + "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" @@ -41756,9 +59883,9 @@ "nested_type_declarations": [], "callable_declarations": { "addErrorMessage(FacesContext, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "addErrorMessage(FacesContext, String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "protected", @@ -41771,18 +59898,27 @@ "type": "FacesContext", "name": "context", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 30, + "end_line": 30, + "start_column": 40, + "end_column": 59 }, { "type": "java.lang.String", "name": "message", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 30, + "end_line": 30, + "start_column": 62, + "end_column": 75 } ], - "code": "{\n FacesMessage facesMessage = new FacesMessage();\n facesMessage.setDetail(message);\n facesMessage.setSummary(message);\n facesMessage.setSeverity(FacesMessage.SEVERITY_ERROR);\n throw new ValidatorException(facesMessage);\n}", + "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, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -41795,6 +59931,7 @@ "call_sites": [ { "method_name": "setDetail", + "comment": null, "receiver_expr": "facesMessage", "receiver_type": "", "argument_types": [ @@ -41817,6 +59954,7 @@ }, { "method_name": "setSummary", + "comment": null, "receiver_expr": "facesMessage", "receiver_type": "", "argument_types": [ @@ -41839,6 +59977,7 @@ }, { "method_name": "setSeverity", + "comment": null, "receiver_expr": "facesMessage", "receiver_type": "", "argument_types": [ @@ -41861,6 +60000,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "FacesMessage", "argument_types": [], @@ -41881,6 +60021,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "ValidatorException", "argument_types": [ @@ -41904,6 +60045,14 @@ ], "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()", @@ -41919,9 +60068,9 @@ "is_entrypoint": false }, "addErrorMessage(FacesContext, UIComponent)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "addErrorMessage(FacesContext, UIComponent)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "protected", @@ -41934,18 +60083,27 @@ "type": "FacesContext", "name": "context", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 38, + "end_line": 38, + "start_column": 40, + "end_column": 59 }, { "type": "UIComponent", "name": "component", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 38, + "end_line": 38, + "start_column": 62, + "end_column": 82 } ], - "code": "{\n String errorMessage = (String) component.getAttributes().get(\"errorMessage\");\n addErrorMessage(context, errorMessage);\n}", + "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": false, @@ -41956,6 +60114,7 @@ "call_sites": [ { "method_name": "get", + "comment": null, "receiver_expr": "component.getAttributes()", "receiver_type": "", "argument_types": [ @@ -41978,6 +60137,7 @@ }, { "method_name": "getAttributes", + "comment": null, "receiver_expr": "component", "receiver_type": "", "argument_types": [], @@ -41998,6 +60158,7 @@ }, { "method_name": "addErrorMessage", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -42022,6 +60183,14 @@ ], "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\")", @@ -42038,15 +60207,179 @@ } }, "field_declarations": [], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "comment": "//", + "/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", @@ -42068,7 +60401,40 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * Customer is the bean mapping for the CUSTOMER table.\r\n * \r\n * @see Customer\r\n */", + "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" @@ -42082,9 +60448,9 @@ "nested_type_declarations": [], "callable_declarations": { "setAddrZip(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setAddrZip(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42096,12 +60462,17 @@ "type": "java.lang.String", "name": "addrZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 160, + "end_line": 160, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.addrZip = addrZip;\n}", + "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, @@ -42119,9 +60490,9 @@ "is_entrypoint": false }, "getCustomerID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCustomerID()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42129,9 +60500,10 @@ "thrown_exceptions": [], "declaration": "public String getCustomerID()", "parameters": [], - "code": "{\n return customerID;\n}", + "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, @@ -42147,9 +60519,9 @@ "is_entrypoint": false }, "setFirstName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setFirstName(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42161,12 +60533,17 @@ "type": "java.lang.String", "name": "firstName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.firstName = firstName;\n}", + "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, @@ -42184,9 +60561,9 @@ "is_entrypoint": false }, "getAddr2()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getAddr2()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42194,9 +60571,10 @@ "thrown_exceptions": [], "declaration": "public String getAddr2()", "parameters": [], - "code": "{\n return addr2;\n}", + "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, @@ -42212,9 +60590,9 @@ "is_entrypoint": false }, "setAddr2(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setAddr2(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42226,12 +60604,17 @@ "type": "java.lang.String", "name": "addr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 136, + "end_line": 136, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.addr2 = addr2;\n}", + "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, @@ -42249,9 +60632,9 @@ "is_entrypoint": false }, "getFirstName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getFirstName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42259,9 +60642,10 @@ "thrown_exceptions": [], "declaration": "public String getFirstName()", "parameters": [], - "code": "{\n return firstName;\n}", + "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, @@ -42277,9 +60661,9 @@ "is_entrypoint": false }, "setAddrState(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setAddrState(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42291,12 +60675,17 @@ "type": "java.lang.String", "name": "addrState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 152, + "end_line": 152, + "start_column": 27, + "end_column": 42 } ], - "code": "{\n this.addrState = addrState;\n}", + "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, @@ -42314,9 +60703,9 @@ "is_entrypoint": false }, "getAddrCity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getAddrCity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42324,9 +60713,10 @@ "thrown_exceptions": [], "declaration": "public String getAddrCity()", "parameters": [], - "code": "{\n return addrCity;\n}", + "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, @@ -42342,9 +60732,9 @@ "is_entrypoint": false }, "setCustomerID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCustomerID(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42356,12 +60746,17 @@ "type": "java.lang.String", "name": "customerID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 168, + "end_line": 168, + "start_column": 28, + "end_column": 44 } ], - "code": "{\n this.customerID = customerID;\n}", + "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, @@ -42379,9 +60774,9 @@ "is_entrypoint": false }, "getAddr1()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getAddr1()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42389,9 +60784,10 @@ "thrown_exceptions": [], "declaration": "public String getAddr1()", "parameters": [], - "code": "{\n return addr1;\n}", + "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, @@ -42407,9 +60803,9 @@ "is_entrypoint": false }, "setAddr1(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setAddr1(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42421,12 +60817,17 @@ "type": "java.lang.String", "name": "addr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 128, + "end_line": 128, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.addr1 = addr1;\n}", + "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, @@ -42444,9 +60845,9 @@ "is_entrypoint": false }, "getLastName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getLastName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42454,9 +60855,10 @@ "thrown_exceptions": [], "declaration": "public String getLastName()", "parameters": [], - "code": "{\n return lastName;\n}", + "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, @@ -42472,9 +60874,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Customer()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42482,9 +60884,10 @@ "thrown_exceptions": [], "declaration": "public Customer()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 63, "end_line": 64, + "code_start_line": 63, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -42498,9 +60901,9 @@ "is_entrypoint": false }, "getPassword()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPassword()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42508,9 +60911,10 @@ "thrown_exceptions": [], "declaration": "public String getPassword()", "parameters": [], - "code": "{\n return password;\n}", + "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, @@ -42526,9 +60930,9 @@ "is_entrypoint": false }, "getAddrZip()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getAddrZip()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42536,9 +60940,10 @@ "thrown_exceptions": [], "declaration": "public String getAddrZip()", "parameters": [], - "code": "{\n return addrZip;\n}", + "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, @@ -42554,9 +60959,9 @@ "is_entrypoint": false }, "setPhone(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPhone(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42568,12 +60973,17 @@ "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 200, + "end_line": 200, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.phone = phone;\n}", + "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, @@ -42591,9 +61001,18 @@ "is_entrypoint": false }, "(String, String, String, String, String, String, String, String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Customer(String, String, String, String, String, String, String, String, String, String)", - "comment": "/**\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 */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -42605,66 +61024,107 @@ "type": "java.lang.String", "name": "key", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 18, + "end_column": 27 }, { "type": "java.lang.String", "name": "password", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 30, + "end_column": 44 }, { "type": "java.lang.String", "name": "firstName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 47, + "end_column": 62 }, { "type": "java.lang.String", "name": "lastName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 65, + "end_column": 79 }, { "type": "java.lang.String", "name": "addr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 82, + "end_column": 93 }, { "type": "java.lang.String", "name": "addr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 96, + "end_column": 107 }, { "type": "java.lang.String", "name": "addrCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "addrState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 21, + "end_column": 36 }, { "type": "java.lang.String", "name": "addrZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 39, + "end_column": 52 }, { "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 55, + "end_column": 66 } ], - "code": "{\n this.setCustomerID(key);\n this.setPassword(password);\n this.setFirstName(firstName);\n this.setLastName(lastName);\n this.setAddr1(addr1);\n this.setAddr2(addr2);\n this.setAddrCity(addrCity);\n this.setAddrState(addrState);\n this.setAddrZip(addrZip);\n this.setPhone(phone);\n}", + "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": true, @@ -42683,6 +61143,7 @@ "call_sites": [ { "method_name": "setCustomerID", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42705,6 +61166,7 @@ }, { "method_name": "setPassword", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42727,6 +61189,7 @@ }, { "method_name": "setFirstName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42749,6 +61212,7 @@ }, { "method_name": "setLastName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42771,6 +61235,7 @@ }, { "method_name": "setAddr1", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42793,6 +61258,7 @@ }, { "method_name": "setAddr2", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42815,6 +61281,7 @@ }, { "method_name": "setAddrCity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42837,6 +61304,7 @@ }, { "method_name": "setAddrState", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42859,6 +61327,7 @@ }, { "method_name": "setAddrZip", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42881,6 +61350,7 @@ }, { "method_name": "setPhone", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -42909,9 +61379,9 @@ "is_entrypoint": false }, "getPhone()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPhone()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42919,9 +61389,10 @@ "thrown_exceptions": [], "declaration": "public String getPhone()", "parameters": [], - "code": "{\n return phone;\n}", + "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, @@ -42937,9 +61408,9 @@ "is_entrypoint": false }, "setAddrCity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setAddrCity(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42951,12 +61422,17 @@ "type": "java.lang.String", "name": "addrCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 144, + "end_line": 144, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.addrCity = addrCity;\n}", + "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, @@ -42974,9 +61450,9 @@ "is_entrypoint": false }, "setLastName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setLastName(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -42988,12 +61464,17 @@ "type": "java.lang.String", "name": "lastName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 184, + "end_line": 184, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.lastName = lastName;\n}", + "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, @@ -43011,9 +61492,18 @@ "is_entrypoint": false }, "verifyPassword(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "verifyPassword(String)", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -43025,12 +61515,17 @@ "type": "java.lang.String", "name": "password", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 111, + "end_line": 111, + "start_column": 32, + "end_column": 46 } ], - "code": "{\n return this.getPassword().equals(password);\n}", + "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, @@ -43041,6 +61536,7 @@ "call_sites": [ { "method_name": "equals", + "comment": null, "receiver_expr": "this.getPassword()", "receiver_type": "java.lang.String", "argument_types": [ @@ -43063,6 +61559,7 @@ }, { "method_name": "getPassword", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -43089,9 +61586,18 @@ "is_entrypoint": false }, "getFullName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getFullName()", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -43099,9 +61605,10 @@ "thrown_exceptions": [], "declaration": "public String getFullName()", "parameters": [], - "code": "{\n return this.getFirstName() + \" \" + this.getLastName();\n}", + "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, @@ -43110,6 +61617,7 @@ "call_sites": [ { "method_name": "getFirstName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -43130,6 +61638,7 @@ }, { "method_name": "getLastName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], @@ -43156,9 +61665,9 @@ "is_entrypoint": false }, "getAddrState()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getAddrState()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -43166,9 +61675,10 @@ "thrown_exceptions": [], "declaration": "public String getAddrState()", "parameters": [], - "code": "{\n return addrState;\n}", + "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, @@ -43184,9 +61694,9 @@ "is_entrypoint": false }, "setPassword(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPassword(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -43198,12 +61708,17 @@ "type": "java.lang.String", "name": "password", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 192, + "end_line": 192, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.password = password;\n}", + "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, @@ -43223,7 +61738,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -43239,7 +61761,14 @@ ] }, { - "comment": "", + "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, @@ -43253,7 +61782,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -43270,7 +61806,14 @@ ] }, { - "comment": "", + "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, @@ -43287,7 +61830,14 @@ ] }, { - "comment": "", + "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, @@ -43304,7 +61854,14 @@ ] }, { - "comment": "", + "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, @@ -43318,7 +61875,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -43335,7 +61899,14 @@ ] }, { - "comment": "", + "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, @@ -43352,7 +61923,14 @@ ] }, { - "comment": "", + "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, @@ -43368,7 +61946,14 @@ ] }, { - "comment": "", + "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, @@ -43385,15 +61970,219 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", - "comment": "//", + "/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": [ + { + "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 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 * 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": "\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": "\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 * 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": " 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": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], "imports": [ "java.io.Serializable", "javax.enterprise.context.Dependent", @@ -43415,7 +62204,80 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\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 */", + "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 + }, + { + "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": "\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 * 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": " 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 * 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 + } + ], "implements_list": [ "java.io.Serializable" ], @@ -43430,9 +62292,18 @@ "nested_type_declarations": [], "callable_declarations": { "createCustomer(String, String, String, String, String, String, String, String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "createCustomer(String, String, String, String, String, String, String, String, String, String)", - "comment": "/**\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 */", + "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" @@ -43444,66 +62315,107 @@ "type": "java.lang.String", "name": "customerID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 33, + "end_column": 49 }, { "type": "java.lang.String", "name": "password", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 67, + "end_line": 67, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "firstName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 68, + "end_line": 68, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "lastName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 69, + "end_line": 69, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "addr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 70, + "end_line": 70, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "addr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "addrCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "addrState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 73, + "end_line": 73, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "addrZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 74, + "end_line": 74, + "start_column": 4, + "end_column": 17 }, { "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 75, + "end_line": 75, + "start_column": 4, + "end_column": 15 } ], - "code": "{\n Customer c = new Customer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\n em.persist(c);\n em.flush();\n return c;\n}", + "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, @@ -43516,6 +62428,7 @@ "call_sites": [ { "method_name": "persist", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -43538,6 +62451,7 @@ }, { "method_name": "flush", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [], @@ -43558,6 +62472,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -43590,6 +62505,14 @@ ], "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)", @@ -43605,9 +62528,18 @@ "is_entrypoint": false }, "getCustomer(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCustomer(String)", - "comment": "/**\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 */", + "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" @@ -43619,12 +62551,17 @@ "type": "java.lang.String", "name": "customerID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 30, + "end_column": 46 } ], - "code": "{\n Customer c = em.find(Customer.class, customerID);\n return c;\n}", + "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, @@ -43637,6 +62574,7 @@ "call_sites": [ { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -43661,6 +62599,14 @@ ], "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)", @@ -43676,9 +62622,50 @@ "is_entrypoint": false }, "verifyUserAndPassword(String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "verifyUserAndPassword(String, String)", - "comment": "/**\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 */", + "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" @@ -43690,18 +62677,27 @@ "type": "java.lang.String", "name": "customerID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 153, + "end_line": 153, + "start_column": 38, + "end_column": 54 }, { "type": "java.lang.String", "name": "password", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 153, + "end_line": 153, + "start_column": 57, + "end_column": 71 } ], - "code": "{\n // Try to get customer.\n String results = null;\n Customer customer = null;\n customer = em.find(Customer.class, customerID);\n // Does customer exist?\n if (customer != null) {\n if (// Is password correct?\n !customer.verifyPassword(password)) {\n results = \"\\nPassword does not match for : \" + customerID;\n Util.debug(\"Password given does not match for userid=\" + customerID);\n }\n } else // Customer was not found.\n {\n results = \"\\nCould not find account for : \" + customerID;\n Util.debug(\"customer \" + customerID + \" NOT found\");\n }\n return results;\n}", + "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, @@ -43715,6 +62711,7 @@ "call_sites": [ { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -43738,6 +62735,14 @@ }, { "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": [ @@ -43760,6 +62765,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -43782,6 +62788,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -43805,6 +62812,14 @@ ], "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", @@ -43814,6 +62829,14 @@ "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", @@ -43829,9 +62852,18 @@ "is_entrypoint": false }, "updateUser(String, String, String, String, String, String, String, String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "updateUser(String, String, String, String, String, String, String, String, String)", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -43843,60 +62875,97 @@ "type": "java.lang.String", "name": "customerID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 119, + "end_line": 119, + "start_column": 29, + "end_column": 45 }, { "type": "java.lang.String", "name": "firstName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 120, + "end_line": 120, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "lastName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 121, + "end_line": 121, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "addr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 122, + "end_line": 122, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "addr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "addrCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "addrState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "addrZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 126, + "end_line": 126, + "start_column": 4, + "end_column": 17 }, { "type": "java.lang.String", "name": "phone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 127, + "end_line": 127, + "start_column": 4, + "end_column": 15 } ], - "code": "{\n Customer c = em.find(Customer.class, customerID);\n em.lock(c, LockModeType.WRITE);\n em.refresh(c);\n c.setFirstName(firstName);\n c.setLastName(lastName);\n c.setAddr1(addr1);\n c.setAddr2(addr2);\n c.setAddrCity(addrCity);\n c.setAddrState(addrState);\n c.setAddrZip(addrZip);\n c.setPhone(phone);\n return c;\n}", + "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, @@ -43910,6 +62979,7 @@ "call_sites": [ { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -43933,6 +63003,7 @@ }, { "method_name": "lock", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -43956,6 +63027,7 @@ }, { "method_name": "refresh", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -43978,6 +63050,7 @@ }, { "method_name": "setFirstName", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44000,6 +63073,7 @@ }, { "method_name": "setLastName", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44022,6 +63096,7 @@ }, { "method_name": "setAddr1", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44044,6 +63119,7 @@ }, { "method_name": "setAddr2", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44066,6 +63142,7 @@ }, { "method_name": "setAddrCity", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44088,6 +63165,7 @@ }, { "method_name": "setAddrState", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44110,6 +63188,7 @@ }, { "method_name": "setAddrZip", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44132,6 +63211,7 @@ }, { "method_name": "setPhone", + "comment": null, "receiver_expr": "c", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ @@ -44155,6 +63235,14 @@ ], "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)", @@ -44172,7 +63260,14 @@ }, "field_declarations": [ { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "EntityManager", "start_line": 38, @@ -44186,15 +63281,697 @@ ] } ], - "enum_constants": null, + "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": { + "(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)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public MailerAppException(String str)", + "parameters": [ + { + "type": "java.lang.String", + "name": "str", + "annotations": [], + "modifiers": [], + "start_line": 33, + "end_line": 33, + "start_column": 28, + "end_column": 37 + } + ], + "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": true, + "referenced_types": [], + "accessed_fields": [], + "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/bean/MailerAppException.java", + "signature": "MailerAppException()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "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": 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.PopulateDBBean.dbBean" + ], + "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": 19, + "start_column": 9, + "end_line": 19, + "end_column": 46 + }, + { + "method_name": "populateDB", + "comment": null, + "receiver_expr": "dbBean", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "argument_types": [], + "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": 20, + "start_column": 9, + "end_line": 20, + "end_column": 27 + } + ], + "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": "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 }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "comment": "//", + "/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", @@ -44217,7 +63994,128 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\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 */", + "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 + }, + { + "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" ], @@ -44232,9 +64130,18 @@ "nested_type_declarations": [], "callable_declarations": { "getInv(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInv(String)", - "comment": "/**\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 */", + "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" @@ -44246,12 +64153,17 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 186, + "end_line": 186, + "start_column": 27, + "end_column": 44 } ], - "code": "{\n return em.find(Inventory.class, inventoryID);\n}", + "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, @@ -44262,6 +64174,7 @@ "call_sites": [ { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -44291,9 +64204,18 @@ "is_entrypoint": false }, "setItemQuantity(String, int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setItemQuantity(String, int)", - "comment": "/**\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 */", + "comments": [ + { + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -44305,18 +64227,27 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 172, + "end_line": 172, + "start_column": 30, + "end_column": 47 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 172, + "end_line": 172, + "start_column": 50, + "end_column": 61 } ], - "code": "{\n Inventory inv = getInvUpdate(inventoryID);\n if (inv != null) {\n inv.setQuantity(quantity);\n }\n}", + "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, @@ -44327,6 +64258,7 @@ "call_sites": [ { "method_name": "getInvUpdate", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -44349,6 +64281,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -44372,6 +64305,14 @@ ], "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)", @@ -44387,9 +64328,18 @@ "is_entrypoint": false }, "addItem(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "addItem(Inventory)", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -44401,12 +64351,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "item", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 106, + "end_line": 106, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n boolean retval = true;\n Util.debug(\"addItem \" + item.getInventoryId());\n em.persist(item);\n em.flush();\n return retval;\n}", + "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, @@ -44417,6 +64372,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -44439,6 +64395,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -44459,6 +64416,7 @@ }, { "method_name": "persist", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -44481,6 +64439,7 @@ }, { "method_name": "flush", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [], @@ -44502,6 +64461,14 @@ ], "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", @@ -44517,9 +64484,18 @@ "is_entrypoint": false }, "getItemImageBytes(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getItemImageBytes(String)", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -44531,12 +64507,17 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 139, + "end_line": 139, + "start_column": 34, + "end_column": 51 } ], - "code": "{\n byte[] retval = null;\n Inventory inv = getInv(inventoryID);\n if (inv != null) {\n retval = inv.getImgbytes();\n }\n return retval;\n}", + "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, @@ -44547,6 +64528,7 @@ "call_sites": [ { "method_name": "getInv", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -44569,6 +64551,7 @@ }, { "method_name": "getImgbytes", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -44590,6 +64573,14 @@ ], "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", @@ -44599,6 +64590,14 @@ "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)", @@ -44614,9 +64613,26 @@ "is_entrypoint": false }, "getItemsByCategory(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getItemsByCategory(int)", - "comment": "/**\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 */", + "comments": [ + { + "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 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" @@ -44628,12 +64644,17 @@ "type": "int", "name": "category", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 58, + "end_line": 58, + "start_column": 46, + "end_column": 57 } ], - "code": "{\n Query q = em.createNamedQuery(\"getItemsByCategory\");\n q.setParameter(\"category\", category);\n // The return type must be Vector because the PBW client ActiveX sample requires Vector\n return new Vector(q.getResultList());\n}", + "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, @@ -44646,6 +64667,7 @@ "call_sites": [ { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -44668,6 +64690,7 @@ }, { "method_name": "setParameter", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [ @@ -44691,6 +64714,7 @@ }, { "method_name": "getResultList", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -44711,6 +64735,14 @@ }, { "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", "argument_types": [ @@ -44734,6 +64766,14 @@ ], "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\")", @@ -44749,9 +64789,18 @@ "is_entrypoint": false }, "getItemInventory(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getItemInventory(String)", - "comment": "/**\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 */", + "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" @@ -44763,12 +64812,17 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 92, + "end_line": 92, + "start_column": 36, + "end_column": 53 } ], - "code": "{\n Inventory si = null;\n Util.debug(\"getItemInventory id=\" + inventoryID);\n si = em.find(Inventory.class, inventoryID);\n return si;\n}", + "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, @@ -44781,6 +64835,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -44803,6 +64858,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -44827,6 +64883,14 @@ ], "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", @@ -44842,9 +64906,18 @@ "is_entrypoint": false }, "setItemImageBytes(String, byte[])": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setItemImageBytes(String, byte[])", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -44856,18 +64929,27 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 157, + "end_line": 157, + "start_column": 32, + "end_column": 49 }, { "type": "byte[]", "name": "imgbytes", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 157, + "end_line": 157, + "start_column": 52, + "end_column": 66 } ], - "code": "{\n Inventory inv = getInvUpdate(inventoryID);\n if (inv != null) {\n inv.setImgbytes(imgbytes);\n }\n}", + "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, @@ -44878,6 +64960,7 @@ "call_sites": [ { "method_name": "getInvUpdate", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -44900,6 +64983,7 @@ }, { "method_name": "setImgbytes", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -44923,6 +65007,14 @@ ], "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)", @@ -44938,9 +65030,18 @@ "is_entrypoint": false }, "getInvUpdate(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInvUpdate(String)", - "comment": "/**\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 */", + "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 + } + ], "annotations": [], "modifiers": [ "private" @@ -44952,12 +65053,17 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 197, + "end_line": 197, + "start_column": 33, + "end_column": 50 } ], - "code": "{\n Inventory inv = null;\n inv = em.find(Inventory.class, inventoryID);\n em.lock(inv, LockModeType.OPTIMISTIC_FORCE_INCREMENT);\n em.refresh(inv);\n return inv;\n}", + "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, @@ -44971,6 +65077,7 @@ "call_sites": [ { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -44994,6 +65101,7 @@ }, { "method_name": "lock", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -45017,6 +65125,7 @@ }, { "method_name": "refresh", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -45040,6 +65149,14 @@ ], "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", @@ -45057,7 +65174,14 @@ }, "field_declarations": [ { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "EntityManager", "start_line": 40, @@ -45071,254 +65195,435 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", - "comment": "//", - "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" - ], - "comment": "/**\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 */", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", - "signature": "MailerAppException(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public MailerAppException(String str)", - "parameters": [ - { - "type": "java.lang.String", - "name": "str", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n super(str);\n}", - "start_line": 33, - "end_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 - }, - "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", - "signature": "MailerAppException()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public MailerAppException()", - "parameters": [], - "code": "{\n}", - "start_line": 30, - "end_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": "/**\r\n\t * \r\n\t */", - "name": null, - "type": "long", - "start_line": 28, - "end_line": 28, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ], - "enum_constants": null, - "is_entrypoint_class": 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", + "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 * 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 * 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 + }, + { + "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": " 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, + "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, + "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": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 220, + "end_line": 220, + "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 + }, + { + "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": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false } - }, - "is_modified": false - }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", - "comment": "", - "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": [], - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Singleton", - "@Startup" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "initDB()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", - "signature": "initDB()", - "comment": "", - "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, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.PopulateDBBean.dbBean" - ], - "call_sites": [ - { - "method_name": "debug", - "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": 19, - "start_column": 9, - "end_line": 19, - "end_column": 46 - }, - { - "method_name": "populateDB", - "receiver_expr": "dbBean", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "argument_types": [], - "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": 20, - "start_column": 9, - "end_line": 20, - "end_column": 27 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - } - }, - "field_declarations": [ - { - "comment": "", - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "start_line": 14, - "end_line": 15, - "variables": [ - "dbBean" - ], - "modifiers": [], - "annotations": [ - "@Inject" - ] - } - ], - "enum_constants": null, - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "comment": "//", "imports": [ "java.io.Serializable", "java.util.Collection", @@ -45343,7 +65648,296 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\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 */", + "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 + }, + { + "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": " 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, + "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, + "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": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 220, + "end_line": 220, + "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 + }, + { + "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 * 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" ], @@ -45358,9 +65952,34 @@ "nested_type_declarations": [], "callable_declarations": { "setBackOrderOrderDate(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBackOrderOrderDate(String)", - "comment": "/**\r\n\t * Method setBackOrderOrderDate.\r\n\t * \r\n\t * @param backOrderID\r\n\t */", + "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" @@ -45372,12 +65991,17 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 36, + "end_column": 53 } ], - "code": "{\n Util.debug(\"BackOrderMgr.setBackOrderQuantity() - Entered\");\n // BackOrderLocal backOrder =\n // getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\n BackOrder backOrder = em.find(BackOrder.class, backOrderID);\n backOrder.setOrderDate(System.currentTimeMillis());\n}", + "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, @@ -45390,6 +66014,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -45412,6 +66037,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -45435,6 +66061,7 @@ }, { "method_name": "setOrderDate", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -45457,6 +66084,7 @@ }, { "method_name": "currentTimeMillis", + "comment": null, "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], @@ -45478,6 +66106,14 @@ ], "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)", @@ -45493,9 +66129,18 @@ "is_entrypoint": false }, "updateStock(String, int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "updateStock(String, int)", - "comment": "/**\r\n\t * Method updateStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t */", + "comments": [ + { + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -45507,18 +66152,27 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 138, + "end_line": 138, + "start_column": 26, + "end_column": 43 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 138, + "end_line": 138, + "start_column": 46, + "end_column": 57 } ], - "code": "{\n this.setBackOrderStatus(backOrderID, Util.STATUS_ADDEDSTOCK);\n}", + "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, @@ -45531,6 +66185,7 @@ "call_sites": [ { "method_name": "setBackOrderStatus", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ @@ -45560,9 +66215,42 @@ "is_entrypoint": false }, "getBackOrderInventoryID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBackOrderInventoryID(String)", - "comment": "/**\r\n\t * Method getBackOrderInventoryID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String\r\n\t */", + "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": [ "public" @@ -45574,12 +66262,17 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 167, + "end_line": 167, + "start_column": 40, + "end_column": 57 } ], - "code": "{\n String retinventoryID = \"\";\n Util.debug(\"BackOrderMgr.getBackOrderID() - Entered\");\n // BackOrderLocal backOrder =\n // getBackOrderLocalHome().findByPrimaryKey(new\n // BackOrderKey(backOrderID));\n BackOrder backOrder = em.find(BackOrder.class, backOrderID);\n retinventoryID = backOrder.getInventory().getInventoryId();\n return retinventoryID;\n}", + "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, @@ -45593,6 +66286,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -45615,6 +66309,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -45638,6 +66333,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "backOrder.getInventory()", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -45658,6 +66354,7 @@ }, { "method_name": "getInventory", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -45679,6 +66376,14 @@ ], "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": "\"\"", @@ -45688,6 +66393,14 @@ "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)", @@ -45703,9 +66416,34 @@ "is_entrypoint": false }, "deleteBackOrder(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "deleteBackOrder(String)", - "comment": "/**\r\n\t * Method deleteBackOrder.\r\n\t * \r\n\t * @param backOrderID\r\n\t */", + "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" @@ -45717,12 +66455,17 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 30, + "end_column": 47 } ], - "code": "{\n Util.debug(\"BackOrderMgr.deleteBackOrder() - Entered\");\n // BackOrderLocal backOrder =\n // getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\n BackOrder backOrder = em.find(BackOrder.class, backOrderID);\n em.remove(backOrder);\n}", + "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, @@ -45735,6 +66478,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -45757,6 +66501,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -45780,6 +66525,7 @@ }, { "method_name": "remove", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -45803,6 +66549,14 @@ ], "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)", @@ -45818,9 +66572,34 @@ "is_entrypoint": false }, "setBackOrderStatus(String, String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBackOrderStatus(String, String)", - "comment": "/**\r\n\t * Method setBackOrderStatus.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param Status\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -45832,18 +66611,27 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 217, + "end_line": 217, + "start_column": 33, + "end_column": 50 }, { "type": "java.lang.String", "name": "Status", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 217, + "end_line": 217, + "start_column": 53, + "end_column": 65 } ], - "code": "{\n Util.debug(\"BackOrderMgr.setBackOrderStatus() - Entered\");\n // BackOrderLocal backOrder =\n // getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\n BackOrder backOrder = em.find(BackOrder.class, backOrderID);\n backOrder.setStatus(Status);\n}", + "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, @@ -45856,6 +66644,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -45878,6 +66667,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -45901,6 +66691,7 @@ }, { "method_name": "setStatus", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -45924,6 +66715,14 @@ ], "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)", @@ -45939,9 +66738,82 @@ "is_entrypoint": false }, "createBackOrder(String, int, int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "createBackOrder(String, int, int)", - "comment": "/**\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 */", + "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" @@ -45953,24 +66825,37 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 30, + "end_column": 47 }, { "type": "int", "name": "amountToOrder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 50, + "end_column": 66 }, { "type": "int", "name": "maximumItems", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 69, + "end_column": 84 } ], - "code": "{\n try {\n Util.debug(\"BackOrderMgr.createBackOrder() - Entered\");\n BackOrder backOrder = null;\n try {\n // See if there is already an existing backorder and increase\n // the order quantity\n // but only if it has not been sent to the supplier.\n Query q = em.createNamedQuery(\"findByInventoryID\");\n q.setParameter(\"id\", inventoryID);\n backOrder = (BackOrder) q.getSingleResult();\n if (!(backOrder.getStatus().equals(Util.STATUS_ORDERSTOCK))) {\n Util.debug(\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\");\n // throw new FinderException();\n }\n // Increase the BackOrder quantity for an existing Back Order.\n backOrder.setQuantity(backOrder.getQuantity() + amountToOrder);\n } catch (NoResultException e) {\n Util.debug(\"BackOrderMgr.createBackOrder() - BackOrder doesn't exist.\" + e);\n Util.debug(\"BackOrderMgr.createBackOrder() - Creating BackOrder for InventoryID: \" + inventoryID);\n // Order enough stock from the supplier to reach the maximum\n // threshold and to\n // satisfy the back order.\n amountToOrder = maximumItems + amountToOrder;\n Inventory inv = em.find(Inventory.class, inventoryID);\n BackOrder b = new BackOrder(inv, amountToOrder);\n em.persist(b);\n }\n } catch (Exception e) {\n Util.debug(\"BackOrderMgr.createBackOrder() - Exception: \" + e);\n }\n}", + "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, @@ -45987,6 +66872,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -46009,6 +66895,7 @@ }, { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46031,6 +66918,7 @@ }, { "method_name": "setParameter", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [ @@ -46054,6 +66942,7 @@ }, { "method_name": "getSingleResult", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -46074,6 +66963,7 @@ }, { "method_name": "equals", + "comment": null, "receiver_expr": "backOrder.getStatus()", "receiver_type": "java.lang.String", "argument_types": [ @@ -46096,6 +66986,7 @@ }, { "method_name": "getStatus", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -46116,6 +67007,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -46138,6 +67030,14 @@ }, { "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": [ @@ -46160,6 +67060,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -46180,6 +67081,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -46202,6 +67104,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -46224,6 +67127,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46247,6 +67151,7 @@ }, { "method_name": "persist", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46269,6 +67174,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -46291,6 +67197,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -46315,6 +67222,14 @@ ], "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", @@ -46324,6 +67239,14 @@ "end_column": 29 }, { + "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(\"findByInventoryID\")", @@ -46333,6 +67256,14 @@ "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)", @@ -46342,6 +67273,14 @@ "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)", @@ -46357,9 +67296,18 @@ "is_entrypoint": false }, "findBackOrders()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "findBackOrders()", - "comment": "/**\r\n\t * Method findBackOrderItems.\r\n\t * \r\n\t * @return Collection\r\n\t */", + "comments": [ + { + "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": [ "@SuppressWarnings(\"unchecked\")" ], @@ -46369,9 +67317,10 @@ "thrown_exceptions": [], "declaration": "public Collection findBackOrders()", "parameters": [], - "code": "{\n Query q = em.createNamedQuery(\"findAllBackOrders\");\n return q.getResultList();\n}", + "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", "is_implicit": false, "is_constructor": false, @@ -46384,6 +67333,7 @@ "call_sites": [ { "method_name": "createNamedQuery", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46406,6 +67356,7 @@ }, { "method_name": "getResultList", + "comment": null, "receiver_expr": "q", "receiver_type": "", "argument_types": [], @@ -46427,6 +67378,14 @@ ], "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(\"findAllBackOrders\")", @@ -46442,9 +67401,34 @@ "is_entrypoint": false }, "setBackOrderQuantity(String, int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBackOrderQuantity(String, int)", - "comment": "/**\r\n\t * Method setBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -46456,18 +67440,27 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 203, + "end_line": 203, + "start_column": 35, + "end_column": 52 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 203, + "end_line": 203, + "start_column": 55, + "end_column": 66 } ], - "code": "{\n Util.debug(\"BackOrderMgr.setBackOrderQuantity() - Entered\");\n // BackOrderLocal backOrder =\n // getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\n BackOrder backOrder = em.find(BackOrder.class, backOrderID);\n backOrder.setQuantity(quantity);\n}", + "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, @@ -46480,6 +67473,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -46502,6 +67496,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46525,6 +67520,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -46548,6 +67544,14 @@ ], "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)", @@ -46563,9 +67567,42 @@ "is_entrypoint": false }, "getBackOrderQuantity(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBackOrderQuantity(String)", - "comment": "/**\r\n\t * Method getBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return int\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -46577,12 +67614,17 @@ "type": "java.lang.String", "name": "backOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 186, + "end_line": 186, + "start_column": 34, + "end_column": 51 } ], - "code": "{\n int backOrderQuantity = -1;\n Util.debug(\"BackOrderMgr.getBackOrderQuantity() - Entered\");\n // BackOrderLocal backOrder =\n // getBackOrderLocalHome().findByPrimaryKey(new\n // BackOrderKey(backOrderID));\n BackOrder backOrder = em.find(BackOrder.class, backOrderID);\n backOrderQuantity = backOrder.getQuantity();\n return backOrderQuantity;\n}", + "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, @@ -46595,6 +67637,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -46617,6 +67660,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46640,6 +67684,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -46661,6 +67706,14 @@ ], "variable_declarations": [ { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "backOrderQuantity", "type": "int", "initializer": "-1", @@ -46670,6 +67723,14 @@ "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)", @@ -46687,7 +67748,14 @@ }, "field_declarations": [ { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "EntityManager", "start_line": 40, @@ -46703,15 +67771,355 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "comment": "//", + "/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", @@ -46739,7 +68147,208 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "", + "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 + }, + { + "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 + } + ], "implements_list": [ "java.io.Serializable" ], @@ -46754,9 +68363,9 @@ "nested_type_declarations": [], "callable_declarations": { "getInventoryItem(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventoryItem(String)", - "comment": "/*\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 */", + "comments": [], "annotations": [], "modifiers": [ "private" @@ -46768,12 +68377,17 @@ "type": "java.lang.String", "name": "inventoryID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 316, + "end_line": 316, + "start_column": 37, + "end_column": 54 } ], - "code": "{\n Inventory inv = null;\n inv = em.find(Inventory.class, inventoryID);\n return inv;\n}", + "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, @@ -46786,6 +68400,7 @@ "call_sites": [ { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46810,6 +68425,14 @@ ], "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", @@ -46825,9 +68448,26 @@ "is_entrypoint": false }, "backOrder(Inventory, int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "backOrder(Inventory, int)", - "comment": "/*\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 */", + "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" @@ -46839,18 +68479,27 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "inv", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 327, + "end_line": 327, + "start_column": 25, + "end_column": 37 }, { "type": "int", "name": "amountToOrder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 327, + "end_line": 327, + "start_column": 40, + "end_column": 56 } ], - "code": "{\n BackOrder b = em.find(BackOrder.class, inv.getInventoryId());\n if (b == null) {\n // create a new backorder if none exists\n BackOrder newBO = new BackOrder(inv, amountToOrder);\n em.persist(newBO);\n em.flush();\n inv.setBackOrder(newBO);\n } else {\n // update the backorder with the new quantity\n int quantity = b.getQuantity();\n quantity += amountToOrder;\n em.lock(b, LockModeType.WRITE);\n em.refresh(b);\n b.setQuantity(quantity);\n em.flush();\n inv.setBackOrder(b);\n }\n}", + "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, @@ -46864,6 +68513,7 @@ "call_sites": [ { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46887,6 +68537,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -46907,6 +68558,7 @@ }, { "method_name": "persist", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -46929,6 +68581,7 @@ }, { "method_name": "flush", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [], @@ -46949,6 +68602,7 @@ }, { "method_name": "setBackOrder", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -46971,6 +68625,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "b", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], @@ -46991,6 +68646,7 @@ }, { "method_name": "lock", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -47014,6 +68670,7 @@ }, { "method_name": "refresh", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -47036,6 +68693,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "b", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -47058,6 +68716,7 @@ }, { "method_name": "flush", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [], @@ -47078,6 +68737,7 @@ }, { "method_name": "setBackOrder", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -47100,6 +68760,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ @@ -47124,6 +68785,14 @@ ], "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())", @@ -47133,6 +68802,14 @@ "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)", @@ -47142,6 +68819,14 @@ "end_column": 54 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "quantity", "type": "int", "initializer": "b.getQuantity()", @@ -47157,9 +68842,34 @@ "is_entrypoint": false }, "addItem(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "addItem(Inventory)", - "comment": "/**\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 */", + "comments": [ + { + "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 * 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" @@ -47171,12 +68881,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "new_item", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 56, + "end_line": 56, + "start_column": 22, + "end_column": 39 } ], - "code": "{\n boolean added = false;\n // If the same item is already in the cart, just increase the quantity.\n for (Inventory old_item : items) {\n if (old_item.getID().equals(new_item.getID())) {\n old_item.setQuantity(old_item.getQuantity() + new_item.getQuantity());\n added = true;\n break;\n }\n }\n // Add this item to shopping cart, if it is a brand new item.\n if (!added)\n items.add(new_item);\n}", + "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, @@ -47189,6 +68904,7 @@ "call_sites": [ { "method_name": "equals", + "comment": null, "receiver_expr": "old_item.getID()", "receiver_type": "java.lang.String", "argument_types": [ @@ -47211,6 +68927,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "old_item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47231,6 +68948,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "new_item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47251,6 +68969,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "old_item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -47273,6 +68992,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "old_item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47293,6 +69013,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "new_item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47313,6 +69034,7 @@ }, { "method_name": "add", + "comment": null, "receiver_expr": "items", "receiver_type": "java.util.ArrayList", "argument_types": [ @@ -47336,6 +69058,14 @@ ], "variable_declarations": [ { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "added", "type": "boolean", "initializer": "false", @@ -47345,6 +69075,14 @@ "end_column": 23 }, { + "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": "", @@ -47360,9 +69098,18 @@ "is_entrypoint": false }, "removeAllItems()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "removeAllItems()", - "comment": "/**\r\n\t * Remove all items from the cart.\r\n\t */", + "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" @@ -47370,9 +69117,10 @@ "thrown_exceptions": [], "declaration": "public void removeAllItems()", "parameters": [], - "code": "{\n items = new ArrayList();\n}", + "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, @@ -47383,6 +69131,7 @@ "call_sites": [ { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], @@ -47409,9 +69158,18 @@ "is_entrypoint": false }, "removeZeroQuantityItems()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "removeZeroQuantityItems()", - "comment": "/**\r\n\t * Remove zero quantity items.\r\n\t */", + "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" @@ -47419,9 +69177,10 @@ "thrown_exceptions": [], "declaration": "public void removeZeroQuantityItems()", "parameters": [], - "code": "{\n ArrayList newItems = new ArrayList();\n for (Inventory i : items) {\n if (i.getQuantity() > 0) {\n newItems.add(i);\n }\n }\n items = newItems;\n}", + "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, @@ -47435,6 +69194,7 @@ "call_sites": [ { "method_name": "getQuantity", + "comment": null, "receiver_expr": "i", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47455,6 +69215,7 @@ }, { "method_name": "add", + "comment": null, "receiver_expr": "newItems", "receiver_type": "java.util.ArrayList", "argument_types": [ @@ -47477,6 +69238,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], @@ -47498,6 +69260,14 @@ ], "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()", @@ -47507,6 +69277,14 @@ "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": "", @@ -47522,9 +69300,18 @@ "is_entrypoint": false }, "setItems(Collection)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setItems(Collection)", - "comment": "/**\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 */", + "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" @@ -47536,12 +69323,17 @@ "type": "java.util.Collection", "name": "items", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 23, + "end_column": 49 } ], - "code": "{\n this.items = new ArrayList(items);\n}", + "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, @@ -47554,6 +69346,7 @@ "call_sites": [ { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [ @@ -47582,9 +69375,18 @@ "is_entrypoint": false }, "getSubtotalCost()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSubtotalCost()", - "comment": "/**\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 */", + "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" @@ -47592,9 +69394,10 @@ "thrown_exceptions": [], "declaration": "public float getSubtotalCost()", "parameters": [], - "code": "{\n float f = 0.0F;\n for (Inventory item : items) {\n f += item.getPrice() * (float) item.getQuantity();\n }\n return f;\n}", + "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, @@ -47607,6 +69410,7 @@ "call_sites": [ { "method_name": "getPrice", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47627,6 +69431,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47648,6 +69453,14 @@ ], "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", @@ -47657,6 +69470,14 @@ "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": "", @@ -47672,9 +69493,26 @@ "is_entrypoint": false }, "createOrder(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, Collection)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "createOrder(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, Collection)", - "comment": "/**\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 */", + "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" @@ -47686,138 +69524,227 @@ "type": "java.lang.String", "name": "customerID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 257, + "end_line": 257, + "start_column": 27, + "end_column": 43 }, { "type": "java.lang.String", "name": "billName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 258, + "end_line": 258, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "billAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 259, + "end_line": 259, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "billAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 260, + "end_line": 260, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "billCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 261, + "end_line": 261, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "billState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 262, + "end_line": 262, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "billZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 17 }, { "type": "java.lang.String", "name": "billPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 264, + "end_line": 264, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "shipName", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 265, + "end_line": 265, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "shipAddr1", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 266, + "end_line": 266, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "shipAddr2", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 267, + "end_line": 267, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "shipCity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 268, + "end_line": 268, + "start_column": 4, + "end_column": 18 }, { "type": "java.lang.String", "name": "shipState", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 269, + "end_line": 269, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "shipZip", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 270, + "end_line": 270, + "start_column": 4, + "end_column": 17 }, { "type": "java.lang.String", "name": "shipPhone", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 271, + "end_line": 271, + "start_column": 4, + "end_column": 19 }, { "type": "java.lang.String", "name": "creditCard", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 272, + "end_line": 272, + "start_column": 4, + "end_column": 20 }, { "type": "java.lang.String", "name": "ccNum", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 273, + "end_line": 273, + "start_column": 4, + "end_column": 15 }, { "type": "java.lang.String", "name": "ccExpireMonth", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 274, + "end_line": 274, + "start_column": 4, + "end_column": 23 }, { "type": "java.lang.String", "name": "ccExpireYear", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 275, + "end_line": 275, + "start_column": 4, + "end_column": 22 }, { "type": "java.lang.String", "name": "cardHolder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 276, + "end_line": 276, + "start_column": 4, + "end_column": 20 }, { "type": "int", "name": "shippingMethod", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 277, + "end_line": 277, + "start_column": 4, + "end_column": 21 }, { "type": "java.util.Collection", "name": "items", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 278, + "end_line": 278, + "start_column": 4, + "end_column": 30 } ], - "code": "{\n Order order = null;\n Util.debug(\"ShoppingCartBean.createOrder: Creating Order\");\n Collection orderitems = new ArrayList();\n for (Inventory si : items) {\n Inventory inv = em.find(Inventory.class, si.getID());\n OrderItem oi = new OrderItem(inv);\n oi.setQuantity(si.getQuantity());\n orderitems.add(oi);\n }\n Customer c = em.find(Customer.class, customerID);\n order = new Order(c, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName, shipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth, ccExpireYear, cardHolder, shippingMethod, orderitems);\n em.persist(order);\n em.flush();\n // store the order items\n for (OrderItem o : orderitems) {\n o.setOrder(order);\n o.updatePK();\n em.persist(o);\n }\n em.flush();\n return order;\n}", + "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, @@ -47835,6 +69762,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -47857,6 +69785,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -47880,6 +69809,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47900,6 +69830,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "oi", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [ @@ -47922,6 +69853,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -47942,6 +69874,7 @@ }, { "method_name": "add", + "comment": null, "receiver_expr": "orderitems", "receiver_type": "java.util.Collection", "argument_types": [ @@ -47964,6 +69897,7 @@ }, { "method_name": "find", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -47987,6 +69921,7 @@ }, { "method_name": "persist", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -48009,6 +69944,7 @@ }, { "method_name": "flush", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [], @@ -48029,6 +69965,7 @@ }, { "method_name": "setOrder", + "comment": null, "receiver_expr": "o", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [ @@ -48051,6 +69988,7 @@ }, { "method_name": "updatePK", + "comment": null, "receiver_expr": "o", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [], @@ -48071,6 +70009,7 @@ }, { "method_name": "persist", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [ @@ -48093,6 +70032,7 @@ }, { "method_name": "flush", + "comment": null, "receiver_expr": "em", "receiver_type": "", "argument_types": [], @@ -48113,6 +70053,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], @@ -48133,6 +70074,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", "argument_types": [ @@ -48155,6 +70097,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ @@ -48199,6 +70142,14 @@ ], "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.pbw.jpa.Order", "initializer": "null", @@ -48208,6 +70159,14 @@ "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()", @@ -48217,6 +70176,14 @@ "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": "", @@ -48226,6 +70193,14 @@ "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())", @@ -48235,6 +70210,14 @@ "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)", @@ -48244,6 +70227,14 @@ "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)", @@ -48253,6 +70244,14 @@ "end_column": 50 }, { + "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": "", @@ -48268,9 +70267,18 @@ "is_entrypoint": false }, "getItems()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getItems()", - "comment": "/**\r\n\t * Get the items in the shopping cart.\r\n\t *\r\n\t * @return A Collection of ShoppingCartItems.\r\n\t */", + "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" @@ -48278,9 +70286,10 @@ "thrown_exceptions": [], "declaration": "public ArrayList getItems()", "parameters": [], - "code": "{\n return items;\n}", + "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, @@ -48296,9 +70305,74 @@ "is_entrypoint": false }, "checkInventory(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "checkInventory(Inventory)", - "comment": "/**\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 */", + "comments": [ + { + "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 * 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 + } + ], "annotations": [], "modifiers": [ "public" @@ -48310,12 +70384,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "si", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 170, + "end_line": 170, + "start_column": 29, + "end_column": 40 } ], - "code": "{\n Util.debug(\"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID());\n Inventory inv = getInventoryItem(si.getID());\n /**\n * Decrease the quantity of this inventory item.\n *\n * @param quantity\n * The number to decrease the inventory by.\n * @return The number of inventory items removed.\n */\n int quantity = si.getQuantity();\n int minimumItems = inv.getMinThreshold();\n int amountToOrder = 0;\n Util.debug(\"ShoppingCartBean:checkInventory() - Decreasing inventory item \" + inv.getInventoryId());\n int quantityNotFilled = 0;\n if (inv.getQuantity() < 1) {\n quantityNotFilled = quantity;\n } else if (inv.getQuantity() < quantity) {\n quantityNotFilled = quantity - inv.getQuantity();\n }\n // When quantity becomes < 0, this will be to determine the\n // quantity of unfilled orders due to insufficient stock.\n inv.setQuantity(inv.getQuantity() - quantity);\n // Check to see if more inventory needs to be ordered from the supplier\n // based on a set minimum Threshold\n if (inv.getQuantity() < minimumItems) {\n // Calculate the amount of stock to order from the supplier\n // to get the inventory up to the maximum.\n amountToOrder = quantityNotFilled;\n backOrder(inv, amountToOrder);\n }\n}", + "code": "{\r\n\t\tUtil.debug(\"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID());\r\n\t\tInventory inv = getInventoryItem(si.getID());\r\n\r\n\t\t/**\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 */\r\n\t\tint quantity = si.getQuantity();\r\n\t\tint minimumItems = inv.getMinThreshold();\r\n\r\n\t\tint amountToOrder = 0;\r\n\t\tUtil.debug(\"ShoppingCartBean:checkInventory() - Decreasing inventory item \" + inv.getInventoryId());\r\n\t\tint quantityNotFilled = 0;\r\n\t\tif (inv.getQuantity() < 1) {\r\n\t\t\tquantityNotFilled = quantity;\r\n\t\t} else if (inv.getQuantity() < quantity) {\r\n\t\t\tquantityNotFilled = quantity - inv.getQuantity();\r\n\t\t}\r\n\r\n\t\t// When quantity becomes < 0, this will be to determine the\r\n\t\t// quantity of unfilled orders due to insufficient stock.\r\n\t\tinv.setQuantity(inv.getQuantity() - quantity);\r\n\r\n\t\t// Check to see if more inventory needs to be ordered from the supplier\r\n\t\t// based on a set minimum Threshold\r\n\t\tif (inv.getQuantity() < minimumItems) {\r\n\t\t\t// Calculate the amount of stock to order from the supplier\r\n\t\t\t// to get the inventory up to the maximum.\r\n\t\t\tamountToOrder = quantityNotFilled;\r\n\t\t\tbackOrder(inv, amountToOrder);\r\n\t\t}\r\n\r\n\t}", "start_line": 170, "end_line": 206, + "code_start_line": 170, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48326,6 +70405,7 @@ "call_sites": [ { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -48348,6 +70428,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48368,6 +70449,7 @@ }, { "method_name": "getInventoryItem", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -48390,6 +70472,7 @@ }, { "method_name": "getID", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48410,6 +70493,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48430,6 +70514,7 @@ }, { "method_name": "getMinThreshold", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48450,6 +70535,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -48472,6 +70558,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48492,6 +70579,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48512,6 +70600,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48532,6 +70621,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48552,6 +70642,14 @@ }, { "method_name": "setQuantity", + "comment": { + "content": " quantity of unfilled orders due to insufficient stock.", + "start_line": 194, + "end_line": 194, + "start_column": 3, + "end_column": 59, + "is_javadoc": false + }, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -48574,6 +70672,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48594,6 +70693,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -48614,6 +70714,7 @@ }, { "method_name": "backOrder", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -48638,6 +70739,14 @@ ], "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": "getInventoryItem(si.getID())", @@ -48647,6 +70756,14 @@ "end_column": 46 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "quantity", "type": "int", "initializer": "si.getQuantity()", @@ -48656,6 +70773,14 @@ "end_column": 33 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "minimumItems", "type": "int", "initializer": "inv.getMinThreshold()", @@ -48665,6 +70790,14 @@ "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": "0", @@ -48674,6 +70807,14 @@ "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", @@ -48689,9 +70830,18 @@ "is_entrypoint": false }, "removeItem(Inventory)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "removeItem(Inventory)", - "comment": "/**\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 */", + "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 ", + "start_line": 71, + "end_line": 76, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -48703,12 +70853,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "item", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 77, + "end_line": 77, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n for (Inventory i : items) {\n if (item.equals(i)) {\n items.remove(i);\n break;\n }\n }\n}", + "code": "{\r\n\t\tfor (Inventory i : items) {\r\n\t\t\tif (item.equals(i)) {\r\n\t\t\t\titems.remove(i);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "start_line": 77, "end_line": 84, + "code_start_line": 77, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48721,6 +70876,7 @@ "call_sites": [ { "method_name": "equals", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -48743,6 +70899,7 @@ }, { "method_name": "remove", + "comment": null, "receiver_expr": "items", "receiver_type": "java.util.ArrayList", "argument_types": [ @@ -48766,6 +70923,14 @@ ], "variable_declarations": [ { + "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": "", @@ -48781,9 +70946,9 @@ "is_entrypoint": false }, "getSize()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getSize()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -48791,9 +70956,10 @@ "thrown_exceptions": [], "declaration": "public int getSize()", "parameters": [], - "code": "{\n return getItems().size();\n}", + "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, @@ -48802,6 +70968,7 @@ "call_sites": [ { "method_name": "size", + "comment": null, "receiver_expr": "getItems()", "receiver_type": "java.util.ArrayList", "argument_types": [], @@ -48822,6 +70989,7 @@ }, { "method_name": "getItems", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -48850,7 +71018,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -48864,7 +71039,14 @@ ] }, { - "comment": "", + "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, @@ -48878,15 +71060,203 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "comment": "//", + "/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" ], @@ -48901,7 +71271,64 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * The key class of the Order entity bean.\r\n **/", + "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 + }, + { + "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" ], @@ -48913,9 +71340,18 @@ "nested_type_declarations": [], "callable_declarations": { "(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "OrderKey(String)", - "comment": "/**\r\n\t * Constructs a newly allocated OrderKey object that represents the primitive long argument.\r\n\t */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -48927,12 +71363,17 @@ "type": "java.lang.String", "name": "orderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 39, + "end_line": 39, + "start_column": 18, + "end_column": 31 } ], - "code": "{\n this.orderID = orderID;\n}", + "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, @@ -48950,9 +71391,18 @@ "is_entrypoint": false }, "equals(Object)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "equals(Object)", - "comment": "/**\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 */", + "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" @@ -48964,12 +71414,17 @@ "type": "java.lang.Object", "name": "obj", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 24, + "end_column": 33 } ], - "code": "{\n if (obj instanceof OrderKey) {\n OrderKey otherKey = (OrderKey) obj;\n return (((orderID.equals(otherKey.orderID))));\n } else\n return false;\n}", + "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, @@ -48983,6 +71438,7 @@ "call_sites": [ { "method_name": "equals", + "comment": null, "receiver_expr": "orderID", "receiver_type": "java.lang.String", "argument_types": [ @@ -49006,6 +71462,14 @@ ], "variable_declarations": [ { + "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", @@ -49021,9 +71485,18 @@ "is_entrypoint": false }, "setOrderID(java.lang.String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setOrderID(java.lang.String)", - "comment": "/**\r\n\t * Set accessor for persistent attribute: orderID\r\n\t */", + "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" @@ -49035,12 +71508,17 @@ "type": "java.lang.String", "name": "newOrderID", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 77, + "end_line": 77, + "start_column": 25, + "end_column": 51 } ], - "code": "{\n orderID = newOrderID;\n}", + "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, @@ -49056,9 +71534,18 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "OrderKey()", - "comment": "/**\r\n\t * Constructs an OrderKey object.\r\n\t */", + "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" @@ -49066,9 +71553,10 @@ "thrown_exceptions": [], "declaration": "public OrderKey()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 33, "end_line": 34, + "code_start_line": 33, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -49082,9 +71570,18 @@ "is_entrypoint": false }, "getOrderID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getOrderID()", - "comment": "/**\r\n\t * Get accessor for persistent attribute: orderID\r\n\t */", + "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" @@ -49092,9 +71589,10 @@ "thrown_exceptions": [], "declaration": "public java.lang.String getOrderID()", "parameters": [], - "code": "{\n return orderID;\n}", + "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, @@ -49110,9 +71608,18 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "hashCode()", - "comment": "/**\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 */", + "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" @@ -49120,9 +71627,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n return (orderID.hashCode());\n}", + "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, @@ -49133,6 +71641,7 @@ "call_sites": [ { "method_name": "hashCode", + "comment": null, "receiver_expr": "orderID", "receiver_type": "java.lang.String", "argument_types": [], @@ -49161,7 +71670,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -49177,7 +71693,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -49191,15 +71714,211 @@ "annotations": [] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "comment": "//", + "/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", @@ -49221,7 +71940,72 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\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 */", + "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" @@ -49238,9 +72022,9 @@ "nested_type_declarations": [], "callable_declarations": { "setImage(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setImage(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -49252,12 +72036,17 @@ "type": "java.lang.String", "name": "image", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 191, + "end_line": 191, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.image = image;\n}", + "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, @@ -49275,9 +72064,9 @@ "is_entrypoint": false }, "getDescription()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getDescription()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -49285,9 +72074,10 @@ "thrown_exceptions": [], "declaration": "public String getDescription()", "parameters": [], - "code": "{\n return description;\n}", + "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, @@ -49303,9 +72093,18 @@ "is_entrypoint": false }, "increaseInventory(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "increaseInventory(int)", - "comment": "/**\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 */", + "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" @@ -49317,12 +72116,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 151, + "end_line": 151, + "start_column": 32, + "end_column": 43 } ], - "code": "{\n this.setQuantity(this.getQuantity() + quantity);\n}", + "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, @@ -49333,6 +72137,7 @@ "call_sites": [ { "method_name": "setQuantity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49355,6 +72160,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49381,9 +72187,9 @@ "is_entrypoint": false }, "setBackOrder(BackOrder)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setBackOrder(BackOrder)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -49395,12 +72201,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "name": "backOrder", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 303, + "end_line": 303, + "start_column": 27, + "end_column": 45 } ], - "code": "{\n this.backOrder = backOrder;\n}", + "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, @@ -49418,9 +72229,9 @@ "is_entrypoint": false }, "setName(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setName(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -49432,12 +72243,17 @@ "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 199, + "end_line": 199, + "start_column": 22, + "end_column": 32 } ], - "code": "{\n this.name = name;\n}", + "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, @@ -49455,9 +72271,9 @@ "is_entrypoint": false }, "setImgbytes(byte[])": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setImgbytes(byte[])", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -49469,12 +72285,17 @@ "type": "byte[]", "name": "imgbytes", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 295, + "end_line": 295, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.imgbytes = imgbytes;\n}", + "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, @@ -49490,9 +72311,26 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Inventory(Inventory)", - "comment": "/**\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 */", + "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, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -49504,12 +72342,17 @@ "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "name": "item", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 19, + "end_column": 32 } ], - "code": "{\n this.setInventoryId(item.getInventoryId());\n this.setName(item.getName());\n this.setHeading(item.getHeading());\n this.setDescription(item.getDescription());\n this.setPkginfo(item.getPkginfo());\n this.setImage(item.getImage());\n this.setPrice(item.getPrice());\n this.setCost(item.getCost());\n this.setQuantity(item.getQuantity());\n this.setCategory(item.getCategory());\n this.setNotes(item.getNotes());\n this.setMinThreshold(DEFAULT_MINTHRESHOLD);\n this.setMaxThreshold(DEFAULT_MAXTHRESHOLD);\n setIsPublic(item.isPublic());\n // does not clone BackOrder info\n}", + "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, @@ -49521,6 +72364,7 @@ "call_sites": [ { "method_name": "setInventoryId", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49543,6 +72387,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49563,6 +72408,7 @@ }, { "method_name": "setName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49585,6 +72431,7 @@ }, { "method_name": "getName", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49605,6 +72452,7 @@ }, { "method_name": "setHeading", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49627,6 +72475,7 @@ }, { "method_name": "getHeading", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49647,6 +72496,7 @@ }, { "method_name": "setDescription", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49669,6 +72519,7 @@ }, { "method_name": "getDescription", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49689,6 +72540,7 @@ }, { "method_name": "setPkginfo", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49711,6 +72563,7 @@ }, { "method_name": "getPkginfo", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49731,6 +72584,7 @@ }, { "method_name": "setImage", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49753,6 +72607,7 @@ }, { "method_name": "getImage", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49773,6 +72628,7 @@ }, { "method_name": "setPrice", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49795,6 +72651,7 @@ }, { "method_name": "getPrice", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49815,6 +72672,7 @@ }, { "method_name": "setCost", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49837,6 +72695,7 @@ }, { "method_name": "getCost", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49857,6 +72716,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49879,6 +72739,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49899,6 +72760,7 @@ }, { "method_name": "setCategory", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49921,6 +72783,7 @@ }, { "method_name": "getCategory", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49941,6 +72804,7 @@ }, { "method_name": "setNotes", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -49963,6 +72827,7 @@ }, { "method_name": "getNotes", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -49983,6 +72848,7 @@ }, { "method_name": "setMinThreshold", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -50005,6 +72871,7 @@ }, { "method_name": "setMaxThreshold", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -50027,6 +72894,7 @@ }, { "method_name": "setIsPublic", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -50049,6 +72917,7 @@ }, { "method_name": "isPublic", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -50075,9 +72944,9 @@ "is_entrypoint": false }, "getMaxThreshold()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getMaxThreshold()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50085,9 +72954,10 @@ "thrown_exceptions": [], "declaration": "public int getMaxThreshold()", "parameters": [], - "code": "{\n return maxThreshold;\n}", + "code": "{\r\n\t\treturn maxThreshold;\r\n\t}", "start_line": 235, "end_line": 237, + "code_start_line": 235, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -50103,9 +72973,9 @@ "is_entrypoint": false }, "getInventoryId()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getInventoryId()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50113,9 +72983,10 @@ "thrown_exceptions": [], "declaration": "public String getInventoryId()", "parameters": [], - "code": "{\n return inventoryId;\n}", + "code": "{\r\n\t\treturn inventoryId;\r\n\t}", "start_line": 251, "end_line": 253, + "code_start_line": 251, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50131,9 +73002,9 @@ "is_entrypoint": false }, "getPkginfo()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPkginfo()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50141,9 +73012,10 @@ "thrown_exceptions": [], "declaration": "public String getPkginfo()", "parameters": [], - "code": "{\n return pkginfo;\n}", + "code": "{\r\n\t\treturn pkginfo;\r\n\t}", "start_line": 211, "end_line": 213, + "code_start_line": 211, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50159,9 +73031,9 @@ "is_entrypoint": false }, "getMinThreshold()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getMinThreshold()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50169,9 +73041,10 @@ "thrown_exceptions": [], "declaration": "public int getMinThreshold()", "parameters": [], - "code": "{\n return minThreshold;\n}", + "code": "{\r\n\t\treturn minThreshold;\r\n\t}", "start_line": 243, "end_line": 245, + "code_start_line": 243, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -50187,9 +73060,9 @@ "is_entrypoint": false }, "setNotes(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setNotes(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50201,12 +73074,17 @@ "type": "java.lang.String", "name": "notes", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 207, + "end_line": 207, + "start_column": 23, + "end_column": 34 } ], - "code": "{\n this.notes = notes;\n}", + "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, @@ -50224,9 +73102,9 @@ "is_entrypoint": false }, "setMinThreshold(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setMinThreshold(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50238,12 +73116,17 @@ "type": "int", "name": "minThreshold", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 247, + "end_line": 247, + "start_column": 30, + "end_column": 45 } ], - "code": "{\n this.minThreshold = minThreshold;\n}", + "code": "{\r\n\t\tthis.minThreshold = minThreshold;\r\n\t}", "start_line": 247, "end_line": 249, + "code_start_line": 247, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -50259,9 +73142,9 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getPrice()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50269,9 +73152,10 @@ "thrown_exceptions": [], "declaration": "public float getPrice()", "parameters": [], - "code": "{\n return price;\n}", + "code": "{\r\n\t\treturn price;\r\n\t}", "start_line": 219, "end_line": 221, + "code_start_line": 219, "return_type": "float", "is_implicit": false, "is_constructor": false, @@ -50287,9 +73171,9 @@ "is_entrypoint": false }, "setInventoryId(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setInventoryId(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50301,12 +73185,17 @@ "type": "java.lang.String", "name": "id", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 255, + "end_line": 255, + "start_column": 29, + "end_column": 37 } ], - "code": "{\n inventoryId = id;\n}", + "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, @@ -50322,9 +73211,18 @@ "is_entrypoint": false }, "setPrivacy(boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPrivacy(boolean)", - "comment": "/** Set the inventory item's public availability. */", + "comments": [ + { + "content": " Set the inventory item's public availability. ", + "start_line": 286, + "end_line": 286, + "start_column": 2, + "end_column": 53, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -50336,12 +73234,17 @@ "type": "boolean", "name": "isPublic", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 287, + "end_line": 287, + "start_column": 25, + "end_column": 40 } ], - "code": "{\n setIsPublic(isPublic);\n}", + "code": "{\r\n\t\tsetIsPublic(isPublic);\r\n\t}", "start_line": 287, "end_line": 289, + "code_start_line": 287, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -50352,6 +73255,7 @@ "call_sites": [ { "method_name": "setIsPublic", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -50380,9 +73284,9 @@ "is_entrypoint": false }, "setMaxThreshold(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setMaxThreshold(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50394,12 +73298,17 @@ "type": "int", "name": "maxThreshold", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 239, + "end_line": 239, + "start_column": 30, + "end_column": 45 } ], - "code": "{\n this.maxThreshold = maxThreshold;\n}", + "code": "{\r\n\t\tthis.maxThreshold = maxThreshold;\r\n\t}", "start_line": 239, "end_line": 241, + "code_start_line": 239, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -50415,9 +73324,9 @@ "is_entrypoint": false }, "()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Inventory()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50425,9 +73334,10 @@ "thrown_exceptions": [], "declaration": "public Inventory()", "parameters": [], - "code": "{\n}", + "code": "{\r\n\t}", "start_line": 68, "end_line": 69, + "code_start_line": 68, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -50441,9 +73351,9 @@ "is_entrypoint": false }, "getName()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getName()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50451,9 +73361,10 @@ "thrown_exceptions": [], "declaration": "public String getName()", "parameters": [], - "code": "{\n return name;\n}", + "code": "{\r\n\t\treturn name;\r\n\t}", "start_line": 195, "end_line": 197, + "code_start_line": 195, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50469,9 +73380,9 @@ "is_entrypoint": false }, "setQuantity(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setQuantity(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50483,12 +73394,17 @@ "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 231, + "end_line": 231, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -50504,9 +73420,9 @@ "is_entrypoint": false }, "setPkginfo(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPkginfo(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50518,12 +73434,17 @@ "type": "java.lang.String", "name": "pkginfo", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 215, + "end_line": 215, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.pkginfo = pkginfo;\n}", + "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, @@ -50541,9 +73462,9 @@ "is_entrypoint": false }, "getCost()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCost()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50551,9 +73472,10 @@ "thrown_exceptions": [], "declaration": "public float getCost()", "parameters": [], - "code": "{\n return cost;\n}", + "code": "{\r\n\t\treturn cost;\r\n\t}", "start_line": 163, "end_line": 165, + "code_start_line": 163, "return_type": "float", "is_implicit": false, "is_constructor": false, @@ -50569,9 +73491,18 @@ "is_entrypoint": false }, "setID(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setID(String)", - "comment": "/**\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 */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -50583,12 +73514,17 @@ "type": "java.lang.String", "name": "id", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 274, + "end_line": 274, + "start_column": 20, + "end_column": 28 } ], - "code": "{\n inventoryId = id;\n}", + "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, @@ -50604,9 +73540,9 @@ "is_entrypoint": false }, "setCategory(int)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCategory(int)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50618,12 +73554,17 @@ "type": "int", "name": "category", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 159, + "end_line": 159, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.category = category;\n}", + "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, @@ -50639,9 +73580,9 @@ "is_entrypoint": false }, "getHeading()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getHeading()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50649,9 +73590,10 @@ "thrown_exceptions": [], "declaration": "public String getHeading()", "parameters": [], - "code": "{\n return heading;\n}", + "code": "{\r\n\t\treturn heading;\r\n\t}", "start_line": 179, "end_line": 181, + "code_start_line": 179, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50667,9 +73609,9 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getQuantity()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50677,9 +73619,10 @@ "thrown_exceptions": [], "declaration": "public int getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "code": "{\r\n\t\treturn quantity;\r\n\t}", "start_line": 227, "end_line": 229, + "code_start_line": 227, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -50695,9 +73638,9 @@ "is_entrypoint": false }, "getBackOrder()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getBackOrder()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50705,9 +73648,10 @@ "thrown_exceptions": [], "declaration": "public BackOrder getBackOrder()", "parameters": [], - "code": "{\n return backOrder;\n}", + "code": "{\r\n\t\treturn backOrder;\r\n\t}", "start_line": 299, "end_line": 301, + "code_start_line": 299, "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "is_implicit": false, "is_constructor": false, @@ -50723,9 +73667,9 @@ "is_entrypoint": false }, "getImage()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getImage()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50733,9 +73677,10 @@ "thrown_exceptions": [], "declaration": "public String getImage()", "parameters": [], - "code": "{\n return image;\n}", + "code": "{\r\n\t\treturn image;\r\n\t}", "start_line": 187, "end_line": 189, + "code_start_line": 187, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50751,9 +73696,9 @@ "is_entrypoint": false }, "isPublic()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "isPublic()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50761,9 +73706,10 @@ "thrown_exceptions": [], "declaration": "public boolean isPublic()", "parameters": [], - "code": "{\n return isPublic;\n}", + "code": "{\r\n\t\treturn isPublic;\r\n\t}", "start_line": 278, "end_line": 280, + "code_start_line": 278, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -50779,9 +73725,9 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "toString()", - "comment": "", + "comments": [], "annotations": [ "@Override" ], @@ -50791,9 +73737,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return getClass().getSimpleName() + \"{id=\" + inventoryId + \"}\";\n}", + "code": "{\r\n\t return getClass().getSimpleName() + \"{id=\" + inventoryId + \"}\";\r\n\t}", "start_line": 307, "end_line": 310, + "code_start_line": 308, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50804,6 +73751,7 @@ "call_sites": [ { "method_name": "getSimpleName", + "comment": null, "receiver_expr": "getClass()", "receiver_type": "java.lang.Class", "argument_types": [], @@ -50824,6 +73772,7 @@ }, { "method_name": "getClass", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -50850,9 +73799,9 @@ "is_entrypoint": false }, "setIsPublic(boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setIsPublic(boolean)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50864,12 +73813,17 @@ "type": "boolean", "name": "isPublic", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 282, + "end_line": 282, + "start_column": 26, + "end_column": 41 } ], - "code": "{\n this.isPublic = isPublic;\n}", + "code": "{\r\n\t\tthis.isPublic = isPublic;\r\n\t}", "start_line": 282, "end_line": 284, + "code_start_line": 282, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -50885,9 +73839,9 @@ "is_entrypoint": false }, "setPrice(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setPrice(float)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -50899,12 +73853,17 @@ "type": "float", "name": "price", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 223, + "end_line": 223, + "start_column": 23, + "end_column": 33 } ], - "code": "{\n this.price = price;\n}", + "code": "{\r\n\t\tthis.price = price;\r\n\t}", "start_line": 223, "end_line": 225, + "code_start_line": 223, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -50920,9 +73879,18 @@ "is_entrypoint": false }, "(String, String, String, String, String, String, float, float, int, int, String, boolean)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "Inventory(String, String, String, String, String, String, float, float, int, int, String, boolean)", - "comment": "/**\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 */", + "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" @@ -50934,78 +73902,127 @@ "type": "java.lang.String", "name": "key", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 19, + "end_column": 28 }, { "type": "java.lang.String", "name": "name", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 31, + "end_column": 41 }, { "type": "java.lang.String", "name": "heading", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 44, + "end_column": 57 }, { "type": "java.lang.String", "name": "desc", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 60, + "end_column": 70 }, { "type": "java.lang.String", "name": "pkginfo", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 73, + "end_column": 86 }, { "type": "java.lang.String", "name": "image", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 89, + "end_column": 100 }, { "type": "float", "name": "price", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 103, + "end_column": 113 }, { "type": "float", "name": "cost", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 4, + "end_column": 13 }, { "type": "int", "name": "quantity", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 16, + "end_column": 27 }, { "type": "int", "name": "category", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 30, + "end_column": 41 }, { "type": "java.lang.String", "name": "notes", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 44, + "end_column": 55 }, { "type": "boolean", "name": "isPublic", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 58, + "end_column": 73 } ], - "code": "{\n this.setInventoryId(key);\n Util.debug(\"creating new Inventory, inventoryId=\" + this.getInventoryId());\n this.setName(name);\n this.setHeading(heading);\n this.setDescription(desc);\n this.setPkginfo(pkginfo);\n this.setImage(image);\n this.setPrice(price);\n this.setCost(cost);\n this.setQuantity(quantity);\n this.setCategory(category);\n this.setNotes(notes);\n this.setIsPublic(isPublic);\n this.setMinThreshold(DEFAULT_MINTHRESHOLD);\n this.setMaxThreshold(DEFAULT_MAXTHRESHOLD);\n}", + "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, @@ -51027,6 +74044,7 @@ "call_sites": [ { "method_name": "setInventoryId", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51049,6 +74067,7 @@ }, { "method_name": "debug", + "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ @@ -51071,6 +74090,7 @@ }, { "method_name": "getInventoryId", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -51091,6 +74111,7 @@ }, { "method_name": "setName", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51113,6 +74134,7 @@ }, { "method_name": "setHeading", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51135,6 +74157,7 @@ }, { "method_name": "setDescription", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51157,6 +74180,7 @@ }, { "method_name": "setPkginfo", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51179,6 +74203,7 @@ }, { "method_name": "setImage", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51201,6 +74226,7 @@ }, { "method_name": "setPrice", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51223,6 +74249,7 @@ }, { "method_name": "setCost", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51245,6 +74272,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51267,6 +74295,7 @@ }, { "method_name": "setCategory", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51289,6 +74318,7 @@ }, { "method_name": "setNotes", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51311,6 +74341,7 @@ }, { "method_name": "setIsPublic", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51333,6 +74364,7 @@ }, { "method_name": "setMinThreshold", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51355,6 +74387,7 @@ }, { "method_name": "setMaxThreshold", + "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -51383,9 +74416,18 @@ "is_entrypoint": false }, "getID()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getID()", - "comment": "/**\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 */", + "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 + } + ], "annotations": [], "modifiers": [ "public" @@ -51393,9 +74435,10 @@ "thrown_exceptions": [], "declaration": "public String getID()", "parameters": [], - "code": "{\n return inventoryId;\n}", + "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, @@ -51411,9 +74454,9 @@ "is_entrypoint": false }, "getImgbytes()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getImgbytes()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51421,9 +74464,10 @@ "thrown_exceptions": [], "declaration": "public byte[] getImgbytes()", "parameters": [], - "code": "{\n return imgbytes;\n}", + "code": "{\r\n\t\treturn imgbytes;\r\n\t}", "start_line": 291, "end_line": 293, + "code_start_line": 291, "return_type": "byte[]", "is_implicit": false, "is_constructor": false, @@ -51439,9 +74483,9 @@ "is_entrypoint": false }, "setDescription(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setDescription(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51453,12 +74497,17 @@ "type": "java.lang.String", "name": "description", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 29, + "end_column": 46 } ], - "code": "{\n this.description = description;\n}", + "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, @@ -51476,9 +74525,9 @@ "is_entrypoint": false }, "setHeading(String)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setHeading(String)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51490,12 +74539,17 @@ "type": "java.lang.String", "name": "heading", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 183, + "end_line": 183, + "start_column": 25, + "end_column": 38 } ], - "code": "{\n this.heading = heading;\n}", + "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, @@ -51513,9 +74567,9 @@ "is_entrypoint": false }, "getNotes()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getNotes()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51523,9 +74577,10 @@ "thrown_exceptions": [], "declaration": "public String getNotes()", "parameters": [], - "code": "{\n return notes;\n}", + "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, @@ -51541,9 +74596,9 @@ "is_entrypoint": false }, "getCategory()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "getCategory()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51551,9 +74606,10 @@ "thrown_exceptions": [], "declaration": "public int getCategory()", "parameters": [], - "code": "{\n return category;\n}", + "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, @@ -51569,9 +74625,9 @@ "is_entrypoint": false }, "setCost(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/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", "signature": "setCost(float)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51583,12 +74639,17 @@ "type": "float", "name": "cost", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 167, + "end_line": 167, + "start_column": 22, + "end_column": 31 } ], - "code": "{\n this.cost = cost;\n}", + "code": "{\r\n\t\tthis.cost = cost;\r\n\t}", "start_line": 167, "end_line": 169, + "code_start_line": 167, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51606,7 +74667,14 @@ }, "field_declarations": [ { - "comment": "", + "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, @@ -51622,7 +74690,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -51638,7 +74713,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "int", "start_line": 44, @@ -51654,7 +74736,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -51670,7 +74759,14 @@ ] }, { - "comment": "", + "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, @@ -51684,7 +74780,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -51698,7 +74801,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -51712,7 +74822,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -51726,7 +74843,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -51740,7 +74864,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "byte[]", "start_line": 52, @@ -51754,7 +74885,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "float", "start_line": 53, @@ -51768,7 +74906,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "float", "start_line": 54, @@ -51782,7 +74927,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "int", "start_line": 55, @@ -51796,7 +74948,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "int", "start_line": 56, @@ -51810,7 +74969,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -51824,7 +74990,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "boolean", "start_line": 58, @@ -51838,7 +75011,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "int", "start_line": 59, @@ -51852,7 +75032,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "int", "start_line": 60, @@ -51866,7 +75053,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "long", "start_line": 62, @@ -51882,7 +75076,14 @@ ] }, { - "comment": "", + "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.BackOrder", "start_line": 65, @@ -51898,15 +75099,187 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false }, - "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", - "comment": "//", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.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 * A combination JSF action bean and backing bean for the shopping web page.\r\n *\r\n ", + "start_line": 38, + "end_line": 41, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": " keep an independent list of items so we can add pricing methods", + "start_line": 50, + "end_line": 50, + "start_column": 2, + "end_column": 67, + "is_javadoc": false + }, + { + "content": " Have to convert all the inventory objects into product beans.", + "start_line": 121, + "end_line": 121, + "start_column": 3, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " No category specified, so just use the last one.", + "start_line": 111, + "end_line": 111, + "start_column": 5, + "end_column": 55, + "is_javadoc": false + }, + { + "content": "\r\n\t * @return the shippingCost\r\n\t ", + "start_line": 150, + "end_line": 152, + "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.text.NumberFormat", @@ -51936,7 +75309,48 @@ "is_inner_class": false, "is_local_class": false, "extends_list": [], - "comment": "/**\r\n * A combination JSF action bean and backing bean for the shopping web page.\r\n *\r\n */", + "comments": [ + { + "content": " keep an independent list of items so we can add pricing methods", + "start_line": 50, + "end_line": 50, + "start_column": 2, + "end_column": 67, + "is_javadoc": false + }, + { + "content": " Have to convert all the inventory objects into product beans.", + "start_line": 121, + "end_line": 121, + "start_column": 3, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " No category specified, so just use the last one.", + "start_line": 111, + "end_line": 111, + "start_column": 5, + "end_column": 55, + "is_javadoc": false + }, + { + "content": "\r\n\t * @return the shippingCost\r\n\t ", + "start_line": 150, + "end_line": 152, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * A combination JSF action bean and backing bean for the shopping web page.\r\n *\r\n ", + "start_line": 38, + "end_line": 41, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], "implements_list": [ "java.io.Serializable" ], @@ -51951,9 +75365,9 @@ "nested_type_declarations": [], "callable_declarations": { "getProduct()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getProduct()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51961,9 +75375,10 @@ "thrown_exceptions": [], "declaration": "public ProductBean getProduct()", "parameters": [], - "code": "{\n return this.product;\n}", + "code": "{\r\n\t\treturn this.product;\r\n\t}", "start_line": 138, "end_line": 140, + "code_start_line": 138, "return_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "is_implicit": false, "is_constructor": false, @@ -51981,9 +75396,9 @@ "is_entrypoint": false }, "getCart()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getCart()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -51991,9 +75406,10 @@ "thrown_exceptions": [], "declaration": "public ShoppingCartBean getCart()", "parameters": [], - "code": "{\n return shoppingCart;\n}", + "code": "{\r\n\t\treturn shoppingCart;\r\n\t}", "start_line": 170, "end_line": 172, + "code_start_line": 170, "return_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "is_implicit": false, "is_constructor": false, @@ -52009,9 +75425,26 @@ "is_entrypoint": false }, "performShopping()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "performShopping()", - "comment": "", + "comments": [ + { + "content": " Have to convert all the inventory objects into product beans.", + "start_line": 121, + "end_line": 121, + "start_column": 3, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " No category specified, so just use the last one.", + "start_line": 111, + "end_line": 111, + "start_column": 5, + "end_column": 55, + "is_javadoc": false + } + ], "annotations": [], "modifiers": [ "public" @@ -52019,9 +75452,10 @@ "thrown_exceptions": [], "declaration": "public String performShopping()", "parameters": [], - "code": "{\n int category = 0;\n FacesContext facesContext = FacesContext.getCurrentInstance();\n ExternalContext externalContext = facesContext.getExternalContext();\n Vector inventories;\n Map requestParams = externalContext.getRequestParameterMap();\n try {\n category = Integer.parseInt(requestParams.get(\"category\"));\n } catch (Throwable e) {\n if (this.products != null) {\n // No category specified, so just use the last one.\n return ShoppingBean.ACTION_SHOPPING;\n }\n }\n inventories = this.catalog.getItemsByCategory(category);\n this.products = new LinkedList();\n // Have to convert all the inventory objects into product beans.\n for (Object obj : inventories) {\n Inventory inventory = (Inventory) obj;\n if (inventory.isPublic()) {\n this.products.add(new ProductBean(inventory));\n }\n }\n return ShoppingBean.ACTION_SHOPPING;\n}", + "code": "{\r\n\t\tint category = 0;\r\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\r\n\t\tExternalContext externalContext = facesContext.getExternalContext();\r\n\t\tVector inventories;\r\n\t\tMap requestParams = externalContext.getRequestParameterMap();\r\n\r\n\t\ttry {\r\n\t\t\tcategory = Integer.parseInt(requestParams.get(\"category\"));\r\n\t\t}\r\n\r\n\t\tcatch (Throwable e) {\r\n\t\t\tif (this.products != null) {\r\n\t\t\t\t// No category specified, so just use the last one.\r\n\r\n\t\t\t\treturn ShoppingBean.ACTION_SHOPPING;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tinventories = this.catalog.getItemsByCategory(category);\r\n\r\n\t\tthis.products = new LinkedList();\r\n\r\n\t\t// Have to convert all the inventory objects into product beans.\r\n\r\n\t\tfor (Object obj : inventories) {\r\n\t\t\tInventory inventory = (Inventory) obj;\r\n\r\n\t\t\tif (inventory.isPublic()) {\r\n\t\t\t\tthis.products.add(new ProductBean(inventory));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn ShoppingBean.ACTION_SHOPPING;\r\n\t}", "start_line": 98, "end_line": 132, + "code_start_line": 98, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -52044,6 +75478,7 @@ "call_sites": [ { "method_name": "getCurrentInstance", + "comment": null, "receiver_expr": "FacesContext", "receiver_type": "", "argument_types": [], @@ -52064,6 +75499,7 @@ }, { "method_name": "getExternalContext", + "comment": null, "receiver_expr": "facesContext", "receiver_type": "", "argument_types": [], @@ -52084,6 +75520,7 @@ }, { "method_name": "getRequestParameterMap", + "comment": null, "receiver_expr": "externalContext", "receiver_type": "", "argument_types": [], @@ -52104,6 +75541,7 @@ }, { "method_name": "parseInt", + "comment": null, "receiver_expr": "Integer", "receiver_type": "java.lang.Integer", "argument_types": [ @@ -52126,6 +75564,7 @@ }, { "method_name": "get", + "comment": null, "receiver_expr": "requestParams", "receiver_type": "java.util.Map", "argument_types": [ @@ -52148,6 +75587,7 @@ }, { "method_name": "getItemsByCategory", + "comment": null, "receiver_expr": "this.catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -52170,6 +75610,7 @@ }, { "method_name": "isPublic", + "comment": null, "receiver_expr": "inventory", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], @@ -52190,6 +75631,7 @@ }, { "method_name": "add", + "comment": null, "receiver_expr": "this.products", "receiver_type": "java.util.LinkedList", "argument_types": [ @@ -52212,6 +75654,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.LinkedList", "argument_types": [], @@ -52232,6 +75675,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "argument_types": [ @@ -52255,6 +75699,14 @@ ], "variable_declarations": [ { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "category", "type": "int", "initializer": "0", @@ -52264,6 +75716,14 @@ "end_column": 18 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "facesContext", "type": "FacesContext", "initializer": "FacesContext.getCurrentInstance()", @@ -52273,6 +75733,14 @@ "end_column": 63 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "externalContext", "type": "ExternalContext", "initializer": "facesContext.getExternalContext()", @@ -52282,6 +75750,14 @@ "end_column": 69 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "inventories", "type": "java.util.Vector", "initializer": "", @@ -52291,6 +75767,14 @@ "end_column": 31 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "requestParams", "type": "java.util.Map", "initializer": "externalContext.getRequestParameterMap()", @@ -52300,6 +75784,14 @@ "end_column": 78 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "obj", "type": "java.lang.Object", "initializer": "", @@ -52309,6 +75801,14 @@ "end_column": 17 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "inventory", "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "initializer": "(Inventory) obj", @@ -52324,9 +75824,9 @@ "is_entrypoint": false }, "getTotalCostString()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getTotalCostString()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -52334,9 +75834,10 @@ "thrown_exceptions": [], "declaration": "public String getTotalCostString()", "parameters": [], - "code": "{\n return NumberFormat.getCurrencyInstance(Locale.US).format(getTotalCost());\n}", + "code": "{\r\n\t\treturn NumberFormat.getCurrencyInstance(Locale.US).format(getTotalCost());\r\n\t}", "start_line": 166, "end_line": 168, + "code_start_line": 166, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -52349,6 +75850,7 @@ "call_sites": [ { "method_name": "format", + "comment": null, "receiver_expr": "NumberFormat.getCurrencyInstance(Locale.US)", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -52371,6 +75873,7 @@ }, { "method_name": "getCurrencyInstance", + "comment": null, "receiver_expr": "NumberFormat", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -52393,6 +75896,7 @@ }, { "method_name": "getTotalCost", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -52419,9 +75923,9 @@ "is_entrypoint": false }, "getProducts()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getProducts()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -52429,9 +75933,10 @@ "thrown_exceptions": [], "declaration": "public Collection getProducts()", "parameters": [], - "code": "{\n return this.products;\n}", + "code": "{\r\n\t\treturn this.products;\r\n\t}", "start_line": 142, "end_line": 144, + "code_start_line": 142, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -52449,9 +75954,9 @@ "is_entrypoint": false }, "performProductDetail()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "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()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -52459,9 +75964,10 @@ "thrown_exceptions": [], "declaration": "public String performProductDetail()", "parameters": [], - "code": "{\n FacesContext facesContext = FacesContext.getCurrentInstance();\n ExternalContext externalContext = facesContext.getExternalContext();\n Map requestParams = externalContext.getRequestParameterMap();\n this.product = new ProductBean(this.catalog.getItemInventory(requestParams.get(\"itemID\")));\n return ShoppingBean.ACTION_PRODUCT;\n}", + "code": "{\r\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\r\n\t\tExternalContext externalContext = facesContext.getExternalContext();\r\n\t\tMap requestParams = externalContext.getRequestParameterMap();\r\n\r\n\t\tthis.product = new ProductBean(this.catalog.getItemInventory(requestParams.get(\"itemID\")));\r\n\r\n\t\treturn ShoppingBean.ACTION_PRODUCT;\r\n\t}", "start_line": 79, "end_line": 87, + "code_start_line": 79, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -52481,6 +75987,7 @@ "call_sites": [ { "method_name": "getCurrentInstance", + "comment": null, "receiver_expr": "FacesContext", "receiver_type": "", "argument_types": [], @@ -52501,6 +76008,7 @@ }, { "method_name": "getExternalContext", + "comment": null, "receiver_expr": "facesContext", "receiver_type": "", "argument_types": [], @@ -52521,6 +76029,7 @@ }, { "method_name": "getRequestParameterMap", + "comment": null, "receiver_expr": "externalContext", "receiver_type": "", "argument_types": [], @@ -52541,6 +76050,7 @@ }, { "method_name": "getItemInventory", + "comment": null, "receiver_expr": "this.catalog", "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ @@ -52563,6 +76073,7 @@ }, { "method_name": "get", + "comment": null, "receiver_expr": "requestParams", "receiver_type": "java.util.Map", "argument_types": [ @@ -52585,6 +76096,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "argument_types": [ @@ -52608,6 +76120,14 @@ ], "variable_declarations": [ { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "facesContext", "type": "FacesContext", "initializer": "FacesContext.getCurrentInstance()", @@ -52617,6 +76137,14 @@ "end_column": 63 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "externalContext", "type": "ExternalContext", "initializer": "facesContext.getExternalContext()", @@ -52626,6 +76154,14 @@ "end_column": 69 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": "requestParams", "type": "java.util.Map", "initializer": "externalContext.getRequestParameterMap()", @@ -52641,9 +76177,9 @@ "is_entrypoint": false }, "wrapInventoryItems(Collection)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "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)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "private" @@ -52655,12 +76191,17 @@ "type": "java.util.Collection", "name": "invItems", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 174, + "end_line": 174, + "start_column": 53, + "end_column": 82 } ], - "code": "{\n ArrayList shoppingList = new ArrayList();\n for (Inventory i : invItems) {\n shoppingList.add(new ShoppingItem(i));\n }\n return shoppingList;\n}", + "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, @@ -52672,6 +76213,7 @@ "call_sites": [ { "method_name": "add", + "comment": null, "receiver_expr": "shoppingList", "receiver_type": "java.util.ArrayList", "argument_types": [ @@ -52694,6 +76236,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], @@ -52714,6 +76257,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.war.ShoppingItem", "argument_types": [ @@ -52737,6 +76281,14 @@ ], "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()", @@ -52746,6 +76298,14 @@ "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": "", @@ -52761,9 +76321,18 @@ "is_entrypoint": false }, "getShippingCost()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "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()", - "comment": "/**\r\n\t * @return the shippingCost\r\n\t */", + "comments": [ + { + "content": "\r\n\t * @return the shippingCost\r\n\t ", + "start_line": 150, + "end_line": 152, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" @@ -52771,9 +76340,10 @@ "thrown_exceptions": [], "declaration": "public float getShippingCost()", "parameters": [], - "code": "{\n return shippingCost;\n}", + "code": "{\r\n\t\treturn shippingCost;\r\n\t}", "start_line": 153, "end_line": 155, + "code_start_line": 153, "return_type": "float", "is_implicit": false, "is_constructor": false, @@ -52789,9 +76359,9 @@ "is_entrypoint": false }, "performAddToCart()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "performAddToCart()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -52799,9 +76369,10 @@ "thrown_exceptions": [], "declaration": "public String performAddToCart()", "parameters": [], - "code": "{\n Inventory item = new Inventory(this.product.getInventory());\n item.setQuantity(this.product.getQuantity());\n shoppingCart.addItem(item);\n return performCart();\n}", + "code": "{\r\n\t\tInventory item = new Inventory(this.product.getInventory());\r\n\r\n\t\titem.setQuantity(this.product.getQuantity());\r\n\r\n\t\tshoppingCart.addItem(item);\r\n\r\n\t\treturn performCart();\r\n\t}", "start_line": 63, "end_line": 71, + "code_start_line": 63, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -52816,6 +76387,7 @@ "call_sites": [ { "method_name": "getInventory", + "comment": null, "receiver_expr": "this.product", "receiver_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "argument_types": [], @@ -52836,6 +76408,7 @@ }, { "method_name": "setQuantity", + "comment": null, "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -52858,6 +76431,7 @@ }, { "method_name": "getQuantity", + "comment": null, "receiver_expr": "this.product", "receiver_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "argument_types": [], @@ -52878,6 +76452,7 @@ }, { "method_name": "addItem", + "comment": null, "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [ @@ -52900,6 +76475,7 @@ }, { "method_name": "performCart", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -52920,6 +76496,7 @@ }, { "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ @@ -52943,6 +76520,14 @@ ], "variable_declarations": [ { + "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": "new Inventory(this.product.getInventory())", @@ -52958,9 +76543,9 @@ "is_entrypoint": false }, "getShippingCostString()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getShippingCostString()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -52968,9 +76553,10 @@ "thrown_exceptions": [], "declaration": "public String getShippingCostString()", "parameters": [], - "code": "{\n return NumberFormat.getCurrencyInstance(Locale.US).format(this.shippingCost);\n}", + "code": "{\r\n\t\treturn NumberFormat.getCurrencyInstance(Locale.US).format(this.shippingCost);\r\n\t}", "start_line": 146, "end_line": 148, + "code_start_line": 146, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -52984,6 +76570,7 @@ "call_sites": [ { "method_name": "format", + "comment": null, "receiver_expr": "NumberFormat.getCurrencyInstance(Locale.US)", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -53006,6 +76593,7 @@ }, { "method_name": "getCurrencyInstance", + "comment": null, "receiver_expr": "NumberFormat", "receiver_type": "java.text.NumberFormat", "argument_types": [ @@ -53034,9 +76622,9 @@ "is_entrypoint": false }, "getCartItems()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getCartItems()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -53044,9 +76632,10 @@ "thrown_exceptions": [], "declaration": "public Collection getCartItems()", "parameters": [], - "code": "{\n return this.cartItems;\n}", + "code": "{\r\n\t\treturn this.cartItems;\r\n\t}", "start_line": 134, "end_line": 136, + "code_start_line": 134, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -53064,9 +76653,9 @@ "is_entrypoint": false }, "performRecalculate()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "performRecalculate()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -53074,9 +76663,10 @@ "thrown_exceptions": [], "declaration": "public String performRecalculate()", "parameters": [], - "code": "{\n shoppingCart.removeZeroQuantityItems();\n this.cartItems = wrapInventoryItems(shoppingCart.getItems());\n return performCart();\n}", + "code": "{\r\n\r\n\t\tshoppingCart.removeZeroQuantityItems();\r\n\r\n\t\tthis.cartItems = wrapInventoryItems(shoppingCart.getItems());\r\n\r\n\t\treturn performCart();\r\n\t}", "start_line": 89, "end_line": 96, + "code_start_line": 89, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -53090,6 +76680,7 @@ "call_sites": [ { "method_name": "removeZeroQuantityItems", + "comment": null, "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], @@ -53110,6 +76701,7 @@ }, { "method_name": "wrapInventoryItems", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -53132,6 +76724,7 @@ }, { "method_name": "getItems", + "comment": null, "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], @@ -53152,6 +76745,7 @@ }, { "method_name": "performCart", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], @@ -53178,9 +76772,9 @@ "is_entrypoint": false }, "getTotalCost()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getTotalCost()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -53188,9 +76782,10 @@ "thrown_exceptions": [], "declaration": "public float getTotalCost()", "parameters": [], - "code": "{\n return shoppingCart.getSubtotalCost() + this.shippingCost;\n}", + "code": "{\r\n\t\treturn shoppingCart.getSubtotalCost() + this.shippingCost;\r\n\t}", "start_line": 162, "end_line": 164, + "code_start_line": 162, "return_type": "float", "is_implicit": false, "is_constructor": false, @@ -53202,6 +76797,7 @@ "call_sites": [ { "method_name": "getSubtotalCost", + "comment": null, "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], @@ -53228,9 +76824,9 @@ "is_entrypoint": false }, "setShippingCost(float)": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "setShippingCost(float)", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -53242,12 +76838,17 @@ "type": "float", "name": "shippingCost", "annotations": [], - "modifiers": [] + "modifiers": [], + "start_line": 157, + "end_line": 157, + "start_column": 30, + "end_column": 47 } ], - "code": "{\n this.shippingCost = shippingCost;\n}", + "code": "{\r\n\t\tthis.shippingCost = shippingCost;\r\n\r\n\t}", "start_line": 157, "end_line": 160, + "code_start_line": 157, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -53263,9 +76864,9 @@ "is_entrypoint": false }, "performCart()": { - "file_path": "/home/rkrsn/workspace/codellm-devkit/python-sdk/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "performCart()", - "comment": "", + "comments": [], "annotations": [], "modifiers": [ "public" @@ -53273,9 +76874,10 @@ "thrown_exceptions": [], "declaration": "public String performCart()", "parameters": [], - "code": "{\n cartItems = wrapInventoryItems(shoppingCart.getItems());\n return ShoppingBean.ACTION_CART;\n}", + "code": "{\r\n\t\tcartItems = wrapInventoryItems(shoppingCart.getItems());\r\n\r\n\t\treturn ShoppingBean.ACTION_CART;\r\n\t}", "start_line": 73, "end_line": 77, + "code_start_line": 73, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -53290,6 +76892,7 @@ "call_sites": [ { "method_name": "wrapInventoryItems", + "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ @@ -53312,6 +76915,7 @@ }, { "method_name": "getItems", + "comment": null, "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], @@ -53340,7 +76944,14 @@ }, "field_declarations": [ { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "long", "start_line": 45, @@ -53356,7 +76967,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -53372,7 +76990,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -53388,7 +77013,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -53404,7 +77036,14 @@ "annotations": [] }, { - "comment": "// keep an independent list of items so we can add pricing methods", + "comment": { + "content": " keep an independent list of items so we can add pricing methods", + "start_line": 50, + "end_line": 50, + "start_column": 2, + "end_column": 67, + "is_javadoc": false + }, "name": null, "type": "java.util.ArrayList", "start_line": 51, @@ -53418,7 +77057,14 @@ "annotations": [] }, { - "comment": "", + "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, @@ -53434,7 +77080,14 @@ ] }, { - "comment": "", + "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.ProductBean", "start_line": 56, @@ -53448,7 +77101,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "java.util.LinkedList", "start_line": 57, @@ -53462,7 +77122,14 @@ "annotations": [] }, { - "comment": "", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, "name": null, "type": "float", "start_line": 58, @@ -53476,7 +77143,14 @@ "annotations": [] }, { - "comment": "", + "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": 60, @@ -53492,13 +77166,14 @@ ] } ], - "enum_constants": null, + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], "is_entrypoint_class": false } }, "is_modified": false } }, - "version": "2.2.0-dev" -} - + "version": "2.3.4" +} \ No newline at end of file diff --git a/tests/resources/java/analysis_json/fat/analysis.json b/tests/resources/java/analysis_json/fat/analysis.json deleted file mode 100644 index 1927b40..0000000 --- a/tests/resources/java/analysis_json/fat/analysis.json +++ /dev/null @@ -1,20017 +0,0 @@ -{ - "system_dependency_graph": [ - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"isValid()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.lang.Throwable\\\"\\n ],\\n \\\"declaration\\\": \\\"public boolean isValid() throws Throwable\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n if (file.exists()) {\\\\n ZipValidator zipFile = new ZipValidator(file);\\\\n Enumeration entries = zipFile.entries();\\\\n if (!entries.hasMoreElements()) {\\\\n return true;\\\\n }\\\\n zipFile.close();\\\\n }\\\\n return false;\\\\n}\\\",\\n \\\"start_line\\\": 20,\\n \\\"end_line\\\": 30,\\n \\\"return_type\\\": \\\"boolean\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"java.util.Enumeration\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.ZipValidator.file\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"exists\\\",\\n \\\"receiver_expr\\\": \\\"file\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"exists()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"entries\\\",\\n \\\"receiver_expr\\\": \\\"zipFile\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Enumeration\\\",\\n \\\"callee_signature\\\": \\\"entries()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 55,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"hasMoreElements\\\",\\n \\\"receiver_expr\\\": \\\"entries\\\",\\n \\\"receiver_type\\\": \\\"java.util.Enumeration\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"hasMoreElements()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"zipFile\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"callee_signature\\\": \\\"ZipValidator(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 36,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"zipFile\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"initializer\\\": \\\"new ZipValidator(file)\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"name\\\": \\\"entries\\\",\\n \\\"type\\\": \\\"java.util.Enumeration\\\",\\n \\\"initializer\\\": \\\"zipFile.entries()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 45,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 71\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.ZipValidator\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"ZipValidator(File)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.util.zip.ZipException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"public ZipValidator(File file) throws ZipException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"name\\\": \\\"file\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n super(file);\\\\n this.file = file;\\\\n}\\\",\\n \\\"start_line\\\": 13,\\n \\\"end_line\\\": 16,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.ZipValidator.file\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.ZipValidator\"\n}", - "source_kind": "NORMAL", - "type": "CONTROL_DEP", - "destination_kind": "METHOD_ENTRY", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"isValid()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.lang.Throwable\\\"\\n ],\\n \\\"declaration\\\": \\\"public boolean isValid() throws Throwable\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n if (file.exists()) {\\\\n ZipValidator zipFile = new ZipValidator(file);\\\\n Enumeration entries = zipFile.entries();\\\\n if (!entries.hasMoreElements()) {\\\\n return true;\\\\n }\\\\n zipFile.close();\\\\n }\\\\n return false;\\\\n}\\\",\\n \\\"start_line\\\": 20,\\n \\\"end_line\\\": 30,\\n \\\"return_type\\\": \\\"boolean\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"java.util.Enumeration\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.ZipValidator.file\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"exists\\\",\\n \\\"receiver_expr\\\": \\\"file\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"exists()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"entries\\\",\\n \\\"receiver_expr\\\": \\\"zipFile\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Enumeration\\\",\\n \\\"callee_signature\\\": \\\"entries()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 55,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"hasMoreElements\\\",\\n \\\"receiver_expr\\\": \\\"entries\\\",\\n \\\"receiver_type\\\": \\\"java.util.Enumeration\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"hasMoreElements()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"zipFile\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"callee_signature\\\": \\\"ZipValidator(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 36,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"zipFile\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"initializer\\\": \\\"new ZipValidator(file)\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"name\\\": \\\"entries\\\",\\n \\\"type\\\": \\\"java.util.Enumeration\\\",\\n \\\"initializer\\\": \\\"zipFile.entries()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 45,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 71\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.ZipValidator\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"exportRevervations(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"protected int exportRevervations(String selectedDateStr)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n File fileToZip = IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n String userDirectory = System.getProperty(\\\\\\\"user.home\\\\\\\");\\\\n String zipPath = userDirectory + \\\\\\\"/reservations.zip\\\\\\\";\\\\n FileOutputStream fos;\\\\n try {\\\\n fos = new FileOutputStream(zipPath);\\\\n ZipOutputStream zipOut = new ZipOutputStream(fos);\\\\n FileInputStream fis = new FileInputStream(fileToZip);\\\\n ZipEntry zipEntry = new ZipEntry(fileToZip.getName());\\\\n zipOut.putNextEntry(zipEntry);\\\\n byte[] bytes = new byte[1024];\\\\n int length;\\\\n while ((length = fis.read(bytes)) >= 0) {\\\\n zipOut.write(bytes, 0, length);\\\\n }\\\\n fis.close();\\\\n zipOut.close();\\\\n fos.close();\\\\n // verify zip\\\\n ZipValidator zipValidator = new ZipValidator(new File(zipPath));\\\\n if (zipValidator.isValid()) {\\\\n return 0;\\\\n }\\\\n } catch (FileNotFoundException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (IOException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (Throwable e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n return -1;\\\\n}\\\",\\n \\\"start_line\\\": 90,\\n \\\"end_line\\\": 130,\\n \\\"return_type\\\": \\\"int\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"java.io.FileOutputStream\\\",\\n \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.FileInputStream\\\",\\n \\\"java.util.zip.ZipEntry\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"getProperty\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getProperty(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"fileToZip\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"putNextEntry\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.zip.ZipEntry\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"putNextEntry(java.util.zip.ZipEntry)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 102,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 102,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[], int, int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 107,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 107,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 111,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 111,\\n \\\"end_column\\\": 17\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fos\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"isValid\\\",\\n \\\"receiver_expr\\\": \\\"zipValidator\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isValid()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 28\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileNotFoundException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 124,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 124,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 127,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 127,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"callee_signature\\\": \\\"FileOutputStream(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 97,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 97,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.FileOutputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"callee_signature\\\": \\\"ZipOutputStream(java.io.OutputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"callee_signature\\\": \\\"FileInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"callee_signature\\\": \\\"ZipEntry(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"callee_signature\\\": \\\"ZipValidator(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"File(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 49,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"fileToZip\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"name\\\": \\\"userDirectory\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getProperty(\\\\\\\"user.home\\\\\\\")\\\",\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"zipPath\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"userDirectory + \\\\\\\"/reservations.zip\\\\\\\"\\\",\\n \\\"start_line\\\": 93,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 93,\\n \\\"end_column\\\": 54\\n },\\n {\\n \\\"name\\\": \\\"fos\\\",\\n \\\"type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 95,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 95,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"zipOut\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"initializer\\\": \\\"new ZipOutputStream(fos)\\\",\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"fis\\\",\\n \\\"type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"initializer\\\": \\\"new FileInputStream(fileToZip)\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"zipEntry\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"initializer\\\": \\\"new ZipEntry(fileToZip.getName())\\\",\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"bytes\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[1024]\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"length\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 105,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 105,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"name\\\": \\\"zipValidator\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"initializer\\\": \\\"new ZipValidator(new File(zipPath))\\\",\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "source_kind": "NORMAL_RET_CALLEE", - "type": "DATA_DEP", - "destination_kind": "NORMAL_RET_CALLER", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"invoke(String, Object[], String[])\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.management.MBeanException\\\",\\n \\\"javax.management.ReflectionException\\\"\\n ],\\n \\\"declaration\\\": \\\"public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"actionName\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.Object[]\\\",\\n \\\"name\\\": \\\"params\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.String[]\\\",\\n \\\"name\\\": \\\"signature\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (\\\\\\\"increaseMaxLimit\\\\\\\".equals(actionName)) {\\\\n increaseLimit();\\\\n return \\\\\\\"Max limit increased\\\\\\\";\\\\n } else if (\\\\\\\"resetMaxLimit\\\\\\\".equals(actionName)) {\\\\n resetLimit();\\\\n return \\\\\\\"Max limit reset\\\\\\\";\\\\n } else {\\\\n throw new MBeanException(new UnsupportedOperationException(getClass().getSimpleName() + \\\\\\\" does not support operation \\\\\\\" + actionName));\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 56,\\n \\\"return_type\\\": \\\"java.lang.Object\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"\\\\\\\"increaseMaxLimit\\\\\\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 46,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 46,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"increaseLimit\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"increaseLimit()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 18\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"\\\\\\\"resetMaxLimit\\\\\\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"resetLimit\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"resetLimit()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"getSimpleName\\\",\\n \\\"receiver_expr\\\": \\\"getClass()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getSimpleName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 54,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getClass\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.Class\\\",\\n \\\"callee_signature\\\": \\\"getClass()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 54,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.UnsupportedOperationException\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanException\\\",\\n \\\"callee_signature\\\": \\\"MBeanException(java.lang.Exception)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 94\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"callee_signature\\\": \\\"UnsupportedOperationException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 38,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 93\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"increaseLimit()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private void increaseLimit()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n System.out.println(\\\\\\\"Limit increased\\\\\\\");\\\\n}\\\",\\n \\\"start_line\\\": 58,\\n \\\"end_line\\\": 60,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintStream\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"java.lang.System.out\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"println\\\",\\n \\\"receiver_expr\\\": \\\"System.out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"println(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 39\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "source_kind": "NORMAL", - "type": "CONTROL_DEP", - "destination_kind": "METHOD_ENTRY", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"invoke(String, Object[], String[])\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.management.MBeanException\\\",\\n \\\"javax.management.ReflectionException\\\"\\n ],\\n \\\"declaration\\\": \\\"public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"actionName\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.Object[]\\\",\\n \\\"name\\\": \\\"params\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.String[]\\\",\\n \\\"name\\\": \\\"signature\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (\\\\\\\"increaseMaxLimit\\\\\\\".equals(actionName)) {\\\\n increaseLimit();\\\\n return \\\\\\\"Max limit increased\\\\\\\";\\\\n } else if (\\\\\\\"resetMaxLimit\\\\\\\".equals(actionName)) {\\\\n resetLimit();\\\\n return \\\\\\\"Max limit reset\\\\\\\";\\\\n } else {\\\\n throw new MBeanException(new UnsupportedOperationException(getClass().getSimpleName() + \\\\\\\" does not support operation \\\\\\\" + actionName));\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 56,\\n \\\"return_type\\\": \\\"java.lang.Object\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"\\\\\\\"increaseMaxLimit\\\\\\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 46,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 46,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"increaseLimit\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"increaseLimit()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 18\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"\\\\\\\"resetMaxLimit\\\\\\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"resetLimit\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"resetLimit()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"getSimpleName\\\",\\n \\\"receiver_expr\\\": \\\"getClass()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getSimpleName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 54,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getClass\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.Class\\\",\\n \\\"callee_signature\\\": \\\"getClass()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 54,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.UnsupportedOperationException\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanException\\\",\\n \\\"callee_signature\\\": \\\"MBeanException(java.lang.Exception)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 94\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"callee_signature\\\": \\\"UnsupportedOperationException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 38,\\n \\\"end_line\\\": 54,\\n \\\"end_column\\\": 93\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"resetLimit()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private void resetLimit()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n System.out.println(\\\\\\\"Limit reset\\\\\\\");\\\\n}\\\",\\n \\\"start_line\\\": 62,\\n \\\"end_line\\\": 64,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintStream\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"java.lang.System.out\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"println\\\",\\n \\\"receiver_expr\\\": \\\"System.out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"println(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 35\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "source_kind": "NORMAL", - "type": "CONTROL_DEP", - "destination_kind": "METHOD_ENTRY", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"setInitialContextProps()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private InitialContext setInitialContextProps()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n Hashtable ht = new Hashtable();\\\\n ht.put(\\\\\\\"java.naming.factory.initial\\\\\\\", \\\\\\\"com.ibm.websphere.naming.WsnInitialContextFactory\\\\\\\");\\\\n ht.put(\\\\\\\"java.naming.provider.url\\\\\\\", \\\\\\\"corbaloc:iiop:localhost:2809\\\\\\\");\\\\n InitialContext ctx = null;\\\\n try {\\\\n ctx = new InitialContext(ht);\\\\n } catch (NamingException e) {\\\\n e.printStackTrace();\\\\n }\\\\n return ctx;\\\\n}\\\",\\n \\\"start_line\\\": 263,\\n \\\"end_line\\\": 278,\\n \\\"return_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.naming.InitialContext\\\",\\n \\\"java.util.Hashtable\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"put\\\",\\n \\\"receiver_expr\\\": \\\"ht\\\",\\n \\\"receiver_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"put(K, V)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 267,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 267,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"put\\\",\\n \\\"receiver_expr\\\": \\\"ht\\\",\\n \\\"receiver_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"put(K, V)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 268,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 268,\\n \\\"end_column\\\": 68\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.naming.NamingException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 274,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 274,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"callee_signature\\\": \\\"Hashtable()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 265,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 265,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Hashtable\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"callee_signature\\\": \\\"InitialContext(java.util.Hashtable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 272,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 272,\\n \\\"end_column\\\": 31\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ht\\\",\\n \\\"type\\\": \\\"java.util.Hashtable\\\",\\n \\\"initializer\\\": \\\"new Hashtable()\\\",\\n \\\"start_line\\\": 265,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 265,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"ctx\\\",\\n \\\"type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 270,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 270,\\n \\\"end_column\\\": 27\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"init()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void init()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n server = ManagementFactory.getPlatformMBeanServer();\\\\n try {\\\\n weatherON = new ObjectName(\\\\\\\"com.acme.modres.mbean:name=appInfo\\\\\\\");\\\\n } catch (MalformedObjectNameException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n try {\\\\n if (weatherON != null) {\\\\n mbean = server.registerMBean(new AppInfo(), weatherON);\\\\n }\\\\n } catch (InstanceAlreadyExistsException | MBeanRegistrationException | NotCompliantMBeanException e) {\\\\n e.printStackTrace();\\\\n }\\\\n context = setInitialContextProps();\\\\n}\\\",\\n \\\"start_line\\\": 64,\\n \\\"end_line\\\": 81,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.context\\\",\\n \\\"com.acme.modres.WeatherServlet.weatherON\\\",\\n \\\"com.acme.modres.WeatherServlet.server\\\",\\n \\\"com.acme.modres.WeatherServlet.mbean\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getPlatformMBeanServer\\\",\\n \\\"receiver_expr\\\": \\\"ManagementFactory\\\",\\n \\\"receiver_type\\\": \\\"java.lang.management.ManagementFactory\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"callee_signature\\\": \\\"getPlatformMBeanServer()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MalformedObjectNameException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 71,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 71,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"registerMBean\\\",\\n \\\"receiver_expr\\\": \\\"server\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"javax.management.ObjectName\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.ObjectInstance\\\",\\n \\\"callee_signature\\\": \\\"registerMBean(java.lang.Object, javax.management.ObjectName)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.InstanceAlreadyExistsException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"setInitialContextProps\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"callee_signature\\\": \\\"setInitialContextProps()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 80,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 80,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.ObjectName\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.ObjectName\\\",\\n \\\"callee_signature\\\": \\\"ObjectName(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 68,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 68,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"callee_signature\\\": \\\"AppInfo()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 34,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 46\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 2\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "source_kind": "NORMAL_RET_CALLEE", - "type": "DATA_DEP", - "destination_kind": "NORMAL_RET_CALLER", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"init()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void init()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n server = ManagementFactory.getPlatformMBeanServer();\\\\n try {\\\\n weatherON = new ObjectName(\\\\\\\"com.acme.modres.mbean:name=appInfo\\\\\\\");\\\\n } catch (MalformedObjectNameException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n try {\\\\n if (weatherON != null) {\\\\n mbean = server.registerMBean(new AppInfo(), weatherON);\\\\n }\\\\n } catch (InstanceAlreadyExistsException | MBeanRegistrationException | NotCompliantMBeanException e) {\\\\n e.printStackTrace();\\\\n }\\\\n context = setInitialContextProps();\\\\n}\\\",\\n \\\"start_line\\\": 64,\\n \\\"end_line\\\": 81,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.context\\\",\\n \\\"com.acme.modres.WeatherServlet.weatherON\\\",\\n \\\"com.acme.modres.WeatherServlet.server\\\",\\n \\\"com.acme.modres.WeatherServlet.mbean\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getPlatformMBeanServer\\\",\\n \\\"receiver_expr\\\": \\\"ManagementFactory\\\",\\n \\\"receiver_type\\\": \\\"java.lang.management.ManagementFactory\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"callee_signature\\\": \\\"getPlatformMBeanServer()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MalformedObjectNameException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 71,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 71,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"registerMBean\\\",\\n \\\"receiver_expr\\\": \\\"server\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"javax.management.ObjectName\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.ObjectInstance\\\",\\n \\\"callee_signature\\\": \\\"registerMBean(java.lang.Object, javax.management.ObjectName)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.InstanceAlreadyExistsException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"setInitialContextProps\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"callee_signature\\\": \\\"setInitialContextProps()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 80,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 80,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.ObjectName\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.ObjectName\\\",\\n \\\"callee_signature\\\": \\\"ObjectName(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 68,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 68,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"callee_signature\\\": \\\"AppInfo()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 34,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 46\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 2\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"setInitialContextProps()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private InitialContext setInitialContextProps()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n Hashtable ht = new Hashtable();\\\\n ht.put(\\\\\\\"java.naming.factory.initial\\\\\\\", \\\\\\\"com.ibm.websphere.naming.WsnInitialContextFactory\\\\\\\");\\\\n ht.put(\\\\\\\"java.naming.provider.url\\\\\\\", \\\\\\\"corbaloc:iiop:localhost:2809\\\\\\\");\\\\n InitialContext ctx = null;\\\\n try {\\\\n ctx = new InitialContext(ht);\\\\n } catch (NamingException e) {\\\\n e.printStackTrace();\\\\n }\\\\n return ctx;\\\\n}\\\",\\n \\\"start_line\\\": 263,\\n \\\"end_line\\\": 278,\\n \\\"return_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.naming.InitialContext\\\",\\n \\\"java.util.Hashtable\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"put\\\",\\n \\\"receiver_expr\\\": \\\"ht\\\",\\n \\\"receiver_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"put(K, V)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 267,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 267,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"put\\\",\\n \\\"receiver_expr\\\": \\\"ht\\\",\\n \\\"receiver_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"put(K, V)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 268,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 268,\\n \\\"end_column\\\": 68\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.naming.NamingException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 274,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 274,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Hashtable\\\",\\n \\\"callee_signature\\\": \\\"Hashtable()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 265,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 265,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Hashtable\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"callee_signature\\\": \\\"InitialContext(java.util.Hashtable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 272,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 272,\\n \\\"end_column\\\": 31\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ht\\\",\\n \\\"type\\\": \\\"java.util.Hashtable\\\",\\n \\\"initializer\\\": \\\"new Hashtable()\\\",\\n \\\"start_line\\\": 265,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 265,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"ctx\\\",\\n \\\"type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 270,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 270,\\n \\\"end_column\\\": 27\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "source_kind": "NORMAL", - "type": "CONTROL_DEP", - "destination_kind": "METHOD_ENTRY", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"run()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void run()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n data.setAvailablility(true);\\\\n for (Reservation resveration : data.getReservationList().getReservations()) {\\\\n try {\\\\n Date selectedDate = data.getSelectedDate();\\\\n Date fromDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate());\\\\n Date toDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate());\\\\n if (selectedDate.after(fromDate) && selectedDate.before(toDate)) {\\\\n data.setAvailablility(false);\\\\n break;\\\\n }\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 15,\\n \\\"end_line\\\": 31,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.Date\\\",\\n \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.Constants.DATA_FORMAT\\\",\\n \\\"com.acme.modres.mbean.reservation.DateChecker.data\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"getReservations\\\",\\n \\\"receiver_expr\\\": \\\"data.getReservationList()\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getReservations()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 74\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"getSelectedDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"method_name\\\": \\\"getFromDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getFromDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 71,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"getToDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getToDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 69,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 91\\n },\\n {\\n \\\"method_name\\\": \\\"after\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"after(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"before\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"before(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 61\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resveration\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"selectedDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"data.getSelectedDate()\\\",\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"fromDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate())\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"toDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate())\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.DateChecker\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"setAvailablility(Boolean)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void setAvailablility(Boolean available)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.Boolean\\\",\\n \\\"name\\\": \\\"available\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n this.available = available;\\\\n}\\\",\\n \\\"start_line\\\": 39,\\n \\\"end_line\\\": 41,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.Boolean\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.available\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "2" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"run()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void run()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n data.setAvailablility(true);\\\\n for (Reservation resveration : data.getReservationList().getReservations()) {\\\\n try {\\\\n Date selectedDate = data.getSelectedDate();\\\\n Date fromDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate());\\\\n Date toDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate());\\\\n if (selectedDate.after(fromDate) && selectedDate.before(toDate)) {\\\\n data.setAvailablility(false);\\\\n break;\\\\n }\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 15,\\n \\\"end_line\\\": 31,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.Date\\\",\\n \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.Constants.DATA_FORMAT\\\",\\n \\\"com.acme.modres.mbean.reservation.DateChecker.data\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"getReservations\\\",\\n \\\"receiver_expr\\\": \\\"data.getReservationList()\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getReservations()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 74\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"getSelectedDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"method_name\\\": \\\"getFromDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getFromDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 71,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"getToDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getToDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 69,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 91\\n },\\n {\\n \\\"method_name\\\": \\\"after\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"after(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"before\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"before(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 61\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resveration\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"selectedDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"data.getSelectedDate()\\\",\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"fromDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate())\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"toDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate())\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.DateChecker\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservationList()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public ReservationList getReservationList()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return reservations;\\\\n}\\\",\\n \\\"start_line\\\": 18,\\n \\\"end_line\\\": 20,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.reservations\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"run()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void run()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n data.setAvailablility(true);\\\\n for (Reservation resveration : data.getReservationList().getReservations()) {\\\\n try {\\\\n Date selectedDate = data.getSelectedDate();\\\\n Date fromDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate());\\\\n Date toDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate());\\\\n if (selectedDate.after(fromDate) && selectedDate.before(toDate)) {\\\\n data.setAvailablility(false);\\\\n break;\\\\n }\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 15,\\n \\\"end_line\\\": 31,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.Date\\\",\\n \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.Constants.DATA_FORMAT\\\",\\n \\\"com.acme.modres.mbean.reservation.DateChecker.data\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"getReservations\\\",\\n \\\"receiver_expr\\\": \\\"data.getReservationList()\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getReservations()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 74\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"getSelectedDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"method_name\\\": \\\"getFromDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getFromDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 71,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"getToDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getToDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 69,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 91\\n },\\n {\\n \\\"method_name\\\": \\\"after\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"after(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"before\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"before(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 61\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resveration\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"selectedDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"data.getSelectedDate()\\\",\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"fromDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate())\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"toDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate())\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.DateChecker\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservations()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public List getReservations()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return reservations;\\\\n}\\\",\\n \\\"start_line\\\": 22,\\n \\\"end_line\\\": 24,\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationList.reservations\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationList\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"run()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void run()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n data.setAvailablility(true);\\\\n for (Reservation resveration : data.getReservationList().getReservations()) {\\\\n try {\\\\n Date selectedDate = data.getSelectedDate();\\\\n Date fromDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate());\\\\n Date toDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate());\\\\n if (selectedDate.after(fromDate) && selectedDate.before(toDate)) {\\\\n data.setAvailablility(false);\\\\n break;\\\\n }\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 15,\\n \\\"end_line\\\": 31,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.Date\\\",\\n \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.Constants.DATA_FORMAT\\\",\\n \\\"com.acme.modres.mbean.reservation.DateChecker.data\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"getReservations\\\",\\n \\\"receiver_expr\\\": \\\"data.getReservationList()\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getReservations()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 74\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"getSelectedDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"method_name\\\": \\\"getFromDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getFromDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 71,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"getToDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getToDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 69,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 91\\n },\\n {\\n \\\"method_name\\\": \\\"after\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"after(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"before\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"before(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 61\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resveration\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"selectedDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"data.getSelectedDate()\\\",\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"fromDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate())\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"toDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate())\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.DateChecker\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getSelectedDate()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public Date getSelectedDate()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return selectedDate;\\\\n}\\\",\\n \\\"start_line\\\": 22,\\n \\\"end_line\\\": 24,\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.selectedDate\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"run()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void run()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n data.setAvailablility(true);\\\\n for (Reservation resveration : data.getReservationList().getReservations()) {\\\\n try {\\\\n Date selectedDate = data.getSelectedDate();\\\\n Date fromDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate());\\\\n Date toDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate());\\\\n if (selectedDate.after(fromDate) && selectedDate.before(toDate)) {\\\\n data.setAvailablility(false);\\\\n break;\\\\n }\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 15,\\n \\\"end_line\\\": 31,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.Date\\\",\\n \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.Constants.DATA_FORMAT\\\",\\n \\\"com.acme.modres.mbean.reservation.DateChecker.data\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"getReservations\\\",\\n \\\"receiver_expr\\\": \\\"data.getReservationList()\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getReservations()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 74\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"getSelectedDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"method_name\\\": \\\"getFromDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getFromDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 71,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"getToDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getToDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 69,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 91\\n },\\n {\\n \\\"method_name\\\": \\\"after\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"after(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"before\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"before(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 61\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resveration\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"selectedDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"data.getSelectedDate()\\\",\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"fromDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate())\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"toDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate())\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.DateChecker\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getFromDate()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public String getFromDate()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return fromDate;\\\\n}\\\",\\n \\\"start_line\\\": 23,\\n \\\"end_line\\\": 25,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.Reservation.fromDate\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.Reservation\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"run()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void run()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n data.setAvailablility(true);\\\\n for (Reservation resveration : data.getReservationList().getReservations()) {\\\\n try {\\\\n Date selectedDate = data.getSelectedDate();\\\\n Date fromDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate());\\\\n Date toDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate());\\\\n if (selectedDate.after(fromDate) && selectedDate.before(toDate)) {\\\\n data.setAvailablility(false);\\\\n break;\\\\n }\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 15,\\n \\\"end_line\\\": 31,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.Date\\\",\\n \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.Constants.DATA_FORMAT\\\",\\n \\\"com.acme.modres.mbean.reservation.DateChecker.data\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"getReservations\\\",\\n \\\"receiver_expr\\\": \\\"data.getReservationList()\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getReservations()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 74\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"getSelectedDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"method_name\\\": \\\"getFromDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getFromDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 71,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n },\\n {\\n \\\"method_name\\\": \\\"getToDate\\\",\\n \\\"receiver_expr\\\": \\\"resveration\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getToDate()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 69,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 91\\n },\\n {\\n \\\"method_name\\\": \\\"after\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"after(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"before\\\",\\n \\\"receiver_expr\\\": \\\"selectedDate\\\",\\n \\\"receiver_type\\\": \\\"java.util.Date\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.Date\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"before(java.util.Date)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"data\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 61\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resveration\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.Reservation\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"selectedDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"data.getSelectedDate()\\\",\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"fromDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate())\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"toDate\\\",\\n \\\"type\\\": \\\"java.util.Date\\\",\\n \\\"initializer\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate())\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 92\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.DateChecker\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getToDate()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public String getToDate()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return toDate;\\\\n}\\\",\\n \\\"start_line\\\": 27,\\n \\\"end_line\\\": 29,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.Reservation.toDate\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.Reservation\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"AppInfo()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public AppInfo()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n buildDMBeanInfo();\\\\n}\\\",\\n \\\"start_line\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"buildDMBeanInfo\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"buildDMBeanInfo()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 19\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"buildDMBeanInfo()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private void buildDMBeanInfo()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n String className = getClass().getName();\\\\n String desc = \\\\\\\"Configurable App Info\\\\\\\";\\\\n MBeanAttributeInfo[] attrs = null;\\\\n MBeanConstructorInfo[] cons = null;\\\\n MBeanNotificationInfo[] notifications = null;\\\\n OpMetadataList opMetadataList = IOUtils.getOpListFromConfig();\\\\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opMetadataList);\\\\n dMBeanInfo = new MBeanInfo(className, desc, attrs, cons, ops, notifications);\\\\n}\\\",\\n \\\"start_line\\\": 24,\\n \\\"end_line\\\": 35,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.AppInfo.dMBeanInfo\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"getClass()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"getClass\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.Class\\\",\\n \\\"callee_signature\\\": \\\"getClass()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 31\\n },\\n {\\n \\\"method_name\\\": \\\"getOpListFromConfig\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 35,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"getOps\\\",\\n \\\"receiver_expr\\\": \\\"DMBeanUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.DMBeanUtils\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getOps(com.acme.modres.mbean.OpMetadataList)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanInfo(java.lang.String, java.lang.String, javax.management.MBeanAttributeInfo[], javax.management.MBeanConstructorInfo[], javax.management.MBeanOperationInfo[], javax.management.MBeanNotificationInfo[])\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 34,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 34,\\n \\\"end_column\\\": 78\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"className\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"getClass().getName()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Configurable App Info\\\\\\\"\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"attrs\\\",\\n \\\"type\\\": \\\"javax.management.MBeanAttributeInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"name\\\": \\\"cons\\\",\\n \\\"type\\\": \\\"javax.management.MBeanConstructorInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"name\\\": \\\"notifications\\\",\\n \\\"type\\\": \\\"javax.management.MBeanNotificationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 29,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 29,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"name\\\": \\\"opMetadataList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"IOUtils.getOpListFromConfig()\\\",\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"DMBeanUtils.getOps(opMetadataList)\\\",\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 63\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"buildDMBeanInfo()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private void buildDMBeanInfo()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n String className = getClass().getName();\\\\n String desc = \\\\\\\"Configurable App Info\\\\\\\";\\\\n MBeanAttributeInfo[] attrs = null;\\\\n MBeanConstructorInfo[] cons = null;\\\\n MBeanNotificationInfo[] notifications = null;\\\\n OpMetadataList opMetadataList = IOUtils.getOpListFromConfig();\\\\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opMetadataList);\\\\n dMBeanInfo = new MBeanInfo(className, desc, attrs, cons, ops, notifications);\\\\n}\\\",\\n \\\"start_line\\\": 24,\\n \\\"end_line\\\": 35,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.AppInfo.dMBeanInfo\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"getClass()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"getClass\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.Class\\\",\\n \\\"callee_signature\\\": \\\"getClass()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 31\\n },\\n {\\n \\\"method_name\\\": \\\"getOpListFromConfig\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 35,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"getOps\\\",\\n \\\"receiver_expr\\\": \\\"DMBeanUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.DMBeanUtils\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getOps(com.acme.modres.mbean.OpMetadataList)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanInfo(java.lang.String, java.lang.String, javax.management.MBeanAttributeInfo[], javax.management.MBeanConstructorInfo[], javax.management.MBeanOperationInfo[], javax.management.MBeanNotificationInfo[])\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 34,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 34,\\n \\\"end_column\\\": 78\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"className\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"getClass().getName()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Configurable App Info\\\\\\\"\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"attrs\\\",\\n \\\"type\\\": \\\"javax.management.MBeanAttributeInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"name\\\": \\\"cons\\\",\\n \\\"type\\\": \\\"javax.management.MBeanConstructorInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"name\\\": \\\"notifications\\\",\\n \\\"type\\\": \\\"javax.management.MBeanNotificationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 29,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 29,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"name\\\": \\\"opMetadataList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"IOUtils.getOpListFromConfig()\\\",\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"DMBeanUtils.getOps(opMetadataList)\\\",\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 63\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static OpMetadataList getOpListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n OpMetadataList opList = new OpMetadataList();\\\\n opList = (OpMetadataList) is.parseJsonAs(OpMetadataList.class);\\\\n return opList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 46,\\n \\\"end_line\\\": 56,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 65\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"OpMetadataList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\")\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"opList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"new OpMetadataList()\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"buildDMBeanInfo()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private void buildDMBeanInfo()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n String className = getClass().getName();\\\\n String desc = \\\\\\\"Configurable App Info\\\\\\\";\\\\n MBeanAttributeInfo[] attrs = null;\\\\n MBeanConstructorInfo[] cons = null;\\\\n MBeanNotificationInfo[] notifications = null;\\\\n OpMetadataList opMetadataList = IOUtils.getOpListFromConfig();\\\\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opMetadataList);\\\\n dMBeanInfo = new MBeanInfo(className, desc, attrs, cons, ops, notifications);\\\\n}\\\",\\n \\\"start_line\\\": 24,\\n \\\"end_line\\\": 35,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.AppInfo.dMBeanInfo\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"getClass()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"getClass\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.Class\\\",\\n \\\"callee_signature\\\": \\\"getClass()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 31\\n },\\n {\\n \\\"method_name\\\": \\\"getOpListFromConfig\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 35,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"getOps\\\",\\n \\\"receiver_expr\\\": \\\"DMBeanUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.DMBeanUtils\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getOps(com.acme.modres.mbean.OpMetadataList)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanInfo(java.lang.String, java.lang.String, javax.management.MBeanAttributeInfo[], javax.management.MBeanConstructorInfo[], javax.management.MBeanOperationInfo[], javax.management.MBeanNotificationInfo[])\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 34,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 34,\\n \\\"end_column\\\": 78\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"className\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"getClass().getName()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Configurable App Info\\\\\\\"\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"attrs\\\",\\n \\\"type\\\": \\\"javax.management.MBeanAttributeInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"name\\\": \\\"cons\\\",\\n \\\"type\\\": \\\"javax.management.MBeanConstructorInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"name\\\": \\\"notifications\\\",\\n \\\"type\\\": \\\"javax.management.MBeanNotificationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 29,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 29,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"name\\\": \\\"opMetadataList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"IOUtils.getOpListFromConfig()\\\",\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 63\\n },\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"DMBeanUtils.getOps(opMetadataList)\\\",\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 63\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOps(OpMetadataList)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static MBeanOperationInfo[] getOps(OpMetadataList opList)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"name\\\": \\\"opList\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n MBeanOperationInfo[] ops = null;\\\\n if (opList == null || opList.getOpMetadatList() == null) {\\\\n logger.log(Level.WARNING, \\\\\\\"No operation is configured\\\\\\\");\\\\n return ops;\\\\n }\\\\n int numOps = opList.getOpMetadatList().size();\\\\n if (numOps > 0) {\\\\n ops = new MBeanOperationInfo[numOps];\\\\n int i = 0;\\\\n for (OpMetadata opMetadata : opList.getOpMetadatList()) {\\\\n String name = opMetadata.getName();\\\\n String desc = opMetadata.getDescription();\\\\n String type = opMetadata.getType();\\\\n int impact = opMetadata.getImpact();\\\\n MBeanOperationInfo opInfo = new MBeanOperationInfo(name, desc, /* signature */\\\\n null, type, impact, /* descriptor */\\\\n null);\\\\n ops[i++] = opInfo;\\\\n }\\\\n }\\\\n return ops;\\\\n}\\\",\\n \\\"start_line\\\": 11,\\n \\\"end_line\\\": 34,\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.DMBeanUtils.logger\\\",\\n \\\"java.util.logging.Level.WARNING\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 14,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 14,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"size\\\",\\n \\\"receiver_expr\\\": \\\"opList.getOpMetadatList()\\\",\\n \\\"receiver_type\\\": \\\"java.util.List\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"size()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getDescription\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDescription()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getType\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getType()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getImpact\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getImpact()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int, javax.management.Descriptor)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"numOps\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opList.getOpMetadatList().size()\\\",\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"name\\\": \\\"i\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"0\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 12\\n },\\n {\\n \\\"name\\\": \\\"opMetadata\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"name\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getName()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getDescription()\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"name\\\": \\\"type\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getType()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"impact\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opMetadata.getImpact()\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"opInfo\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"initializer\\\": \\\"new MBeanOperationInfo(name, desc, /* signature */\\\\nnull, type, impact, /* descriptor */\\\\nnull)\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.DMBeanUtils\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOps(OpMetadataList)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static MBeanOperationInfo[] getOps(OpMetadataList opList)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"name\\\": \\\"opList\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n MBeanOperationInfo[] ops = null;\\\\n if (opList == null || opList.getOpMetadatList() == null) {\\\\n logger.log(Level.WARNING, \\\\\\\"No operation is configured\\\\\\\");\\\\n return ops;\\\\n }\\\\n int numOps = opList.getOpMetadatList().size();\\\\n if (numOps > 0) {\\\\n ops = new MBeanOperationInfo[numOps];\\\\n int i = 0;\\\\n for (OpMetadata opMetadata : opList.getOpMetadatList()) {\\\\n String name = opMetadata.getName();\\\\n String desc = opMetadata.getDescription();\\\\n String type = opMetadata.getType();\\\\n int impact = opMetadata.getImpact();\\\\n MBeanOperationInfo opInfo = new MBeanOperationInfo(name, desc, /* signature */\\\\n null, type, impact, /* descriptor */\\\\n null);\\\\n ops[i++] = opInfo;\\\\n }\\\\n }\\\\n return ops;\\\\n}\\\",\\n \\\"start_line\\\": 11,\\n \\\"end_line\\\": 34,\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.DMBeanUtils.logger\\\",\\n \\\"java.util.logging.Level.WARNING\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 14,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 14,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"size\\\",\\n \\\"receiver_expr\\\": \\\"opList.getOpMetadatList()\\\",\\n \\\"receiver_type\\\": \\\"java.util.List\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"size()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getDescription\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDescription()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getType\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getType()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getImpact\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getImpact()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int, javax.management.Descriptor)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"numOps\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opList.getOpMetadatList().size()\\\",\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"name\\\": \\\"i\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"0\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 12\\n },\\n {\\n \\\"name\\\": \\\"opMetadata\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"name\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getName()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getDescription()\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"name\\\": \\\"type\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getType()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"impact\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opMetadata.getImpact()\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"opInfo\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"initializer\\\": \\\"new MBeanOperationInfo(name, desc, /* signature */\\\\nnull, type, impact, /* descriptor */\\\\nnull)\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.DMBeanUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public List getOpMetadatList()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return opMetadatList;\\\\n}\\\",\\n \\\"start_line\\\": 17,\\n \\\"end_line\\\": 19,\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.OpMetadataList.opMetadatList\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.OpMetadataList\"\n}", - "type": "CALL_DEP", - "weight": "3" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOps(OpMetadataList)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static MBeanOperationInfo[] getOps(OpMetadataList opList)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"name\\\": \\\"opList\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n MBeanOperationInfo[] ops = null;\\\\n if (opList == null || opList.getOpMetadatList() == null) {\\\\n logger.log(Level.WARNING, \\\\\\\"No operation is configured\\\\\\\");\\\\n return ops;\\\\n }\\\\n int numOps = opList.getOpMetadatList().size();\\\\n if (numOps > 0) {\\\\n ops = new MBeanOperationInfo[numOps];\\\\n int i = 0;\\\\n for (OpMetadata opMetadata : opList.getOpMetadatList()) {\\\\n String name = opMetadata.getName();\\\\n String desc = opMetadata.getDescription();\\\\n String type = opMetadata.getType();\\\\n int impact = opMetadata.getImpact();\\\\n MBeanOperationInfo opInfo = new MBeanOperationInfo(name, desc, /* signature */\\\\n null, type, impact, /* descriptor */\\\\n null);\\\\n ops[i++] = opInfo;\\\\n }\\\\n }\\\\n return ops;\\\\n}\\\",\\n \\\"start_line\\\": 11,\\n \\\"end_line\\\": 34,\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.DMBeanUtils.logger\\\",\\n \\\"java.util.logging.Level.WARNING\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 14,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 14,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"size\\\",\\n \\\"receiver_expr\\\": \\\"opList.getOpMetadatList()\\\",\\n \\\"receiver_type\\\": \\\"java.util.List\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"size()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getDescription\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDescription()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getType\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getType()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getImpact\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getImpact()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int, javax.management.Descriptor)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"numOps\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opList.getOpMetadatList().size()\\\",\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"name\\\": \\\"i\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"0\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 12\\n },\\n {\\n \\\"name\\\": \\\"opMetadata\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"name\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getName()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getDescription()\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"name\\\": \\\"type\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getType()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"impact\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opMetadata.getImpact()\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"opInfo\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"initializer\\\": \\\"new MBeanOperationInfo(name, desc, /* signature */\\\\nnull, type, impact, /* descriptor */\\\\nnull)\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.DMBeanUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getName()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public String getName()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return name;\\\\n}\\\",\\n \\\"start_line\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.OpMetadata.name\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.OpMetadata\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOps(OpMetadataList)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static MBeanOperationInfo[] getOps(OpMetadataList opList)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"name\\\": \\\"opList\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n MBeanOperationInfo[] ops = null;\\\\n if (opList == null || opList.getOpMetadatList() == null) {\\\\n logger.log(Level.WARNING, \\\\\\\"No operation is configured\\\\\\\");\\\\n return ops;\\\\n }\\\\n int numOps = opList.getOpMetadatList().size();\\\\n if (numOps > 0) {\\\\n ops = new MBeanOperationInfo[numOps];\\\\n int i = 0;\\\\n for (OpMetadata opMetadata : opList.getOpMetadatList()) {\\\\n String name = opMetadata.getName();\\\\n String desc = opMetadata.getDescription();\\\\n String type = opMetadata.getType();\\\\n int impact = opMetadata.getImpact();\\\\n MBeanOperationInfo opInfo = new MBeanOperationInfo(name, desc, /* signature */\\\\n null, type, impact, /* descriptor */\\\\n null);\\\\n ops[i++] = opInfo;\\\\n }\\\\n }\\\\n return ops;\\\\n}\\\",\\n \\\"start_line\\\": 11,\\n \\\"end_line\\\": 34,\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.DMBeanUtils.logger\\\",\\n \\\"java.util.logging.Level.WARNING\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 14,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 14,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"size\\\",\\n \\\"receiver_expr\\\": \\\"opList.getOpMetadatList()\\\",\\n \\\"receiver_type\\\": \\\"java.util.List\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"size()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getDescription\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDescription()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getType\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getType()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getImpact\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getImpact()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int, javax.management.Descriptor)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"numOps\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opList.getOpMetadatList().size()\\\",\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"name\\\": \\\"i\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"0\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 12\\n },\\n {\\n \\\"name\\\": \\\"opMetadata\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"name\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getName()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getDescription()\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"name\\\": \\\"type\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getType()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"impact\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opMetadata.getImpact()\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"opInfo\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"initializer\\\": \\\"new MBeanOperationInfo(name, desc, /* signature */\\\\nnull, type, impact, /* descriptor */\\\\nnull)\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.DMBeanUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getDescription()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public String getDescription()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return description;\\\\n}\\\",\\n \\\"start_line\\\": 23,\\n \\\"end_line\\\": 25,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.OpMetadata.description\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.OpMetadata\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOps(OpMetadataList)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static MBeanOperationInfo[] getOps(OpMetadataList opList)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"name\\\": \\\"opList\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n MBeanOperationInfo[] ops = null;\\\\n if (opList == null || opList.getOpMetadatList() == null) {\\\\n logger.log(Level.WARNING, \\\\\\\"No operation is configured\\\\\\\");\\\\n return ops;\\\\n }\\\\n int numOps = opList.getOpMetadatList().size();\\\\n if (numOps > 0) {\\\\n ops = new MBeanOperationInfo[numOps];\\\\n int i = 0;\\\\n for (OpMetadata opMetadata : opList.getOpMetadatList()) {\\\\n String name = opMetadata.getName();\\\\n String desc = opMetadata.getDescription();\\\\n String type = opMetadata.getType();\\\\n int impact = opMetadata.getImpact();\\\\n MBeanOperationInfo opInfo = new MBeanOperationInfo(name, desc, /* signature */\\\\n null, type, impact, /* descriptor */\\\\n null);\\\\n ops[i++] = opInfo;\\\\n }\\\\n }\\\\n return ops;\\\\n}\\\",\\n \\\"start_line\\\": 11,\\n \\\"end_line\\\": 34,\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.DMBeanUtils.logger\\\",\\n \\\"java.util.logging.Level.WARNING\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 14,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 14,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"size\\\",\\n \\\"receiver_expr\\\": \\\"opList.getOpMetadatList()\\\",\\n \\\"receiver_type\\\": \\\"java.util.List\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"size()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getDescription\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDescription()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getType\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getType()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getImpact\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getImpact()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int, javax.management.Descriptor)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"numOps\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opList.getOpMetadatList().size()\\\",\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"name\\\": \\\"i\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"0\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 12\\n },\\n {\\n \\\"name\\\": \\\"opMetadata\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"name\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getName()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getDescription()\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"name\\\": \\\"type\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getType()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"impact\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opMetadata.getImpact()\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"opInfo\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"initializer\\\": \\\"new MBeanOperationInfo(name, desc, /* signature */\\\\nnull, type, impact, /* descriptor */\\\\nnull)\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.DMBeanUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getType()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public String getType()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return type;\\\\n}\\\",\\n \\\"start_line\\\": 26,\\n \\\"end_line\\\": 28,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.OpMetadata.type\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.OpMetadata\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOps(OpMetadataList)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static MBeanOperationInfo[] getOps(OpMetadataList opList)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"name\\\": \\\"opList\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n MBeanOperationInfo[] ops = null;\\\\n if (opList == null || opList.getOpMetadatList() == null) {\\\\n logger.log(Level.WARNING, \\\\\\\"No operation is configured\\\\\\\");\\\\n return ops;\\\\n }\\\\n int numOps = opList.getOpMetadatList().size();\\\\n if (numOps > 0) {\\\\n ops = new MBeanOperationInfo[numOps];\\\\n int i = 0;\\\\n for (OpMetadata opMetadata : opList.getOpMetadatList()) {\\\\n String name = opMetadata.getName();\\\\n String desc = opMetadata.getDescription();\\\\n String type = opMetadata.getType();\\\\n int impact = opMetadata.getImpact();\\\\n MBeanOperationInfo opInfo = new MBeanOperationInfo(name, desc, /* signature */\\\\n null, type, impact, /* descriptor */\\\\n null);\\\\n ops[i++] = opInfo;\\\\n }\\\\n }\\\\n return ops;\\\\n}\\\",\\n \\\"start_line\\\": 11,\\n \\\"end_line\\\": 34,\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"java.lang.String\\\",\\n \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.DMBeanUtils.logger\\\",\\n \\\"java.util.logging.Level.WARNING\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 14,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 14,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"size\\\",\\n \\\"receiver_expr\\\": \\\"opList.getOpMetadatList()\\\",\\n \\\"receiver_type\\\": \\\"java.util.List\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"size()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"getOpMetadatList\\\",\\n \\\"receiver_expr\\\": \\\"opList\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.List\\\",\\n \\\"callee_signature\\\": \\\"getOpMetadatList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getDescription\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDescription()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getType\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getType()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"getImpact\\\",\\n \\\"receiver_expr\\\": \\\"opMetadata\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getImpact()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"callee_signature\\\": \\\"MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int, javax.management.Descriptor)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"ops\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo[]\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"numOps\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opList.getOpMetadatList().size()\\\",\\n \\\"start_line\\\": 18,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 18,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"name\\\": \\\"i\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"0\\\",\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 12\\n },\\n {\\n \\\"name\\\": \\\"opMetadata\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadata\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"name\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getName()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"desc\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getDescription()\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"name\\\": \\\"type\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"opMetadata.getType()\\\",\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"impact\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"opMetadata.getImpact()\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"name\\\": \\\"opInfo\\\",\\n \\\"type\\\": \\\"javax.management.MBeanOperationInfo\\\",\\n \\\"initializer\\\": \\\"new MBeanOperationInfo(name, desc, /* signature */\\\\nnull, type, impact, /* descriptor */\\\\nnull)\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 125\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.DMBeanUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getImpact()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public int getImpact()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return impact;\\\\n}\\\",\\n \\\"start_line\\\": 29,\\n \\\"end_line\\\": 31,\\n \\\"return_type\\\": \\\"int\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.OpMetadata.impact\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.OpMetadata\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"init()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void init()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // load reserved dates\\\\n this.reservationCheckerData = new ReservationCheckerData(IOUtils.getReservationListFromConfig());\\\\n}\\\",\\n \\\"start_line\\\": 37,\\n \\\"end_line\\\": 41,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getReservationListFromConfig\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationListFromConfig()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 40,\\n \\\"start_column\\\": 60,\\n \\\"end_line\\\": 40,\\n \\\"end_column\\\": 97\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"callee_signature\\\": \\\"ReservationCheckerData(com.acme.modres.mbean.reservation.ReservationList)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 40,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 40,\\n \\\"end_column\\\": 98\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservationListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static ReservationList getReservationListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n ReservationList reservationList = new ReservationList();\\\\n reservationList = (ReservationList) is.parseJsonAs(ReservationList.class);\\\\n return reservationList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 58,\\n \\\"end_line\\\": 68,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 76\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"ReservationList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 39,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"reservationList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"initializer\\\": \\\"new ReservationList()\\\",\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"init()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void init()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // load reserved dates\\\\n this.reservationCheckerData = new ReservationCheckerData(IOUtils.getReservationListFromConfig());\\\\n}\\\",\\n \\\"start_line\\\": 37,\\n \\\"end_line\\\": 41,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getReservationListFromConfig\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationListFromConfig()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 40,\\n \\\"start_column\\\": 60,\\n \\\"end_line\\\": 40,\\n \\\"end_column\\\": 97\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"callee_signature\\\": \\\"ReservationCheckerData(com.acme.modres.mbean.reservation.ReservationList)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 40,\\n \\\"start_column\\\": 33,\\n \\\"end_line\\\": 40,\\n \\\"end_column\\\": 98\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"ReservationCheckerData(ReservationList)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public ReservationCheckerData(ReservationList reservations)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"name\\\": \\\"reservations\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n this.reservations = reservations;\\\\n this.available = true;\\\\n}\\\",\\n \\\"start_line\\\": 13,\\n \\\"end_line\\\": 16,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.Boolean\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.available\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.reservations\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(AvailabilityCheckerServlet.class.getName(), methodName);\\\\n int statusCode = 200;\\\\n String selectedDateStr = request.getParameter(\\\\\\\"date\\\\\\\");\\\\n boolean parsedDate = reservationCheckerData.setSelectedDate(selectedDateStr);\\\\n if (!parsedDate || reservationCheckerData.getReservationList() == null) {\\\\n statusCode = 500;\\\\n reservationCheckerData.setAvailablility(false);\\\\n }\\\\n if (statusCode == 200) {\\\\n Thread t1 = new Thread(new DateChecker(reservationCheckerData));\\\\n try {\\\\n t1.start();\\\\n t1.join();\\\\n // Java 21 issue\\\\n t1.stop();\\\\n } catch (Exception e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n if (!reservationCheckerData.isAvailible()) {\\\\n statusCode = 201;\\\\n }\\\\n }\\\\n PrintWriter out = response.getWriter();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n response.setCharacterEncoding(\\\\\\\"UTF-8\\\\\\\");\\\\n out.print(\\\\\\\"{\\\\\\\\\\\\\\\"availability\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"\\\\\\\" + String.valueOf(reservationCheckerData.isAvailible()) + \\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\");\\\\n response.setStatus(statusCode);\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 79,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintWriter\\\",\\n \\\"java.lang.Thread\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.logger\\\",\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 73\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"AvailabilityCheckerServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 28,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"setSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setSelectedDate(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 64\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 55,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"start\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"start()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"join\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"join()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"stop\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"stop()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getWriter\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"callee_signature\\\": \\\"getWriter()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"setCharacterEncoding\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setCharacterEncoding(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"valueOf\\\",\\n \\\"receiver_expr\\\": \\\"String\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"valueOf(boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 88\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 52,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 87\\n },\\n {\\n \\\"method_name\\\": \\\"setStatus\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setStatus(int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.DateChecker\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.Thread\\\",\\n \\\"callee_signature\\\": \\\"Thread(java.lang.Runnable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"callee_signature\\\": \\\"DateChecker(com.acme.modres.mbean.reservation.ReservationCheckerData)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"statusCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"200\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"date\\\\\\\")\\\",\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"parsedDate\\\",\\n \\\"type\\\": \\\"boolean\\\",\\n \\\"initializer\\\": \\\"reservationCheckerData.setSelectedDate(selectedDateStr)\\\",\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"t1\\\",\\n \\\"type\\\": \\\"java.lang.Thread\\\",\\n \\\"initializer\\\": \\\"new Thread(new DateChecker(reservationCheckerData))\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"initializer\\\": \\\"response.getWriter()\\\",\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"setSelectedDate(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public boolean setSelectedDate(String dateStr)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"dateStr\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n try {\\\\n selectedDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(dateStr);\\\\n } catch (Exception e) {\\\\n return false;\\\\n }\\\\n return true;\\\\n}\\\",\\n \\\"start_line\\\": 26,\\n \\\"end_line\\\": 33,\\n \\\"return_type\\\": \\\"boolean\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.Constants.DATA_FORMAT\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.selectedDate\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"parse\\\",\\n \\\"receiver_expr\\\": \\\"new SimpleDateFormat(Constants.DATA_FORMAT)\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.Date\\\",\\n \\\"callee_signature\\\": \\\"parse(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 76\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.text.SimpleDateFormat\\\",\\n \\\"callee_signature\\\": \\\"SimpleDateFormat(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 61\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(AvailabilityCheckerServlet.class.getName(), methodName);\\\\n int statusCode = 200;\\\\n String selectedDateStr = request.getParameter(\\\\\\\"date\\\\\\\");\\\\n boolean parsedDate = reservationCheckerData.setSelectedDate(selectedDateStr);\\\\n if (!parsedDate || reservationCheckerData.getReservationList() == null) {\\\\n statusCode = 500;\\\\n reservationCheckerData.setAvailablility(false);\\\\n }\\\\n if (statusCode == 200) {\\\\n Thread t1 = new Thread(new DateChecker(reservationCheckerData));\\\\n try {\\\\n t1.start();\\\\n t1.join();\\\\n // Java 21 issue\\\\n t1.stop();\\\\n } catch (Exception e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n if (!reservationCheckerData.isAvailible()) {\\\\n statusCode = 201;\\\\n }\\\\n }\\\\n PrintWriter out = response.getWriter();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n response.setCharacterEncoding(\\\\\\\"UTF-8\\\\\\\");\\\\n out.print(\\\\\\\"{\\\\\\\\\\\\\\\"availability\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"\\\\\\\" + String.valueOf(reservationCheckerData.isAvailible()) + \\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\");\\\\n response.setStatus(statusCode);\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 79,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintWriter\\\",\\n \\\"java.lang.Thread\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.logger\\\",\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 73\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"AvailabilityCheckerServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 28,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"setSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setSelectedDate(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 64\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 55,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"start\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"start()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"join\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"join()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"stop\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"stop()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getWriter\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"callee_signature\\\": \\\"getWriter()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"setCharacterEncoding\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setCharacterEncoding(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"valueOf\\\",\\n \\\"receiver_expr\\\": \\\"String\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"valueOf(boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 88\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 52,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 87\\n },\\n {\\n \\\"method_name\\\": \\\"setStatus\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setStatus(int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.DateChecker\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.Thread\\\",\\n \\\"callee_signature\\\": \\\"Thread(java.lang.Runnable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"callee_signature\\\": \\\"DateChecker(com.acme.modres.mbean.reservation.ReservationCheckerData)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"statusCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"200\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"date\\\\\\\")\\\",\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"parsedDate\\\",\\n \\\"type\\\": \\\"boolean\\\",\\n \\\"initializer\\\": \\\"reservationCheckerData.setSelectedDate(selectedDateStr)\\\",\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"t1\\\",\\n \\\"type\\\": \\\"java.lang.Thread\\\",\\n \\\"initializer\\\": \\\"new Thread(new DateChecker(reservationCheckerData))\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"initializer\\\": \\\"response.getWriter()\\\",\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservationList()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public ReservationList getReservationList()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return reservations;\\\\n}\\\",\\n \\\"start_line\\\": 18,\\n \\\"end_line\\\": 20,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.reservations\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(AvailabilityCheckerServlet.class.getName(), methodName);\\\\n int statusCode = 200;\\\\n String selectedDateStr = request.getParameter(\\\\\\\"date\\\\\\\");\\\\n boolean parsedDate = reservationCheckerData.setSelectedDate(selectedDateStr);\\\\n if (!parsedDate || reservationCheckerData.getReservationList() == null) {\\\\n statusCode = 500;\\\\n reservationCheckerData.setAvailablility(false);\\\\n }\\\\n if (statusCode == 200) {\\\\n Thread t1 = new Thread(new DateChecker(reservationCheckerData));\\\\n try {\\\\n t1.start();\\\\n t1.join();\\\\n // Java 21 issue\\\\n t1.stop();\\\\n } catch (Exception e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n if (!reservationCheckerData.isAvailible()) {\\\\n statusCode = 201;\\\\n }\\\\n }\\\\n PrintWriter out = response.getWriter();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n response.setCharacterEncoding(\\\\\\\"UTF-8\\\\\\\");\\\\n out.print(\\\\\\\"{\\\\\\\\\\\\\\\"availability\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"\\\\\\\" + String.valueOf(reservationCheckerData.isAvailible()) + \\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\");\\\\n response.setStatus(statusCode);\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 79,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintWriter\\\",\\n \\\"java.lang.Thread\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.logger\\\",\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 73\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"AvailabilityCheckerServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 28,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"setSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setSelectedDate(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 64\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 55,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"start\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"start()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"join\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"join()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"stop\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"stop()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getWriter\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"callee_signature\\\": \\\"getWriter()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"setCharacterEncoding\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setCharacterEncoding(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"valueOf\\\",\\n \\\"receiver_expr\\\": \\\"String\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"valueOf(boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 88\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 52,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 87\\n },\\n {\\n \\\"method_name\\\": \\\"setStatus\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setStatus(int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.DateChecker\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.Thread\\\",\\n \\\"callee_signature\\\": \\\"Thread(java.lang.Runnable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"callee_signature\\\": \\\"DateChecker(com.acme.modres.mbean.reservation.ReservationCheckerData)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"statusCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"200\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"date\\\\\\\")\\\",\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"parsedDate\\\",\\n \\\"type\\\": \\\"boolean\\\",\\n \\\"initializer\\\": \\\"reservationCheckerData.setSelectedDate(selectedDateStr)\\\",\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"t1\\\",\\n \\\"type\\\": \\\"java.lang.Thread\\\",\\n \\\"initializer\\\": \\\"new Thread(new DateChecker(reservationCheckerData))\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"initializer\\\": \\\"response.getWriter()\\\",\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"setAvailablility(Boolean)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void setAvailablility(Boolean available)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.Boolean\\\",\\n \\\"name\\\": \\\"available\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n this.available = available;\\\\n}\\\",\\n \\\"start_line\\\": 39,\\n \\\"end_line\\\": 41,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.Boolean\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.available\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(AvailabilityCheckerServlet.class.getName(), methodName);\\\\n int statusCode = 200;\\\\n String selectedDateStr = request.getParameter(\\\\\\\"date\\\\\\\");\\\\n boolean parsedDate = reservationCheckerData.setSelectedDate(selectedDateStr);\\\\n if (!parsedDate || reservationCheckerData.getReservationList() == null) {\\\\n statusCode = 500;\\\\n reservationCheckerData.setAvailablility(false);\\\\n }\\\\n if (statusCode == 200) {\\\\n Thread t1 = new Thread(new DateChecker(reservationCheckerData));\\\\n try {\\\\n t1.start();\\\\n t1.join();\\\\n // Java 21 issue\\\\n t1.stop();\\\\n } catch (Exception e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n if (!reservationCheckerData.isAvailible()) {\\\\n statusCode = 201;\\\\n }\\\\n }\\\\n PrintWriter out = response.getWriter();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n response.setCharacterEncoding(\\\\\\\"UTF-8\\\\\\\");\\\\n out.print(\\\\\\\"{\\\\\\\\\\\\\\\"availability\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"\\\\\\\" + String.valueOf(reservationCheckerData.isAvailible()) + \\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\");\\\\n response.setStatus(statusCode);\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 79,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintWriter\\\",\\n \\\"java.lang.Thread\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.logger\\\",\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 73\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"AvailabilityCheckerServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 28,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"setSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setSelectedDate(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 64\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 55,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"start\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"start()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"join\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"join()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"stop\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"stop()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getWriter\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"callee_signature\\\": \\\"getWriter()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"setCharacterEncoding\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setCharacterEncoding(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"valueOf\\\",\\n \\\"receiver_expr\\\": \\\"String\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"valueOf(boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 88\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 52,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 87\\n },\\n {\\n \\\"method_name\\\": \\\"setStatus\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setStatus(int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.DateChecker\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.Thread\\\",\\n \\\"callee_signature\\\": \\\"Thread(java.lang.Runnable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"callee_signature\\\": \\\"DateChecker(com.acme.modres.mbean.reservation.ReservationCheckerData)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"statusCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"200\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"date\\\\\\\")\\\",\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"parsedDate\\\",\\n \\\"type\\\": \\\"boolean\\\",\\n \\\"initializer\\\": \\\"reservationCheckerData.setSelectedDate(selectedDateStr)\\\",\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"t1\\\",\\n \\\"type\\\": \\\"java.lang.Thread\\\",\\n \\\"initializer\\\": \\\"new Thread(new DateChecker(reservationCheckerData))\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"initializer\\\": \\\"response.getWriter()\\\",\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"DateChecker(ReservationCheckerData)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public DateChecker(ReservationCheckerData data)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"name\\\": \\\"data\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n this.data = data;\\\\n}\\\",\\n \\\"start_line\\\": 11,\\n \\\"end_line\\\": 13,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.DateChecker.data\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.DateChecker\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(AvailabilityCheckerServlet.class.getName(), methodName);\\\\n int statusCode = 200;\\\\n String selectedDateStr = request.getParameter(\\\\\\\"date\\\\\\\");\\\\n boolean parsedDate = reservationCheckerData.setSelectedDate(selectedDateStr);\\\\n if (!parsedDate || reservationCheckerData.getReservationList() == null) {\\\\n statusCode = 500;\\\\n reservationCheckerData.setAvailablility(false);\\\\n }\\\\n if (statusCode == 200) {\\\\n Thread t1 = new Thread(new DateChecker(reservationCheckerData));\\\\n try {\\\\n t1.start();\\\\n t1.join();\\\\n // Java 21 issue\\\\n t1.stop();\\\\n } catch (Exception e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n if (!reservationCheckerData.isAvailible()) {\\\\n statusCode = 201;\\\\n }\\\\n }\\\\n PrintWriter out = response.getWriter();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n response.setCharacterEncoding(\\\\\\\"UTF-8\\\\\\\");\\\\n out.print(\\\\\\\"{\\\\\\\\\\\\\\\"availability\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"\\\\\\\" + String.valueOf(reservationCheckerData.isAvailible()) + \\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\");\\\\n response.setStatus(statusCode);\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 79,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintWriter\\\",\\n \\\"java.lang.Thread\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.logger\\\",\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 73\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"AvailabilityCheckerServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 28,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"setSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setSelectedDate(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 64\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 55,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"start\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"start()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"join\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"join()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"stop\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"stop()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getWriter\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"callee_signature\\\": \\\"getWriter()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"setCharacterEncoding\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setCharacterEncoding(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"valueOf\\\",\\n \\\"receiver_expr\\\": \\\"String\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"valueOf(boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 88\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 52,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 87\\n },\\n {\\n \\\"method_name\\\": \\\"setStatus\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setStatus(int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.DateChecker\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.Thread\\\",\\n \\\"callee_signature\\\": \\\"Thread(java.lang.Runnable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"callee_signature\\\": \\\"DateChecker(com.acme.modres.mbean.reservation.ReservationCheckerData)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"statusCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"200\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"date\\\\\\\")\\\",\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"parsedDate\\\",\\n \\\"type\\\": \\\"boolean\\\",\\n \\\"initializer\\\": \\\"reservationCheckerData.setSelectedDate(selectedDateStr)\\\",\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"t1\\\",\\n \\\"type\\\": \\\"java.lang.Thread\\\",\\n \\\"initializer\\\": \\\"new Thread(new DateChecker(reservationCheckerData))\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"initializer\\\": \\\"response.getWriter()\\\",\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"isAvailible()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public boolean isAvailible()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return available;\\\\n}\\\",\\n \\\"start_line\\\": 35,\\n \\\"end_line\\\": 37,\\n \\\"return_type\\\": \\\"boolean\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData.available\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationCheckerData\"\n}", - "type": "CALL_DEP", - "weight": "2" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doPost(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"/**\\\\n\\\\t * Returns the weather information for a given city\\\\n\\\\t */\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n doGet(request, response);\\\\n}\\\",\\n \\\"start_line\\\": 84,\\n \\\"end_line\\\": 88,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"doGet\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": true,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 87,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 87,\\n \\\"end_column\\\": 26\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(AvailabilityCheckerServlet.class.getName(), methodName);\\\\n int statusCode = 200;\\\\n String selectedDateStr = request.getParameter(\\\\\\\"date\\\\\\\");\\\\n boolean parsedDate = reservationCheckerData.setSelectedDate(selectedDateStr);\\\\n if (!parsedDate || reservationCheckerData.getReservationList() == null) {\\\\n statusCode = 500;\\\\n reservationCheckerData.setAvailablility(false);\\\\n }\\\\n if (statusCode == 200) {\\\\n Thread t1 = new Thread(new DateChecker(reservationCheckerData));\\\\n try {\\\\n t1.start();\\\\n t1.join();\\\\n // Java 21 issue\\\\n t1.stop();\\\\n } catch (Exception e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n if (!reservationCheckerData.isAvailible()) {\\\\n statusCode = 201;\\\\n }\\\\n }\\\\n PrintWriter out = response.getWriter();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n response.setCharacterEncoding(\\\\\\\"UTF-8\\\\\\\");\\\\n out.print(\\\\\\\"{\\\\\\\\\\\\\\\"availability\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"\\\\\\\" + String.valueOf(reservationCheckerData.isAvailible()) + \\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\");\\\\n response.setStatus(statusCode);\\\\n}\\\",\\n \\\"start_line\\\": 43,\\n \\\"end_line\\\": 79,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.PrintWriter\\\",\\n \\\"java.lang.Thread\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.AvailabilityCheckerServlet.logger\\\",\\n \\\"com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 73\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"AvailabilityCheckerServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 28,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"setSelectedDate\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setSelectedDate(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getReservationList\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"getReservationList()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 64\\n },\\n {\\n \\\"method_name\\\": \\\"setAvailablility\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setAvailablility(java.lang.Boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 55,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"start\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"start()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"join\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"join()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"stop\\\",\\n \\\"receiver_expr\\\": \\\"t1\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"stop()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 9,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getWriter\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"callee_signature\\\": \\\"getWriter()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"setCharacterEncoding\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setCharacterEncoding(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 95\\n },\\n {\\n \\\"method_name\\\": \\\"valueOf\\\",\\n \\\"receiver_expr\\\": \\\"String\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"valueOf(boolean)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 88\\n },\\n {\\n \\\"method_name\\\": \\\"isAvailible\\\",\\n \\\"receiver_expr\\\": \\\"reservationCheckerData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isAvailible()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 77,\\n \\\"start_column\\\": 52,\\n \\\"end_line\\\": 77,\\n \\\"end_column\\\": 87\\n },\\n {\\n \\\"method_name\\\": \\\"setStatus\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setStatus(int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Thread\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.DateChecker\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.Thread\\\",\\n \\\"callee_signature\\\": \\\"Thread(java.lang.Runnable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.reservation.ReservationCheckerData\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.DateChecker\\\",\\n \\\"callee_signature\\\": \\\"DateChecker(com.acme.modres.mbean.reservation.ReservationCheckerData)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 27,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"name\\\": \\\"statusCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"200\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"date\\\\\\\")\\\",\\n \\\"start_line\\\": 51,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 51,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"parsedDate\\\",\\n \\\"type\\\": \\\"boolean\\\",\\n \\\"initializer\\\": \\\"reservationCheckerData.setSelectedDate(selectedDateStr)\\\",\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"t1\\\",\\n \\\"type\\\": \\\"java.lang.Thread\\\",\\n \\\"initializer\\\": \\\"new Thread(new DateChecker(reservationCheckerData))\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.PrintWriter\\\",\\n \\\"initializer\\\": \\\"response.getWriter()\\\",\\n \\\"start_line\\\": 74,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 74,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"exportRevervations(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"protected int exportRevervations(String selectedDateStr)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n File fileToZip = IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n String userDirectory = System.getProperty(\\\\\\\"user.home\\\\\\\");\\\\n String zipPath = userDirectory + \\\\\\\"/reservations.zip\\\\\\\";\\\\n FileOutputStream fos;\\\\n try {\\\\n fos = new FileOutputStream(zipPath);\\\\n ZipOutputStream zipOut = new ZipOutputStream(fos);\\\\n FileInputStream fis = new FileInputStream(fileToZip);\\\\n ZipEntry zipEntry = new ZipEntry(fileToZip.getName());\\\\n zipOut.putNextEntry(zipEntry);\\\\n byte[] bytes = new byte[1024];\\\\n int length;\\\\n while ((length = fis.read(bytes)) >= 0) {\\\\n zipOut.write(bytes, 0, length);\\\\n }\\\\n fis.close();\\\\n zipOut.close();\\\\n fos.close();\\\\n // verify zip\\\\n ZipValidator zipValidator = new ZipValidator(new File(zipPath));\\\\n if (zipValidator.isValid()) {\\\\n return 0;\\\\n }\\\\n } catch (FileNotFoundException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (IOException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (Throwable e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n return -1;\\\\n}\\\",\\n \\\"start_line\\\": 90,\\n \\\"end_line\\\": 130,\\n \\\"return_type\\\": \\\"int\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"java.io.FileOutputStream\\\",\\n \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.FileInputStream\\\",\\n \\\"java.util.zip.ZipEntry\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"getProperty\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getProperty(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"fileToZip\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"putNextEntry\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.zip.ZipEntry\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"putNextEntry(java.util.zip.ZipEntry)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 102,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 102,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[], int, int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 107,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 107,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 111,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 111,\\n \\\"end_column\\\": 17\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fos\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"isValid\\\",\\n \\\"receiver_expr\\\": \\\"zipValidator\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isValid()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 28\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileNotFoundException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 124,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 124,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 127,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 127,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"callee_signature\\\": \\\"FileOutputStream(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 97,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 97,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.FileOutputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"callee_signature\\\": \\\"ZipOutputStream(java.io.OutputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"callee_signature\\\": \\\"FileInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"callee_signature\\\": \\\"ZipEntry(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"callee_signature\\\": \\\"ZipValidator(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"File(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 49,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"fileToZip\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"name\\\": \\\"userDirectory\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getProperty(\\\\\\\"user.home\\\\\\\")\\\",\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"zipPath\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"userDirectory + \\\\\\\"/reservations.zip\\\\\\\"\\\",\\n \\\"start_line\\\": 93,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 93,\\n \\\"end_column\\\": 54\\n },\\n {\\n \\\"name\\\": \\\"fos\\\",\\n \\\"type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 95,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 95,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"zipOut\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"initializer\\\": \\\"new ZipOutputStream(fos)\\\",\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"fis\\\",\\n \\\"type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"initializer\\\": \\\"new FileInputStream(fileToZip)\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"zipEntry\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"initializer\\\": \\\"new ZipEntry(fileToZip.getName())\\\",\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"bytes\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[1024]\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"length\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 105,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 105,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"name\\\": \\\"zipValidator\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"initializer\\\": \\\"new ZipValidator(new File(zipPath))\\\",\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getFileFromRelativePath(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static File getFileFromRelativePath(String path)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"path\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n File file = null;\\\\n InputStream initialStream = null;\\\\n OutputStream outStream = null;\\\\n try {\\\\n initialStream = IOUtils.class.getClassLoader().getResourceAsStream(path);\\\\n byte[] buffer = new byte[initialStream.available()];\\\\n initialStream.read(buffer);\\\\n file = File.createTempFile(path, null);\\\\n outStream = new FileOutputStream(file);\\\\n outStream.write(buffer);\\\\n outStream.close();\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n } finally {\\\\n if (initialStream != null) {\\\\n try {\\\\n initialStream.close();\\\\n } catch (IOException e) {\\\\n }\\\\n } else if (outStream != null) {\\\\n try {\\\\n outStream.close();\\\\n } catch (IOException e) {\\\\n }\\\\n }\\\\n }\\\\n return file;\\\\n}\\\",\\n \\\"start_line\\\": 14,\\n \\\"end_line\\\": 44,\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.OutputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"java.io.InputStream\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getResourceAsStream\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils.class.getClassLoader()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStream\\\",\\n \\\"callee_signature\\\": \\\"getResourceAsStream(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 84\\n },\\n {\\n \\\"method_name\\\": \\\"getClassLoader\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"callee_signature\\\": \\\"getClassLoader()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"available\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"available()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 38,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 62\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"createTempFile\\\",\\n \\\"receiver_expr\\\": \\\"File\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"createTempFile(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 50\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 31\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 37,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 37,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"callee_signature\\\": \\\"FileOutputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 50\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 15,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 15,\\n \\\"end_column\\\": 24\\n },\\n {\\n \\\"name\\\": \\\"initialStream\\\",\\n \\\"type\\\": \\\"java.io.InputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"name\\\": \\\"outStream\\\",\\n \\\"type\\\": \\\"java.io.OutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"name\\\": \\\"buffer\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[initialStream.available()]\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 7\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"exportRevervations(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"protected int exportRevervations(String selectedDateStr)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n File fileToZip = IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n String userDirectory = System.getProperty(\\\\\\\"user.home\\\\\\\");\\\\n String zipPath = userDirectory + \\\\\\\"/reservations.zip\\\\\\\";\\\\n FileOutputStream fos;\\\\n try {\\\\n fos = new FileOutputStream(zipPath);\\\\n ZipOutputStream zipOut = new ZipOutputStream(fos);\\\\n FileInputStream fis = new FileInputStream(fileToZip);\\\\n ZipEntry zipEntry = new ZipEntry(fileToZip.getName());\\\\n zipOut.putNextEntry(zipEntry);\\\\n byte[] bytes = new byte[1024];\\\\n int length;\\\\n while ((length = fis.read(bytes)) >= 0) {\\\\n zipOut.write(bytes, 0, length);\\\\n }\\\\n fis.close();\\\\n zipOut.close();\\\\n fos.close();\\\\n // verify zip\\\\n ZipValidator zipValidator = new ZipValidator(new File(zipPath));\\\\n if (zipValidator.isValid()) {\\\\n return 0;\\\\n }\\\\n } catch (FileNotFoundException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (IOException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (Throwable e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n return -1;\\\\n}\\\",\\n \\\"start_line\\\": 90,\\n \\\"end_line\\\": 130,\\n \\\"return_type\\\": \\\"int\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"java.io.FileOutputStream\\\",\\n \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.FileInputStream\\\",\\n \\\"java.util.zip.ZipEntry\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"getProperty\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getProperty(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"fileToZip\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"putNextEntry\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.zip.ZipEntry\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"putNextEntry(java.util.zip.ZipEntry)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 102,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 102,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[], int, int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 107,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 107,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 111,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 111,\\n \\\"end_column\\\": 17\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fos\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"isValid\\\",\\n \\\"receiver_expr\\\": \\\"zipValidator\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isValid()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 28\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileNotFoundException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 124,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 124,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 127,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 127,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"callee_signature\\\": \\\"FileOutputStream(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 97,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 97,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.FileOutputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"callee_signature\\\": \\\"ZipOutputStream(java.io.OutputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"callee_signature\\\": \\\"FileInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"callee_signature\\\": \\\"ZipEntry(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"callee_signature\\\": \\\"ZipValidator(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"File(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 49,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"fileToZip\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"name\\\": \\\"userDirectory\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getProperty(\\\\\\\"user.home\\\\\\\")\\\",\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"zipPath\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"userDirectory + \\\\\\\"/reservations.zip\\\\\\\"\\\",\\n \\\"start_line\\\": 93,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 93,\\n \\\"end_column\\\": 54\\n },\\n {\\n \\\"name\\\": \\\"fos\\\",\\n \\\"type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 95,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 95,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"zipOut\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"initializer\\\": \\\"new ZipOutputStream(fos)\\\",\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"fis\\\",\\n \\\"type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"initializer\\\": \\\"new FileInputStream(fileToZip)\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"zipEntry\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"initializer\\\": \\\"new ZipEntry(fileToZip.getName())\\\",\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"bytes\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[1024]\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"length\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 105,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 105,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"name\\\": \\\"zipValidator\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"initializer\\\": \\\"new ZipValidator(new File(zipPath))\\\",\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"ZipValidator(File)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.util.zip.ZipException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"public ZipValidator(File file) throws ZipException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"name\\\": \\\"file\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n super(file);\\\\n this.file = file;\\\\n}\\\",\\n \\\"start_line\\\": 13,\\n \\\"end_line\\\": 16,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.ZipValidator.file\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.ZipValidator\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"exportRevervations(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"protected int exportRevervations(String selectedDateStr)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"selectedDateStr\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n File fileToZip = IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n String userDirectory = System.getProperty(\\\\\\\"user.home\\\\\\\");\\\\n String zipPath = userDirectory + \\\\\\\"/reservations.zip\\\\\\\";\\\\n FileOutputStream fos;\\\\n try {\\\\n fos = new FileOutputStream(zipPath);\\\\n ZipOutputStream zipOut = new ZipOutputStream(fos);\\\\n FileInputStream fis = new FileInputStream(fileToZip);\\\\n ZipEntry zipEntry = new ZipEntry(fileToZip.getName());\\\\n zipOut.putNextEntry(zipEntry);\\\\n byte[] bytes = new byte[1024];\\\\n int length;\\\\n while ((length = fis.read(bytes)) >= 0) {\\\\n zipOut.write(bytes, 0, length);\\\\n }\\\\n fis.close();\\\\n zipOut.close();\\\\n fos.close();\\\\n // verify zip\\\\n ZipValidator zipValidator = new ZipValidator(new File(zipPath));\\\\n if (zipValidator.isValid()) {\\\\n return 0;\\\\n }\\\\n } catch (FileNotFoundException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (IOException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n } catch (Throwable e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n return -1;\\\\n}\\\",\\n \\\"start_line\\\": 90,\\n \\\"end_line\\\": 130,\\n \\\"return_type\\\": \\\"int\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"java.io.FileOutputStream\\\",\\n \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.FileInputStream\\\",\\n \\\"java.util.zip.ZipEntry\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.IOUtils\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"getProperty\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getProperty(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"fileToZip\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"putNextEntry\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.zip.ZipEntry\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"putNextEntry(java.util.zip.ZipEntry)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 102,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 102,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[], int, int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 107,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 107,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fis\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"zipOut\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 111,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 111,\\n \\\"end_column\\\": 17\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"fos\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"isValid\\\",\\n \\\"receiver_expr\\\": \\\"zipValidator\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"isValid()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 28\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileNotFoundException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 124,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 124,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 127,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 127,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"callee_signature\\\": \\\"FileOutputStream(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 97,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 97,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.FileOutputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"callee_signature\\\": \\\"ZipOutputStream(java.io.OutputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"callee_signature\\\": \\\"FileInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"callee_signature\\\": \\\"ZipEntry(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"callee_signature\\\": \\\"ZipValidator(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"File(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 49,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"fileToZip\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"IOUtils.getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 91,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 91,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"name\\\": \\\"userDirectory\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getProperty(\\\\\\\"user.home\\\\\\\")\\\",\\n \\\"start_line\\\": 92,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 92,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"zipPath\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"userDirectory + \\\\\\\"/reservations.zip\\\\\\\"\\\",\\n \\\"start_line\\\": 93,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 93,\\n \\\"end_column\\\": 54\\n },\\n {\\n \\\"name\\\": \\\"fos\\\",\\n \\\"type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 95,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 95,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"name\\\": \\\"zipOut\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipOutputStream\\\",\\n \\\"initializer\\\": \\\"new ZipOutputStream(fos)\\\",\\n \\\"start_line\\\": 98,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 98,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"fis\\\",\\n \\\"type\\\": \\\"java.io.FileInputStream\\\",\\n \\\"initializer\\\": \\\"new FileInputStream(fileToZip)\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"zipEntry\\\",\\n \\\"type\\\": \\\"java.util.zip.ZipEntry\\\",\\n \\\"initializer\\\": \\\"new ZipEntry(fileToZip.getName())\\\",\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"name\\\": \\\"bytes\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[1024]\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"length\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 105,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 105,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"name\\\": \\\"zipValidator\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"initializer\\\": \\\"new ZipValidator(new File(zipPath))\\\",\\n \\\"start_line\\\": 115,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 115,\\n \\\"end_column\\\": 66\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.AvailabilityCheckerServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"isValid()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.lang.Throwable\\\"\\n ],\\n \\\"declaration\\\": \\\"public boolean isValid() throws Throwable\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n if (file.exists()) {\\\\n ZipValidator zipFile = new ZipValidator(file);\\\\n Enumeration entries = zipFile.entries();\\\\n if (!entries.hasMoreElements()) {\\\\n return true;\\\\n }\\\\n zipFile.close();\\\\n }\\\\n return false;\\\\n}\\\",\\n \\\"start_line\\\": 20,\\n \\\"end_line\\\": 30,\\n \\\"return_type\\\": \\\"boolean\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"java.util.Enumeration\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.ZipValidator.file\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"exists\\\",\\n \\\"receiver_expr\\\": \\\"file\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"exists()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"entries\\\",\\n \\\"receiver_expr\\\": \\\"zipFile\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.util.Enumeration\\\",\\n \\\"callee_signature\\\": \\\"entries()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 55,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"hasMoreElements\\\",\\n \\\"receiver_expr\\\": \\\"entries\\\",\\n \\\"receiver_type\\\": \\\"java.util.Enumeration\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"hasMoreElements()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"zipFile\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"callee_signature\\\": \\\"ZipValidator(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 36,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"zipFile\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.ZipValidator\\\",\\n \\\"initializer\\\": \\\"new ZipValidator(file)\\\",\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"name\\\": \\\"entries\\\",\\n \\\"type\\\": \\\"java.util.Enumeration\\\",\\n \\\"initializer\\\": \\\"zipFile.entries()\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 45,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 71\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.ZipValidator\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"parseJsonAs(Class)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public Object parseJsonAs(Class cls)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.Class\\\",\\n \\\"name\\\": \\\"cls\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (file.exists()) {\\\\n JsonInputStream is = null;\\\\n Object jsonObject = null;\\\\n try {\\\\n is = new JsonInputStream(file);\\\\n Gson gson = new Gson();\\\\n BufferedReader reader = new BufferedReader(new InputStreamReader(is));\\\\n jsonObject = gson.fromJson(reader, cls);\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n } catch (Throwable e) {\\\\n e.printStackTrace();\\\\n } finally {\\\\n if (is != null) {\\\\n try {\\\\n is.close();\\\\n // test if file is closed\\\\n is.read();\\\\n } catch (IOException e) {\\\\n // closed successfully\\\\n return jsonObject;\\\\n } catch (Throwable e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return null;\\\\n}\\\",\\n \\\"start_line\\\": 21,\\n \\\"end_line\\\": 49,\\n \\\"return_type\\\": \\\"java.lang.Object\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.google.gson.Gson\\\",\\n \\\"java.lang.Object\\\",\\n \\\"java.io.BufferedReader\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.JsonInputStream.file\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"exists\\\",\\n \\\"receiver_expr\\\": \\\"file\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"exists()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"fromJson\\\",\\n \\\"receiver_expr\\\": \\\"gson\\\",\\n \\\"receiver_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.BufferedReader\\\",\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"fromJson(java.io.Reader, java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 29,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 29,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 33,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 33,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 37,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 37,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 38,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 38,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 43,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 43,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"callee_signature\\\": \\\"Gson()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.InputStreamReader\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"callee_signature\\\": \\\"BufferedReader(java.io.Reader)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 85\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"callee_signature\\\": \\\"InputStreamReader(java.io.InputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 60,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 84\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"name\\\": \\\"jsonObject\\\",\\n \\\"type\\\": \\\"java.lang.Object\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"name\\\": \\\"gson\\\",\\n \\\"type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"initializer\\\": \\\"new Gson()\\\",\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"reader\\\",\\n \\\"type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"initializer\\\": \\\"new BufferedReader(new InputStreamReader(is))\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 85\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 6\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.JsonInputStream\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"JsonInputStream(File)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.FileNotFoundException\\\"\\n ],\\n \\\"declaration\\\": \\\"public JsonInputStream(File file) throws FileNotFoundException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"name\\\": \\\"file\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n super(file);\\\\n this.file = file;\\\\n}\\\",\\n \\\"start_line\\\": 16,\\n \\\"end_line\\\": 19,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.JsonInputStream.file\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.JsonInputStream\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"init()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public void init()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n server = ManagementFactory.getPlatformMBeanServer();\\\\n try {\\\\n weatherON = new ObjectName(\\\\\\\"com.acme.modres.mbean:name=appInfo\\\\\\\");\\\\n } catch (MalformedObjectNameException e) {\\\\n // TODO Auto-generated catch block\\\\n e.printStackTrace();\\\\n }\\\\n try {\\\\n if (weatherON != null) {\\\\n mbean = server.registerMBean(new AppInfo(), weatherON);\\\\n }\\\\n } catch (InstanceAlreadyExistsException | MBeanRegistrationException | NotCompliantMBeanException e) {\\\\n e.printStackTrace();\\\\n }\\\\n context = setInitialContextProps();\\\\n}\\\",\\n \\\"start_line\\\": 64,\\n \\\"end_line\\\": 81,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.context\\\",\\n \\\"com.acme.modres.WeatherServlet.weatherON\\\",\\n \\\"com.acme.modres.WeatherServlet.server\\\",\\n \\\"com.acme.modres.WeatherServlet.mbean\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getPlatformMBeanServer\\\",\\n \\\"receiver_expr\\\": \\\"ManagementFactory\\\",\\n \\\"receiver_type\\\": \\\"java.lang.management.ManagementFactory\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"callee_signature\\\": \\\"getPlatformMBeanServer()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 66,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 66,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MalformedObjectNameException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 71,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 71,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"registerMBean\\\",\\n \\\"receiver_expr\\\": \\\"server\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"javax.management.ObjectName\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.ObjectInstance\\\",\\n \\\"callee_signature\\\": \\\"registerMBean(java.lang.Object, javax.management.ObjectName)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.InstanceAlreadyExistsException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 78,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 78,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"setInitialContextProps\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.naming.InitialContext\\\",\\n \\\"callee_signature\\\": \\\"setInitialContextProps()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 80,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 80,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.management.ObjectName\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.ObjectName\\\",\\n \\\"callee_signature\\\": \\\"ObjectName(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 68,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 68,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.AppInfo\\\",\\n \\\"callee_signature\\\": \\\"AppInfo()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 75,\\n \\\"start_column\\\": 34,\\n \\\"end_line\\\": 75,\\n \\\"end_column\\\": 46\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 2\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"AppInfo()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public AppInfo()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n buildDMBeanInfo();\\\\n}\\\",\\n \\\"start_line\\\": 20,\\n \\\"end_line\\\": 22,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"buildDMBeanInfo\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"buildDMBeanInfo()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 19\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.AppInfo\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(WeatherServlet.class.getName(), methodName);\\\\n try {\\\\n MBeanInfo weatherConfig = server.getMBeanInfo(weatherON);\\\\n } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) {\\\\n e.printStackTrace();\\\\n }\\\\n String city = request.getParameter(\\\\\\\"selectedCity\\\\\\\");\\\\n logger.log(Level.FINE, \\\\\\\"requested city is \\\\\\\" + city);\\\\n String weatherAPIKey = System.getenv(WEATHER_API_KEY);\\\\n String mockedKey = mockKey(weatherAPIKey);\\\\n logger.log(Level.FINE, \\\\\\\"weatherAPIKey is \\\\\\\" + mockedKey);\\\\n if (weatherAPIKey != null && weatherAPIKey.trim().length() > 0) {\\\\n logger.info(\\\\\\\"weatherAPIKey is found, system will provide the real time weather data for the city \\\\\\\" + city);\\\\n getRealTimeWeatherData(city, weatherAPIKey, response);\\\\n } else {\\\\n logger.info(\\\\\\\"weatherAPIKey is not found, will provide the weather data dated August 10th, 2018 for the city \\\\\\\" + city);\\\\n getDefaultWeatherData(city, response);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 95,\\n \\\"end_line\\\": 123,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.management.MBeanInfo\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"com.acme.modres.WeatherServlet.weatherON\\\",\\n \\\"com.acme.modres.WeatherServlet.WEATHER_API_KEY\\\",\\n \\\"com.acme.modres.WeatherServlet.server\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 61\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"WeatherServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"getMBeanInfo\\\",\\n \\\"receiver_expr\\\": \\\"server\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"argument_types\\\": [\\n \\\"javax.management.ObjectName\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"callee_signature\\\": \\\"getMBeanInfo(javax.management.ObjectName)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.IntrospectionException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 110,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 110,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getenv\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getenv(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"mockKey\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"mockKey(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 114,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 114,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"length\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey.trim()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"length()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"trim\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"trim()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 51\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 117,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 117,\\n \\\"end_column\\\": 109\\n },\\n {\\n \\\"method_name\\\": \\\"getRealTimeWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getRealTimeWeatherData(java.lang.String, java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 118,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 118,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 120,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 120,\\n \\\"end_column\\\": 120\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData(java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"name\\\": \\\"weatherConfig\\\",\\n \\\"type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"initializer\\\": \\\"server.getMBeanInfo(weatherON)\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"name\\\": \\\"city\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"selectedCity\\\\\\\")\\\",\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"weatherAPIKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getenv(WEATHER_API_KEY)\\\",\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"mockedKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"mockKey(weatherAPIKey)\\\",\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"mockKey(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"private static String mockKey(String toBeMocked)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"toBeMocked\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (toBeMocked == null) {\\\\n return null;\\\\n }\\\\n String lastToKeep = toBeMocked.substring(toBeMocked.length() - 3);\\\\n return \\\\\\\"*********\\\\\\\" + lastToKeep;\\\\n}\\\",\\n \\\"start_line\\\": 245,\\n \\\"end_line\\\": 251,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"substring\\\",\\n \\\"receiver_expr\\\": \\\"toBeMocked\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"substring(int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 249,\\n \\\"start_column\\\": 23,\\n \\\"end_line\\\": 249,\\n \\\"end_column\\\": 65\\n },\\n {\\n \\\"method_name\\\": \\\"length\\\",\\n \\\"receiver_expr\\\": \\\"toBeMocked\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"length()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 249,\\n \\\"start_column\\\": 44,\\n \\\"end_line\\\": 249,\\n \\\"end_column\\\": 62\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"lastToKeep\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"toBeMocked.substring(toBeMocked.length() - 3)\\\",\\n \\\"start_line\\\": 249,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 249,\\n \\\"end_column\\\": 65\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 2\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(WeatherServlet.class.getName(), methodName);\\\\n try {\\\\n MBeanInfo weatherConfig = server.getMBeanInfo(weatherON);\\\\n } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) {\\\\n e.printStackTrace();\\\\n }\\\\n String city = request.getParameter(\\\\\\\"selectedCity\\\\\\\");\\\\n logger.log(Level.FINE, \\\\\\\"requested city is \\\\\\\" + city);\\\\n String weatherAPIKey = System.getenv(WEATHER_API_KEY);\\\\n String mockedKey = mockKey(weatherAPIKey);\\\\n logger.log(Level.FINE, \\\\\\\"weatherAPIKey is \\\\\\\" + mockedKey);\\\\n if (weatherAPIKey != null && weatherAPIKey.trim().length() > 0) {\\\\n logger.info(\\\\\\\"weatherAPIKey is found, system will provide the real time weather data for the city \\\\\\\" + city);\\\\n getRealTimeWeatherData(city, weatherAPIKey, response);\\\\n } else {\\\\n logger.info(\\\\\\\"weatherAPIKey is not found, will provide the weather data dated August 10th, 2018 for the city \\\\\\\" + city);\\\\n getDefaultWeatherData(city, response);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 95,\\n \\\"end_line\\\": 123,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.management.MBeanInfo\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"com.acme.modres.WeatherServlet.weatherON\\\",\\n \\\"com.acme.modres.WeatherServlet.WEATHER_API_KEY\\\",\\n \\\"com.acme.modres.WeatherServlet.server\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 61\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"WeatherServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"getMBeanInfo\\\",\\n \\\"receiver_expr\\\": \\\"server\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"argument_types\\\": [\\n \\\"javax.management.ObjectName\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"callee_signature\\\": \\\"getMBeanInfo(javax.management.ObjectName)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.IntrospectionException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 110,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 110,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getenv\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getenv(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"mockKey\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"mockKey(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 114,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 114,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"length\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey.trim()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"length()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"trim\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"trim()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 51\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 117,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 117,\\n \\\"end_column\\\": 109\\n },\\n {\\n \\\"method_name\\\": \\\"getRealTimeWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getRealTimeWeatherData(java.lang.String, java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 118,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 118,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 120,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 120,\\n \\\"end_column\\\": 120\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData(java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"name\\\": \\\"weatherConfig\\\",\\n \\\"type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"initializer\\\": \\\"server.getMBeanInfo(weatherON)\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"name\\\": \\\"city\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"selectedCity\\\\\\\")\\\",\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"weatherAPIKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getenv(WEATHER_API_KEY)\\\",\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"mockedKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"mockKey(weatherAPIKey)\\\",\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getRealTimeWeatherData(String, String, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"private void getRealTimeWeatherData(String city, String apiKey, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"city\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"apiKey\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String resturl = null;\\\\n String resturlbase = Constants.WUNDERGROUND_API_PREFIX + apiKey + Constants.WUNDERGROUND_API_PART;\\\\n if (Constants.PARIS.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"France/Paris.json\\\\\\\";\\\\n } else if (Constants.LAS_VEGAS.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"NV/Las_Vegas.json\\\\\\\";\\\\n } else if (Constants.SAN_FRANCISCO.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"/CA/San_Francisco.json\\\\\\\";\\\\n } else if (Constants.MIAMI.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"FL/Miami.json\\\\\\\";\\\\n } else if (Constants.CORK.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"ireland/cork.json\\\\\\\";\\\\n } else if (Constants.BARCELONA.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"Spain/Barcelona.json\\\\\\\";\\\\n } else {\\\\n String errorMsg = \\\\\\\"Sorry, the weather information for your selected city: \\\\\\\" + city + \\\\\\\" is not available. Valid selections are: \\\\\\\" + Constants.SUPPORTED_CITIES;\\\\n ExceptionHandler.handleException(null, errorMsg, logger);\\\\n }\\\\n URL obj = null;\\\\n HttpURLConnection con = null;\\\\n try {\\\\n obj = new URL(resturl);\\\\n con = (HttpURLConnection) obj.openConnection();\\\\n con.setRequestMethod(\\\\\\\"GET\\\\\\\");\\\\n } catch (MalformedURLException e1) {\\\\n String errorMsg = \\\\\\\"Caught MalformedURLException. Please make sure the url is correct.\\\\\\\";\\\\n ExceptionHandler.handleException(e1, errorMsg, logger);\\\\n } catch (ProtocolException e2) {\\\\n String errorMsg = \\\\\\\"Caught ProtocolException: \\\\\\\" + e2.getMessage() + \\\\\\\". Not able to set request method to http connection.\\\\\\\";\\\\n ExceptionHandler.handleException(e2, errorMsg, logger);\\\\n } catch (IOException e3) {\\\\n String errorMsg = \\\\\\\"Caught IOException: \\\\\\\" + e3.getMessage() + \\\\\\\". Not able to open connection.\\\\\\\";\\\\n ExceptionHandler.handleException(e3, errorMsg, logger);\\\\n }\\\\n int responseCode = con.getResponseCode();\\\\n logger.log(Level.FINEST, \\\\\\\"Response Code: \\\\\\\" + responseCode);\\\\n if (responseCode >= 200 && responseCode < 300) {\\\\n BufferedReader in = null;\\\\n ServletOutputStream out = null;\\\\n try {\\\\n in = new BufferedReader(new InputStreamReader(con.getInputStream()));\\\\n String inputLine = null;\\\\n StringBuffer responseStr = new StringBuffer();\\\\n while ((inputLine = in.readLine()) != null) {\\\\n responseStr.append(inputLine);\\\\n }\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n out = response.getOutputStream();\\\\n out.print(responseStr.toString());\\\\n logger.log(Level.FINE, \\\\\\\"responseStr: \\\\\\\" + responseStr);\\\\n } catch (Exception e) {\\\\n String errorMsg = \\\\\\\"Problem occured when processing the weather server response.\\\\\\\";\\\\n ExceptionHandler.handleException(e, errorMsg, logger);\\\\n } finally {\\\\n if (in != null) {\\\\n in.close();\\\\n }\\\\n if (out != null) {\\\\n out.close();\\\\n }\\\\n in = null;\\\\n out = null;\\\\n }\\\\n } else {\\\\n String errorMsg = \\\\\\\"REST API call \\\\\\\" + resturl + \\\\\\\" returns an error response: \\\\\\\" + responseCode;\\\\n ExceptionHandler.handleException(null, errorMsg, logger);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 125,\\n \\\"end_line\\\": 203,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.net.HttpURLConnection\\\",\\n \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"java.net.URL\\\",\\n \\\"java.lang.StringBuffer\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.BufferedReader\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"com.acme.modres.Constants.BARCELONA\\\",\\n \\\"com.acme.modres.Constants.CORK\\\",\\n \\\"com.acme.modres.Constants.WUNDERGROUND_API_PREFIX\\\",\\n \\\"com.acme.modres.Constants.PARIS\\\",\\n \\\"com.acme.modres.Constants.LAS_VEGAS\\\",\\n \\\"com.acme.modres.Constants.MIAMI\\\",\\n \\\"com.acme.modres.Constants.SUPPORTED_CITIES\\\",\\n \\\"com.acme.modres.Constants.SAN_FRANCISCO\\\",\\n \\\"com.acme.modres.Constants.WUNDERGROUND_API_PART\\\",\\n \\\"java.util.logging.Level.FINEST\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.PARIS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 130,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 130,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.LAS_VEGAS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 132,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 132,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.SAN_FRANCISCO\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 134,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 134,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.MIAMI\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 136,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 136,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.CORK\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 138,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 138,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.BARCELONA\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 140,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 140,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 145,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 145,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"openConnection\\\",\\n \\\"receiver_expr\\\": \\\"obj\\\",\\n \\\"receiver_type\\\": \\\"java.net.URL\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"callee_signature\\\": \\\"openConnection()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 152,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 152,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"setRequestMethod\\\",\\n \\\"receiver_expr\\\": \\\"con\\\",\\n \\\"receiver_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setRequestMethod(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 153,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 153,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.net.MalformedURLException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 156,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 156,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e2\\\",\\n \\\"receiver_type\\\": \\\"java.net.ProtocolException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 158,\\n \\\"start_column\\\": 53,\\n \\\"end_line\\\": 158,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.net.ProtocolException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 159,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 159,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e3\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 161,\\n \\\"start_column\\\": 47,\\n \\\"end_line\\\": 161,\\n \\\"end_column\\\": 61\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 162,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 162,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getResponseCode\\\",\\n \\\"receiver_expr\\\": \\\"con\\\",\\n \\\"receiver_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getResponseCode()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 165,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 165,\\n \\\"end_column\\\": 42\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 166,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 166,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getInputStream\\\",\\n \\\"receiver_expr\\\": \\\"con\\\",\\n \\\"receiver_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.InputStream\\\",\\n \\\"callee_signature\\\": \\\"getInputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 174,\\n \\\"start_column\\\": 51,\\n \\\"end_line\\\": 174,\\n \\\"end_column\\\": 70\\n },\\n {\\n \\\"method_name\\\": \\\"readLine\\\",\\n \\\"receiver_expr\\\": \\\"in\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"readLine()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 178,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 178,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"append\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"callee_signature\\\": \\\"append(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 179,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 179,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 182,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 182,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOutputStream\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"callee_signature\\\": \\\"getOutputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 183,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 183,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 184,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 184,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"toString\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"toString()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 184,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 184,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 185,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 185,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Exception\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 188,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 188,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"in\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 191,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 191,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 194,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 194,\\n \\\"end_column\\\": 16\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 201,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 201,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.net.URL\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.net.URL\\\",\\n \\\"callee_signature\\\": \\\"URL(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 151,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 151,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.InputStreamReader\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"callee_signature\\\": \\\"BufferedReader(java.io.Reader)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 174,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 174,\\n \\\"end_column\\\": 72\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.InputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"callee_signature\\\": \\\"InputStreamReader(java.io.InputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 174,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 174,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"callee_signature\\\": \\\"StringBuffer()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 176,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 176,\\n \\\"end_column\\\": 49\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resturl\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 127,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 127,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"name\\\": \\\"resturlbase\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"Constants.WUNDERGROUND_API_PREFIX + apiKey + Constants.WUNDERGROUND_API_PART\\\",\\n \\\"start_line\\\": 128,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 128,\\n \\\"end_column\\\": 99\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Sorry, the weather information for your selected city: \\\\\\\" + city + \\\\\\\" is not available. Valid selections are: \\\\\\\" + Constants.SUPPORTED_CITIES\\\",\\n \\\"start_line\\\": 143,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 144,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"obj\\\",\\n \\\"type\\\": \\\"java.net.URL\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 148,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 148,\\n \\\"end_column\\\": 16\\n },\\n {\\n \\\"name\\\": \\\"con\\\",\\n \\\"type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 149,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 149,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Caught MalformedURLException. Please make sure the url is correct.\\\\\\\"\\\",\\n \\\"start_line\\\": 155,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 155,\\n \\\"end_column\\\": 89\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Caught ProtocolException: \\\\\\\" + e2.getMessage() + \\\\\\\". Not able to set request method to http connection.\\\\\\\"\\\",\\n \\\"start_line\\\": 158,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 158,\\n \\\"end_column\\\": 124\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Caught IOException: \\\\\\\" + e3.getMessage() + \\\\\\\". Not able to open connection.\\\\\\\"\\\",\\n \\\"start_line\\\": 161,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 161,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"responseCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"con.getResponseCode()\\\",\\n \\\"start_line\\\": 165,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 165,\\n \\\"end_column\\\": 42\\n },\\n {\\n \\\"name\\\": \\\"in\\\",\\n \\\"type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 170,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 170,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 171,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 171,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"inputLine\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 175,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 175,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"name\\\": \\\"responseStr\\\",\\n \\\"type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"initializer\\\": \\\"new StringBuffer()\\\",\\n \\\"start_line\\\": 176,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 176,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Problem occured when processing the weather server response.\\\\\\\"\\\",\\n \\\"start_line\\\": 187,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 187,\\n \\\"end_column\\\": 84\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"REST API call \\\\\\\" + resturl + \\\\\\\" returns an error response: \\\\\\\" + responseCode\\\",\\n \\\"start_line\\\": 200,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 200,\\n \\\"end_column\\\": 95\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 16\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(WeatherServlet.class.getName(), methodName);\\\\n try {\\\\n MBeanInfo weatherConfig = server.getMBeanInfo(weatherON);\\\\n } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) {\\\\n e.printStackTrace();\\\\n }\\\\n String city = request.getParameter(\\\\\\\"selectedCity\\\\\\\");\\\\n logger.log(Level.FINE, \\\\\\\"requested city is \\\\\\\" + city);\\\\n String weatherAPIKey = System.getenv(WEATHER_API_KEY);\\\\n String mockedKey = mockKey(weatherAPIKey);\\\\n logger.log(Level.FINE, \\\\\\\"weatherAPIKey is \\\\\\\" + mockedKey);\\\\n if (weatherAPIKey != null && weatherAPIKey.trim().length() > 0) {\\\\n logger.info(\\\\\\\"weatherAPIKey is found, system will provide the real time weather data for the city \\\\\\\" + city);\\\\n getRealTimeWeatherData(city, weatherAPIKey, response);\\\\n } else {\\\\n logger.info(\\\\\\\"weatherAPIKey is not found, will provide the weather data dated August 10th, 2018 for the city \\\\\\\" + city);\\\\n getDefaultWeatherData(city, response);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 95,\\n \\\"end_line\\\": 123,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.management.MBeanInfo\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"com.acme.modres.WeatherServlet.weatherON\\\",\\n \\\"com.acme.modres.WeatherServlet.WEATHER_API_KEY\\\",\\n \\\"com.acme.modres.WeatherServlet.server\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 61\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"WeatherServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"getMBeanInfo\\\",\\n \\\"receiver_expr\\\": \\\"server\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"argument_types\\\": [\\n \\\"javax.management.ObjectName\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"callee_signature\\\": \\\"getMBeanInfo(javax.management.ObjectName)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.IntrospectionException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 110,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 110,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getenv\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getenv(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"mockKey\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"mockKey(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 114,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 114,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"length\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey.trim()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"length()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"trim\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"trim()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 51\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 117,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 117,\\n \\\"end_column\\\": 109\\n },\\n {\\n \\\"method_name\\\": \\\"getRealTimeWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getRealTimeWeatherData(java.lang.String, java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 118,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 118,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 120,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 120,\\n \\\"end_column\\\": 120\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData(java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"name\\\": \\\"weatherConfig\\\",\\n \\\"type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"initializer\\\": \\\"server.getMBeanInfo(weatherON)\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"name\\\": \\\"city\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"selectedCity\\\\\\\")\\\",\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"weatherAPIKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getenv(WEATHER_API_KEY)\\\",\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"mockedKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"mockKey(weatherAPIKey)\\\",\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getDefaultWeatherData(String, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"private void getDefaultWeatherData(String city, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"city\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n DefaultWeatherData defaultWeatherData = null;\\\\n try {\\\\n defaultWeatherData = new DefaultWeatherData(city);\\\\n } catch (UnsupportedOperationException e) {\\\\n ExceptionHandler.handleException(e, e.getMessage(), logger);\\\\n }\\\\n ServletOutputStream out = null;\\\\n try {\\\\n String responseStr = defaultWeatherData.getDefaultWeatherData();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n out = response.getOutputStream();\\\\n out.print(responseStr.toString());\\\\n logger.log(Level.FINEST, \\\\\\\"responseStr: \\\\\\\" + responseStr);\\\\n } catch (Exception e) {\\\\n String errorMsg = \\\\\\\"Problem occured when getting the default weather data.\\\\\\\";\\\\n ExceptionHandler.handleException(e, errorMsg, logger);\\\\n } finally {\\\\n if (out != null) {\\\\n out.close();\\\\n }\\\\n out = null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 205,\\n \\\"end_line\\\": 234,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"java.util.logging.Level.FINEST\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 62\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"defaultWeatherData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 219,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 219,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getOutputStream\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"callee_signature\\\": \\\"getOutputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 220,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 220,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"toString\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"toString()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 222,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 222,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Exception\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 225,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 225,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 229,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 229,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"callee_signature\\\": \\\"DefaultWeatherData(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 210,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 210,\\n \\\"end_column\\\": 52\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"defaultWeatherData\\\",\\n \\\"type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 207,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 207,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 215,\\n \\\"start_column\\\": 23,\\n \\\"end_line\\\": 215,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"responseStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"defaultWeatherData.getDefaultWeatherData()\\\",\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Problem occured when getting the default weather data.\\\\\\\"\\\",\\n \\\"start_line\\\": 224,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 224,\\n \\\"end_column\\\": 78\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getRealTimeWeatherData(String, String, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"private void getRealTimeWeatherData(String city, String apiKey, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"city\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"apiKey\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String resturl = null;\\\\n String resturlbase = Constants.WUNDERGROUND_API_PREFIX + apiKey + Constants.WUNDERGROUND_API_PART;\\\\n if (Constants.PARIS.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"France/Paris.json\\\\\\\";\\\\n } else if (Constants.LAS_VEGAS.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"NV/Las_Vegas.json\\\\\\\";\\\\n } else if (Constants.SAN_FRANCISCO.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"/CA/San_Francisco.json\\\\\\\";\\\\n } else if (Constants.MIAMI.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"FL/Miami.json\\\\\\\";\\\\n } else if (Constants.CORK.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"ireland/cork.json\\\\\\\";\\\\n } else if (Constants.BARCELONA.equals(city)) {\\\\n resturl = resturlbase + \\\\\\\"Spain/Barcelona.json\\\\\\\";\\\\n } else {\\\\n String errorMsg = \\\\\\\"Sorry, the weather information for your selected city: \\\\\\\" + city + \\\\\\\" is not available. Valid selections are: \\\\\\\" + Constants.SUPPORTED_CITIES;\\\\n ExceptionHandler.handleException(null, errorMsg, logger);\\\\n }\\\\n URL obj = null;\\\\n HttpURLConnection con = null;\\\\n try {\\\\n obj = new URL(resturl);\\\\n con = (HttpURLConnection) obj.openConnection();\\\\n con.setRequestMethod(\\\\\\\"GET\\\\\\\");\\\\n } catch (MalformedURLException e1) {\\\\n String errorMsg = \\\\\\\"Caught MalformedURLException. Please make sure the url is correct.\\\\\\\";\\\\n ExceptionHandler.handleException(e1, errorMsg, logger);\\\\n } catch (ProtocolException e2) {\\\\n String errorMsg = \\\\\\\"Caught ProtocolException: \\\\\\\" + e2.getMessage() + \\\\\\\". Not able to set request method to http connection.\\\\\\\";\\\\n ExceptionHandler.handleException(e2, errorMsg, logger);\\\\n } catch (IOException e3) {\\\\n String errorMsg = \\\\\\\"Caught IOException: \\\\\\\" + e3.getMessage() + \\\\\\\". Not able to open connection.\\\\\\\";\\\\n ExceptionHandler.handleException(e3, errorMsg, logger);\\\\n }\\\\n int responseCode = con.getResponseCode();\\\\n logger.log(Level.FINEST, \\\\\\\"Response Code: \\\\\\\" + responseCode);\\\\n if (responseCode >= 200 && responseCode < 300) {\\\\n BufferedReader in = null;\\\\n ServletOutputStream out = null;\\\\n try {\\\\n in = new BufferedReader(new InputStreamReader(con.getInputStream()));\\\\n String inputLine = null;\\\\n StringBuffer responseStr = new StringBuffer();\\\\n while ((inputLine = in.readLine()) != null) {\\\\n responseStr.append(inputLine);\\\\n }\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n out = response.getOutputStream();\\\\n out.print(responseStr.toString());\\\\n logger.log(Level.FINE, \\\\\\\"responseStr: \\\\\\\" + responseStr);\\\\n } catch (Exception e) {\\\\n String errorMsg = \\\\\\\"Problem occured when processing the weather server response.\\\\\\\";\\\\n ExceptionHandler.handleException(e, errorMsg, logger);\\\\n } finally {\\\\n if (in != null) {\\\\n in.close();\\\\n }\\\\n if (out != null) {\\\\n out.close();\\\\n }\\\\n in = null;\\\\n out = null;\\\\n }\\\\n } else {\\\\n String errorMsg = \\\\\\\"REST API call \\\\\\\" + resturl + \\\\\\\" returns an error response: \\\\\\\" + responseCode;\\\\n ExceptionHandler.handleException(null, errorMsg, logger);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 125,\\n \\\"end_line\\\": 203,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.net.HttpURLConnection\\\",\\n \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"java.net.URL\\\",\\n \\\"java.lang.StringBuffer\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.BufferedReader\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"com.acme.modres.Constants.BARCELONA\\\",\\n \\\"com.acme.modres.Constants.CORK\\\",\\n \\\"com.acme.modres.Constants.WUNDERGROUND_API_PREFIX\\\",\\n \\\"com.acme.modres.Constants.PARIS\\\",\\n \\\"com.acme.modres.Constants.LAS_VEGAS\\\",\\n \\\"com.acme.modres.Constants.MIAMI\\\",\\n \\\"com.acme.modres.Constants.SUPPORTED_CITIES\\\",\\n \\\"com.acme.modres.Constants.SAN_FRANCISCO\\\",\\n \\\"com.acme.modres.Constants.WUNDERGROUND_API_PART\\\",\\n \\\"java.util.logging.Level.FINEST\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.PARIS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 130,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 130,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.LAS_VEGAS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 132,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 132,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.SAN_FRANCISCO\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 134,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 134,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.MIAMI\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 136,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 136,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.CORK\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 138,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 138,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.BARCELONA\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 140,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 140,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 145,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 145,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"openConnection\\\",\\n \\\"receiver_expr\\\": \\\"obj\\\",\\n \\\"receiver_type\\\": \\\"java.net.URL\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"callee_signature\\\": \\\"openConnection()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 152,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 152,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"setRequestMethod\\\",\\n \\\"receiver_expr\\\": \\\"con\\\",\\n \\\"receiver_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setRequestMethod(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 153,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 153,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.net.MalformedURLException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 156,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 156,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e2\\\",\\n \\\"receiver_type\\\": \\\"java.net.ProtocolException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 158,\\n \\\"start_column\\\": 53,\\n \\\"end_line\\\": 158,\\n \\\"end_column\\\": 67\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.net.ProtocolException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 159,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 159,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e3\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 161,\\n \\\"start_column\\\": 47,\\n \\\"end_line\\\": 161,\\n \\\"end_column\\\": 61\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 162,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 162,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getResponseCode\\\",\\n \\\"receiver_expr\\\": \\\"con\\\",\\n \\\"receiver_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getResponseCode()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 165,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 165,\\n \\\"end_column\\\": 42\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 166,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 166,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"getInputStream\\\",\\n \\\"receiver_expr\\\": \\\"con\\\",\\n \\\"receiver_type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.InputStream\\\",\\n \\\"callee_signature\\\": \\\"getInputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 174,\\n \\\"start_column\\\": 51,\\n \\\"end_line\\\": 174,\\n \\\"end_column\\\": 70\\n },\\n {\\n \\\"method_name\\\": \\\"readLine\\\",\\n \\\"receiver_expr\\\": \\\"in\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"readLine()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 178,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 178,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"append\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"callee_signature\\\": \\\"append(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 179,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 179,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 182,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 182,\\n \\\"end_column\\\": 47\\n },\\n {\\n \\\"method_name\\\": \\\"getOutputStream\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"callee_signature\\\": \\\"getOutputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 183,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 183,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 184,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 184,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"toString\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"toString()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 184,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 184,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 185,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 185,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Exception\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 188,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 188,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"in\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 191,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 191,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 194,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 194,\\n \\\"end_column\\\": 16\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 201,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 201,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.net.URL\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.net.URL\\\",\\n \\\"callee_signature\\\": \\\"URL(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 151,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 151,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.InputStreamReader\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"callee_signature\\\": \\\"BufferedReader(java.io.Reader)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 174,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 174,\\n \\\"end_column\\\": 72\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.InputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"callee_signature\\\": \\\"InputStreamReader(java.io.InputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 174,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 174,\\n \\\"end_column\\\": 71\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"callee_signature\\\": \\\"StringBuffer()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 176,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 176,\\n \\\"end_column\\\": 49\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"resturl\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 127,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 127,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"name\\\": \\\"resturlbase\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"Constants.WUNDERGROUND_API_PREFIX + apiKey + Constants.WUNDERGROUND_API_PART\\\",\\n \\\"start_line\\\": 128,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 128,\\n \\\"end_column\\\": 99\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Sorry, the weather information for your selected city: \\\\\\\" + city + \\\\\\\" is not available. Valid selections are: \\\\\\\" + Constants.SUPPORTED_CITIES\\\",\\n \\\"start_line\\\": 143,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 144,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"name\\\": \\\"obj\\\",\\n \\\"type\\\": \\\"java.net.URL\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 148,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 148,\\n \\\"end_column\\\": 16\\n },\\n {\\n \\\"name\\\": \\\"con\\\",\\n \\\"type\\\": \\\"java.net.HttpURLConnection\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 149,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 149,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Caught MalformedURLException. Please make sure the url is correct.\\\\\\\"\\\",\\n \\\"start_line\\\": 155,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 155,\\n \\\"end_column\\\": 89\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Caught ProtocolException: \\\\\\\" + e2.getMessage() + \\\\\\\". Not able to set request method to http connection.\\\\\\\"\\\",\\n \\\"start_line\\\": 158,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 158,\\n \\\"end_column\\\": 124\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Caught IOException: \\\\\\\" + e3.getMessage() + \\\\\\\". Not able to open connection.\\\\\\\"\\\",\\n \\\"start_line\\\": 161,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 161,\\n \\\"end_column\\\": 96\\n },\\n {\\n \\\"name\\\": \\\"responseCode\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"con.getResponseCode()\\\",\\n \\\"start_line\\\": 165,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 165,\\n \\\"end_column\\\": 42\\n },\\n {\\n \\\"name\\\": \\\"in\\\",\\n \\\"type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 170,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 170,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 171,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 171,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"inputLine\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 175,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 175,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"name\\\": \\\"responseStr\\\",\\n \\\"type\\\": \\\"java.lang.StringBuffer\\\",\\n \\\"initializer\\\": \\\"new StringBuffer()\\\",\\n \\\"start_line\\\": 176,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 176,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Problem occured when processing the weather server response.\\\\\\\"\\\",\\n \\\"start_line\\\": 187,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 187,\\n \\\"end_column\\\": 84\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"REST API call \\\\\\\" + resturl + \\\\\\\" returns an error response: \\\\\\\" + responseCode\\\",\\n \\\"start_line\\\": 200,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 200,\\n \\\"end_column\\\": 95\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 16\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"handleException(Exception, String, Logger)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"public static void handleException(Exception e, String errorMsg, Logger logger) throws ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.Exception\\\",\\n \\\"name\\\": \\\"e\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"name\\\": \\\"logger\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (e == null) {\\\\n logger.severe(errorMsg);\\\\n throw new ServletException(errorMsg);\\\\n } else {\\\\n logger.log(Level.SEVERE, errorMsg, e);\\\\n throw new ServletException(errorMsg, e);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 10,\\n \\\"end_line\\\": 18,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"java.util.logging.Level.SEVERE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"severe\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"severe(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 26\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.lang.Exception\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String, java.lang.Throwable)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 15,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 15,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"callee_signature\\\": \\\"ServletException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.Exception\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"callee_signature\\\": \\\"ServletException(java.lang.String, java.lang.Throwable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 42\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 2\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.exception.ExceptionHandler\"\n}", - "type": "CALL_DEP", - "weight": "6" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getDefaultWeatherData(String, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"private void getDefaultWeatherData(String city, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"city\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n DefaultWeatherData defaultWeatherData = null;\\\\n try {\\\\n defaultWeatherData = new DefaultWeatherData(city);\\\\n } catch (UnsupportedOperationException e) {\\\\n ExceptionHandler.handleException(e, e.getMessage(), logger);\\\\n }\\\\n ServletOutputStream out = null;\\\\n try {\\\\n String responseStr = defaultWeatherData.getDefaultWeatherData();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n out = response.getOutputStream();\\\\n out.print(responseStr.toString());\\\\n logger.log(Level.FINEST, \\\\\\\"responseStr: \\\\\\\" + responseStr);\\\\n } catch (Exception e) {\\\\n String errorMsg = \\\\\\\"Problem occured when getting the default weather data.\\\\\\\";\\\\n ExceptionHandler.handleException(e, errorMsg, logger);\\\\n } finally {\\\\n if (out != null) {\\\\n out.close();\\\\n }\\\\n out = null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 205,\\n \\\"end_line\\\": 234,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"java.util.logging.Level.FINEST\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 62\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"defaultWeatherData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 219,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 219,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getOutputStream\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"callee_signature\\\": \\\"getOutputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 220,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 220,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"toString\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"toString()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 222,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 222,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Exception\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 225,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 225,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 229,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 229,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"callee_signature\\\": \\\"DefaultWeatherData(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 210,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 210,\\n \\\"end_column\\\": 52\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"defaultWeatherData\\\",\\n \\\"type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 207,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 207,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 215,\\n \\\"start_column\\\": 23,\\n \\\"end_line\\\": 215,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"responseStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"defaultWeatherData.getDefaultWeatherData()\\\",\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Problem occured when getting the default weather data.\\\\\\\"\\\",\\n \\\"start_line\\\": 224,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 224,\\n \\\"end_column\\\": 78\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"DefaultWeatherData(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public DefaultWeatherData(String city)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"city\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (city == null) {\\\\n logger.severe(\\\\\\\"fail initializing DefaultWeatherData because the given city value is null\\\\\\\");\\\\n throw new UnsupportedOperationException(\\\\\\\"City is not defined\\\\\\\");\\\\n }\\\\n boolean isSupportedCity = false;\\\\n for (String aSupportedCity : Constants.SUPPORTED_CITIES) {\\\\n if (city.equals(aSupportedCity)) {\\\\n isSupportedCity = true;\\\\n }\\\\n }\\\\n if (isSupportedCity) {\\\\n this.city = city;\\\\n } else {\\\\n logger.severe(\\\\\\\"fail initializing DefaultWeatherData because the given city \\\\\\\" + city + \\\\\\\" is not supported\\\\\\\");\\\\n throw new UnsupportedOperationException(\\\\\\\"City is invalid. It must be one of \\\\\\\" + Constants.SUPPORTED_CITIES.toString());\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 19,\\n \\\"end_line\\\": 37,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.DefaultWeatherData.city\\\",\\n \\\"com.acme.modres.Constants.SUPPORTED_CITIES\\\",\\n \\\"com.acme.modres.DefaultWeatherData.logger\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"severe\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"severe(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 93\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"city\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"severe\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"severe(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 34,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 34,\\n \\\"end_column\\\": 109\\n },\\n {\\n \\\"method_name\\\": \\\"toString\\\",\\n \\\"receiver_expr\\\": \\\"Constants.SUPPORTED_CITIES\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"toString()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 35,\\n \\\"start_column\\\": 84,\\n \\\"end_line\\\": 35,\\n \\\"end_column\\\": 120\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"callee_signature\\\": \\\"UnsupportedOperationException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 65\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"callee_signature\\\": \\\"UnsupportedOperationException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 35,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 35,\\n \\\"end_column\\\": 121\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"isSupportedCity\\\",\\n \\\"type\\\": \\\"boolean\\\",\\n \\\"initializer\\\": \\\"false\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"name\\\": \\\"aSupportedCity\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 28\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 5\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.DefaultWeatherData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getDefaultWeatherData(String, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"private void getDefaultWeatherData(String city, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"city\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n DefaultWeatherData defaultWeatherData = null;\\\\n try {\\\\n defaultWeatherData = new DefaultWeatherData(city);\\\\n } catch (UnsupportedOperationException e) {\\\\n ExceptionHandler.handleException(e, e.getMessage(), logger);\\\\n }\\\\n ServletOutputStream out = null;\\\\n try {\\\\n String responseStr = defaultWeatherData.getDefaultWeatherData();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n out = response.getOutputStream();\\\\n out.print(responseStr.toString());\\\\n logger.log(Level.FINEST, \\\\\\\"responseStr: \\\\\\\" + responseStr);\\\\n } catch (Exception e) {\\\\n String errorMsg = \\\\\\\"Problem occured when getting the default weather data.\\\\\\\";\\\\n ExceptionHandler.handleException(e, errorMsg, logger);\\\\n } finally {\\\\n if (out != null) {\\\\n out.close();\\\\n }\\\\n out = null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 205,\\n \\\"end_line\\\": 234,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"java.util.logging.Level.FINEST\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 62\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"defaultWeatherData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 219,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 219,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getOutputStream\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"callee_signature\\\": \\\"getOutputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 220,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 220,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"toString\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"toString()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 222,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 222,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Exception\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 225,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 225,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 229,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 229,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"callee_signature\\\": \\\"DefaultWeatherData(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 210,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 210,\\n \\\"end_column\\\": 52\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"defaultWeatherData\\\",\\n \\\"type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 207,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 207,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 215,\\n \\\"start_column\\\": 23,\\n \\\"end_line\\\": 215,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"responseStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"defaultWeatherData.getDefaultWeatherData()\\\",\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Problem occured when getting the default weather data.\\\\\\\"\\\",\\n \\\"start_line\\\": 224,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 224,\\n \\\"end_column\\\": 78\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"handleException(Exception, String, Logger)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"public static void handleException(Exception e, String errorMsg, Logger logger) throws ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.Exception\\\",\\n \\\"name\\\": \\\"e\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"name\\\": \\\"logger\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (e == null) {\\\\n logger.severe(errorMsg);\\\\n throw new ServletException(errorMsg);\\\\n } else {\\\\n logger.log(Level.SEVERE, errorMsg, e);\\\\n throw new ServletException(errorMsg, e);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 10,\\n \\\"end_line\\\": 18,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"java.util.logging.Level.SEVERE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"severe\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"severe(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 12,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 12,\\n \\\"end_column\\\": 26\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.lang.Exception\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String, java.lang.Throwable)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 15,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 15,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"callee_signature\\\": \\\"ServletException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 13,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 13,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.Exception\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.servlet.ServletException\\\",\\n \\\"callee_signature\\\": \\\"ServletException(java.lang.String, java.lang.Throwable)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 42\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 2\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.exception.ExceptionHandler\"\n}", - "type": "CALL_DEP", - "weight": "2" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getDefaultWeatherData(String, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"private\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"private void getDefaultWeatherData(String city, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"city\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n DefaultWeatherData defaultWeatherData = null;\\\\n try {\\\\n defaultWeatherData = new DefaultWeatherData(city);\\\\n } catch (UnsupportedOperationException e) {\\\\n ExceptionHandler.handleException(e, e.getMessage(), logger);\\\\n }\\\\n ServletOutputStream out = null;\\\\n try {\\\\n String responseStr = defaultWeatherData.getDefaultWeatherData();\\\\n response.setContentType(\\\\\\\"application/json\\\\\\\");\\\\n out = response.getOutputStream();\\\\n out.print(responseStr.toString());\\\\n logger.log(Level.FINEST, \\\\\\\"responseStr: \\\\\\\" + responseStr);\\\\n } catch (Exception e) {\\\\n String errorMsg = \\\\\\\"Problem occured when getting the default weather data.\\\\\\\";\\\\n ExceptionHandler.handleException(e, errorMsg, logger);\\\\n } finally {\\\\n if (out != null) {\\\\n out.close();\\\\n }\\\\n out = null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 205,\\n \\\"end_line\\\": 234,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"java.util.logging.Level.FINEST\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 62\\n },\\n {\\n \\\"method_name\\\": \\\"getMessage\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getMessage()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 212,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 212,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"defaultWeatherData\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"method_name\\\": \\\"setContentType\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"setContentType(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 219,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 219,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getOutputStream\\\",\\n \\\"receiver_expr\\\": \\\"response\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"callee_signature\\\": \\\"getOutputStream()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 220,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 220,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"print\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"print(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"method_name\\\": \\\"toString\\\",\\n \\\"receiver_expr\\\": \\\"responseStr\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"toString()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 221,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 221,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 222,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 222,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"handleException\\\",\\n \\\"receiver_expr\\\": \\\"ExceptionHandler\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.exception.ExceptionHandler\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Exception\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.util.logging.Logger\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 225,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 225,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 229,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 229,\\n \\\"end_column\\\": 15\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"callee_signature\\\": \\\"DefaultWeatherData(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 210,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 210,\\n \\\"end_column\\\": 52\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"defaultWeatherData\\\",\\n \\\"type\\\": \\\"com.acme.modres.DefaultWeatherData\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 207,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 207,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"javax.servlet.ServletOutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 215,\\n \\\"start_column\\\": 23,\\n \\\"end_line\\\": 215,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"responseStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"defaultWeatherData.getDefaultWeatherData()\\\",\\n \\\"start_line\\\": 218,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 218,\\n \\\"end_column\\\": 66\\n },\\n {\\n \\\"name\\\": \\\"errorMsg\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"Problem occured when getting the default weather data.\\\\\\\"\\\",\\n \\\"start_line\\\": 224,\\n \\\"start_column\\\": 12,\\n \\\"end_line\\\": 224,\\n \\\"end_column\\\": 78\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 4\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getDefaultWeatherData()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"public String getDefaultWeatherData() throws IOException\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n String dataFileName = null;\\\\n if (Constants.PARIS.equals(getCity())) {\\\\n dataFileName = Constants.PARIS_WEATHER_FILE;\\\\n } else if (Constants.LAS_VEGAS.equals(getCity())) {\\\\n dataFileName = Constants.LAS_VEGAS_WEATHER_FILE;\\\\n } else if (Constants.SAN_FRANCISCO.equals(getCity())) {\\\\n dataFileName = Constants.SAN_FRANCESCO_WEATHER_FILE;\\\\n } else if (Constants.MIAMI.equals(getCity())) {\\\\n dataFileName = Constants.MIAMI_WEATHER_FILE;\\\\n } else if (Constants.CORK.equals(getCity())) {\\\\n dataFileName = Constants.CORK_WEATHER_FILE;\\\\n } else if (Constants.BARCELONA.equals(getCity())) {\\\\n dataFileName = Constants.BACELONA_WEATHER_FILE;\\\\n } else {\\\\n throw new UnsupportedOperationException(\\\\\\\"The default weather information for the selected city: \\\\\\\" + city + \\\\\\\" is not provided. Valid selections are: \\\\\\\" + Constants.SUPPORTED_CITIES);\\\\n }\\\\n dataFileName = \\\\\\\"data/\\\\\\\" + dataFileName;\\\\n logger.log(Level.FINE, \\\\\\\"dataFileName: \\\\\\\" + dataFileName);\\\\n InputStream inputStream = null;\\\\n ByteArrayOutputStream out = new ByteArrayOutputStream();\\\\n try {\\\\n inputStream = getClass().getClassLoader().getResourceAsStream(dataFileName);\\\\n byte[] buf = new byte[4096];\\\\n for (int n; 0 < (n = inputStream.read(buf)); ) {\\\\n out.write(buf, 0, n);\\\\n }\\\\n } finally {\\\\n out.close();\\\\n if (inputStream != null) {\\\\n inputStream.close();\\\\n }\\\\n inputStream = null;\\\\n }\\\\n String resultStr = new String(out.toByteArray(), \\\\\\\"UTF-8\\\\\\\");\\\\n logger.log(Level.FINEST, \\\\\\\"resultStr: \\\\\\\" + resultStr);\\\\n out = null;\\\\n return resultStr;\\\\n}\\\",\\n \\\"start_line\\\": 39,\\n \\\"end_line\\\": 86,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.InputStream\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.DefaultWeatherData.city\\\",\\n \\\"com.acme.modres.Constants.BARCELONA\\\",\\n \\\"com.acme.modres.Constants.CORK\\\",\\n \\\"com.acme.modres.Constants.PARIS\\\",\\n \\\"com.acme.modres.Constants.LAS_VEGAS\\\",\\n \\\"com.acme.modres.Constants.MIAMI\\\",\\n \\\"com.acme.modres.Constants.SAN_FRANCESCO_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.CORK_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.PARIS_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.MIAMI_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.BACELONA_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.SUPPORTED_CITIES\\\",\\n \\\"com.acme.modres.DefaultWeatherData.logger\\\",\\n \\\"com.acme.modres.Constants.SAN_FRANCISCO\\\",\\n \\\"com.acme.modres.Constants.LAS_VEGAS_WEATHER_FILE\\\",\\n \\\"java.util.logging.Level.FINEST\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.PARIS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 42,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 42,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 42,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 42,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.LAS_VEGAS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 44,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 44,\\n \\\"end_column\\\": 50\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 44,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 44,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.SAN_FRANCISCO\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 46,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 46,\\n \\\"end_column\\\": 54\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 46,\\n \\\"start_column\\\": 45,\\n \\\"end_line\\\": 46,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.MIAMI\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.CORK\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 36,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.BARCELONA\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 50\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getResourceAsStream\\\",\\n \\\"receiver_expr\\\": \\\"getClass().getClassLoader()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStream\\\",\\n \\\"callee_signature\\\": \\\"getResourceAsStream(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 67,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 67,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getClassLoader\\\",\\n \\\"receiver_expr\\\": \\\"getClass()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"callee_signature\\\": \\\"getClassLoader()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 67,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 67,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getClass\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.Class\\\",\\n \\\"callee_signature\\\": \\\"getClass()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 67,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 67,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"inputStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[], int, int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 70,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 70,\\n \\\"end_column\\\": 24\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 73,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 73,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"inputStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"toByteArray\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"toByteArray()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 81,\\n \\\"start_column\\\": 36,\\n \\\"end_line\\\": 81,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 82,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 82,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"callee_signature\\\": \\\"UnsupportedOperationException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 56,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"callee_signature\\\": \\\"ByteArrayOutputStream()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 31,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"String(byte[], java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 81,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 81,\\n \\\"end_column\\\": 62\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"dataFileName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 41,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 41,\\n \\\"end_column\\\": 28\\n },\\n {\\n \\\"name\\\": \\\"inputStream\\\",\\n \\\"type\\\": \\\"java.io.InputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"initializer\\\": \\\"new ByteArrayOutputStream()\\\",\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"name\\\": \\\"buf\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[4096]\\\",\\n \\\"start_line\\\": 68,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 68,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"name\\\": \\\"n\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"name\\\": \\\"resultStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"new String(out.toByteArray(), \\\\\\\"UTF-8\\\\\\\")\\\",\\n \\\"start_line\\\": 81,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 81,\\n \\\"end_column\\\": 62\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 10\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.DefaultWeatherData\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doPost(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"/**\\\\n\\\\t * Returns the weather information for a given city\\\\n\\\\t */\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"javax.servlet.ServletException\\\",\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n doGet(request, response);\\\\n}\\\",\\n \\\"start_line\\\": 239,\\n \\\"end_line\\\": 243,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"doGet\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": true,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 242,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 242,\\n \\\"end_column\\\": 26\\n }\\n ],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"doGet(HttpServletRequest, HttpServletResponse)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [\\n \\\"@Override\\\"\\n ],\\n \\\"modifiers\\\": [\\n \\\"protected\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\",\\n \\\"javax.servlet.ServletException\\\"\\n ],\\n \\\"declaration\\\": \\\"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"name\\\": \\\"request\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n },\\n {\\n \\\"type\\\": \\\"javax.servlet.http.HttpServletResponse\\\",\\n \\\"name\\\": \\\"response\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n String methodName = \\\\\\\"doGet\\\\\\\";\\\\n logger.entering(WeatherServlet.class.getName(), methodName);\\\\n try {\\\\n MBeanInfo weatherConfig = server.getMBeanInfo(weatherON);\\\\n } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) {\\\\n e.printStackTrace();\\\\n }\\\\n String city = request.getParameter(\\\\\\\"selectedCity\\\\\\\");\\\\n logger.log(Level.FINE, \\\\\\\"requested city is \\\\\\\" + city);\\\\n String weatherAPIKey = System.getenv(WEATHER_API_KEY);\\\\n String mockedKey = mockKey(weatherAPIKey);\\\\n logger.log(Level.FINE, \\\\\\\"weatherAPIKey is \\\\\\\" + mockedKey);\\\\n if (weatherAPIKey != null && weatherAPIKey.trim().length() > 0) {\\\\n logger.info(\\\\\\\"weatherAPIKey is found, system will provide the real time weather data for the city \\\\\\\" + city);\\\\n getRealTimeWeatherData(city, weatherAPIKey, response);\\\\n } else {\\\\n logger.info(\\\\\\\"weatherAPIKey is not found, will provide the weather data dated August 10th, 2018 for the city \\\\\\\" + city);\\\\n getDefaultWeatherData(city, response);\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 95,\\n \\\"end_line\\\": 123,\\n \\\"return_type\\\": \\\"void\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.management.MBeanInfo\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.WeatherServlet.logger\\\",\\n \\\"com.acme.modres.WeatherServlet.weatherON\\\",\\n \\\"com.acme.modres.WeatherServlet.WEATHER_API_KEY\\\",\\n \\\"com.acme.modres.WeatherServlet.server\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"entering\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"entering(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 61\\n },\\n {\\n \\\"method_name\\\": \\\"getName\\\",\\n \\\"receiver_expr\\\": \\\"WeatherServlet.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getName()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 101,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 101,\\n \\\"end_column\\\": 48\\n },\\n {\\n \\\"method_name\\\": \\\"getMBeanInfo\\\",\\n \\\"receiver_expr\\\": \\\"server\\\",\\n \\\"receiver_type\\\": \\\"javax.management.MBeanServer\\\",\\n \\\"argument_types\\\": [\\n \\\"javax.management.ObjectName\\\"\\n ],\\n \\\"return_type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"callee_signature\\\": \\\"getMBeanInfo(javax.management.ObjectName)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"javax.management.IntrospectionException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 106,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 106,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"getParameter\\\",\\n \\\"receiver_expr\\\": \\\"request\\\",\\n \\\"receiver_type\\\": \\\"javax.servlet.http.HttpServletRequest\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getParameter(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 110,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 110,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"getenv\\\",\\n \\\"receiver_expr\\\": \\\"System\\\",\\n \\\"receiver_type\\\": \\\"java.lang.System\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getenv(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 26,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"mockKey\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"mockKey(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 114,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 114,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"length\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey.trim()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"length()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 60\\n },\\n {\\n \\\"method_name\\\": \\\"trim\\\",\\n \\\"receiver_expr\\\": \\\"weatherAPIKey\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"trim()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 116,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 116,\\n \\\"end_column\\\": 51\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 117,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 117,\\n \\\"end_column\\\": 109\\n },\\n {\\n \\\"method_name\\\": \\\"getRealTimeWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getRealTimeWeatherData(java.lang.String, java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 118,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 118,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"info\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"info(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 120,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 120,\\n \\\"end_column\\\": 120\\n },\\n {\\n \\\"method_name\\\": \\\"getDefaultWeatherData\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"javax.servlet.http.HttpServletResponse\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"getDefaultWeatherData(java.lang.String, javax.servlet.http.HttpServletResponse)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": true,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 121,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 121,\\n \\\"end_column\\\": 40\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"methodName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"\\\\\\\"doGet\\\\\\\"\\\",\\n \\\"start_line\\\": 100,\\n \\\"start_column\\\": 16,\\n \\\"end_line\\\": 100,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"name\\\": \\\"weatherConfig\\\",\\n \\\"type\\\": \\\"javax.management.MBeanInfo\\\",\\n \\\"initializer\\\": \\\"server.getMBeanInfo(weatherON)\\\",\\n \\\"start_line\\\": 104,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 104,\\n \\\"end_column\\\": 59\\n },\\n {\\n \\\"name\\\": \\\"city\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"request.getParameter(\\\\\\\"selectedCity\\\\\\\")\\\",\\n \\\"start_line\\\": 109,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 109,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"name\\\": \\\"weatherAPIKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"System.getenv(WEATHER_API_KEY)\\\",\\n \\\"start_line\\\": 112,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 112,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"name\\\": \\\"mockedKey\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"mockKey(weatherAPIKey)\\\",\\n \\\"start_line\\\": 113,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 113,\\n \\\"end_column\\\": 43\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 3\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.WeatherServlet\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getDefaultWeatherData()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.IOException\\\"\\n ],\\n \\\"declaration\\\": \\\"public String getDefaultWeatherData() throws IOException\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n String dataFileName = null;\\\\n if (Constants.PARIS.equals(getCity())) {\\\\n dataFileName = Constants.PARIS_WEATHER_FILE;\\\\n } else if (Constants.LAS_VEGAS.equals(getCity())) {\\\\n dataFileName = Constants.LAS_VEGAS_WEATHER_FILE;\\\\n } else if (Constants.SAN_FRANCISCO.equals(getCity())) {\\\\n dataFileName = Constants.SAN_FRANCESCO_WEATHER_FILE;\\\\n } else if (Constants.MIAMI.equals(getCity())) {\\\\n dataFileName = Constants.MIAMI_WEATHER_FILE;\\\\n } else if (Constants.CORK.equals(getCity())) {\\\\n dataFileName = Constants.CORK_WEATHER_FILE;\\\\n } else if (Constants.BARCELONA.equals(getCity())) {\\\\n dataFileName = Constants.BACELONA_WEATHER_FILE;\\\\n } else {\\\\n throw new UnsupportedOperationException(\\\\\\\"The default weather information for the selected city: \\\\\\\" + city + \\\\\\\" is not provided. Valid selections are: \\\\\\\" + Constants.SUPPORTED_CITIES);\\\\n }\\\\n dataFileName = \\\\\\\"data/\\\\\\\" + dataFileName;\\\\n logger.log(Level.FINE, \\\\\\\"dataFileName: \\\\\\\" + dataFileName);\\\\n InputStream inputStream = null;\\\\n ByteArrayOutputStream out = new ByteArrayOutputStream();\\\\n try {\\\\n inputStream = getClass().getClassLoader().getResourceAsStream(dataFileName);\\\\n byte[] buf = new byte[4096];\\\\n for (int n; 0 < (n = inputStream.read(buf)); ) {\\\\n out.write(buf, 0, n);\\\\n }\\\\n } finally {\\\\n out.close();\\\\n if (inputStream != null) {\\\\n inputStream.close();\\\\n }\\\\n inputStream = null;\\\\n }\\\\n String resultStr = new String(out.toByteArray(), \\\\\\\"UTF-8\\\\\\\");\\\\n logger.log(Level.FINEST, \\\\\\\"resultStr: \\\\\\\" + resultStr);\\\\n out = null;\\\\n return resultStr;\\\\n}\\\",\\n \\\"start_line\\\": 39,\\n \\\"end_line\\\": 86,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"java.lang.String\\\",\\n \\\"java.io.InputStream\\\",\\n \\\"java.util.logging.Level\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.DefaultWeatherData.city\\\",\\n \\\"com.acme.modres.Constants.BARCELONA\\\",\\n \\\"com.acme.modres.Constants.CORK\\\",\\n \\\"com.acme.modres.Constants.PARIS\\\",\\n \\\"com.acme.modres.Constants.LAS_VEGAS\\\",\\n \\\"com.acme.modres.Constants.MIAMI\\\",\\n \\\"com.acme.modres.Constants.SAN_FRANCESCO_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.CORK_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.PARIS_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.MIAMI_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.BACELONA_WEATHER_FILE\\\",\\n \\\"com.acme.modres.Constants.SUPPORTED_CITIES\\\",\\n \\\"com.acme.modres.DefaultWeatherData.logger\\\",\\n \\\"com.acme.modres.Constants.SAN_FRANCISCO\\\",\\n \\\"com.acme.modres.Constants.LAS_VEGAS_WEATHER_FILE\\\",\\n \\\"java.util.logging.Level.FINEST\\\",\\n \\\"java.util.logging.Level.FINE\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.PARIS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 42,\\n \\\"start_column\\\": 7,\\n \\\"end_line\\\": 42,\\n \\\"end_column\\\": 39\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 42,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 42,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.LAS_VEGAS\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 44,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 44,\\n \\\"end_column\\\": 50\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 44,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 44,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.SAN_FRANCISCO\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 46,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 46,\\n \\\"end_column\\\": 54\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 46,\\n \\\"start_column\\\": 45,\\n \\\"end_line\\\": 46,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.MIAMI\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 37,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.CORK\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 36,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"equals\\\",\\n \\\"receiver_expr\\\": \\\"Constants.BARCELONA\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"equals(java.lang.Object)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 50\\n },\\n {\\n \\\"method_name\\\": \\\"getCity\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"getCity()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 52,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 52,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 3,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"getResourceAsStream\\\",\\n \\\"receiver_expr\\\": \\\"getClass().getClassLoader()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStream\\\",\\n \\\"callee_signature\\\": \\\"getResourceAsStream(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 67,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 67,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"getClassLoader\\\",\\n \\\"receiver_expr\\\": \\\"getClass()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"callee_signature\\\": \\\"getClassLoader()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 67,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 67,\\n \\\"end_column\\\": 44\\n },\\n {\\n \\\"method_name\\\": \\\"getClass\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.Class\\\",\\n \\\"callee_signature\\\": \\\"getClass()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 67,\\n \\\"start_column\\\": 18,\\n \\\"end_line\\\": 67,\\n \\\"end_column\\\": 27\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"inputStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 45\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[], int, int)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 70,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 70,\\n \\\"end_column\\\": 24\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 73,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 73,\\n \\\"end_column\\\": 14\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"inputStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 76,\\n \\\"start_column\\\": 5,\\n \\\"end_line\\\": 76,\\n \\\"end_column\\\": 23\\n },\\n {\\n \\\"method_name\\\": \\\"toByteArray\\\",\\n \\\"receiver_expr\\\": \\\"out\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"toByteArray()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 81,\\n \\\"start_column\\\": 36,\\n \\\"end_line\\\": 81,\\n \\\"end_column\\\": 52\\n },\\n {\\n \\\"method_name\\\": \\\"log\\\",\\n \\\"receiver_expr\\\": \\\"logger\\\",\\n \\\"receiver_type\\\": \\\"java.util.logging.Logger\\\",\\n \\\"argument_types\\\": [\\n \\\"java.util.logging.Level\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"log(java.util.logging.Level, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 82,\\n \\\"start_column\\\": 6,\\n \\\"end_line\\\": 82,\\n \\\"end_column\\\": 56\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.UnsupportedOperationException\\\",\\n \\\"callee_signature\\\": \\\"UnsupportedOperationException(java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 55,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 56,\\n \\\"end_column\\\": 78\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"callee_signature\\\": \\\"ByteArrayOutputStream()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 31,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.lang.String\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\",\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"callee_signature\\\": \\\"String(byte[], java.lang.String)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 81,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 81,\\n \\\"end_column\\\": 62\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"dataFileName\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 41,\\n \\\"start_column\\\": 10,\\n \\\"end_line\\\": 41,\\n \\\"end_column\\\": 28\\n },\\n {\\n \\\"name\\\": \\\"inputStream\\\",\\n \\\"type\\\": \\\"java.io.InputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 63,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 63,\\n \\\"end_column\\\": 32\\n },\\n {\\n \\\"name\\\": \\\"out\\\",\\n \\\"type\\\": \\\"java.io.ByteArrayOutputStream\\\",\\n \\\"initializer\\\": \\\"new ByteArrayOutputStream()\\\",\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 57\\n },\\n {\\n \\\"name\\\": \\\"buf\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[4096]\\\",\\n \\\"start_line\\\": 68,\\n \\\"start_column\\\": 11,\\n \\\"end_line\\\": 68,\\n \\\"end_column\\\": 30\\n },\\n {\\n \\\"name\\\": \\\"n\\\",\\n \\\"type\\\": \\\"int\\\",\\n \\\"initializer\\\": \\\"\\\",\\n \\\"start_line\\\": 69,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 69,\\n \\\"end_column\\\": 13\\n },\\n {\\n \\\"name\\\": \\\"resultStr\\\",\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"initializer\\\": \\\"new String(out.toByteArray(), \\\\\\\"UTF-8\\\\\\\")\\\",\\n \\\"start_line\\\": 81,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 81,\\n \\\"end_column\\\": 62\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 10\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.DefaultWeatherData\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getCity()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public String getCity()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n return city;\\\\n}\\\",\\n \\\"start_line\\\": 15,\\n \\\"end_line\\\": 17,\\n \\\"return_type\\\": \\\"java.lang.String\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.DefaultWeatherData.city\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.DefaultWeatherData\"\n}", - "type": "CALL_DEP", - "weight": "6" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static OpMetadataList getOpListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n OpMetadataList opList = new OpMetadataList();\\\\n opList = (OpMetadataList) is.parseJsonAs(OpMetadataList.class);\\\\n return opList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 46,\\n \\\"end_line\\\": 56,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 65\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"OpMetadataList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\")\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"opList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"new OpMetadataList()\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getFileFromRelativePath(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static File getFileFromRelativePath(String path)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"path\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n File file = null;\\\\n InputStream initialStream = null;\\\\n OutputStream outStream = null;\\\\n try {\\\\n initialStream = IOUtils.class.getClassLoader().getResourceAsStream(path);\\\\n byte[] buffer = new byte[initialStream.available()];\\\\n initialStream.read(buffer);\\\\n file = File.createTempFile(path, null);\\\\n outStream = new FileOutputStream(file);\\\\n outStream.write(buffer);\\\\n outStream.close();\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n } finally {\\\\n if (initialStream != null) {\\\\n try {\\\\n initialStream.close();\\\\n } catch (IOException e) {\\\\n }\\\\n } else if (outStream != null) {\\\\n try {\\\\n outStream.close();\\\\n } catch (IOException e) {\\\\n }\\\\n }\\\\n }\\\\n return file;\\\\n}\\\",\\n \\\"start_line\\\": 14,\\n \\\"end_line\\\": 44,\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.OutputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"java.io.InputStream\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getResourceAsStream\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils.class.getClassLoader()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStream\\\",\\n \\\"callee_signature\\\": \\\"getResourceAsStream(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 84\\n },\\n {\\n \\\"method_name\\\": \\\"getClassLoader\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"callee_signature\\\": \\\"getClassLoader()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"available\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"available()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 38,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 62\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"createTempFile\\\",\\n \\\"receiver_expr\\\": \\\"File\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"createTempFile(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 50\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 31\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 37,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 37,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"callee_signature\\\": \\\"FileOutputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 50\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 15,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 15,\\n \\\"end_column\\\": 24\\n },\\n {\\n \\\"name\\\": \\\"initialStream\\\",\\n \\\"type\\\": \\\"java.io.InputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"name\\\": \\\"outStream\\\",\\n \\\"type\\\": \\\"java.io.OutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"name\\\": \\\"buffer\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[initialStream.available()]\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 7\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static OpMetadataList getOpListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n OpMetadataList opList = new OpMetadataList();\\\\n opList = (OpMetadataList) is.parseJsonAs(OpMetadataList.class);\\\\n return opList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 46,\\n \\\"end_line\\\": 56,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 65\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"OpMetadataList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\")\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"opList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"new OpMetadataList()\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"JsonInputStream(File)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.FileNotFoundException\\\"\\n ],\\n \\\"declaration\\\": \\\"public JsonInputStream(File file) throws FileNotFoundException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"name\\\": \\\"file\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n super(file);\\\\n this.file = file;\\\\n}\\\",\\n \\\"start_line\\\": 16,\\n \\\"end_line\\\": 19,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.JsonInputStream.file\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.JsonInputStream\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static OpMetadataList getOpListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n OpMetadataList opList = new OpMetadataList();\\\\n opList = (OpMetadataList) is.parseJsonAs(OpMetadataList.class);\\\\n return opList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 46,\\n \\\"end_line\\\": 56,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 65\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"OpMetadataList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\")\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"opList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"new OpMetadataList()\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"OpMetadataList()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public OpMetadataList()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n}\\\",\\n \\\"start_line\\\": 8,\\n \\\"end_line\\\": 9,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.OpMetadataList\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getOpListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static OpMetadataList getOpListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n OpMetadataList opList = new OpMetadataList();\\\\n opList = (OpMetadataList) is.parseJsonAs(OpMetadataList.class);\\\\n return opList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 46,\\n \\\"end_line\\\": 56,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"com.acme.modres.mbean.OpMetadataList\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 50,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 50,\\n \\\"end_column\\\": 65\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 53,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 53,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"callee_signature\\\": \\\"OpMetadataList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"ops.json\\\\\\\")\\\",\\n \\\"start_line\\\": 47,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 47,\\n \\\"end_column\\\": 49\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 48,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 48,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"opList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.OpMetadataList\\\",\\n \\\"initializer\\\": \\\"new OpMetadataList()\\\",\\n \\\"start_line\\\": 49,\\n \\\"start_column\\\": 19,\\n \\\"end_line\\\": 49,\\n \\\"end_column\\\": 48\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"parseJsonAs(Class)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public Object parseJsonAs(Class cls)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.Class\\\",\\n \\\"name\\\": \\\"cls\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (file.exists()) {\\\\n JsonInputStream is = null;\\\\n Object jsonObject = null;\\\\n try {\\\\n is = new JsonInputStream(file);\\\\n Gson gson = new Gson();\\\\n BufferedReader reader = new BufferedReader(new InputStreamReader(is));\\\\n jsonObject = gson.fromJson(reader, cls);\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n } catch (Throwable e) {\\\\n e.printStackTrace();\\\\n } finally {\\\\n if (is != null) {\\\\n try {\\\\n is.close();\\\\n // test if file is closed\\\\n is.read();\\\\n } catch (IOException e) {\\\\n // closed successfully\\\\n return jsonObject;\\\\n } catch (Throwable e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return null;\\\\n}\\\",\\n \\\"start_line\\\": 21,\\n \\\"end_line\\\": 49,\\n \\\"return_type\\\": \\\"java.lang.Object\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.google.gson.Gson\\\",\\n \\\"java.lang.Object\\\",\\n \\\"java.io.BufferedReader\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.JsonInputStream.file\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"exists\\\",\\n \\\"receiver_expr\\\": \\\"file\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"exists()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"fromJson\\\",\\n \\\"receiver_expr\\\": \\\"gson\\\",\\n \\\"receiver_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.BufferedReader\\\",\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"fromJson(java.io.Reader, java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 29,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 29,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 33,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 33,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 37,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 37,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 38,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 38,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 43,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 43,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"callee_signature\\\": \\\"Gson()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.InputStreamReader\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"callee_signature\\\": \\\"BufferedReader(java.io.Reader)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 85\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"callee_signature\\\": \\\"InputStreamReader(java.io.InputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 60,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 84\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"name\\\": \\\"jsonObject\\\",\\n \\\"type\\\": \\\"java.lang.Object\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"name\\\": \\\"gson\\\",\\n \\\"type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"initializer\\\": \\\"new Gson()\\\",\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"reader\\\",\\n \\\"type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"initializer\\\": \\\"new BufferedReader(new InputStreamReader(is))\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 85\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 6\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.JsonInputStream\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservationListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static ReservationList getReservationListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n ReservationList reservationList = new ReservationList();\\\\n reservationList = (ReservationList) is.parseJsonAs(ReservationList.class);\\\\n return reservationList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 58,\\n \\\"end_line\\\": 68,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 76\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"ReservationList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 39,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"reservationList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"initializer\\\": \\\"new ReservationList()\\\",\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getFileFromRelativePath(String)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static File getFileFromRelativePath(String path)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.String\\\",\\n \\\"name\\\": \\\"path\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n File file = null;\\\\n InputStream initialStream = null;\\\\n OutputStream outStream = null;\\\\n try {\\\\n initialStream = IOUtils.class.getClassLoader().getResourceAsStream(path);\\\\n byte[] buffer = new byte[initialStream.available()];\\\\n initialStream.read(buffer);\\\\n file = File.createTempFile(path, null);\\\\n outStream = new FileOutputStream(file);\\\\n outStream.write(buffer);\\\\n outStream.close();\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n } finally {\\\\n if (initialStream != null) {\\\\n try {\\\\n initialStream.close();\\\\n } catch (IOException e) {\\\\n }\\\\n } else if (outStream != null) {\\\\n try {\\\\n outStream.close();\\\\n } catch (IOException e) {\\\\n }\\\\n }\\\\n }\\\\n return file;\\\\n}\\\",\\n \\\"start_line\\\": 14,\\n \\\"end_line\\\": 44,\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"java.io.OutputStream\\\",\\n \\\"java.io.File\\\",\\n \\\"java.io.InputStream\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getResourceAsStream\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils.class.getClassLoader()\\\",\\n \\\"receiver_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStream\\\",\\n \\\"callee_signature\\\": \\\"getResourceAsStream(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 84\\n },\\n {\\n \\\"method_name\\\": \\\"getClassLoader\\\",\\n \\\"receiver_expr\\\": \\\"IOUtils.class\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Class\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"java.lang.ClassLoader\\\",\\n \\\"callee_signature\\\": \\\"getClassLoader()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 19,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 19,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"available\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"available()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 38,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 62\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 21,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 21,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"createTempFile\\\",\\n \\\"receiver_expr\\\": \\\"File\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\",\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"createTempFile(java.lang.String, java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": true,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 50\\n },\\n {\\n \\\"method_name\\\": \\\"write\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"write(byte[])\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 25,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 25,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 29\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 31\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"initialStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 32,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 32,\\n \\\"end_column\\\": 41\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"outStream\\\",\\n \\\"receiver_type\\\": \\\"java.io.OutputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 37,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 37,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.FileOutputStream\\\",\\n \\\"callee_signature\\\": \\\"FileOutputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 50\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 15,\\n \\\"start_column\\\": 14,\\n \\\"end_line\\\": 15,\\n \\\"end_column\\\": 24\\n },\\n {\\n \\\"name\\\": \\\"initialStream\\\",\\n \\\"type\\\": \\\"java.io.InputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 16,\\n \\\"start_column\\\": 21,\\n \\\"end_line\\\": 16,\\n \\\"end_column\\\": 40\\n },\\n {\\n \\\"name\\\": \\\"outStream\\\",\\n \\\"type\\\": \\\"java.io.OutputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 17,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 17,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"name\\\": \\\"buffer\\\",\\n \\\"type\\\": \\\"byte[]\\\",\\n \\\"initializer\\\": \\\"new byte[initialStream.available()]\\\",\\n \\\"start_line\\\": 20,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 20,\\n \\\"end_column\\\": 63\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 7\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservationListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static ReservationList getReservationListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n ReservationList reservationList = new ReservationList();\\\\n reservationList = (ReservationList) is.parseJsonAs(ReservationList.class);\\\\n return reservationList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 58,\\n \\\"end_line\\\": 68,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 76\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"ReservationList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 39,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"reservationList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"initializer\\\": \\\"new ReservationList()\\\",\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"JsonInputStream(File)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [\\n \\\"java.io.FileNotFoundException\\\"\\n ],\\n \\\"declaration\\\": \\\"public JsonInputStream(File file) throws FileNotFoundException\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"name\\\": \\\"file\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n super(file);\\\\n this.file = file;\\\\n}\\\",\\n \\\"start_line\\\": 16,\\n \\\"end_line\\\": 19,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.JsonInputStream.file\\\"\\n ],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.JsonInputStream\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservationListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static ReservationList getReservationListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n ReservationList reservationList = new ReservationList();\\\\n reservationList = (ReservationList) is.parseJsonAs(ReservationList.class);\\\\n return reservationList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 58,\\n \\\"end_line\\\": 68,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 76\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"ReservationList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 39,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"reservationList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"initializer\\\": \\\"new ReservationList()\\\",\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"ReservationList()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public ReservationList()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n}\\\",\\n \\\"start_line\\\": 10,\\n \\\"end_line\\\": 12,\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": true,\\n \\\"referenced_types\\\": [],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [],\\n \\\"variable_declarations\\\": [],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.reservation.ReservationList\"\n}", - "type": "CALL_DEP", - "weight": "1" - }, - { - "source": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"getReservationListFromConfig()\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\",\\n \\\"static\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public static ReservationList getReservationListFromConfig()\\\",\\n \\\"parameters\\\": [],\\n \\\"code\\\": \\\"{\\\\n // fix hardcoded paths\\\\n File file = getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\");\\\\n try (JsonInputStream is = new JsonInputStream(file)) {\\\\n //empty default\\\\n ReservationList reservationList = new ReservationList();\\\\n reservationList = (ReservationList) is.parseJsonAs(ReservationList.class);\\\\n return reservationList;\\\\n } catch (IOException e) {\\\\n e.printStackTrace();\\\\n return null;\\\\n }\\\\n}\\\",\\n \\\"start_line\\\": 58,\\n \\\"end_line\\\": 68,\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"java.io.File\\\"\\n ],\\n \\\"accessed_fields\\\": [],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"getFileFromRelativePath\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.String\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.File\\\",\\n \\\"callee_signature\\\": \\\"getFileFromRelativePath(java.lang.String)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 15,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"method_name\\\": \\\"parseJsonAs\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"parseJsonAs(java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 62,\\n \\\"start_column\\\": 40,\\n \\\"end_line\\\": 62,\\n \\\"end_column\\\": 76\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.io.IOException\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 65,\\n \\\"start_column\\\": 4,\\n \\\"end_line\\\": 65,\\n \\\"end_column\\\": 22\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"callee_signature\\\": \\\"ReservationList()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 39,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"file\\\",\\n \\\"type\\\": \\\"java.io.File\\\",\\n \\\"initializer\\\": \\\"getFileFromRelativePath(\\\\\\\"reservations.json\\\\\\\")\\\",\\n \\\"start_line\\\": 59,\\n \\\"start_column\\\": 8,\\n \\\"end_line\\\": 59,\\n \\\"end_column\\\": 58\\n },\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"new JsonInputStream(file)\\\",\\n \\\"start_line\\\": 60,\\n \\\"start_column\\\": 24,\\n \\\"end_line\\\": 60,\\n \\\"end_column\\\": 53\\n },\\n {\\n \\\"name\\\": \\\"reservationList\\\",\\n \\\"type\\\": \\\"com.acme.modres.mbean.reservation.ReservationList\\\",\\n \\\"initializer\\\": \\\"new ReservationList()\\\",\\n \\\"start_line\\\": 61,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 61,\\n \\\"end_column\\\": 59\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 1\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.mbean.IOUtils\"\n}", - "target": "{\n \"callable\": \"{\\n \\\"signature\\\": \\\"parseJsonAs(Class)\\\",\\n \\\"comment\\\": \\\"\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": [\\n \\\"public\\\"\\n ],\\n \\\"thrown_exceptions\\\": [],\\n \\\"declaration\\\": \\\"public Object parseJsonAs(Class cls)\\\",\\n \\\"parameters\\\": [\\n {\\n \\\"type\\\": \\\"java.lang.Class\\\",\\n \\\"name\\\": \\\"cls\\\",\\n \\\"annotations\\\": [],\\n \\\"modifiers\\\": []\\n }\\n ],\\n \\\"code\\\": \\\"{\\\\n if (file.exists()) {\\\\n JsonInputStream is = null;\\\\n Object jsonObject = null;\\\\n try {\\\\n is = new JsonInputStream(file);\\\\n Gson gson = new Gson();\\\\n BufferedReader reader = new BufferedReader(new InputStreamReader(is));\\\\n jsonObject = gson.fromJson(reader, cls);\\\\n } catch (Exception e) {\\\\n e.printStackTrace();\\\\n } catch (Throwable e) {\\\\n e.printStackTrace();\\\\n } finally {\\\\n if (is != null) {\\\\n try {\\\\n is.close();\\\\n // test if file is closed\\\\n is.read();\\\\n } catch (IOException e) {\\\\n // closed successfully\\\\n return jsonObject;\\\\n } catch (Throwable e) {\\\\n e.printStackTrace();\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return null;\\\\n}\\\",\\n \\\"start_line\\\": 21,\\n \\\"end_line\\\": 49,\\n \\\"return_type\\\": \\\"java.lang.Object\\\",\\n \\\"is_implicit\\\": false,\\n \\\"is_constructor\\\": false,\\n \\\"referenced_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"com.google.gson.Gson\\\",\\n \\\"java.lang.Object\\\",\\n \\\"java.io.BufferedReader\\\"\\n ],\\n \\\"accessed_fields\\\": [\\n \\\"com.acme.modres.util.JsonInputStream.file\\\"\\n ],\\n \\\"call_sites\\\": [\\n {\\n \\\"method_name\\\": \\\"exists\\\",\\n \\\"receiver_expr\\\": \\\"file\\\",\\n \\\"receiver_type\\\": \\\"java.io.File\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"exists()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 22,\\n \\\"start_column\\\": 13,\\n \\\"end_line\\\": 22,\\n \\\"end_column\\\": 25\\n },\\n {\\n \\\"method_name\\\": \\\"fromJson\\\",\\n \\\"receiver_expr\\\": \\\"gson\\\",\\n \\\"receiver_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.BufferedReader\\\",\\n \\\"java.lang.Class\\\"\\n ],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"fromJson(java.io.Reader, java.lang.Class)\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 29,\\n \\\"start_column\\\": 30,\\n \\\"end_line\\\": 29,\\n \\\"end_column\\\": 55\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Exception\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 31,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 31,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 33,\\n \\\"start_column\\\": 17,\\n \\\"end_line\\\": 33,\\n \\\"end_column\\\": 35\\n },\\n {\\n \\\"method_name\\\": \\\"close\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"close()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 37,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 37,\\n \\\"end_column\\\": 34\\n },\\n {\\n \\\"method_name\\\": \\\"read\\\",\\n \\\"receiver_expr\\\": \\\"is\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"read()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 38,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 38,\\n \\\"end_column\\\": 33\\n },\\n {\\n \\\"method_name\\\": \\\"printStackTrace\\\",\\n \\\"receiver_expr\\\": \\\"e\\\",\\n \\\"receiver_type\\\": \\\"java.lang.Throwable\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"\\\",\\n \\\"callee_signature\\\": \\\"printStackTrace()\\\",\\n \\\"is_public\\\": true,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": false,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": false,\\n \\\"start_line\\\": 43,\\n \\\"start_column\\\": 25,\\n \\\"end_line\\\": 43,\\n \\\"end_column\\\": 43\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.File\\\"\\n ],\\n \\\"return_type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"callee_signature\\\": \\\"JsonInputStream(java.io.File)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 26,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 26,\\n \\\"end_column\\\": 46\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"argument_types\\\": [],\\n \\\"return_type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"callee_signature\\\": \\\"Gson()\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"argument_types\\\": [\\n \\\"java.io.InputStreamReader\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"callee_signature\\\": \\\"BufferedReader(java.io.Reader)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 41,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 85\\n },\\n {\\n \\\"method_name\\\": \\\"\\\",\\n \\\"receiver_expr\\\": \\\"\\\",\\n \\\"receiver_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"argument_types\\\": [\\n \\\"com.acme.modres.util.JsonInputStream\\\"\\n ],\\n \\\"return_type\\\": \\\"java.io.InputStreamReader\\\",\\n \\\"callee_signature\\\": \\\"InputStreamReader(java.io.InputStream)\\\",\\n \\\"is_public\\\": false,\\n \\\"is_protected\\\": false,\\n \\\"is_private\\\": false,\\n \\\"is_unspecified\\\": true,\\n \\\"is_static_call\\\": false,\\n \\\"is_constructor_call\\\": true,\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 60,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 84\\n }\\n ],\\n \\\"variable_declarations\\\": [\\n {\\n \\\"name\\\": \\\"is\\\",\\n \\\"type\\\": \\\"com.acme.modres.util.JsonInputStream\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 23,\\n \\\"start_column\\\": 29,\\n \\\"end_line\\\": 23,\\n \\\"end_column\\\": 37\\n },\\n {\\n \\\"name\\\": \\\"jsonObject\\\",\\n \\\"type\\\": \\\"java.lang.Object\\\",\\n \\\"initializer\\\": \\\"null\\\",\\n \\\"start_line\\\": 24,\\n \\\"start_column\\\": 20,\\n \\\"end_line\\\": 24,\\n \\\"end_column\\\": 36\\n },\\n {\\n \\\"name\\\": \\\"gson\\\",\\n \\\"type\\\": \\\"com.google.gson.Gson\\\",\\n \\\"initializer\\\": \\\"new Gson()\\\",\\n \\\"start_line\\\": 27,\\n \\\"start_column\\\": 22,\\n \\\"end_line\\\": 27,\\n \\\"end_column\\\": 38\\n },\\n {\\n \\\"name\\\": \\\"reader\\\",\\n \\\"type\\\": \\\"java.io.BufferedReader\\\",\\n \\\"initializer\\\": \\\"new BufferedReader(new InputStreamReader(is))\\\",\\n \\\"start_line\\\": 28,\\n \\\"start_column\\\": 32,\\n \\\"end_line\\\": 28,\\n \\\"end_column\\\": 85\\n }\\n ],\\n \\\"cyclomatic_complexity\\\": 6\\n}\",\n \"class_interface_declarations\": \"com.acme.modres.util.JsonInputStream\"\n}", - "type": "CALL_DEP", - "weight": "1" - } - ], - "symbol_table": { - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/util/ZipValidator.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/util/ZipValidator.java", - "comment": "", - "imports": [ - "java.io.File", - "java.io.IOException", - "java.util.Enumeration", - "java.util.zip.ZipEntry", - "java.util.zip.ZipException", - "java.util.zip.ZipFile" - ], - "type_declarations": { - "com.acme.modres.util.ZipValidator": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "java.util.zip.ZipFile" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "isValid()": { - "signature": "isValid()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Throwable" - ], - "declaration": "public boolean isValid() throws Throwable", - "parameters": [], - "code": "{\n if (file.exists()) {\n ZipValidator zipFile = new ZipValidator(file);\n Enumeration entries = zipFile.entries();\n if (!entries.hasMoreElements()) {\n return true;\n }\n zipFile.close();\n }\n return false;\n}", - "start_line": 20, - "end_line": 30, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.util.ZipValidator", - "java.util.Enumeration" - ], - "accessed_fields": [ - "com.acme.modres.util.ZipValidator.file" - ], - "call_sites": [ - { - "method_name": "exists", - "receiver_expr": "file", - "receiver_type": "java.io.File", - "argument_types": [], - "return_type": "", - "callee_signature": "exists()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 21, - "start_column": 13, - "end_line": 21, - "end_column": 25 - }, - { - "method_name": "entries", - "receiver_expr": "zipFile", - "receiver_type": "com.acme.modres.util.ZipValidator", - "argument_types": [], - "return_type": "java.util.Enumeration", - "callee_signature": "entries()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 23, - "start_column": 55, - "end_line": 23, - "end_column": 71 - }, - { - "method_name": "hasMoreElements", - "receiver_expr": "entries", - "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, - "start_line": 24, - "start_column": 17, - "end_line": 24, - "end_column": 41 - }, - { - "method_name": "close", - "receiver_expr": "zipFile", - "receiver_type": "com.acme.modres.util.ZipValidator", - "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, - "start_line": 27, - "start_column": 13, - "end_line": 27, - "end_column": 27 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.util.ZipValidator", - "argument_types": [ - "java.io.File" - ], - "return_type": "com.acme.modres.util.ZipValidator", - "callee_signature": "ZipValidator(java.io.File)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 22, - "start_column": 36, - "end_line": 22, - "end_column": 57 - } - ], - "variable_declarations": [ - { - "name": "zipFile", - "type": "com.acme.modres.util.ZipValidator", - "initializer": "new ZipValidator(file)", - "start_line": 22, - "start_column": 26, - "end_line": 22, - "end_column": 57 - }, - { - "name": "entries", - "type": "java.util.Enumeration", - "initializer": "zipFile.entries()", - "start_line": 23, - "start_column": 45, - "end_line": 23, - "end_column": 71 - } - ], - "cyclomatic_complexity": 3 - }, - "(File)": { - "signature": "ZipValidator(File)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.util.zip.ZipException", - "java.io.IOException" - ], - "declaration": "public ZipValidator(File file) throws ZipException, IOException", - "parameters": [ - { - "type": "java.io.File", - "name": "file", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n super(file);\n this.file = file;\n}", - "start_line": 13, - "end_line": 16, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.io.File" - ], - "accessed_fields": [ - "com.acme.modres.util.ZipValidator.file" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.io.File", - "start_line": 18, - "end_line": 18, - "variables": [ - "file" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/DMBeanUtils.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/DMBeanUtils.java", - "comment": "", - "imports": [ - "java.util.logging.Level", - "java.util.logging.Logger", - "javax.management.MBeanOperationInfo" - ], - "type_declarations": { - "com.acme.modres.mbean.DMBeanUtils": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public", - "final" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getOps(OpMetadataList)": { - "signature": "getOps(OpMetadataList)", - "comment": "", - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static MBeanOperationInfo[] getOps(OpMetadataList opList)", - "parameters": [ - { - "type": "com.acme.modres.mbean.OpMetadataList", - "name": "opList", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n MBeanOperationInfo[] ops = null;\n if (opList == null || opList.getOpMetadatList() == null) {\n logger.log(Level.WARNING, \"No operation is configured\");\n return ops;\n }\n int numOps = opList.getOpMetadatList().size();\n if (numOps > 0) {\n ops = new MBeanOperationInfo[numOps];\n int i = 0;\n for (OpMetadata opMetadata : opList.getOpMetadatList()) {\n String name = opMetadata.getName();\n String desc = opMetadata.getDescription();\n String type = opMetadata.getType();\n int impact = opMetadata.getImpact();\n MBeanOperationInfo opInfo = new MBeanOperationInfo(name, desc, /* signature */\n null, type, impact, /* descriptor */\n null);\n ops[i++] = opInfo;\n }\n }\n return ops;\n}", - "start_line": 11, - "end_line": 34, - "return_type": "javax.management.MBeanOperationInfo[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.management.MBeanOperationInfo", - "java.lang.String", - "com.acme.modres.mbean.OpMetadata", - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.acme.modres.mbean.DMBeanUtils.logger", - "java.util.logging.Level.WARNING" - ], - "call_sites": [ - { - "method_name": "getOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "getOpMetadatList()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 13, - "start_column": 25, - "end_line": 13, - "end_column": 49 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 14, - "start_column": 4, - "end_line": 14, - "end_column": 58 - }, - { - "method_name": "size", - "receiver_expr": "opList.getOpMetadatList()", - "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, - "start_line": 18, - "start_column": 16, - "end_line": 18, - "end_column": 47 - }, - { - "method_name": "getOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "getOpMetadatList()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 18, - "start_column": 16, - "end_line": 18, - "end_column": 40 - }, - { - "method_name": "getOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "getOpMetadatList()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 22, - "start_column": 33, - "end_line": 22, - "end_column": 57 - }, - { - "method_name": "getName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 23, - "start_column": 19, - "end_line": 23, - "end_column": 38 - }, - { - "method_name": "getDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 24, - "start_column": 19, - "end_line": 24, - "end_column": 45 - }, - { - "method_name": "getType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getType()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 25, - "start_column": 19, - "end_line": 25, - "end_column": 38 - }, - { - "method_name": "getImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "", - "callee_signature": "getImpact()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 26, - "start_column": 18, - "end_line": 26, - "end_column": 39 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "javax.management.MBeanOperationInfo", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "", - "java.lang.String", - "", - "" - ], - "return_type": "javax.management.MBeanOperationInfo", - "callee_signature": "MBeanOperationInfo(java.lang.String, java.lang.String, javax.management.MBeanParameterInfo[], java.lang.String, int, javax.management.Descriptor)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 28, - "start_column": 33, - "end_line": 28, - "end_column": 125 - } - ], - "variable_declarations": [ - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "null", - "start_line": 12, - "start_column": 24, - "end_line": 12, - "end_column": 33 - }, - { - "name": "numOps", - "type": "int", - "initializer": "opList.getOpMetadatList().size()", - "start_line": 18, - "start_column": 7, - "end_line": 18, - "end_column": 47 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 21, - "start_column": 8, - "end_line": 21, - "end_column": 12 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "", - "start_line": 22, - "start_column": 20, - "end_line": 22, - "end_column": 29 - }, - { - "name": "name", - "type": "java.lang.String", - "initializer": "opMetadata.getName()", - "start_line": 23, - "start_column": 12, - "end_line": 23, - "end_column": 38 - }, - { - "name": "desc", - "type": "java.lang.String", - "initializer": "opMetadata.getDescription()", - "start_line": 24, - "start_column": 12, - "end_line": 24, - "end_column": 45 - }, - { - "name": "type", - "type": "java.lang.String", - "initializer": "opMetadata.getType()", - "start_line": 25, - "start_column": 12, - "end_line": 25, - "end_column": 38 - }, - { - "name": "impact", - "type": "int", - "initializer": "opMetadata.getImpact()", - "start_line": 26, - "start_column": 9, - "end_line": 26, - "end_column": 39 - }, - { - "name": "opInfo", - "type": "javax.management.MBeanOperationInfo", - "initializer": "new MBeanOperationInfo(name, desc, /* signature */\nnull, type, impact, /* descriptor */\nnull)", - "start_line": 28, - "start_column": 24, - "end_line": 28, - "end_column": 125 - } - ], - "cyclomatic_complexity": 5 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.util.logging.Logger", - "start_line": 9, - "end_line": 9, - "variables": [ - "logger" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/FakeX509TrustManager.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/FakeX509TrustManager.java", - "comment": "", - "imports": [], - "type_declarations": { - "com.acme.modres.security.FakeX509TrustManager": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "// public class FakeX509TrustManager implements TrustManager {", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": {}, - "field_declarations": [] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/SSLUtils.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/SSLUtils.java", - "comment": "", - "imports": [ - "java.util.logging.Logger" - ], - "type_declarations": { - "com.acme.modres.security.SSLUtils": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": {}, - "field_declarations": [ - { - "comment": "", - "type": "java.util.logging.Logger", - "start_line": 9, - "end_line": 9, - "variables": [ - "logger" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/CustomPermission.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/CustomPermission.java", - "comment": "", - "imports": [ - "java.security.BasicPermission" - ], - "type_declarations": { - "com.acme.modres.security.CustomPermission": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "java.security.BasicPermission" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "(String)": { - "signature": "CustomPermission(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public CustomPermission(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n super(name);\n}", - "start_line": 6, - "end_line": 8, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "(String, String)": { - "signature": "CustomPermission(String, String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public CustomPermission(String name, String actions)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.String", - "name": "actions", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n super(name, actions);\n}", - "start_line": 10, - "end_line": 12, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/IOUtils.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/IOUtils.java", - "comment": "", - "imports": [ - "java.io.File", - "java.io.FileOutputStream", - "java.io.IOException", - "java.io.InputStream", - "java.io.OutputStream", - "com.acme.modres.mbean.reservation.ReservationList", - "com.acme.modres.util.JsonInputStream" - ], - "type_declarations": { - "com.acme.modres.mbean.IOUtils": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public", - "final" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getOpListFromConfig()": { - "signature": "getOpListFromConfig()", - "comment": "", - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static OpMetadataList getOpListFromConfig()", - "parameters": [], - "code": "{\n // fix hardcoded paths\n File file = getFileFromRelativePath(\"ops.json\");\n try (JsonInputStream is = new JsonInputStream(file)) {\n //empty default\n OpMetadataList opList = new OpMetadataList();\n opList = (OpMetadataList) is.parseJsonAs(OpMetadataList.class);\n return opList;\n } catch (IOException e) {\n e.printStackTrace();\n return null;\n }\n}", - "start_line": 46, - "end_line": 56, - "return_type": "com.acme.modres.mbean.OpMetadataList", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.util.JsonInputStream", - "java.io.File", - "com.acme.modres.mbean.OpMetadataList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getFileFromRelativePath", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.io.File", - "callee_signature": "getFileFromRelativePath(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 47, - "start_column": 15, - "end_line": 47, - "end_column": 49 - }, - { - "method_name": "parseJsonAs", - "receiver_expr": "is", - "receiver_type": "com.acme.modres.util.JsonInputStream", - "argument_types": [ - "java.lang.Class" - ], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "parseJsonAs(java.lang.Class)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 50, - "start_column": 30, - "end_line": 50, - "end_column": 65 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 53, - "start_column": 4, - "end_line": 53, - "end_column": 22 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.util.JsonInputStream", - "argument_types": [ - "java.io.File" - ], - "return_type": "com.acme.modres.util.JsonInputStream", - "callee_signature": "JsonInputStream(java.io.File)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 48, - "start_column": 29, - "end_line": 48, - "end_column": 53 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 49, - "start_column": 29, - "end_line": 49, - "end_column": 48 - } - ], - "variable_declarations": [ - { - "name": "file", - "type": "java.io.File", - "initializer": "getFileFromRelativePath(\"ops.json\")", - "start_line": 47, - "start_column": 8, - "end_line": 47, - "end_column": 49 - }, - { - "name": "is", - "type": "com.acme.modres.util.JsonInputStream", - "initializer": "new JsonInputStream(file)", - "start_line": 48, - "start_column": 24, - "end_line": 48, - "end_column": 53 - }, - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 49, - "start_column": 19, - "end_line": 49, - "end_column": 48 - } - ], - "cyclomatic_complexity": 1 - }, - "getFileFromRelativePath(String)": { - "signature": "getFileFromRelativePath(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static File getFileFromRelativePath(String path)", - "parameters": [ - { - "type": "java.lang.String", - "name": "path", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n File file = null;\n InputStream initialStream = null;\n OutputStream outStream = null;\n try {\n initialStream = IOUtils.class.getClassLoader().getResourceAsStream(path);\n byte[] buffer = new byte[initialStream.available()];\n initialStream.read(buffer);\n file = File.createTempFile(path, null);\n outStream = new FileOutputStream(file);\n outStream.write(buffer);\n outStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n if (initialStream != null) {\n try {\n initialStream.close();\n } catch (IOException e) {\n }\n } else if (outStream != null) {\n try {\n outStream.close();\n } catch (IOException e) {\n }\n }\n }\n return file;\n}", - "start_line": 14, - "end_line": 44, - "return_type": "java.io.File", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.OutputStream", - "java.io.File", - "java.io.InputStream" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getResourceAsStream", - "receiver_expr": "IOUtils.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, - "start_line": 19, - "start_column": 29, - "end_line": 19, - "end_column": 84 - }, - { - "method_name": "getClassLoader", - "receiver_expr": "IOUtils.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, - "start_line": 19, - "start_column": 29, - "end_line": 19, - "end_column": 58 - }, - { - "method_name": "available", - "receiver_expr": "initialStream", - "receiver_type": "java.io.InputStream", - "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, - "start_line": 20, - "start_column": 38, - "end_line": 20, - "end_column": 62 - }, - { - "method_name": "read", - "receiver_expr": "initialStream", - "receiver_type": "java.io.InputStream", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "read(byte[])", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 21, - "start_column": 13, - "end_line": 21, - "end_column": 38 - }, - { - "method_name": "createTempFile", - "receiver_expr": "File", - "receiver_type": "java.io.File", - "argument_types": [ - "java.lang.String", - "" - ], - "return_type": "java.io.File", - "callee_signature": "createTempFile(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, - "start_line": 23, - "start_column": 20, - "end_line": 23, - "end_column": 50 - }, - { - "method_name": "write", - "receiver_expr": "outStream", - "receiver_type": "java.io.OutputStream", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "write(byte[])", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 25, - "start_column": 13, - "end_line": 25, - "end_column": 35 - }, - { - "method_name": "close", - "receiver_expr": "outStream", - "receiver_type": "java.io.OutputStream", - "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, - "start_line": 26, - "start_column": 13, - "end_line": 26, - "end_column": 29 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 28, - "start_column": 13, - "end_line": 28, - "end_column": 31 - }, - { - "method_name": "close", - "receiver_expr": "initialStream", - "receiver_type": "java.io.InputStream", - "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, - "start_line": 32, - "start_column": 21, - "end_line": 32, - "end_column": 41 - }, - { - "method_name": "close", - "receiver_expr": "outStream", - "receiver_type": "java.io.OutputStream", - "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, - "start_line": 37, - "start_column": 21, - "end_line": 37, - "end_column": 37 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.io.FileOutputStream", - "argument_types": [ - "java.io.File" - ], - "return_type": "java.io.FileOutputStream", - "callee_signature": "FileOutputStream(java.io.File)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 24, - "start_column": 25, - "end_line": 24, - "end_column": 50 - } - ], - "variable_declarations": [ - { - "name": "file", - "type": "java.io.File", - "initializer": "null", - "start_line": 15, - "start_column": 14, - "end_line": 15, - "end_column": 24 - }, - { - "name": "initialStream", - "type": "java.io.InputStream", - "initializer": "null", - "start_line": 16, - "start_column": 21, - "end_line": 16, - "end_column": 40 - }, - { - "name": "outStream", - "type": "java.io.OutputStream", - "initializer": "null", - "start_line": 17, - "start_column": 22, - "end_line": 17, - "end_column": 37 - }, - { - "name": "buffer", - "type": "byte[]", - "initializer": "new byte[initialStream.available()]", - "start_line": 20, - "start_column": 20, - "end_line": 20, - "end_column": 63 - } - ], - "cyclomatic_complexity": 7 - }, - "getReservationListFromConfig()": { - "signature": "getReservationListFromConfig()", - "comment": "", - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static ReservationList getReservationListFromConfig()", - "parameters": [], - "code": "{\n // fix hardcoded paths\n File file = getFileFromRelativePath(\"reservations.json\");\n try (JsonInputStream is = new JsonInputStream(file)) {\n //empty default\n ReservationList reservationList = new ReservationList();\n reservationList = (ReservationList) is.parseJsonAs(ReservationList.class);\n return reservationList;\n } catch (IOException e) {\n e.printStackTrace();\n return null;\n }\n}", - "start_line": 58, - "end_line": 68, - "return_type": "com.acme.modres.mbean.reservation.ReservationList", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.util.JsonInputStream", - "com.acme.modres.mbean.reservation.ReservationList", - "java.io.File" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getFileFromRelativePath", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.io.File", - "callee_signature": "getFileFromRelativePath(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 59, - "start_column": 15, - "end_line": 59, - "end_column": 58 - }, - { - "method_name": "parseJsonAs", - "receiver_expr": "is", - "receiver_type": "com.acme.modres.util.JsonInputStream", - "argument_types": [ - "java.lang.Class" - ], - "return_type": "com.acme.modres.mbean.reservation.ReservationList", - "callee_signature": "parseJsonAs(java.lang.Class)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 62, - "start_column": 40, - "end_line": 62, - "end_column": 76 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 65, - "start_column": 4, - "end_line": 65, - "end_column": 22 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.util.JsonInputStream", - "argument_types": [ - "java.io.File" - ], - "return_type": "com.acme.modres.util.JsonInputStream", - "callee_signature": "JsonInputStream(java.io.File)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 60, - "start_column": 29, - "end_line": 60, - "end_column": 53 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.reservation.ReservationList", - "callee_signature": "ReservationList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 61, - "start_column": 39, - "end_line": 61, - "end_column": 59 - } - ], - "variable_declarations": [ - { - "name": "file", - "type": "java.io.File", - "initializer": "getFileFromRelativePath(\"reservations.json\")", - "start_line": 59, - "start_column": 8, - "end_line": 59, - "end_column": 58 - }, - { - "name": "is", - "type": "com.acme.modres.util.JsonInputStream", - "initializer": "new JsonInputStream(file)", - "start_line": 60, - "start_column": 24, - "end_line": 60, - "end_column": 53 - }, - { - "name": "reservationList", - "type": "com.acme.modres.mbean.reservation.ReservationList", - "initializer": "new ReservationList()", - "start_line": 61, - "start_column": 20, - "end_line": 61, - "end_column": 59 - } - ], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/SecondServlet.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/SecondServlet.java", - "comment": "", - "imports": [ - "java.io.BufferedReader", - "java.io.IOException", - "java.io.PrintWriter", - "java.util.stream.Collectors", - "javax.servlet.ServletException", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" - ], - "type_declarations": { - "com.acme.modres.SecondServlet": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "javax.servlet.http.HttpServlet" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "doGet(HttpServletRequest, HttpServletResponse)": { - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "protected void doGet(HttpServletRequest req, HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n response.setContentType(\"text/plain\");\n BufferedReader rd = req.getReader();\n String rcontents = rd.lines().collect(Collectors.joining());\n PrintWriter out = response.getWriter();\n out.print(rcontents + \" to our site! \");\n}", - "start_line": 17, - "end_line": 24, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintWriter", - "java.io.BufferedReader", - "java.lang.String" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setContentType", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 19, - "start_column": 3, - "end_line": 19, - "end_column": 39 - }, - { - "method_name": "getReader", - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [], - "return_type": "java.io.BufferedReader", - "callee_signature": "getReader()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 20, - "start_column": 23, - "end_line": 20, - "end_column": 37 - }, - { - "method_name": "collect", - "receiver_expr": "rd.lines()", - "receiver_type": "java.util.stream.Stream", - "argument_types": [ - "java.util.stream.Collector" - ], - "return_type": "java.lang.String", - "callee_signature": "collect(java.util.stream.Collector)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 21, - "start_column": 22, - "end_line": 21, - "end_column": 61 - }, - { - "method_name": "lines", - "receiver_expr": "rd", - "receiver_type": "java.io.BufferedReader", - "argument_types": [], - "return_type": "java.util.stream.Stream", - "callee_signature": "lines()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 21, - "start_column": 22, - "end_line": 21, - "end_column": 31 - }, - { - "method_name": "joining", - "receiver_expr": "Collectors", - "receiver_type": "java.util.stream.Collectors", - "argument_types": [], - "return_type": "java.util.stream.Collector", - "callee_signature": "joining()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 21, - "start_column": 41, - "end_line": 21, - "end_column": 60 - }, - { - "method_name": "getWriter", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [], - "return_type": "java.io.PrintWriter", - "callee_signature": "getWriter()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 22, - "start_column": 24, - "end_line": 22, - "end_column": 43 - }, - { - "method_name": "print", - "receiver_expr": "out", - "receiver_type": "java.io.PrintWriter", - "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, - "start_line": 23, - "start_column": 6, - "end_line": 23, - "end_column": 44 - } - ], - "variable_declarations": [ - { - "name": "rd", - "type": "java.io.BufferedReader", - "initializer": "req.getReader()", - "start_line": 20, - "start_column": 18, - "end_line": 20, - "end_column": 37 - }, - { - "name": "rcontents", - "type": "java.lang.String", - "initializer": "rd.lines().collect(Collectors.joining())", - "start_line": 21, - "start_column": 10, - "end_line": 21, - "end_column": 61 - }, - { - "name": "out", - "type": "java.io.PrintWriter", - "initializer": "response.getWriter()", - "start_line": 22, - "start_column": 18, - "end_line": 22, - "end_column": 43 - } - ], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "long", - "start_line": 15, - "end_line": 15, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/exception/ExceptionHandler.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/exception/ExceptionHandler.java", - "comment": "", - "imports": [ - "java.util.logging.Level", - "java.util.logging.Logger", - "javax.servlet.ServletException" - ], - "type_declarations": { - "com.acme.modres.exception.ExceptionHandler": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "handleException(Exception, String, Logger)": { - "signature": "handleException(Exception, String, Logger)", - "comment": "", - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public static void handleException(Exception e, String errorMsg, Logger logger) throws ServletException", - "parameters": [ - { - "type": "java.lang.Exception", - "name": "e", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.String", - "name": "errorMsg", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.util.logging.Logger", - "name": "logger", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n if (e == null) {\n logger.severe(errorMsg);\n throw new ServletException(errorMsg);\n } else {\n logger.log(Level.SEVERE, errorMsg, e);\n throw new ServletException(errorMsg, e);\n }\n}", - "start_line": 10, - "end_line": 18, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.logging.Level" - ], - "accessed_fields": [ - "java.util.logging.Level.SEVERE" - ], - "call_sites": [ - { - "method_name": "severe", - "receiver_expr": "logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 12, - "start_column": 4, - "end_line": 12, - "end_column": 26 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.util.logging.Level", - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "log(java.util.logging.Level, 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, - "start_line": 15, - "start_column": 4, - "end_line": 15, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "javax.servlet.ServletException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.servlet.ServletException", - "callee_signature": "ServletException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 13, - "start_column": 10, - "end_line": 13, - "end_column": 39 - }, - { - "method_name": "", - "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, - "start_line": 16, - "start_column": 10, - "end_line": 16, - "end_column": 42 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 2 - } - }, - "field_declarations": [] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/OpMetadataList.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/OpMetadataList.java", - "comment": "", - "imports": [ - "java.util.ArrayList", - "java.util.List" - ], - "type_declarations": { - "com.acme.modres.mbean.OpMetadataList": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "()": { - "signature": "OpMetadataList()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OpMetadataList()", - "parameters": [], - "code": "{\n}", - "start_line": 8, - "end_line": 9, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getOpMetadatList()": { - "signature": "getOpMetadatList()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public List getOpMetadatList()", - "parameters": [], - "code": "{\n return opMetadatList;\n}", - "start_line": 17, - "end_line": 19, - "return_type": "java.util.List", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadataList.opMetadatList" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setOpMetadatList(List)": { - "signature": "setOpMetadatList(List)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOpMetadatList(List opMetadatList)", - "parameters": [ - { - "type": "java.util.List", - "name": "opMetadatList", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.opMetadatList = opMetadatList;\n}", - "start_line": 21, - "end_line": 23, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List" - ], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadataList.opMetadatList" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "add(OpMetadata)": { - "signature": "add(OpMetadata)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void add(OpMetadata opMetadata)", - "parameters": [ - { - "type": "com.acme.modres.mbean.OpMetadata", - "name": "opMetadata", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n opMetadatList.add(opMetadata);\n}", - "start_line": 13, - "end_line": 15, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadataList.opMetadatList" - ], - "call_sites": [ - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 14, - "start_column": 3, - "end_line": 14, - "end_column": 31 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.util.List", - "start_line": 11, - "end_line": 11, - "variables": [ - "opMetadatList" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/LogoutServlet.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/LogoutServlet.java", - "comment": "", - "imports": [ - "javax.servlet.annotation.WebServlet", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "com.ibm.websphere.security.WSSecurityHelper", - "java.io.IOException" - ], - "type_declarations": { - "com.acme.modres.LogoutServlet": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "javax.servlet.http.HttpServlet" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@WebServlet({ \"/logout\" })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "doGet(HttpServletRequest, HttpServletResponse)": { - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "java.io.IOException" - ], - "declaration": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n try {\n WSSecurityHelper.revokeSSOCookies(request, response);\n } catch (Exception e) {\n System.err.println(\"[ERROR] Error logging out\");\n e.printStackTrace();\n }\n response.sendRedirect(\"login.jsp\");\n}", - "start_line": 16, - "end_line": 28, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintStream" - ], - "accessed_fields": [ - "java.lang.System.err" - ], - "call_sites": [ - { - "method_name": "revokeSSOCookies", - "receiver_expr": "WSSecurityHelper", - "receiver_type": "com.ibm.websphere.security.WSSecurityHelper", - "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" - ], - "return_type": "", - "callee_signature": "revokeSSOCookies(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 21, - "start_column": 13, - "end_line": 21, - "end_column": 64 - }, - { - "method_name": "println", - "receiver_expr": "System.err", - "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, - "start_line": 23, - "start_column": 13, - "end_line": 23, - "end_column": 59 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 24, - "start_column": 13, - "end_line": 24, - "end_column": 31 - }, - { - "method_name": "sendRedirect", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 27, - "start_column": 9, - "end_line": 27, - "end_column": 42 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "long", - "start_line": 14, - "end_line": 14, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/AvailabilityCheckerServlet.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/AvailabilityCheckerServlet.java", - "comment": "", - "imports": [ - "java.io.File", - "java.io.FileInputStream", - "java.io.FileNotFoundException", - "java.io.FileOutputStream", - "java.io.IOException", - "java.io.PrintWriter", - "java.util.logging.Logger", - "java.util.zip.ZipEntry", - "java.util.zip.ZipOutputStream", - "javax.servlet.ServletException", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "com.acme.modres.mbean.IOUtils", - "com.acme.modres.mbean.reservation.DateChecker", - "com.acme.modres.mbean.reservation.ReservationCheckerData", - "com.acme.modres.util.ZipValidator", - "javax.naming.InitialContext", - "javax.servlet.annotation.WebServlet" - ], - "type_declarations": { - "com.acme.modres.AvailabilityCheckerServlet": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "javax.servlet.http.HttpServlet" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@WebServlet({ \"/resorts/availability\" })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "doPost(HttpServletRequest, HttpServletResponse)": { - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "comment": "/**\n\t * Returns the weather information for a given city\n\t */", - "annotations": [], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n doGet(request, response);\n}", - "start_line": 84, - "end_line": 88, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "doGet", - "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": false, - "is_protected": true, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 87, - "start_column": 3, - "end_line": 87, - "end_column": 26 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "doGet(HttpServletRequest, HttpServletResponse)": { - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "java.io.IOException", - "javax.servlet.ServletException" - ], - "declaration": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n String methodName = \"doGet\";\n logger.entering(AvailabilityCheckerServlet.class.getName(), methodName);\n int statusCode = 200;\n String selectedDateStr = request.getParameter(\"date\");\n boolean parsedDate = reservationCheckerData.setSelectedDate(selectedDateStr);\n if (!parsedDate || reservationCheckerData.getReservationList() == null) {\n statusCode = 500;\n reservationCheckerData.setAvailablility(false);\n }\n if (statusCode == 200) {\n Thread t1 = new Thread(new DateChecker(reservationCheckerData));\n try {\n t1.start();\n t1.join();\n // Java 21 issue\n t1.stop();\n } catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n if (!reservationCheckerData.isAvailible()) {\n statusCode = 201;\n }\n }\n PrintWriter out = response.getWriter();\n response.setContentType(\"application/json\");\n response.setCharacterEncoding(\"UTF-8\");\n out.print(\"{\\\"availability\\\": \\\"\" + String.valueOf(reservationCheckerData.isAvailible()) + \"\\\"}\");\n response.setStatus(statusCode);\n}", - "start_line": 43, - "end_line": 79, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintWriter", - "java.lang.Thread", - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.AvailabilityCheckerServlet.logger", - "com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData" - ], - "call_sites": [ - { - "method_name": "entering", - "receiver_expr": "logger", - "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, - "start_line": 48, - "start_column": 3, - "end_line": 48, - "end_column": 73 - }, - { - "method_name": "getName", - "receiver_expr": "AvailabilityCheckerServlet.class", - "receiver_type": "java.lang.Class", - "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, - "start_line": 48, - "start_column": 19, - "end_line": 48, - "end_column": 60 - }, - { - "method_name": "getParameter", - "receiver_expr": "request", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 51, - "start_column": 28, - "end_line": 51, - "end_column": 55 - }, - { - "method_name": "setSelectedDate", - "receiver_expr": "reservationCheckerData", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setSelectedDate(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 52, - "start_column": 24, - "end_line": 52, - "end_column": 78 - }, - { - "method_name": "getReservationList", - "receiver_expr": "reservationCheckerData", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [], - "return_type": "com.acme.modres.mbean.reservation.ReservationList", - "callee_signature": "getReservationList()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 53, - "start_column": 22, - "end_line": 53, - "end_column": 64 - }, - { - "method_name": "setAvailablility", - "receiver_expr": "reservationCheckerData", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setAvailablility(java.lang.Boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 55, - "start_column": 4, - "end_line": 55, - "end_column": 49 - }, - { - "method_name": "start", - "receiver_expr": "t1", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "", - "callee_signature": "start()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 61, - "start_column": 5, - "end_line": 61, - "end_column": 14 - }, - { - "method_name": "join", - "receiver_expr": "t1", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "", - "callee_signature": "join()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 62, - "start_column": 5, - "end_line": 62, - "end_column": 13 - }, - { - "method_name": "stop", - "receiver_expr": "t1", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "", - "callee_signature": "stop()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 63, - "start_column": 5, - "end_line": 63, - "end_column": 13 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 66, - "start_column": 5, - "end_line": 66, - "end_column": 23 - }, - { - "method_name": "isAvailible", - "receiver_expr": "reservationCheckerData", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [], - "return_type": "", - "callee_signature": "isAvailible()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 69, - "start_column": 9, - "end_line": 69, - "end_column": 44 - }, - { - "method_name": "getWriter", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [], - "return_type": "java.io.PrintWriter", - "callee_signature": "getWriter()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 74, - "start_column": 21, - "end_line": 74, - "end_column": 40 - }, - { - "method_name": "setContentType", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 75, - "start_column": 3, - "end_line": 75, - "end_column": 45 - }, - { - "method_name": "setCharacterEncoding", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCharacterEncoding(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 76, - "start_column": 3, - "end_line": 76, - "end_column": 40 - }, - { - "method_name": "print", - "receiver_expr": "out", - "receiver_type": "java.io.PrintWriter", - "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, - "start_line": 77, - "start_column": 3, - "end_line": 77, - "end_column": 95 - }, - { - "method_name": "valueOf", - "receiver_expr": "String", - "receiver_type": "java.lang.String", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "valueOf(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 77, - "start_column": 37, - "end_line": 77, - "end_column": 88 - }, - { - "method_name": "isAvailible", - "receiver_expr": "reservationCheckerData", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [], - "return_type": "", - "callee_signature": "isAvailible()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 77, - "start_column": 52, - "end_line": 77, - "end_column": 87 - }, - { - "method_name": "setStatus", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setStatus(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 78, - "start_column": 3, - "end_line": 78, - "end_column": 32 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.lang.Thread", - "argument_types": [ - "com.acme.modres.mbean.reservation.DateChecker" - ], - "return_type": "java.lang.Thread", - "callee_signature": "Thread(java.lang.Runnable)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 59, - "start_column": 16, - "end_line": 59, - "end_column": 66 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.reservation.DateChecker", - "argument_types": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData" - ], - "return_type": "com.acme.modres.mbean.reservation.DateChecker", - "callee_signature": "DateChecker(com.acme.modres.mbean.reservation.ReservationCheckerData)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 59, - "start_column": 27, - "end_line": 59, - "end_column": 65 - } - ], - "variable_declarations": [ - { - "name": "methodName", - "type": "java.lang.String", - "initializer": "\"doGet\"", - "start_line": 47, - "start_column": 10, - "end_line": 47, - "end_column": 29 - }, - { - "name": "statusCode", - "type": "int", - "initializer": "200", - "start_line": 49, - "start_column": 7, - "end_line": 49, - "end_column": 22 - }, - { - "name": "selectedDateStr", - "type": "java.lang.String", - "initializer": "request.getParameter(\"date\")", - "start_line": 51, - "start_column": 10, - "end_line": 51, - "end_column": 55 - }, - { - "name": "parsedDate", - "type": "boolean", - "initializer": "reservationCheckerData.setSelectedDate(selectedDateStr)", - "start_line": 52, - "start_column": 11, - "end_line": 52, - "end_column": 78 - }, - { - "name": "t1", - "type": "java.lang.Thread", - "initializer": "new Thread(new DateChecker(reservationCheckerData))", - "start_line": 59, - "start_column": 11, - "end_line": 59, - "end_column": 66 - }, - { - "name": "out", - "type": "java.io.PrintWriter", - "initializer": "response.getWriter()", - "start_line": 74, - "start_column": 15, - "end_line": 74, - "end_column": 40 - } - ], - "cyclomatic_complexity": 5 - }, - "exportRevervations(String)": { - "signature": "exportRevervations(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [], - "declaration": "protected int exportRevervations(String selectedDateStr)", - "parameters": [ - { - "type": "java.lang.String", - "name": "selectedDateStr", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n File fileToZip = IOUtils.getFileFromRelativePath(\"reservations.json\");\n String userDirectory = System.getProperty(\"user.home\");\n String zipPath = userDirectory + \"/reservations.zip\";\n FileOutputStream fos;\n try {\n fos = new FileOutputStream(zipPath);\n ZipOutputStream zipOut = new ZipOutputStream(fos);\n FileInputStream fis = new FileInputStream(fileToZip);\n ZipEntry zipEntry = new ZipEntry(fileToZip.getName());\n zipOut.putNextEntry(zipEntry);\n byte[] bytes = new byte[1024];\n int length;\n while ((length = fis.read(bytes)) >= 0) {\n zipOut.write(bytes, 0, length);\n }\n fis.close();\n zipOut.close();\n fos.close();\n // verify zip\n ZipValidator zipValidator = new ZipValidator(new File(zipPath));\n if (zipValidator.isValid()) {\n return 0;\n }\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n } catch (Throwable e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return -1;\n}", - "start_line": 90, - "end_line": 130, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.zip.ZipOutputStream", - "java.io.FileOutputStream", - "com.acme.modres.util.ZipValidator", - "java.lang.String", - "java.io.FileInputStream", - "java.util.zip.ZipEntry", - "java.io.File" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getFileFromRelativePath", - "receiver_expr": "IOUtils", - "receiver_type": "com.acme.modres.mbean.IOUtils", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.io.File", - "callee_signature": "getFileFromRelativePath(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 91, - "start_column": 20, - "end_line": 91, - "end_column": 71 - }, - { - "method_name": "getProperty", - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "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": true, - "is_constructor_call": false, - "start_line": 92, - "start_column": 26, - "end_line": 92, - "end_column": 56 - }, - { - "method_name": "getName", - "receiver_expr": "fileToZip", - "receiver_type": "java.io.File", - "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, - "start_line": 101, - "start_column": 37, - "end_line": 101, - "end_column": 55 - }, - { - "method_name": "putNextEntry", - "receiver_expr": "zipOut", - "receiver_type": "java.util.zip.ZipOutputStream", - "argument_types": [ - "java.util.zip.ZipEntry" - ], - "return_type": "", - "callee_signature": "putNextEntry(java.util.zip.ZipEntry)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 102, - "start_column": 4, - "end_line": 102, - "end_column": 32 - }, - { - "method_name": "read", - "receiver_expr": "fis", - "receiver_type": "java.io.FileInputStream", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "read(byte[])", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 106, - "start_column": 20, - "end_line": 106, - "end_column": 34 - }, - { - "method_name": "write", - "receiver_expr": "zipOut", - "receiver_type": "java.util.zip.ZipOutputStream", - "argument_types": [ - "", - "", - "" - ], - "return_type": "", - "callee_signature": "write(byte[], int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 107, - "start_column": 5, - "end_line": 107, - "end_column": 34 - }, - { - "method_name": "close", - "receiver_expr": "fis", - "receiver_type": "java.io.FileInputStream", - "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, - "start_line": 109, - "start_column": 4, - "end_line": 109, - "end_column": 14 - }, - { - "method_name": "close", - "receiver_expr": "zipOut", - "receiver_type": "java.util.zip.ZipOutputStream", - "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, - "start_line": 111, - "start_column": 4, - "end_line": 111, - "end_column": 17 - }, - { - "method_name": "close", - "receiver_expr": "fos", - "receiver_type": "java.io.FileOutputStream", - "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, - "start_line": 112, - "start_column": 4, - "end_line": 112, - "end_column": 14 - }, - { - "method_name": "isValid", - "receiver_expr": "zipValidator", - "receiver_type": "com.acme.modres.util.ZipValidator", - "argument_types": [], - "return_type": "", - "callee_signature": "isValid()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 116, - "start_column": 7, - "end_line": 116, - "end_column": 28 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "java.io.FileNotFoundException", - "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, - "start_line": 121, - "start_column": 4, - "end_line": 121, - "end_column": 22 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 124, - "start_column": 4, - "end_line": 124, - "end_column": 22 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "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, - "start_line": 127, - "start_column": 4, - "end_line": 127, - "end_column": 22 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.io.FileOutputStream", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.io.FileOutputStream", - "callee_signature": "FileOutputStream(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 97, - "start_column": 10, - "end_line": 97, - "end_column": 38 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.util.zip.ZipOutputStream", - "argument_types": [ - "java.io.FileOutputStream" - ], - "return_type": "java.util.zip.ZipOutputStream", - "callee_signature": "ZipOutputStream(java.io.OutputStream)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 98, - "start_column": 29, - "end_line": 98, - "end_column": 52 - }, - { - "method_name": "", - "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, - "start_line": 100, - "start_column": 26, - "end_line": 100, - "end_column": 55 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.util.zip.ZipEntry", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.zip.ZipEntry", - "callee_signature": "ZipEntry(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 101, - "start_column": 24, - "end_line": 101, - "end_column": 56 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.util.ZipValidator", - "argument_types": [ - "java.io.File" - ], - "return_type": "com.acme.modres.util.ZipValidator", - "callee_signature": "ZipValidator(java.io.File)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 115, - "start_column": 32, - "end_line": 115, - "end_column": 66 - }, - { - "method_name": "", - "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, - "start_line": 115, - "start_column": 49, - "end_line": 115, - "end_column": 65 - } - ], - "variable_declarations": [ - { - "name": "fileToZip", - "type": "java.io.File", - "initializer": "IOUtils.getFileFromRelativePath(\"reservations.json\")", - "start_line": 91, - "start_column": 8, - "end_line": 91, - "end_column": 71 - }, - { - "name": "userDirectory", - "type": "java.lang.String", - "initializer": "System.getProperty(\"user.home\")", - "start_line": 92, - "start_column": 10, - "end_line": 92, - "end_column": 56 - }, - { - "name": "zipPath", - "type": "java.lang.String", - "initializer": "userDirectory + \"/reservations.zip\"", - "start_line": 93, - "start_column": 10, - "end_line": 93, - "end_column": 54 - }, - { - "name": "fos", - "type": "java.io.FileOutputStream", - "initializer": "", - "start_line": 95, - "start_column": 20, - "end_line": 95, - "end_column": 22 - }, - { - "name": "zipOut", - "type": "java.util.zip.ZipOutputStream", - "initializer": "new ZipOutputStream(fos)", - "start_line": 98, - "start_column": 20, - "end_line": 98, - "end_column": 52 - }, - { - "name": "fis", - "type": "java.io.FileInputStream", - "initializer": "new FileInputStream(fileToZip)", - "start_line": 100, - "start_column": 20, - "end_line": 100, - "end_column": 55 - }, - { - "name": "zipEntry", - "type": "java.util.zip.ZipEntry", - "initializer": "new ZipEntry(fileToZip.getName())", - "start_line": 101, - "start_column": 13, - "end_line": 101, - "end_column": 56 - }, - { - "name": "bytes", - "type": "byte[]", - "initializer": "new byte[1024]", - "start_line": 104, - "start_column": 11, - "end_line": 104, - "end_column": 32 - }, - { - "name": "length", - "type": "int", - "initializer": "", - "start_line": 105, - "start_column": 8, - "end_line": 105, - "end_column": 13 - }, - { - "name": "zipValidator", - "type": "com.acme.modres.util.ZipValidator", - "initializer": "new ZipValidator(new File(zipPath))", - "start_line": 115, - "start_column": 17, - "end_line": 115, - "end_column": 66 - } - ], - "cyclomatic_complexity": 3 - }, - "init()": { - "signature": "init()", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void init()", - "parameters": [], - "code": "{\n // load reserved dates\n this.reservationCheckerData = new ReservationCheckerData(IOUtils.getReservationListFromConfig());\n}", - "start_line": 37, - "end_line": 41, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData" - ], - "accessed_fields": [ - "com.acme.modres.AvailabilityCheckerServlet.reservationCheckerData" - ], - "call_sites": [ - { - "method_name": "getReservationListFromConfig", - "receiver_expr": "IOUtils", - "receiver_type": "com.acme.modres.mbean.IOUtils", - "argument_types": [], - "return_type": "com.acme.modres.mbean.reservation.ReservationList", - "callee_signature": "getReservationListFromConfig()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 40, - "start_column": 60, - "end_line": 40, - "end_column": 97 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [ - "com.acme.modres.mbean.reservation.ReservationList" - ], - "return_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "callee_signature": "ReservationCheckerData(com.acme.modres.mbean.reservation.ReservationList)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 40, - "start_column": 33, - "end_line": 40, - "end_column": 98 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "long", - "start_line": 29, - "end_line": 29, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.util.logging.Logger", - "start_line": 31, - "end_line": 31, - "variables": [ - "logger" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "javax.naming.InitialContext", - "start_line": 33, - "end_line": 33, - "variables": [ - "context" - ], - "modifiers": [ - "private", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "start_line": 35, - "end_line": 35, - "variables": [ - "reservationCheckerData" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/util/JsonInputStream.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/util/JsonInputStream.java", - "comment": "", - "imports": [ - "java.io.BufferedReader", - "java.io.File", - "java.io.FileInputStream", - "java.io.FileNotFoundException", - "java.io.IOException", - "java.io.InputStreamReader", - "com.google.gson.Gson" - ], - "type_declarations": { - "com.acme.modres.util.JsonInputStream": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "java.io.FileInputStream" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "parseJsonAs(Class)": { - "signature": "parseJsonAs(Class)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Object parseJsonAs(Class cls)", - "parameters": [ - { - "type": "java.lang.Class", - "name": "cls", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n if (file.exists()) {\n JsonInputStream is = null;\n Object jsonObject = null;\n try {\n is = new JsonInputStream(file);\n Gson gson = new Gson();\n BufferedReader reader = new BufferedReader(new InputStreamReader(is));\n jsonObject = gson.fromJson(reader, cls);\n } catch (Exception e) {\n e.printStackTrace();\n } catch (Throwable e) {\n e.printStackTrace();\n } finally {\n if (is != null) {\n try {\n is.close();\n // test if file is closed\n is.read();\n } catch (IOException e) {\n // closed successfully\n return jsonObject;\n } catch (Throwable e) {\n e.printStackTrace();\n }\n }\n }\n }\n return null;\n}", - "start_line": 21, - "end_line": 49, - "return_type": "java.lang.Object", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.util.JsonInputStream", - "com.google.gson.Gson", - "java.lang.Object", - "java.io.BufferedReader" - ], - "accessed_fields": [ - "com.acme.modres.util.JsonInputStream.file" - ], - "call_sites": [ - { - "method_name": "exists", - "receiver_expr": "file", - "receiver_type": "java.io.File", - "argument_types": [], - "return_type": "", - "callee_signature": "exists()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 22, - "start_column": 13, - "end_line": 22, - "end_column": 25 - }, - { - "method_name": "fromJson", - "receiver_expr": "gson", - "receiver_type": "com.google.gson.Gson", - "argument_types": [ - "java.io.BufferedReader", - "java.lang.Class" - ], - "return_type": "", - "callee_signature": "fromJson(java.io.Reader, java.lang.Class)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 29, - "start_column": 30, - "end_line": 29, - "end_column": 55 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 31, - "start_column": 17, - "end_line": 31, - "end_column": 35 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "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, - "start_line": 33, - "start_column": 17, - "end_line": 33, - "end_column": 35 - }, - { - "method_name": "close", - "receiver_expr": "is", - "receiver_type": "com.acme.modres.util.JsonInputStream", - "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, - "start_line": 37, - "start_column": 25, - "end_line": 37, - "end_column": 34 - }, - { - "method_name": "read", - "receiver_expr": "is", - "receiver_type": "com.acme.modres.util.JsonInputStream", - "argument_types": [], - "return_type": "", - "callee_signature": "read()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 38, - "start_column": 25, - "end_line": 38, - "end_column": 33 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "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, - "start_line": 43, - "start_column": 25, - "end_line": 43, - "end_column": 43 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.util.JsonInputStream", - "argument_types": [ - "java.io.File" - ], - "return_type": "com.acme.modres.util.JsonInputStream", - "callee_signature": "JsonInputStream(java.io.File)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 26, - "start_column": 22, - "end_line": 26, - "end_column": 46 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.google.gson.Gson", - "argument_types": [], - "return_type": "com.google.gson.Gson", - "callee_signature": "Gson()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 27, - "start_column": 29, - "end_line": 27, - "end_column": 38 - }, - { - "method_name": "", - "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, - "start_line": 28, - "start_column": 41, - "end_line": 28, - "end_column": 85 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.io.InputStreamReader", - "argument_types": [ - "com.acme.modres.util.JsonInputStream" - ], - "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, - "start_line": 28, - "start_column": 60, - "end_line": 28, - "end_column": 84 - } - ], - "variable_declarations": [ - { - "name": "is", - "type": "com.acme.modres.util.JsonInputStream", - "initializer": "null", - "start_line": 23, - "start_column": 29, - "end_line": 23, - "end_column": 37 - }, - { - "name": "jsonObject", - "type": "java.lang.Object", - "initializer": "null", - "start_line": 24, - "start_column": 20, - "end_line": 24, - "end_column": 36 - }, - { - "name": "gson", - "type": "com.google.gson.Gson", - "initializer": "new Gson()", - "start_line": 27, - "start_column": 22, - "end_line": 27, - "end_column": 38 - }, - { - "name": "reader", - "type": "java.io.BufferedReader", - "initializer": "new BufferedReader(new InputStreamReader(is))", - "start_line": 28, - "start_column": 32, - "end_line": 28, - "end_column": 85 - } - ], - "cyclomatic_complexity": 6 - }, - "(File)": { - "signature": "JsonInputStream(File)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.io.FileNotFoundException" - ], - "declaration": "public JsonInputStream(File file) throws FileNotFoundException", - "parameters": [ - { - "type": "java.io.File", - "name": "file", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n super(file);\n this.file = file;\n}", - "start_line": 16, - "end_line": 19, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.io.File" - ], - "accessed_fields": [ - "com.acme.modres.util.JsonInputStream.file" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.io.File", - "start_line": 14, - "end_line": 14, - "variables": [ - "file" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/ReservationList.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/ReservationList.java", - "comment": "", - "imports": [ - "java.util.ArrayList", - "java.util.List" - ], - "type_declarations": { - "com.acme.modres.mbean.reservation.ReservationList": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "add(Reservation)": { - "signature": "add(Reservation)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void add(Reservation reservation)", - "parameters": [ - { - "type": "com.acme.modres.mbean.reservation.Reservation", - "name": "reservation", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n reservations.add(reservation);\n}", - "start_line": 18, - "end_line": 20, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationList.reservations" - ], - "call_sites": [ - { - "method_name": "add", - "receiver_expr": "reservations", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.reservation.Reservation" - ], - "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, - "start_line": 19, - "start_column": 3, - "end_line": 19, - "end_column": 31 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "()": { - "signature": "ReservationList()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ReservationList()", - "parameters": [], - "code": "{\n}", - "start_line": 10, - "end_line": 12, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "(List)": { - "signature": "ReservationList(List)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ReservationList(List reservations)", - "parameters": [ - { - "type": "java.util.List", - "name": "reservations", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.reservations = reservations;\n}", - "start_line": 14, - "end_line": 16, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.util.List" - ], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationList.reservations" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 0 - }, - "getReservations()": { - "signature": "getReservations()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public List getReservations()", - "parameters": [], - "code": "{\n return reservations;\n}", - "start_line": 22, - "end_line": 24, - "return_type": "java.util.List", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationList.reservations" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.util.List", - "start_line": 8, - "end_line": 8, - "variables": [ - "reservations" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/WelcomeServlet.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/WelcomeServlet.java", - "comment": "", - "imports": [ - "java.io.IOException", - "java.io.PrintWriter", - "javax.servlet.ServletException", - "javax.servlet.annotation.WebServlet", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "com.ibm.websphere.servlet.filter.ServletChain" - ], - "type_declarations": { - "com.acme.modres.WelcomeServlet": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "javax.servlet.http.HttpServlet" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@WebServlet(\"/resorts/welcome\")" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "doGet(HttpServletRequest, HttpServletResponse)": { - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n response.setContentType(\"text/plain\");\n ServletChain servletChain = new ServletChain();\n servletChain.addRequestDispatcher(request.getRequestDispatcher(\"/first\"));\n servletChain.addRequestDispatcher(request.getRequestDispatcher(\"/second\"));\n servletChain.include(request, response);\n PrintWriter out = response.getWriter();\n out.println(\" Enjoy!\");\n}", - "start_line": 19, - "end_line": 30, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintWriter", - "com.ibm.websphere.servlet.filter.ServletChain" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setContentType", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 21, - "start_column": 3, - "end_line": 21, - "end_column": 39 - }, - { - "method_name": "addRequestDispatcher", - "receiver_expr": "servletChain", - "receiver_type": "com.ibm.websphere.servlet.filter.ServletChain", - "argument_types": [ - "javax.servlet.RequestDispatcher" - ], - "return_type": "", - "callee_signature": "addRequestDispatcher(javax.servlet.RequestDispatcher)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 24, - "start_column": 3, - "end_line": 24, - "end_column": 75 - }, - { - "method_name": "getRequestDispatcher", - "receiver_expr": "request", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "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, - "start_line": 24, - "start_column": 37, - "end_line": 24, - "end_column": 74 - }, - { - "method_name": "addRequestDispatcher", - "receiver_expr": "servletChain", - "receiver_type": "com.ibm.websphere.servlet.filter.ServletChain", - "argument_types": [ - "javax.servlet.RequestDispatcher" - ], - "return_type": "", - "callee_signature": "addRequestDispatcher(javax.servlet.RequestDispatcher)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 25, - "start_column": 3, - "end_line": 25, - "end_column": 76 - }, - { - "method_name": "getRequestDispatcher", - "receiver_expr": "request", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "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, - "start_line": 25, - "start_column": 37, - "end_line": 25, - "end_column": 75 - }, - { - "method_name": "include", - "receiver_expr": "servletChain", - "receiver_type": "com.ibm.websphere.servlet.filter.ServletChain", - "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, - "start_line": 26, - "start_column": 3, - "end_line": 26, - "end_column": 41 - }, - { - "method_name": "getWriter", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [], - "return_type": "java.io.PrintWriter", - "callee_signature": "getWriter()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 28, - "start_column": 21, - "end_line": 28, - "end_column": 40 - }, - { - "method_name": "println", - "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, - "start_line": 29, - "start_column": 9, - "end_line": 29, - "end_column": 30 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.servlet.filter.ServletChain", - "argument_types": [], - "return_type": "com.ibm.websphere.servlet.filter.ServletChain", - "callee_signature": "ServletChain()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 23, - "start_column": 31, - "end_line": 23, - "end_column": 48 - } - ], - "variable_declarations": [ - { - "name": "servletChain", - "type": "com.ibm.websphere.servlet.filter.ServletChain", - "initializer": "new ServletChain()", - "start_line": 23, - "start_column": 16, - "end_line": 23, - "end_column": 48 - }, - { - "name": "out", - "type": "java.io.PrintWriter", - "initializer": "response.getWriter()", - "start_line": 28, - "start_column": 15, - "end_line": 28, - "end_column": 40 - } - ], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "long", - "start_line": 17, - "end_line": 17, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/Constants.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/Constants.java", - "comment": "", - "imports": [], - "type_declarations": { - "com.acme.modres.Constants": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": {}, - "field_declarations": [ - { - "comment": "", - "type": "java.lang.String", - "start_line": 5, - "end_line": 5, - "variables": [ - "BARCELONA" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 6, - "end_line": 6, - "variables": [ - "CORK" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 7, - "end_line": 7, - "variables": [ - "MIAMI" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 8, - "end_line": 8, - "variables": [ - "SAN_FRANCISCO" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 9, - "end_line": 9, - "variables": [ - "PARIS" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 10, - "end_line": 10, - "variables": [ - "LAS_VEGAS" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String[]", - "start_line": 12, - "end_line": 12, - "variables": [ - "SUPPORTED_CITIES" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 21, - "end_line": 21, - "variables": [ - "BACELONA_WEATHER_FILE" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 22, - "end_line": 22, - "variables": [ - "CORK_WEATHER_FILE" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 23, - "end_line": 23, - "variables": [ - "LAS_VEGAS_WEATHER_FILE" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 24, - "end_line": 24, - "variables": [ - "MIAMI_WEATHER_FILE" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 25, - "end_line": 25, - "variables": [ - "PARIS_WEATHER_FILE" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 26, - "end_line": 26, - "variables": [ - "SAN_FRANCESCO_WEATHER_FILE" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "// constants used to construct Weather Underground API", - "type": "java.lang.String", - "start_line": 29, - "end_line": 29, - "variables": [ - "WUNDERGROUND_API_PREFIX" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 30, - "end_line": 30, - "variables": [ - "WUNDERGROUND_API_PART" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 32, - "end_line": 32, - "variables": [ - "DATA_FORMAT" - ], - "modifiers": [ - "public", - "final", - "static" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/WeatherServlet.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/WeatherServlet.java", - "comment": "", - "imports": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "com.acme.modres.exception.ExceptionHandler", - "com.acme.modres.mbean.AppInfo", - "java.io.BufferedReader", - "java.io.IOException", - "java.io.InputStreamReader", - "java.lang.management.ManagementFactory", - "java.net.HttpURLConnection", - "java.net.MalformedURLException", - "java.net.ProtocolException", - "java.net.URL", - "java.util.Hashtable", - "java.util.logging.Level", - "java.util.logging.Logger", - "javax.servlet.ServletException", - "javax.servlet.ServletOutputStream", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "javax.inject.Inject", - "javax.management.InstanceAlreadyExistsException", - "javax.management.InstanceNotFoundException", - "javax.management.IntrospectionException", - "javax.management.MBeanInfo", - "javax.management.MBeanRegistrationException", - "javax.management.MBeanServer", - "javax.management.MalformedObjectNameException", - "javax.management.NotCompliantMBeanException", - "javax.management.ObjectInstance", - "javax.management.ObjectName", - "javax.management.ReflectionException", - "javax.naming.InitialContext", - "javax.naming.NamingException", - "javax.servlet.annotation.WebServlet" - ], - "type_declarations": { - "com.acme.modres.WeatherServlet": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "javax.servlet.http.HttpServlet" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@WebServlet({ \"/resorts/weather\" })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "destroy()": { - "signature": "destroy()", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void destroy()", - "parameters": [], - "code": "{\n if (mbean != null) {\n try {\n server.unregisterMBean(weatherON);\n } catch (MBeanRegistrationException | InstanceNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n}", - "start_line": 83, - "end_line": 93, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.WeatherServlet.weatherON", - "com.acme.modres.WeatherServlet.server", - "com.acme.modres.WeatherServlet.mbean" - ], - "call_sites": [ - { - "method_name": "unregisterMBean", - "receiver_expr": "server", - "receiver_type": "javax.management.MBeanServer", - "argument_types": [ - "javax.management.ObjectName" - ], - "return_type": "", - "callee_signature": "unregisterMBean(javax.management.ObjectName)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 87, - "start_column": 5, - "end_line": 87, - "end_column": 37 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "javax.management.MBeanRegistrationException", - "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, - "start_line": 90, - "start_column": 5, - "end_line": 90, - "end_column": 23 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 2 - }, - "getRealTimeWeatherData(String, String, HttpServletResponse)": { - "signature": "getRealTimeWeatherData(String, String, HttpServletResponse)", - "comment": "", - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "private void getRealTimeWeatherData(String city, String apiKey, HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "java.lang.String", - "name": "city", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.String", - "name": "apiKey", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n String resturl = null;\n String resturlbase = Constants.WUNDERGROUND_API_PREFIX + apiKey + Constants.WUNDERGROUND_API_PART;\n if (Constants.PARIS.equals(city)) {\n resturl = resturlbase + \"France/Paris.json\";\n } else if (Constants.LAS_VEGAS.equals(city)) {\n resturl = resturlbase + \"NV/Las_Vegas.json\";\n } else if (Constants.SAN_FRANCISCO.equals(city)) {\n resturl = resturlbase + \"/CA/San_Francisco.json\";\n } else if (Constants.MIAMI.equals(city)) {\n resturl = resturlbase + \"FL/Miami.json\";\n } else if (Constants.CORK.equals(city)) {\n resturl = resturlbase + \"ireland/cork.json\";\n } else if (Constants.BARCELONA.equals(city)) {\n resturl = resturlbase + \"Spain/Barcelona.json\";\n } else {\n String errorMsg = \"Sorry, the weather information for your selected city: \" + city + \" is not available. Valid selections are: \" + Constants.SUPPORTED_CITIES;\n ExceptionHandler.handleException(null, errorMsg, logger);\n }\n URL obj = null;\n HttpURLConnection con = null;\n try {\n obj = new URL(resturl);\n con = (HttpURLConnection) obj.openConnection();\n con.setRequestMethod(\"GET\");\n } catch (MalformedURLException e1) {\n String errorMsg = \"Caught MalformedURLException. Please make sure the url is correct.\";\n ExceptionHandler.handleException(e1, errorMsg, logger);\n } catch (ProtocolException e2) {\n String errorMsg = \"Caught ProtocolException: \" + e2.getMessage() + \". Not able to set request method to http connection.\";\n ExceptionHandler.handleException(e2, errorMsg, logger);\n } catch (IOException e3) {\n String errorMsg = \"Caught IOException: \" + e3.getMessage() + \". Not able to open connection.\";\n ExceptionHandler.handleException(e3, errorMsg, logger);\n }\n int responseCode = con.getResponseCode();\n logger.log(Level.FINEST, \"Response Code: \" + responseCode);\n if (responseCode >= 200 && responseCode < 300) {\n BufferedReader in = null;\n ServletOutputStream out = null;\n try {\n in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n String inputLine = null;\n StringBuffer responseStr = new StringBuffer();\n while ((inputLine = in.readLine()) != null) {\n responseStr.append(inputLine);\n }\n response.setContentType(\"application/json\");\n out = response.getOutputStream();\n out.print(responseStr.toString());\n logger.log(Level.FINE, \"responseStr: \" + responseStr);\n } catch (Exception e) {\n String errorMsg = \"Problem occured when processing the weather server response.\";\n ExceptionHandler.handleException(e, errorMsg, logger);\n } finally {\n if (in != null) {\n in.close();\n }\n if (out != null) {\n out.close();\n }\n in = null;\n out = null;\n }\n } else {\n String errorMsg = \"REST API call \" + resturl + \" returns an error response: \" + responseCode;\n ExceptionHandler.handleException(null, errorMsg, logger);\n }\n}", - "start_line": 125, - "end_line": 203, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.net.HttpURLConnection", - "javax.servlet.ServletOutputStream", - "java.net.URL", - "java.lang.StringBuffer", - "java.lang.String", - "java.io.BufferedReader", - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.acme.modres.WeatherServlet.logger", - "com.acme.modres.Constants.BARCELONA", - "com.acme.modres.Constants.CORK", - "com.acme.modres.Constants.WUNDERGROUND_API_PREFIX", - "com.acme.modres.Constants.PARIS", - "com.acme.modres.Constants.LAS_VEGAS", - "com.acme.modres.Constants.MIAMI", - "com.acme.modres.Constants.SUPPORTED_CITIES", - "com.acme.modres.Constants.SAN_FRANCISCO", - "com.acme.modres.Constants.WUNDERGROUND_API_PART", - "java.util.logging.Level.FINEST", - "java.util.logging.Level.FINE" - ], - "call_sites": [ - { - "method_name": "equals", - "receiver_expr": "Constants.PARIS", - "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, - "start_line": 130, - "start_column": 10, - "end_line": 130, - "end_column": 37 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.LAS_VEGAS", - "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, - "start_line": 132, - "start_column": 21, - "end_line": 132, - "end_column": 52 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.SAN_FRANCISCO", - "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, - "start_line": 134, - "start_column": 21, - "end_line": 134, - "end_column": 56 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.MIAMI", - "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, - "start_line": 136, - "start_column": 21, - "end_line": 136, - "end_column": 48 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.CORK", - "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, - "start_line": 138, - "start_column": 21, - "end_line": 138, - "end_column": 47 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.BARCELONA", - "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, - "start_line": 140, - "start_column": 21, - "end_line": 140, - "end_column": 52 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 145, - "start_column": 4, - "end_line": 145, - "end_column": 59 - }, - { - "method_name": "openConnection", - "receiver_expr": "obj", - "receiver_type": "java.net.URL", - "argument_types": [], - "return_type": "java.net.HttpURLConnection", - "callee_signature": "openConnection()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 152, - "start_column": 30, - "end_line": 152, - "end_column": 49 - }, - { - "method_name": "setRequestMethod", - "receiver_expr": "con", - "receiver_type": "java.net.HttpURLConnection", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setRequestMethod(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 153, - "start_column": 4, - "end_line": 153, - "end_column": 30 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.net.MalformedURLException", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 156, - "start_column": 4, - "end_line": 156, - "end_column": 57 - }, - { - "method_name": "getMessage", - "receiver_expr": "e2", - "receiver_type": "java.net.ProtocolException", - "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, - "start_line": 158, - "start_column": 53, - "end_line": 158, - "end_column": 67 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.net.ProtocolException", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 159, - "start_column": 4, - "end_line": 159, - "end_column": 57 - }, - { - "method_name": "getMessage", - "receiver_expr": "e3", - "receiver_type": "java.io.IOException", - "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, - "start_line": 161, - "start_column": 47, - "end_line": 161, - "end_column": 61 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.io.IOException", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 162, - "start_column": 4, - "end_line": 162, - "end_column": 57 - }, - { - "method_name": "getResponseCode", - "receiver_expr": "con", - "receiver_type": "java.net.HttpURLConnection", - "argument_types": [], - "return_type": "", - "callee_signature": "getResponseCode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 165, - "start_column": 22, - "end_line": 165, - "end_column": 42 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 166, - "start_column": 3, - "end_line": 166, - "end_column": 60 - }, - { - "method_name": "getInputStream", - "receiver_expr": "con", - "receiver_type": "java.net.HttpURLConnection", - "argument_types": [], - "return_type": "java.io.InputStream", - "callee_signature": "getInputStream()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 174, - "start_column": 51, - "end_line": 174, - "end_column": 70 - }, - { - "method_name": "readLine", - "receiver_expr": "in", - "receiver_type": "java.io.BufferedReader", - "argument_types": [], - "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, - "start_line": 178, - "start_column": 25, - "end_line": 178, - "end_column": 37 - }, - { - "method_name": "append", - "receiver_expr": "responseStr", - "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, - "start_line": 179, - "start_column": 6, - "end_line": 179, - "end_column": 34 - }, - { - "method_name": "setContentType", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 182, - "start_column": 5, - "end_line": 182, - "end_column": 47 - }, - { - "method_name": "getOutputStream", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "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, - "start_line": 183, - "start_column": 11, - "end_line": 183, - "end_column": 36 - }, - { - "method_name": "print", - "receiver_expr": "out", - "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, - "start_line": 184, - "start_column": 5, - "end_line": 184, - "end_column": 37 - }, - { - "method_name": "toString", - "receiver_expr": "responseStr", - "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, - "start_line": 184, - "start_column": 15, - "end_line": 184, - "end_column": 36 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 185, - "start_column": 5, - "end_line": 185, - "end_column": 57 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.lang.Exception", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 188, - "start_column": 5, - "end_line": 188, - "end_column": 57 - }, - { - "method_name": "close", - "receiver_expr": "in", - "receiver_type": "java.io.BufferedReader", - "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, - "start_line": 191, - "start_column": 6, - "end_line": 191, - "end_column": 15 - }, - { - "method_name": "close", - "receiver_expr": "out", - "receiver_type": "javax.servlet.ServletOutputStream", - "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, - "start_line": 194, - "start_column": 6, - "end_line": 194, - "end_column": 16 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 201, - "start_column": 4, - "end_line": 201, - "end_column": 59 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.net.URL", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.net.URL", - "callee_signature": "URL(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 151, - "start_column": 10, - "end_line": 151, - "end_column": 25 - }, - { - "method_name": "", - "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, - "start_line": 174, - "start_column": 10, - "end_line": 174, - "end_column": 72 - }, - { - "method_name": "", - "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, - "start_line": 174, - "start_column": 29, - "end_line": 174, - "end_column": 71 - }, - { - "method_name": "", - "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, - "start_line": 176, - "start_column": 32, - "end_line": 176, - "end_column": 49 - } - ], - "variable_declarations": [ - { - "name": "resturl", - "type": "java.lang.String", - "initializer": "null", - "start_line": 127, - "start_column": 10, - "end_line": 127, - "end_column": 23 - }, - { - "name": "resturlbase", - "type": "java.lang.String", - "initializer": "Constants.WUNDERGROUND_API_PREFIX + apiKey + Constants.WUNDERGROUND_API_PART", - "start_line": 128, - "start_column": 10, - "end_line": 128, - "end_column": 99 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Sorry, the weather information for your selected city: \" + city + \" is not available. Valid selections are: \" + Constants.SUPPORTED_CITIES", - "start_line": 143, - "start_column": 11, - "end_line": 144, - "end_column": 78 - }, - { - "name": "obj", - "type": "java.net.URL", - "initializer": "null", - "start_line": 148, - "start_column": 7, - "end_line": 148, - "end_column": 16 - }, - { - "name": "con", - "type": "java.net.HttpURLConnection", - "initializer": "null", - "start_line": 149, - "start_column": 21, - "end_line": 149, - "end_column": 30 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Caught MalformedURLException. Please make sure the url is correct.\"", - "start_line": 155, - "start_column": 11, - "end_line": 155, - "end_column": 89 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Caught ProtocolException: \" + e2.getMessage() + \". Not able to set request method to http connection.\"", - "start_line": 158, - "start_column": 11, - "end_line": 158, - "end_column": 124 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Caught IOException: \" + e3.getMessage() + \". Not able to open connection.\"", - "start_line": 161, - "start_column": 11, - "end_line": 161, - "end_column": 96 - }, - { - "name": "responseCode", - "type": "int", - "initializer": "con.getResponseCode()", - "start_line": 165, - "start_column": 7, - "end_line": 165, - "end_column": 42 - }, - { - "name": "in", - "type": "java.io.BufferedReader", - "initializer": "null", - "start_line": 170, - "start_column": 19, - "end_line": 170, - "end_column": 27 - }, - { - "name": "out", - "type": "javax.servlet.ServletOutputStream", - "initializer": "null", - "start_line": 171, - "start_column": 24, - "end_line": 171, - "end_column": 33 - }, - { - "name": "inputLine", - "type": "java.lang.String", - "initializer": "null", - "start_line": 175, - "start_column": 12, - "end_line": 175, - "end_column": 27 - }, - { - "name": "responseStr", - "type": "java.lang.StringBuffer", - "initializer": "new StringBuffer()", - "start_line": 176, - "start_column": 18, - "end_line": 176, - "end_column": 49 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Problem occured when processing the weather server response.\"", - "start_line": 187, - "start_column": 12, - "end_line": 187, - "end_column": 84 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"REST API call \" + resturl + \" returns an error response: \" + responseCode", - "start_line": 200, - "start_column": 11, - "end_line": 200, - "end_column": 95 - } - ], - "cyclomatic_complexity": 16 - }, - "doPost(HttpServletRequest, HttpServletResponse)": { - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "comment": "/**\n\t * Returns the weather information for a given city\n\t */", - "annotations": [], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n doGet(request, response);\n}", - "start_line": 239, - "end_line": 243, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "doGet", - "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": false, - "is_protected": true, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 242, - "start_column": 3, - "end_line": 242, - "end_column": 26 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setInitialContextProps()": { - "signature": "setInitialContextProps()", - "comment": "", - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private InitialContext setInitialContextProps()", - "parameters": [], - "code": "{\n Hashtable ht = new Hashtable();\n ht.put(\"java.naming.factory.initial\", \"com.ibm.websphere.naming.WsnInitialContextFactory\");\n ht.put(\"java.naming.provider.url\", \"corbaloc:iiop:localhost:2809\");\n InitialContext ctx = null;\n try {\n ctx = new InitialContext(ht);\n } catch (NamingException e) {\n e.printStackTrace();\n }\n return ctx;\n}", - "start_line": 263, - "end_line": 278, - "return_type": "javax.naming.InitialContext", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.naming.InitialContext", - "java.util.Hashtable" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "put", - "receiver_expr": "ht", - "receiver_type": "java.util.Hashtable", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "java.lang.String", - "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, - "start_line": 267, - "start_column": 3, - "end_line": 267, - "end_column": 92 - }, - { - "method_name": "put", - "receiver_expr": "ht", - "receiver_type": "java.util.Hashtable", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "java.lang.String", - "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, - "start_line": 268, - "start_column": 3, - "end_line": 268, - "end_column": 68 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "javax.naming.NamingException", - "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, - "start_line": 274, - "start_column": 4, - "end_line": 274, - "end_column": 22 - }, - { - "method_name": "", - "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, - "start_line": 265, - "start_column": 18, - "end_line": 265, - "end_column": 32 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "javax.naming.InitialContext", - "argument_types": [ - "java.util.Hashtable" - ], - "return_type": "javax.naming.InitialContext", - "callee_signature": "InitialContext(java.util.Hashtable)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 272, - "start_column": 10, - "end_line": 272, - "end_column": 31 - } - ], - "variable_declarations": [ - { - "name": "ht", - "type": "java.util.Hashtable", - "initializer": "new Hashtable()", - "start_line": 265, - "start_column": 13, - "end_line": 265, - "end_column": 32 - }, - { - "name": "ctx", - "type": "javax.naming.InitialContext", - "initializer": "null", - "start_line": 270, - "start_column": 18, - "end_line": 270, - "end_column": 27 - } - ], - "cyclomatic_complexity": 1 - }, - "mockKey(String)": { - "signature": "mockKey(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "private", - "static" - ], - "thrown_exceptions": [], - "declaration": "private static String mockKey(String toBeMocked)", - "parameters": [ - { - "type": "java.lang.String", - "name": "toBeMocked", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n if (toBeMocked == null) {\n return null;\n }\n String lastToKeep = toBeMocked.substring(toBeMocked.length() - 3);\n return \"*********\" + lastToKeep;\n}", - "start_line": 245, - "end_line": 251, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "substring", - "receiver_expr": "toBeMocked", - "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, - "start_line": 249, - "start_column": 23, - "end_line": 249, - "end_column": 65 - }, - { - "method_name": "length", - "receiver_expr": "toBeMocked", - "receiver_type": "java.lang.String", - "argument_types": [], - "return_type": "", - "callee_signature": "length()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 249, - "start_column": 44, - "end_line": 249, - "end_column": 62 - } - ], - "variable_declarations": [ - { - "name": "lastToKeep", - "type": "java.lang.String", - "initializer": "toBeMocked.substring(toBeMocked.length() - 3)", - "start_line": 249, - "start_column": 10, - "end_line": 249, - "end_column": 65 - } - ], - "cyclomatic_complexity": 2 - }, - "doGet(HttpServletRequest, HttpServletResponse)": { - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "java.io.IOException", - "javax.servlet.ServletException" - ], - "declaration": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n String methodName = \"doGet\";\n logger.entering(WeatherServlet.class.getName(), methodName);\n try {\n MBeanInfo weatherConfig = server.getMBeanInfo(weatherON);\n } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) {\n e.printStackTrace();\n }\n String city = request.getParameter(\"selectedCity\");\n logger.log(Level.FINE, \"requested city is \" + city);\n String weatherAPIKey = System.getenv(WEATHER_API_KEY);\n String mockedKey = mockKey(weatherAPIKey);\n logger.log(Level.FINE, \"weatherAPIKey is \" + mockedKey);\n if (weatherAPIKey != null && weatherAPIKey.trim().length() > 0) {\n logger.info(\"weatherAPIKey is found, system will provide the real time weather data for the city \" + city);\n getRealTimeWeatherData(city, weatherAPIKey, response);\n } else {\n logger.info(\"weatherAPIKey is not found, will provide the weather data dated August 10th, 2018 for the city \" + city);\n getDefaultWeatherData(city, response);\n }\n}", - "start_line": 95, - "end_line": 123, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "javax.management.MBeanInfo", - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.acme.modres.WeatherServlet.logger", - "com.acme.modres.WeatherServlet.weatherON", - "com.acme.modres.WeatherServlet.WEATHER_API_KEY", - "com.acme.modres.WeatherServlet.server", - "java.util.logging.Level.FINE" - ], - "call_sites": [ - { - "method_name": "entering", - "receiver_expr": "logger", - "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, - "start_line": 101, - "start_column": 3, - "end_line": 101, - "end_column": 61 - }, - { - "method_name": "getName", - "receiver_expr": "WeatherServlet.class", - "receiver_type": "java.lang.Class", - "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, - "start_line": 101, - "start_column": 19, - "end_line": 101, - "end_column": 48 - }, - { - "method_name": "getMBeanInfo", - "receiver_expr": "server", - "receiver_type": "javax.management.MBeanServer", - "argument_types": [ - "javax.management.ObjectName" - ], - "return_type": "javax.management.MBeanInfo", - "callee_signature": "getMBeanInfo(javax.management.ObjectName)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 104, - "start_column": 30, - "end_line": 104, - "end_column": 59 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "javax.management.IntrospectionException", - "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, - "start_line": 106, - "start_column": 4, - "end_line": 106, - "end_column": 22 - }, - { - "method_name": "getParameter", - "receiver_expr": "request", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 109, - "start_column": 17, - "end_line": 109, - "end_column": 52 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 110, - "start_column": 3, - "end_line": 110, - "end_column": 53 - }, - { - "method_name": "getenv", - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "getenv(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 112, - "start_column": 26, - "end_line": 112, - "end_column": 55 - }, - { - "method_name": "mockKey", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "mockKey(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 113, - "start_column": 22, - "end_line": 113, - "end_column": 43 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 114, - "start_column": 3, - "end_line": 114, - "end_column": 57 - }, - { - "method_name": "length", - "receiver_expr": "weatherAPIKey.trim()", - "receiver_type": "java.lang.String", - "argument_types": [], - "return_type": "", - "callee_signature": "length()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 116, - "start_column": 32, - "end_line": 116, - "end_column": 60 - }, - { - "method_name": "trim", - "receiver_expr": "weatherAPIKey", - "receiver_type": "java.lang.String", - "argument_types": [], - "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, - "start_line": 116, - "start_column": 32, - "end_line": 116, - "end_column": 51 - }, - { - "method_name": "info", - "receiver_expr": "logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "info(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 117, - "start_column": 4, - "end_line": 117, - "end_column": 109 - }, - { - "method_name": "getRealTimeWeatherData", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "javax.servlet.http.HttpServletResponse" - ], - "return_type": "", - "callee_signature": "getRealTimeWeatherData(java.lang.String, java.lang.String, javax.servlet.http.HttpServletResponse)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 118, - "start_column": 4, - "end_line": 118, - "end_column": 56 - }, - { - "method_name": "info", - "receiver_expr": "logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "info(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 120, - "start_column": 4, - "end_line": 120, - "end_column": 120 - }, - { - "method_name": "getDefaultWeatherData", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "javax.servlet.http.HttpServletResponse" - ], - "return_type": "", - "callee_signature": "getDefaultWeatherData(java.lang.String, javax.servlet.http.HttpServletResponse)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 121, - "start_column": 4, - "end_line": 121, - "end_column": 40 - } - ], - "variable_declarations": [ - { - "name": "methodName", - "type": "java.lang.String", - "initializer": "\"doGet\"", - "start_line": 100, - "start_column": 16, - "end_line": 100, - "end_column": 35 - }, - { - "name": "weatherConfig", - "type": "javax.management.MBeanInfo", - "initializer": "server.getMBeanInfo(weatherON)", - "start_line": 104, - "start_column": 14, - "end_line": 104, - "end_column": 59 - }, - { - "name": "city", - "type": "java.lang.String", - "initializer": "request.getParameter(\"selectedCity\")", - "start_line": 109, - "start_column": 10, - "end_line": 109, - "end_column": 52 - }, - { - "name": "weatherAPIKey", - "type": "java.lang.String", - "initializer": "System.getenv(WEATHER_API_KEY)", - "start_line": 112, - "start_column": 10, - "end_line": 112, - "end_column": 55 - }, - { - "name": "mockedKey", - "type": "java.lang.String", - "initializer": "mockKey(weatherAPIKey)", - "start_line": 113, - "start_column": 10, - "end_line": 113, - "end_column": 43 - } - ], - "cyclomatic_complexity": 3 - }, - "getDefaultWeatherData(String, HttpServletResponse)": { - "signature": "getDefaultWeatherData(String, HttpServletResponse)", - "comment": "", - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "private void getDefaultWeatherData(String city, HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "java.lang.String", - "name": "city", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n DefaultWeatherData defaultWeatherData = null;\n try {\n defaultWeatherData = new DefaultWeatherData(city);\n } catch (UnsupportedOperationException e) {\n ExceptionHandler.handleException(e, e.getMessage(), logger);\n }\n ServletOutputStream out = null;\n try {\n String responseStr = defaultWeatherData.getDefaultWeatherData();\n response.setContentType(\"application/json\");\n out = response.getOutputStream();\n out.print(responseStr.toString());\n logger.log(Level.FINEST, \"responseStr: \" + responseStr);\n } catch (Exception e) {\n String errorMsg = \"Problem occured when getting the default weather data.\";\n ExceptionHandler.handleException(e, errorMsg, logger);\n } finally {\n if (out != null) {\n out.close();\n }\n out = null;\n }\n}", - "start_line": 205, - "end_line": 234, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.servlet.ServletOutputStream", - "com.acme.modres.DefaultWeatherData", - "java.lang.String", - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.acme.modres.WeatherServlet.logger", - "java.util.logging.Level.FINEST" - ], - "call_sites": [ - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.lang.UnsupportedOperationException", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 212, - "start_column": 4, - "end_line": 212, - "end_column": 62 - }, - { - "method_name": "getMessage", - "receiver_expr": "e", - "receiver_type": "java.lang.UnsupportedOperationException", - "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, - "start_line": 212, - "start_column": 40, - "end_line": 212, - "end_column": 53 - }, - { - "method_name": "getDefaultWeatherData", - "receiver_expr": "defaultWeatherData", - "receiver_type": "com.acme.modres.DefaultWeatherData", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getDefaultWeatherData()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 218, - "start_column": 25, - "end_line": 218, - "end_column": 66 - }, - { - "method_name": "setContentType", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 219, - "start_column": 4, - "end_line": 219, - "end_column": 46 - }, - { - "method_name": "getOutputStream", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "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, - "start_line": 220, - "start_column": 10, - "end_line": 220, - "end_column": 35 - }, - { - "method_name": "print", - "receiver_expr": "out", - "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, - "start_line": 221, - "start_column": 4, - "end_line": 221, - "end_column": 36 - }, - { - "method_name": "toString", - "receiver_expr": "responseStr", - "receiver_type": "java.lang.String", - "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, - "start_line": 221, - "start_column": 14, - "end_line": 221, - "end_column": 35 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 222, - "start_column": 4, - "end_line": 222, - "end_column": 58 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.lang.Exception", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 225, - "start_column": 5, - "end_line": 225, - "end_column": 57 - }, - { - "method_name": "close", - "receiver_expr": "out", - "receiver_type": "javax.servlet.ServletOutputStream", - "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, - "start_line": 229, - "start_column": 5, - "end_line": 229, - "end_column": 15 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.DefaultWeatherData", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.acme.modres.DefaultWeatherData", - "callee_signature": "DefaultWeatherData(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 210, - "start_column": 25, - "end_line": 210, - "end_column": 52 - } - ], - "variable_declarations": [ - { - "name": "defaultWeatherData", - "type": "com.acme.modres.DefaultWeatherData", - "initializer": "null", - "start_line": 207, - "start_column": 22, - "end_line": 207, - "end_column": 46 - }, - { - "name": "out", - "type": "javax.servlet.ServletOutputStream", - "initializer": "null", - "start_line": 215, - "start_column": 23, - "end_line": 215, - "end_column": 32 - }, - { - "name": "responseStr", - "type": "java.lang.String", - "initializer": "defaultWeatherData.getDefaultWeatherData()", - "start_line": 218, - "start_column": 11, - "end_line": 218, - "end_column": 66 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Problem occured when getting the default weather data.\"", - "start_line": 224, - "start_column": 12, - "end_line": 224, - "end_column": 78 - } - ], - "cyclomatic_complexity": 4 - }, - "init()": { - "signature": "init()", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void init()", - "parameters": [], - "code": "{\n server = ManagementFactory.getPlatformMBeanServer();\n try {\n weatherON = new ObjectName(\"com.acme.modres.mbean:name=appInfo\");\n } catch (MalformedObjectNameException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n try {\n if (weatherON != null) {\n mbean = server.registerMBean(new AppInfo(), weatherON);\n }\n } catch (InstanceAlreadyExistsException | MBeanRegistrationException | NotCompliantMBeanException e) {\n e.printStackTrace();\n }\n context = setInitialContextProps();\n}", - "start_line": 64, - "end_line": 81, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.WeatherServlet.context", - "com.acme.modres.WeatherServlet.weatherON", - "com.acme.modres.WeatherServlet.server", - "com.acme.modres.WeatherServlet.mbean" - ], - "call_sites": [ - { - "method_name": "getPlatformMBeanServer", - "receiver_expr": "ManagementFactory", - "receiver_type": "java.lang.management.ManagementFactory", - "argument_types": [], - "return_type": "javax.management.MBeanServer", - "callee_signature": "getPlatformMBeanServer()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 66, - "start_column": 12, - "end_line": 66, - "end_column": 53 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "javax.management.MalformedObjectNameException", - "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, - "start_line": 71, - "start_column": 4, - "end_line": 71, - "end_column": 22 - }, - { - "method_name": "registerMBean", - "receiver_expr": "server", - "receiver_type": "javax.management.MBeanServer", - "argument_types": [ - "com.acme.modres.mbean.AppInfo", - "javax.management.ObjectName" - ], - "return_type": "javax.management.ObjectInstance", - "callee_signature": "registerMBean(java.lang.Object, javax.management.ObjectName)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 75, - "start_column": 13, - "end_line": 75, - "end_column": 58 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "javax.management.InstanceAlreadyExistsException", - "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, - "start_line": 78, - "start_column": 4, - "end_line": 78, - "end_column": 22 - }, - { - "method_name": "setInitialContextProps", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "javax.naming.InitialContext", - "callee_signature": "setInitialContextProps()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 80, - "start_column": 13, - "end_line": 80, - "end_column": 36 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "javax.management.ObjectName", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.management.ObjectName", - "callee_signature": "ObjectName(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 68, - "start_column": 16, - "end_line": 68, - "end_column": 67 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.AppInfo", - "argument_types": [], - "return_type": "com.acme.modres.mbean.AppInfo", - "callee_signature": "AppInfo()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 75, - "start_column": 34, - "end_line": 75, - "end_column": 46 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 2 - }, - "configureEnvDiscovery()": { - "signature": "configureEnvDiscovery()", - "comment": "", - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private String configureEnvDiscovery()", - "parameters": [], - "code": "{\n String serverEnv = \"\";\n serverEnv += com.ibm.websphere.runtime.ServerName.getDisplayName();\n serverEnv += com.ibm.websphere.runtime.ServerName.getFullName();\n return serverEnv;\n}", - "start_line": 253, - "end_line": 261, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.runtime.ServerName", - "java.lang.String" - ], - "accessed_fields": [ - "ServerName" - ], - "call_sites": [ - { - "method_name": "getDisplayName", - "receiver_expr": "com.ibm.websphere.runtime.ServerName", - "receiver_type": "com.ibm.websphere.runtime.ServerName", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getDisplayName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 257, - "start_column": 22, - "end_line": 257, - "end_column": 74 - }, - { - "method_name": "getFullName", - "receiver_expr": "com.ibm.websphere.runtime.ServerName", - "receiver_type": "com.ibm.websphere.runtime.ServerName", - "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, - "start_line": 258, - "start_column": 22, - "end_line": 258, - "end_column": 71 - } - ], - "variable_declarations": [ - { - "name": "serverEnv", - "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 255, - "start_column": 16, - "end_line": 255, - "end_column": 29 - } - ], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "long", - "start_line": 47, - "end_line": 47, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "start_line": 49, - "end_line": 50, - "variables": [ - "customerInfo" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": "// get weather information from site: http://www.wunderground.com", - "type": "java.lang.String", - "start_line": 54, - "end_line": 54, - "variables": [ - "WEATHER_API_KEY" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.util.logging.Logger", - "start_line": 56, - "end_line": 56, - "variables": [ - "logger" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "javax.naming.InitialContext", - "start_line": 58, - "end_line": 58, - "variables": [ - "context" - ], - "modifiers": [ - "private", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "javax.management.MBeanServer", - "start_line": 60, - "end_line": 60, - "variables": [ - "server" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "javax.management.ObjectName", - "start_line": 61, - "end_line": 61, - "variables": [ - "weatherON" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "javax.management.ObjectInstance", - "start_line": 62, - "end_line": 62, - "variables": [ - "mbean" - ], - "modifiers": [], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/OpMetadata.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/OpMetadata.java", - "comment": "", - "imports": [], - "type_declarations": { - "com.acme.modres.mbean.OpMetadata": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "(String, String, String, int)": { - "signature": "OpMetadata(String, String, String, int)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OpMetadata(String name, String description, String type, int impact)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.String", - "name": "description", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.String", - "name": "type", - "annotations": [], - "modifiers": [] - }, - { - "type": "int", - "name": "impact", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.name = name;\n this.description = description;\n this.type = type;\n this.impact = impact;\n}", - "start_line": 8, - "end_line": 13, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.type", - "com.acme.modres.mbean.OpMetadata.description", - "com.acme.modres.mbean.OpMetadata.name", - "com.acme.modres.mbean.OpMetadata.impact" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getDescription()": { - "signature": "getDescription()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getDescription()", - "parameters": [], - "code": "{\n return description;\n}", - "start_line": 23, - "end_line": 25, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.description" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "()": { - "signature": "OpMetadata()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OpMetadata()", - "parameters": [], - "code": "{\n}", - "start_line": 5, - "end_line": 6, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getName()": { - "signature": "getName()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getName()", - "parameters": [], - "code": "{\n return name;\n}", - "start_line": 20, - "end_line": 22, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.name" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setName(String)": { - "signature": "setName(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setName(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.name = name;\n}", - "start_line": 32, - "end_line": 34, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.name" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getType()": { - "signature": "getType()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getType()", - "parameters": [], - "code": "{\n return type;\n}", - "start_line": 26, - "end_line": 28, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.type" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setDescription(String)": { - "signature": "setDescription(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setDescription(String description)", - "parameters": [ - { - "type": "java.lang.String", - "name": "description", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.description = description;\n}", - "start_line": 35, - "end_line": 37, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.description" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setImpact(int)": { - "signature": "setImpact(int)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setImpact(int impact)", - "parameters": [ - { - "type": "int", - "name": "impact", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.impact = impact;\n}", - "start_line": 41, - "end_line": 43, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.impact" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getImpact()": { - "signature": "getImpact()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getImpact()", - "parameters": [], - "code": "{\n return impact;\n}", - "start_line": 29, - "end_line": 31, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.impact" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setType(String)": { - "signature": "setType(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setType(String type)", - "parameters": [ - { - "type": "java.lang.String", - "name": "type", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.type = type;\n}", - "start_line": 38, - "end_line": 40, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.mbean.OpMetadata.type" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.lang.String", - "start_line": 14, - "end_line": 14, - "variables": [ - "name" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 15, - "end_line": 15, - "variables": [ - "description" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": "//TODO signature, assume empty for now", - "type": "java.lang.String", - "start_line": 17, - "end_line": 17, - "variables": [ - "type" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": "", - "type": "int", - "start_line": 18, - "end_line": 18, - "variables": [ - "impact" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/ReservationCheckerData.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/ReservationCheckerData.java", - "comment": "", - "imports": [ - "java.text.SimpleDateFormat", - "java.util.Date", - "com.acme.modres.Constants" - ], - "type_declarations": { - "com.acme.modres.mbean.reservation.ReservationCheckerData": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "(ReservationList)": { - "signature": "ReservationCheckerData(ReservationList)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ReservationCheckerData(ReservationList reservations)", - "parameters": [ - { - "type": "com.acme.modres.mbean.reservation.ReservationList", - "name": "reservations", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.reservations = reservations;\n this.available = true;\n}", - "start_line": 13, - "end_line": 16, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.Boolean", - "com.acme.modres.mbean.reservation.ReservationList" - ], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData.available", - "com.acme.modres.mbean.reservation.ReservationCheckerData.reservations" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setSelectedDate(String)": { - "signature": "setSelectedDate(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean setSelectedDate(String dateStr)", - "parameters": [ - { - "type": "java.lang.String", - "name": "dateStr", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n try {\n selectedDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(dateStr);\n } catch (Exception e) {\n return false;\n }\n return true;\n}", - "start_line": 26, - "end_line": 33, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.Constants.DATA_FORMAT", - "com.acme.modres.mbean.reservation.ReservationCheckerData.selectedDate" - ], - "call_sites": [ - { - "method_name": "parse", - "receiver_expr": "new SimpleDateFormat(Constants.DATA_FORMAT)", - "receiver_type": "java.text.SimpleDateFormat", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.Date", - "callee_signature": "parse(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 28, - "start_column": 19, - "end_line": 28, - "end_column": 76 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.text.SimpleDateFormat", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.text.SimpleDateFormat", - "callee_signature": "SimpleDateFormat(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 28, - "start_column": 19, - "end_line": 28, - "end_column": 61 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getReservationList()": { - "signature": "getReservationList()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ReservationList getReservationList()", - "parameters": [], - "code": "{\n return reservations;\n}", - "start_line": 18, - "end_line": 20, - "return_type": "com.acme.modres.mbean.reservation.ReservationList", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData.reservations" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setAvailablility(Boolean)": { - "signature": "setAvailablility(Boolean)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setAvailablility(Boolean available)", - "parameters": [ - { - "type": "java.lang.Boolean", - "name": "available", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.available = available;\n}", - "start_line": 39, - "end_line": 41, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Boolean" - ], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData.available" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getSelectedDate()": { - "signature": "getSelectedDate()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Date getSelectedDate()", - "parameters": [], - "code": "{\n return selectedDate;\n}", - "start_line": 22, - "end_line": 24, - "return_type": "java.util.Date", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData.selectedDate" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "isAvailible()": { - "signature": "isAvailible()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean isAvailible()", - "parameters": [], - "code": "{\n return available;\n}", - "start_line": 35, - "end_line": 37, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData.available" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "com.acme.modres.mbean.reservation.ReservationList", - "start_line": 9, - "end_line": 9, - "variables": [ - "reservations" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.util.Date", - "start_line": 10, - "end_line": 10, - "variables": [ - "selectedDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.Boolean", - "start_line": 11, - "end_line": 11, - "variables": [ - "available" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/Service.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/security/Service.java", - "comment": "", - "imports": [ - "java.lang.reflect.Member" - ], - "type_declarations": { - "com.acme.modres.security.Service": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "operation()": { - "signature": "operation()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void operation()", - "parameters": [], - "code": "{\n SecurityManager securityManager = System.getSecurityManager();\n if (securityManager != null) {\n // this SecurityManager method is not availible in Java 11\n // securityManager.checkMemberAccess(Service.class, Member.PUBLIC);\n }\n System.out.println(\"Operation is executed\");\n}", - "start_line": 8, - "end_line": 15, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintStream", - "java.lang.SecurityManager" - ], - "accessed_fields": [ - "java.lang.System.out" - ], - "call_sites": [ - { - "method_name": "getSecurityManager", - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "java.lang.SecurityManager", - "callee_signature": "getSecurityManager()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 9, - "start_column": 43, - "end_line": 9, - "end_column": 69 - }, - { - "method_name": "println", - "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, - "start_line": 14, - "start_column": 9, - "end_line": 14, - "end_column": 51 - } - ], - "variable_declarations": [ - { - "name": "securityManager", - "type": "java.lang.SecurityManager", - "initializer": "System.getSecurityManager()", - "start_line": 9, - "start_column": 25, - "end_line": 9, - "end_column": 69 - } - ], - "cyclomatic_complexity": 2 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.lang.String", - "start_line": 6, - "end_line": 6, - "variables": [ - "OPERATION" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/AppInfo.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/AppInfo.java", - "comment": "", - "imports": [ - "javax.management.Attribute", - "javax.management.AttributeList", - "javax.management.AttributeNotFoundException", - "javax.management.DynamicMBean", - "javax.management.InvalidAttributeValueException", - "javax.management.MBeanAttributeInfo", - "javax.management.MBeanConstructorInfo", - "javax.management.MBeanException", - "javax.management.MBeanInfo", - "javax.management.MBeanNotificationInfo", - "javax.management.MBeanOperationInfo", - "javax.management.ReflectionException" - ], - "type_declarations": { - "com.acme.modres.mbean.AppInfo": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [ - "javax.management.DynamicMBean" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "buildDMBeanInfo()": { - "signature": "buildDMBeanInfo()", - "comment": "", - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private void buildDMBeanInfo()", - "parameters": [], - "code": "{\n String className = getClass().getName();\n String desc = \"Configurable App Info\";\n MBeanAttributeInfo[] attrs = null;\n MBeanConstructorInfo[] cons = null;\n MBeanNotificationInfo[] notifications = null;\n OpMetadataList opMetadataList = IOUtils.getOpListFromConfig();\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opMetadataList);\n dMBeanInfo = new MBeanInfo(className, desc, attrs, cons, ops, notifications);\n}", - "start_line": 24, - "end_line": 35, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.acme.modres.mbean.OpMetadataList" - ], - "accessed_fields": [ - "com.acme.modres.mbean.AppInfo.dMBeanInfo" - ], - "call_sites": [ - { - "method_name": "getName", - "receiver_expr": "getClass()", - "receiver_type": "java.lang.Class", - "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, - "start_line": 25, - "start_column": 22, - "end_line": 25, - "end_column": 41 - }, - { - "method_name": "getClass", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "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, - "start_line": 25, - "start_column": 22, - "end_line": 25, - "end_column": 31 - }, - { - "method_name": "getOpListFromConfig", - "receiver_expr": "IOUtils", - "receiver_type": "com.acme.modres.mbean.IOUtils", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "getOpListFromConfig()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 31, - "start_column": 35, - "end_line": 31, - "end_column": 63 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 32, - "start_column": 30, - "end_line": 32, - "end_column": 63 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "javax.management.MBeanInfo", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "", - "", - "", - "" - ], - "return_type": "javax.management.MBeanInfo", - "callee_signature": "MBeanInfo(java.lang.String, java.lang.String, javax.management.MBeanAttributeInfo[], javax.management.MBeanConstructorInfo[], javax.management.MBeanOperationInfo[], javax.management.MBeanNotificationInfo[])", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 34, - "start_column": 16, - "end_line": 34, - "end_column": 78 - } - ], - "variable_declarations": [ - { - "name": "className", - "type": "java.lang.String", - "initializer": "getClass().getName()", - "start_line": 25, - "start_column": 10, - "end_line": 25, - "end_column": 41 - }, - { - "name": "desc", - "type": "java.lang.String", - "initializer": "\"Configurable App Info\"", - "start_line": 26, - "start_column": 10, - "end_line": 26, - "end_column": 39 - }, - { - "name": "attrs", - "type": "javax.management.MBeanAttributeInfo[]", - "initializer": "null", - "start_line": 27, - "start_column": 24, - "end_line": 27, - "end_column": 35 - }, - { - "name": "cons", - "type": "javax.management.MBeanConstructorInfo[]", - "initializer": "null", - "start_line": 28, - "start_column": 26, - "end_line": 28, - "end_column": 36 - }, - { - "name": "notifications", - "type": "javax.management.MBeanNotificationInfo[]", - "initializer": "null", - "start_line": 29, - "start_column": 27, - "end_line": 29, - "end_column": 46 - }, - { - "name": "opMetadataList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "IOUtils.getOpListFromConfig()", - "start_line": 31, - "start_column": 18, - "end_line": 31, - "end_column": 63 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opMetadataList)", - "start_line": 32, - "start_column": 24, - "end_line": 32, - "end_column": 63 - } - ], - "cyclomatic_complexity": 1 - }, - "getMBeanInfo()": { - "signature": "getMBeanInfo()", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public MBeanInfo getMBeanInfo()", - "parameters": [], - "code": "{\n return dMBeanInfo;\n}", - "start_line": 38, - "end_line": 41, - "return_type": "javax.management.MBeanInfo", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.AppInfo.dMBeanInfo" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getAttribute(String)": { - "signature": "getAttribute(String)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.management.AttributeNotFoundException", - "javax.management.MBeanException", - "javax.management.ReflectionException" - ], - "declaration": "public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException", - "parameters": [ - { - "type": "java.lang.String", - "name": "attribute", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n return null;\n}", - "start_line": 67, - "end_line": 71, - "return_type": "java.lang.Object", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "()": { - "signature": "AppInfo()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public AppInfo()", - "parameters": [], - "code": "{\n buildDMBeanInfo();\n}", - "start_line": 20, - "end_line": 22, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "buildDMBeanInfo", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "buildDMBeanInfo()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 21, - "start_column": 3, - "end_line": 21, - "end_column": 19 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "increaseLimit()": { - "signature": "increaseLimit()", - "comment": "", - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private void increaseLimit()", - "parameters": [], - "code": "{\n System.out.println(\"Limit increased\");\n}", - "start_line": 58, - "end_line": 60, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintStream" - ], - "accessed_fields": [ - "java.lang.System.out" - ], - "call_sites": [ - { - "method_name": "println", - "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, - "start_line": 59, - "start_column": 3, - "end_line": 59, - "end_column": 39 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setAttributes(AttributeList)": { - "signature": "setAttributes(AttributeList)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public AttributeList setAttributes(AttributeList attributes)", - "parameters": [ - { - "type": "javax.management.AttributeList", - "name": "attributes", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n return null;\n}", - "start_line": 84, - "end_line": 87, - "return_type": "javax.management.AttributeList", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "resetLimit()": { - "signature": "resetLimit()", - "comment": "", - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private void resetLimit()", - "parameters": [], - "code": "{\n System.out.println(\"Limit reset\");\n}", - "start_line": 62, - "end_line": 64, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintStream" - ], - "accessed_fields": [ - "java.lang.System.out" - ], - "call_sites": [ - { - "method_name": "println", - "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, - "start_line": 63, - "start_column": 3, - "end_line": 63, - "end_column": 35 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "invoke(String, Object[], String[])": { - "signature": "invoke(String, Object[], String[])", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.management.MBeanException", - "javax.management.ReflectionException" - ], - "declaration": "public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException", - "parameters": [ - { - "type": "java.lang.String", - "name": "actionName", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.Object[]", - "name": "params", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.String[]", - "name": "signature", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n if (\"increaseMaxLimit\".equals(actionName)) {\n increaseLimit();\n return \"Max limit increased\";\n } else if (\"resetMaxLimit\".equals(actionName)) {\n resetLimit();\n return \"Max limit reset\";\n } else {\n throw new MBeanException(new UnsupportedOperationException(getClass().getSimpleName() + \" does not support operation \" + actionName));\n }\n}", - "start_line": 43, - "end_line": 56, - "return_type": "java.lang.Object", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "equals", - "receiver_expr": "\"increaseMaxLimit\"", - "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, - "start_line": 46, - "start_column": 7, - "end_line": 46, - "end_column": 43 - }, - { - "method_name": "increaseLimit", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "increaseLimit()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 47, - "start_column": 4, - "end_line": 47, - "end_column": 18 - }, - { - "method_name": "equals", - "receiver_expr": "\"resetMaxLimit\"", - "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, - "start_line": 49, - "start_column": 14, - "end_line": 49, - "end_column": 47 - }, - { - "method_name": "resetLimit", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "resetLimit()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 50, - "start_column": 4, - "end_line": 50, - "end_column": 15 - }, - { - "method_name": "getSimpleName", - "receiver_expr": "getClass()", - "receiver_type": "java.lang.Class", - "argument_types": [], - "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, - "start_line": 54, - "start_column": 21, - "end_line": 54, - "end_column": 46 - }, - { - "method_name": "getClass", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "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, - "start_line": 54, - "start_column": 21, - "end_line": 54, - "end_column": 30 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "javax.management.MBeanException", - "argument_types": [ - "java.lang.UnsupportedOperationException" - ], - "return_type": "javax.management.MBeanException", - "callee_signature": "MBeanException(java.lang.Exception)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 53, - "start_column": 19, - "end_line": 54, - "end_column": 94 - }, - { - "method_name": "", - "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, - "start_line": 53, - "start_column": 38, - "end_line": 54, - "end_column": 93 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 3 - }, - "getAttributes(String[])": { - "signature": "getAttributes(String[])", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public AttributeList getAttributes(String[] attributes)", - "parameters": [ - { - "type": "java.lang.String[]", - "name": "attributes", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n return null;\n}", - "start_line": 79, - "end_line": 82, - "return_type": "javax.management.AttributeList", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setAttribute(Attribute)": { - "signature": "setAttribute(Attribute)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.management.AttributeNotFoundException", - "javax.management.InvalidAttributeValueException", - "javax.management.MBeanException", - "javax.management.ReflectionException" - ], - "declaration": "public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException", - "parameters": [ - { - "type": "javax.management.Attribute", - "name": "attribute", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n}", - "start_line": 73, - "end_line": 77, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "javax.management.MBeanInfo", - "start_line": 18, - "end_line": 18, - "variables": [ - "dMBeanInfo" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/DefaultWeatherData.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/DefaultWeatherData.java", - "comment": "", - "imports": [ - "java.io.ByteArrayOutputStream", - "java.io.IOException", - "java.io.InputStream", - "java.util.logging.Level", - "java.util.logging.Logger" - ], - "type_declarations": { - "com.acme.modres.DefaultWeatherData": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "(String)": { - "signature": "DefaultWeatherData(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public DefaultWeatherData(String city)", - "parameters": [ - { - "type": "java.lang.String", - "name": "city", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n if (city == null) {\n logger.severe(\"fail initializing DefaultWeatherData because the given city value is null\");\n throw new UnsupportedOperationException(\"City is not defined\");\n }\n boolean isSupportedCity = false;\n for (String aSupportedCity : Constants.SUPPORTED_CITIES) {\n if (city.equals(aSupportedCity)) {\n isSupportedCity = true;\n }\n }\n if (isSupportedCity) {\n this.city = city;\n } else {\n logger.severe(\"fail initializing DefaultWeatherData because the given city \" + city + \" is not supported\");\n throw new UnsupportedOperationException(\"City is invalid. It must be one of \" + Constants.SUPPORTED_CITIES.toString());\n }\n}", - "start_line": 19, - "end_line": 37, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.DefaultWeatherData.city", - "com.acme.modres.Constants.SUPPORTED_CITIES", - "com.acme.modres.DefaultWeatherData.logger" - ], - "call_sites": [ - { - "method_name": "severe", - "receiver_expr": "logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 21, - "start_column": 4, - "end_line": 21, - "end_column": 93 - }, - { - "method_name": "equals", - "receiver_expr": "city", - "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, - "start_line": 27, - "start_column": 8, - "end_line": 27, - "end_column": 34 - }, - { - "method_name": "severe", - "receiver_expr": "logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 34, - "start_column": 4, - "end_line": 34, - "end_column": 109 - }, - { - "method_name": "toString", - "receiver_expr": "Constants.SUPPORTED_CITIES", - "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, - "start_line": 35, - "start_column": 84, - "end_line": 35, - "end_column": 120 - }, - { - "method_name": "", - "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, - "start_line": 22, - "start_column": 10, - "end_line": 22, - "end_column": 65 - }, - { - "method_name": "", - "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, - "start_line": 35, - "start_column": 10, - "end_line": 35, - "end_column": 121 - } - ], - "variable_declarations": [ - { - "name": "isSupportedCity", - "type": "boolean", - "initializer": "false", - "start_line": 24, - "start_column": 11, - "end_line": 24, - "end_column": 33 - }, - { - "name": "aSupportedCity", - "type": "java.lang.String", - "initializer": "", - "start_line": 26, - "start_column": 15, - "end_line": 26, - "end_column": 28 - } - ], - "cyclomatic_complexity": 5 - }, - "getDefaultWeatherData()": { - "signature": "getDefaultWeatherData()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.io.IOException" - ], - "declaration": "public String getDefaultWeatherData() throws IOException", - "parameters": [], - "code": "{\n String dataFileName = null;\n if (Constants.PARIS.equals(getCity())) {\n dataFileName = Constants.PARIS_WEATHER_FILE;\n } else if (Constants.LAS_VEGAS.equals(getCity())) {\n dataFileName = Constants.LAS_VEGAS_WEATHER_FILE;\n } else if (Constants.SAN_FRANCISCO.equals(getCity())) {\n dataFileName = Constants.SAN_FRANCESCO_WEATHER_FILE;\n } else if (Constants.MIAMI.equals(getCity())) {\n dataFileName = Constants.MIAMI_WEATHER_FILE;\n } else if (Constants.CORK.equals(getCity())) {\n dataFileName = Constants.CORK_WEATHER_FILE;\n } else if (Constants.BARCELONA.equals(getCity())) {\n dataFileName = Constants.BACELONA_WEATHER_FILE;\n } else {\n throw new UnsupportedOperationException(\"The default weather information for the selected city: \" + city + \" is not provided. Valid selections are: \" + Constants.SUPPORTED_CITIES);\n }\n dataFileName = \"data/\" + dataFileName;\n logger.log(Level.FINE, \"dataFileName: \" + dataFileName);\n InputStream inputStream = null;\n ByteArrayOutputStream out = new ByteArrayOutputStream();\n try {\n inputStream = getClass().getClassLoader().getResourceAsStream(dataFileName);\n byte[] buf = new byte[4096];\n for (int n; 0 < (n = inputStream.read(buf)); ) {\n out.write(buf, 0, n);\n }\n } finally {\n out.close();\n if (inputStream != null) {\n inputStream.close();\n }\n inputStream = null;\n }\n String resultStr = new String(out.toByteArray(), \"UTF-8\");\n logger.log(Level.FINEST, \"resultStr: \" + resultStr);\n out = null;\n return resultStr;\n}", - "start_line": 39, - "end_line": 86, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.ByteArrayOutputStream", - "java.lang.String", - "java.io.InputStream", - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.acme.modres.DefaultWeatherData.city", - "com.acme.modres.Constants.BARCELONA", - "com.acme.modres.Constants.CORK", - "com.acme.modres.Constants.PARIS", - "com.acme.modres.Constants.LAS_VEGAS", - "com.acme.modres.Constants.MIAMI", - "com.acme.modres.Constants.SAN_FRANCESCO_WEATHER_FILE", - "com.acme.modres.Constants.CORK_WEATHER_FILE", - "com.acme.modres.Constants.PARIS_WEATHER_FILE", - "com.acme.modres.Constants.MIAMI_WEATHER_FILE", - "com.acme.modres.Constants.BACELONA_WEATHER_FILE", - "com.acme.modres.Constants.SUPPORTED_CITIES", - "com.acme.modres.DefaultWeatherData.logger", - "com.acme.modres.Constants.SAN_FRANCISCO", - "com.acme.modres.Constants.LAS_VEGAS_WEATHER_FILE", - "java.util.logging.Level.FINEST", - "java.util.logging.Level.FINE" - ], - "call_sites": [ - { - "method_name": "equals", - "receiver_expr": "Constants.PARIS", - "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, - "start_line": 42, - "start_column": 7, - "end_line": 42, - "end_column": 39 - }, - { - "method_name": "getCity", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 42, - "start_column": 30, - "end_line": 42, - "end_column": 38 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.LAS_VEGAS", - "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, - "start_line": 44, - "start_column": 14, - "end_line": 44, - "end_column": 50 - }, - { - "method_name": "getCity", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 44, - "start_column": 41, - "end_line": 44, - "end_column": 49 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.SAN_FRANCISCO", - "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, - "start_line": 46, - "start_column": 14, - "end_line": 46, - "end_column": 54 - }, - { - "method_name": "getCity", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 46, - "start_column": 45, - "end_line": 46, - "end_column": 53 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.MIAMI", - "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, - "start_line": 48, - "start_column": 14, - "end_line": 48, - "end_column": 46 - }, - { - "method_name": "getCity", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 48, - "start_column": 37, - "end_line": 48, - "end_column": 45 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.CORK", - "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, - "start_line": 50, - "start_column": 14, - "end_line": 50, - "end_column": 45 - }, - { - "method_name": "getCity", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 50, - "start_column": 36, - "end_line": 50, - "end_column": 44 - }, - { - "method_name": "equals", - "receiver_expr": "Constants.BARCELONA", - "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, - "start_line": 52, - "start_column": 14, - "end_line": 52, - "end_column": 50 - }, - { - "method_name": "getCity", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 52, - "start_column": 41, - "end_line": 52, - "end_column": 49 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 61, - "start_column": 3, - "end_line": 61, - "end_column": 57 - }, - { - "method_name": "getResourceAsStream", - "receiver_expr": "getClass().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, - "start_line": 67, - "start_column": 18, - "end_line": 67, - "end_column": 78 - }, - { - "method_name": "getClassLoader", - "receiver_expr": "getClass()", - "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, - "start_line": 67, - "start_column": 18, - "end_line": 67, - "end_column": 44 - }, - { - "method_name": "getClass", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "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, - "start_line": 67, - "start_column": 18, - "end_line": 67, - "end_column": 27 - }, - { - "method_name": "read", - "receiver_expr": "inputStream", - "receiver_type": "java.io.InputStream", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "read(byte[])", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 69, - "start_column": 25, - "end_line": 69, - "end_column": 45 - }, - { - "method_name": "write", - "receiver_expr": "out", - "receiver_type": "java.io.ByteArrayOutputStream", - "argument_types": [ - "", - "", - "" - ], - "return_type": "", - "callee_signature": "write(byte[], int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 70, - "start_column": 5, - "end_line": 70, - "end_column": 24 - }, - { - "method_name": "close", - "receiver_expr": "out", - "receiver_type": "java.io.ByteArrayOutputStream", - "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, - "start_line": 73, - "start_column": 4, - "end_line": 73, - "end_column": 14 - }, - { - "method_name": "close", - "receiver_expr": "inputStream", - "receiver_type": "java.io.InputStream", - "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, - "start_line": 76, - "start_column": 5, - "end_line": 76, - "end_column": 23 - }, - { - "method_name": "toByteArray", - "receiver_expr": "out", - "receiver_type": "java.io.ByteArrayOutputStream", - "argument_types": [], - "return_type": "", - "callee_signature": "toByteArray()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 81, - "start_column": 36, - "end_line": 81, - "end_column": 52 - }, - { - "method_name": "log", - "receiver_expr": "logger", - "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, - "start_line": 82, - "start_column": 6, - "end_line": 82, - "end_column": 56 - }, - { - "method_name": "", - "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, - "start_line": 55, - "start_column": 10, - "end_line": 56, - "end_column": 78 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.io.ByteArrayOutputStream", - "argument_types": [], - "return_type": "java.io.ByteArrayOutputStream", - "callee_signature": "ByteArrayOutputStream()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 65, - "start_column": 31, - "end_line": 65, - "end_column": 57 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.lang.String", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "String(byte[], java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 81, - "start_column": 25, - "end_line": 81, - "end_column": 62 - } - ], - "variable_declarations": [ - { - "name": "dataFileName", - "type": "java.lang.String", - "initializer": "null", - "start_line": 41, - "start_column": 10, - "end_line": 41, - "end_column": 28 - }, - { - "name": "inputStream", - "type": "java.io.InputStream", - "initializer": "null", - "start_line": 63, - "start_column": 15, - "end_line": 63, - "end_column": 32 - }, - { - "name": "out", - "type": "java.io.ByteArrayOutputStream", - "initializer": "new ByteArrayOutputStream()", - "start_line": 65, - "start_column": 25, - "end_line": 65, - "end_column": 57 - }, - { - "name": "buf", - "type": "byte[]", - "initializer": "new byte[4096]", - "start_line": 68, - "start_column": 11, - "end_line": 68, - "end_column": 30 - }, - { - "name": "n", - "type": "int", - "initializer": "", - "start_line": 69, - "start_column": 13, - "end_line": 69, - "end_column": 13 - }, - { - "name": "resultStr", - "type": "java.lang.String", - "initializer": "new String(out.toByteArray(), \"UTF-8\")", - "start_line": 81, - "start_column": 13, - "end_line": 81, - "end_column": 62 - } - ], - "cyclomatic_complexity": 10 - }, - "getCity()": { - "signature": "getCity()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCity()", - "parameters": [], - "code": "{\n return city;\n}", - "start_line": 15, - "end_line": 17, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.DefaultWeatherData.city" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.util.logging.Logger", - "start_line": 11, - "end_line": 11, - "variables": [ - "logger" - ], - "modifiers": [ - "final", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 13, - "end_line": 13, - "variables": [ - "city" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/Reservation.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/Reservation.java", - "comment": "", - "imports": [], - "type_declarations": { - "com.acme.modres.mbean.reservation.Reservation": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setToDate(String)": { - "signature": "setToDate(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setToDate(String toDate)", - "parameters": [ - { - "type": "java.lang.String", - "name": "toDate", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.toDate = toDate;\n}", - "start_line": 19, - "end_line": 21, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.Reservation.toDate" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getFromDate()": { - "signature": "getFromDate()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getFromDate()", - "parameters": [], - "code": "{\n return fromDate;\n}", - "start_line": 23, - "end_line": 25, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.Reservation.fromDate" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "setFromDate(String)": { - "signature": "setFromDate(String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setFromDate(String fromDate)", - "parameters": [ - { - "type": "java.lang.String", - "name": "fromDate", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.fromDate = fromDate;\n}", - "start_line": 15, - "end_line": 17, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.Reservation.fromDate" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "()": { - "signature": "Reservation()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Reservation()", - "parameters": [], - "code": "{\n}", - "start_line": 7, - "end_line": 8, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "(String, String)": { - "signature": "Reservation(String, String)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Reservation(String fromDate, String toDate)", - "parameters": [ - { - "type": "java.lang.String", - "name": "fromDate", - "annotations": [], - "modifiers": [] - }, - { - "type": "java.lang.String", - "name": "toDate", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.fromDate = fromDate;\n this.toDate = toDate;\n}", - "start_line": 10, - "end_line": 13, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.Reservation.toDate", - "com.acme.modres.mbean.reservation.Reservation.fromDate" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - }, - "getToDate()": { - "signature": "getToDate()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getToDate()", - "parameters": [], - "code": "{\n return toDate;\n}", - "start_line": 27, - "end_line": 29, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.Reservation.toDate" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.lang.String", - "start_line": 4, - "end_line": 4, - "variables": [ - "fromDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": "", - "type": "java.lang.String", - "start_line": 5, - "end_line": 5, - "variables": [ - "toDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/DateChecker.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/mbean/reservation/DateChecker.java", - "comment": "", - "imports": [ - "java.text.SimpleDateFormat", - "java.util.Date", - "com.acme.modres.Constants" - ], - "type_declarations": { - "com.acme.modres.mbean.reservation.DateChecker": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [ - "java.lang.Runnable" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "run()": { - "signature": "run()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void run()", - "parameters": [], - "code": "{\n data.setAvailablility(true);\n for (Reservation resveration : data.getReservationList().getReservations()) {\n try {\n Date selectedDate = data.getSelectedDate();\n Date fromDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate());\n Date toDate = new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate());\n if (selectedDate.after(fromDate) && selectedDate.before(toDate)) {\n data.setAvailablility(false);\n break;\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}", - "start_line": 15, - "end_line": 31, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Date", - "com.acme.modres.mbean.reservation.Reservation", - "java.lang.String" - ], - "accessed_fields": [ - "com.acme.modres.Constants.DATA_FORMAT", - "com.acme.modres.mbean.reservation.DateChecker.data" - ], - "call_sites": [ - { - "method_name": "setAvailablility", - "receiver_expr": "data", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setAvailablility(java.lang.Boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 16, - "start_column": 9, - "end_line": 16, - "end_column": 35 - }, - { - "method_name": "getReservations", - "receiver_expr": "data.getReservationList()", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationList", - "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "getReservations()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 17, - "start_column": 32, - "end_line": 17, - "end_column": 74 - }, - { - "method_name": "getReservationList", - "receiver_expr": "data", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [], - "return_type": "com.acme.modres.mbean.reservation.ReservationList", - "callee_signature": "getReservationList()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 17, - "start_column": 32, - "end_line": 17, - "end_column": 56 - }, - { - "method_name": "getSelectedDate", - "receiver_expr": "data", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "getSelectedDate()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 19, - "start_column": 37, - "end_line": 19, - "end_column": 58 - }, - { - "method_name": "parse", - "receiver_expr": "new SimpleDateFormat(Constants.DATA_FORMAT)", - "receiver_type": "java.text.SimpleDateFormat", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.Date", - "callee_signature": "parse(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 20, - "start_column": 21, - "end_line": 20, - "end_column": 96 - }, - { - "method_name": "getFromDate", - "receiver_expr": "resveration", - "receiver_type": "com.acme.modres.mbean.reservation.Reservation", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getFromDate()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 20, - "start_column": 71, - "end_line": 20, - "end_column": 95 - }, - { - "method_name": "parse", - "receiver_expr": "new SimpleDateFormat(Constants.DATA_FORMAT)", - "receiver_type": "java.text.SimpleDateFormat", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.Date", - "callee_signature": "parse(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 21, - "start_column": 19, - "end_line": 21, - "end_column": 92 - }, - { - "method_name": "getToDate", - "receiver_expr": "resveration", - "receiver_type": "com.acme.modres.mbean.reservation.Reservation", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getToDate()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 21, - "start_column": 69, - "end_line": 21, - "end_column": 91 - }, - { - "method_name": "after", - "receiver_expr": "selectedDate", - "receiver_type": "java.util.Date", - "argument_types": [ - "java.util.Date" - ], - "return_type": "", - "callee_signature": "after(java.util.Date)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 23, - "start_column": 9, - "end_line": 23, - "end_column": 36 - }, - { - "method_name": "before", - "receiver_expr": "selectedDate", - "receiver_type": "java.util.Date", - "argument_types": [ - "java.util.Date" - ], - "return_type": "", - "callee_signature": "before(java.util.Date)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 23, - "start_column": 41, - "end_line": 23, - "end_column": 67 - }, - { - "method_name": "setAvailablility", - "receiver_expr": "data", - "receiver_type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setAvailablility(java.lang.Boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 24, - "start_column": 21, - "end_line": 24, - "end_column": 48 - }, - { - "method_name": "printStackTrace", - "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, - "start_line": 28, - "start_column": 5, - "end_line": 28, - "end_column": 23 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.text.SimpleDateFormat", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.text.SimpleDateFormat", - "callee_signature": "SimpleDateFormat(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 20, - "start_column": 21, - "end_line": 20, - "end_column": 63 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.text.SimpleDateFormat", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.text.SimpleDateFormat", - "callee_signature": "SimpleDateFormat(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 21, - "start_column": 19, - "end_line": 21, - "end_column": 61 - } - ], - "variable_declarations": [ - { - "name": "resveration", - "type": "com.acme.modres.mbean.reservation.Reservation", - "initializer": "", - "start_line": 17, - "start_column": 19, - "end_line": 17, - "end_column": 29 - }, - { - "name": "selectedDate", - "type": "java.util.Date", - "initializer": "data.getSelectedDate()", - "start_line": 19, - "start_column": 22, - "end_line": 19, - "end_column": 58 - }, - { - "name": "fromDate", - "type": "java.util.Date", - "initializer": "new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getFromDate())", - "start_line": 20, - "start_column": 10, - "end_line": 20, - "end_column": 96 - }, - { - "name": "toDate", - "type": "java.util.Date", - "initializer": "new SimpleDateFormat(Constants.DATA_FORMAT).parse(resveration.getToDate())", - "start_line": 21, - "start_column": 10, - "end_line": 21, - "end_column": 92 - } - ], - "cyclomatic_complexity": 4 - }, - "(ReservationCheckerData)": { - "signature": "DateChecker(ReservationCheckerData)", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public DateChecker(ReservationCheckerData data)", - "parameters": [ - { - "type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "name": "data", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n this.data = data;\n}", - "start_line": 11, - "end_line": 13, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "com.acme.modres.mbean.reservation.ReservationCheckerData" - ], - "accessed_fields": [ - "com.acme.modres.mbean.reservation.DateChecker.data" - ], - "call_sites": [], - "variable_declarations": [], - "cyclomatic_complexity": 1 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "com.acme.modres.mbean.reservation.ReservationCheckerData", - "start_line": 9, - "end_line": 9, - "variables": [ - "data" - ], - "modifiers": [], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/FirstServlet.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/FirstServlet.java", - "comment": "", - "imports": [ - "java.io.IOException", - "java.io.PrintWriter", - "javax.servlet.ServletException", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" - ], - "type_declarations": { - "com.acme.modres.FirstServlet": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "javax.servlet.http.HttpServlet" - ], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "doGet(HttpServletRequest, HttpServletResponse)": { - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comment": "", - "annotations": [ - "@Override" - ], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [] - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [] - } - ], - "code": "{\n response.setContentType(\"text/plain\");\n String user = request.getParameter(\"user\");\n if (user == null) {\n user = \"defaultUser\";\n }\n PrintWriter out = response.getWriter();\n out.print(\"Welcome \" + user);\n}", - "start_line": 15, - "end_line": 27, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintWriter", - "java.lang.String" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setContentType", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 18, - "start_column": 3, - "end_line": 18, - "end_column": 39 - }, - { - "method_name": "getParameter", - "receiver_expr": "request", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 20, - "start_column": 17, - "end_line": 20, - "end_column": 44 - }, - { - "method_name": "getWriter", - "receiver_expr": "response", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [], - "return_type": "java.io.PrintWriter", - "callee_signature": "getWriter()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 25, - "start_column": 21, - "end_line": 25, - "end_column": 40 - }, - { - "method_name": "print", - "receiver_expr": "out", - "receiver_type": "java.io.PrintWriter", - "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, - "start_line": 26, - "start_column": 6, - "end_line": 26, - "end_column": 33 - } - ], - "variable_declarations": [ - { - "name": "user", - "type": "java.lang.String", - "initializer": "request.getParameter(\"user\")", - "start_line": 20, - "start_column": 10, - "end_line": 20, - "end_column": 44 - }, - { - "name": "out", - "type": "java.io.PrintWriter", - "initializer": "response.getWriter()", - "start_line": 25, - "start_column": 15, - "end_line": 25, - "end_column": 40 - } - ], - "cyclomatic_complexity": 2 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "long", - "start_line": 13, - "end_line": 13, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/db/ModResortsCustomerInformation.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/main/java/com/acme/modres/db/ModResortsCustomerInformation.java", - "comment": "", - "imports": [ - "javax.annotation.Resource", - "javax.ejb.Singleton", - "javax.ejb.Startup", - "javax.sql.DataSource", - "java.sql.Connection", - "java.sql.PreparedStatement", - "java.sql.ResultSet", - "java.sql.SQLException", - "java.util.ArrayList" - ], - "type_declarations": { - "com.acme.modres.db.ModResortsCustomerInformation": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Singleton", - "@Startup" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getCustomerInformation()": { - "signature": "getCustomerInformation()", - "comment": "", - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ArrayList getCustomerInformation()", - "parameters": [], - "code": "{\n Connection conn = null;\n PreparedStatement stmt = null;\n ResultSet rs = null;\n ArrayList customerInfo = new ArrayList<>();\n try {\n // Get a connection from the injected data source\n conn = dataSource.getConnection();\n // Create a prepared statement\n stmt = conn.prepareStatement(SELECT_CUSTOMERS_QUERY);\n // Execute the query\n rs = stmt.executeQuery();\n // Process the results\n while (rs.next()) {\n String info = rs.getString(\"INFO\");\n customerInfo.add(info);\n }\n } catch (SQLException e) {\n e.printStackTrace();\n } finally {\n // Close the result set, statement, and connection\n try {\n if (rs != null)\n rs.close();\n if (stmt != null)\n stmt.close();\n if (conn != null)\n conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n return customerInfo;\n}", - "start_line": 23, - "end_line": 59, - "return_type": "java.util.ArrayList", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "java.sql.ResultSet", - "java.util.ArrayList", - "java.lang.String", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.acme.modres.db.ModResortsCustomerInformation.SELECT_CUSTOMERS_QUERY", - "com.acme.modres.db.ModResortsCustomerInformation.dataSource" - ], - "call_sites": [ - { - "method_name": "getConnection", - "receiver_expr": "dataSource", - "receiver_type": "javax.sql.DataSource", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConnection()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 32, - "start_column": 20, - "end_line": 32, - "end_column": 45 - }, - { - "method_name": "prepareStatement", - "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, - "start_line": 36, - "start_column": 20, - "end_line": 36, - "end_column": 64 - }, - { - "method_name": "executeQuery", - "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, - "start_line": 38, - "start_column": 18, - "end_line": 38, - "end_column": 36 - }, - { - "method_name": "next", - "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, - "start_line": 41, - "start_column": 20, - "end_line": 41, - "end_column": 28 - }, - { - "method_name": "getString", - "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, - "start_line": 42, - "start_column": 31, - "end_line": 42, - "end_column": 50 - }, - { - "method_name": "add", - "receiver_expr": "customerInfo", - "receiver_type": "java.util.ArrayList", - "argument_types": [ - "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, - "start_line": 43, - "start_column": 17, - "end_line": 43, - "end_column": 38 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "java.sql.SQLException", - "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, - "start_line": 47, - "start_column": 13, - "end_line": 47, - "end_column": 31 - }, - { - "method_name": "close", - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "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, - "start_line": 51, - "start_column": 33, - "end_line": 51, - "end_column": 42 - }, - { - "method_name": "close", - "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, - "start_line": 52, - "start_column": 35, - "end_line": 52, - "end_column": 46 - }, - { - "method_name": "close", - "receiver_expr": "conn", - "receiver_type": "java.sql.Connection", - "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, - "start_line": 53, - "start_column": 35, - "end_line": 53, - "end_column": 46 - }, - { - "method_name": "printStackTrace", - "receiver_expr": "e", - "receiver_type": "java.sql.SQLException", - "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, - "start_line": 55, - "start_column": 17, - "end_line": 55, - "end_column": 35 - }, - { - "method_name": "", - "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, - "start_line": 28, - "start_column": 42, - "end_line": 28, - "end_column": 58 - } - ], - "variable_declarations": [ - { - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 24, - "start_column": 20, - "end_line": 24, - "end_column": 30 - }, - { - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "null", - "start_line": 26, - "start_column": 27, - "end_line": 26, - "end_column": 37 - }, - { - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "null", - "start_line": 27, - "start_column": 19, - "end_line": 27, - "end_column": 27 - }, - { - "name": "customerInfo", - "type": "java.util.ArrayList", - "initializer": "new ArrayList<>()", - "start_line": 28, - "start_column": 27, - "end_line": 28, - "end_column": 58 - }, - { - "name": "info", - "type": "java.lang.String", - "initializer": "rs.getString(\"INFO\")", - "start_line": 42, - "start_column": 24, - "end_line": 42, - "end_column": 50 - } - ], - "cyclomatic_complexity": 11 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.lang.String", - "start_line": 16, - "end_line": 16, - "variables": [ - "SELECT_CUSTOMERS_QUERY" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "javax.sql.DataSource", - "start_line": 18, - "end_line": 21, - "variables": [ - "dataSource" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Resource(lookup = \"jdbc/ModResortsJndi\")" - ] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/security/WCA_Service_Test_Passing.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/security/WCA_Service_Test_Passing.java", - "comment": "/**\n * Generated by IBM watsonx Code Assistant for Enterprise Java Applications\n */", - "imports": [ - "java.util.concurrent.TimeUnit", - "org.junit.jupiter.api.Assertions", - "org.junit.jupiter.api.Test", - "org.junit.jupiter.api.Timeout", - "org.junit.jupiter.api.Timeout.ThreadMode", - "org.junit.jupiter.api.Assertions.assertTrue", - "org.junit.jupiter.api.Timeout.ThreadMode.SEPARATE_THREAD" - ], - "type_declarations": { - "com.acme.modres.security.WCA_Service_Test_Passing": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "testOperationWithSecurityManager_jZRM0()": { - "signature": "testOperationWithSecurityManager_jZRM0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void testOperationWithSecurityManager_jZRM0()", - "parameters": [], - "code": "{\n Service service = new Service();\n service.operation();\n assertTrue(true);\n}", - "start_line": 33, - "end_line": 39, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.security.Service" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "operation", - "receiver_expr": "service", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "", - "callee_signature": "operation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 37, - "start_column": 3, - "end_line": 37, - "end_column": 21 - }, - { - "method_name": "assertTrue", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertTrue(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 38, - "start_column": 3, - "end_line": 38, - "end_column": 18 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "com.acme.modres.security.Service", - "callee_signature": "Service()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 36, - "start_column": 21, - "end_line": 36, - "end_column": 33 - } - ], - "variable_declarations": [ - { - "name": "service", - "type": "com.acme.modres.security.Service", - "initializer": "new Service()", - "start_line": 36, - "start_column": 11, - "end_line": 36, - "end_column": 33 - } - ], - "cyclomatic_complexity": 0 - }, - "testOperationWithoutSecurityManager_dwsK1()": { - "signature": "testOperationWithoutSecurityManager_dwsK1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void testOperationWithoutSecurityManager_dwsK1()", - "parameters": [], - "code": "{\n System.setSecurityManager(null);\n Service service = new Service();\n service.operation();\n Assertions.assertTrue(true);\n}", - "start_line": 24, - "end_line": 31, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.security.Service" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setSecurityManager", - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setSecurityManager(java.lang.SecurityManager)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 27, - "start_column": 3, - "end_line": 27, - "end_column": 33 - }, - { - "method_name": "operation", - "receiver_expr": "service", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "", - "callee_signature": "operation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 29, - "start_column": 3, - "end_line": 29, - "end_column": 21 - }, - { - "method_name": "assertTrue", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertTrue(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 30, - "start_column": 3, - "end_line": 30, - "end_column": 29 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "com.acme.modres.security.Service", - "callee_signature": "Service()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 28, - "start_column": 21, - "end_line": 28, - "end_column": 33 - } - ], - "variable_declarations": [ - { - "name": "service", - "type": "com.acme.modres.security.Service", - "initializer": "new Service()", - "start_line": 28, - "start_column": 11, - "end_line": 28, - "end_column": 33 - } - ], - "cyclomatic_complexity": 0 - }, - "testOperationWithoutSecurityManager_prDe1()": { - "signature": "testOperationWithoutSecurityManager_prDe1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void testOperationWithoutSecurityManager_prDe1()", - "parameters": [], - "code": "{\n System.setSecurityManager(null);\n Service service = new Service();\n service.operation();\n assertTrue(true);\n}", - "start_line": 41, - "end_line": 48, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.security.Service" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setSecurityManager", - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setSecurityManager(java.lang.SecurityManager)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 44, - "start_column": 3, - "end_line": 44, - "end_column": 33 - }, - { - "method_name": "operation", - "receiver_expr": "service", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "", - "callee_signature": "operation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 46, - "start_column": 3, - "end_line": 46, - "end_column": 21 - }, - { - "method_name": "assertTrue", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertTrue(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 47, - "start_column": 3, - "end_line": 47, - "end_column": 18 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "com.acme.modres.security.Service", - "callee_signature": "Service()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 45, - "start_column": 21, - "end_line": 45, - "end_column": 33 - } - ], - "variable_declarations": [ - { - "name": "service", - "type": "com.acme.modres.security.Service", - "initializer": "new Service()", - "start_line": 45, - "start_column": 11, - "end_line": 45, - "end_column": 33 - } - ], - "cyclomatic_complexity": 0 - }, - "testOperationWithSecurityManager_LTHe0()": { - "signature": "testOperationWithSecurityManager_LTHe0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void testOperationWithSecurityManager_LTHe0()", - "parameters": [], - "code": "{\n Service service = new Service();\n service.operation();\n Assertions.assertTrue(true);\n}", - "start_line": 16, - "end_line": 22, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.security.Service" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "operation", - "receiver_expr": "service", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "", - "callee_signature": "operation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 20, - "start_column": 3, - "end_line": 20, - "end_column": 21 - }, - { - "method_name": "assertTrue", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertTrue(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 21, - "start_column": 3, - "end_line": 21, - "end_column": 29 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.security.Service", - "argument_types": [], - "return_type": "com.acme.modres.security.Service", - "callee_signature": "Service()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 19, - "start_column": 21, - "end_line": 19, - "end_column": 33 - } - ], - "variable_declarations": [ - { - "name": "service", - "type": "com.acme.modres.security.Service", - "initializer": "new Service()", - "start_line": 19, - "start_column": 11, - "end_line": 19, - "end_column": 33 - } - ], - "cyclomatic_complexity": 0 - } - }, - "field_declarations": [] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/db/WCA_ModResortsCustomerInformation_Test_Passing.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/db/WCA_ModResortsCustomerInformation_Test_Passing.java", - "comment": "/**\n * Generated by IBM watsonx Code Assistant for Enterprise Java Applications\n */", - "imports": [ - "java.lang.reflect.Field", - "java.sql", - "java.util.ArrayList", - "java.util.concurrent.TimeUnit", - "javax.sql.DataSource", - "org.junit.jupiter.api.BeforeEach", - "org.junit.jupiter.api.Test", - "org.junit.jupiter.api.ThreadMode", - "org.junit.jupiter.api.Timeout", - "org.junit.jupiter.api.extension.ExtendWith", - "org.mockito.Mock", - "org.mockito.junit.jupiter.MockitoExtension", - "org.junit.jupiter.api.Assertions.assertEquals", - "org.junit.jupiter.api.Timeout.ThreadMode.SEPARATE_THREAD", - "org.mockito.Mockito" - ], - "type_declarations": { - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@ExtendWith(MockitoExtension.class)" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setup()": { - "signature": "setup()", - "comment": "", - "annotations": [ - "@BeforeEach" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void setup() throws Exception", - "parameters": [], - "code": "{\n modresortscustomerinformation = new ModResortsCustomerInformation();\n preparedstatement = mock(PreparedStatement.class);\n resultset = mock(ResultSet.class);\n connection = mock(Connection.class);\n Field field_dataSource = ModResortsCustomerInformation.class.getDeclaredField(\"dataSource\");\n field_dataSource.setAccessible(true);\n field_dataSource.set(modresortscustomerinformation, dataSource);\n}", - "start_line": 33, - "end_line": 42, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.reflect.Field" - ], - "accessed_fields": [ - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.modresortscustomerinformation", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.connection", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.dataSource", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.preparedstatement", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.resultset" - ], - "call_sites": [ - { - "method_name": "mock", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Class" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "mock(java.lang.Class)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 36, - "start_column": 23, - "end_line": 36, - "end_column": 51 - }, - { - "method_name": "mock", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Class" - ], - "return_type": "java.sql.ResultSet", - "callee_signature": "mock(java.lang.Class)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 37, - "start_column": 15, - "end_line": 37, - "end_column": 35 - }, - { - "method_name": "mock", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Class" - ], - "return_type": "java.sql.Connection", - "callee_signature": "mock(java.lang.Class)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 38, - "start_column": 16, - "end_line": 38, - "end_column": 37 - }, - { - "method_name": "getDeclaredField", - "receiver_expr": "ModResortsCustomerInformation.class", - "receiver_type": "java.lang.Class", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.reflect.Field", - "callee_signature": "getDeclaredField(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 39, - "start_column": 28, - "end_line": 39, - "end_column": 93 - }, - { - "method_name": "setAccessible", - "receiver_expr": "field_dataSource", - "receiver_type": "java.lang.reflect.Field", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setAccessible(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 40, - "start_column": 3, - "end_line": 40, - "end_column": 38 - }, - { - "method_name": "set", - "receiver_expr": "field_dataSource", - "receiver_type": "java.lang.reflect.Field", - "argument_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "javax.sql.DataSource" - ], - "return_type": "", - "callee_signature": "set(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, - "start_line": 41, - "start_column": 3, - "end_line": 41, - "end_column": 65 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 35, - "start_column": 35, - "end_line": 35, - "end_column": 69 - } - ], - "variable_declarations": [ - { - "name": "field_dataSource", - "type": "java.lang.reflect.Field", - "initializer": "ModResortsCustomerInformation.class.getDeclaredField(\"dataSource\")", - "start_line": 39, - "start_column": 9, - "end_line": 39, - "end_column": 93 - } - ], - "cyclomatic_complexity": 0 - }, - "getCustomerInformationTest_2()": { - "signature": "getCustomerInformationTest_2()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.sql.SQLException" - ], - "declaration": "public void getCustomerInformationTest_2() throws SQLException", - "parameters": [], - "code": "{\n // Mock the resultSet to return a dummy value for the \"INFO\" column\n when(preparedstatement.executeQuery()).thenReturn(resultset);\n when(resultset.next()).thenReturn(true).thenReturn(false);\n when(resultset.getString(\"INFO\")).thenReturn(\"Dummy Customer Information\");\n // Mock the dataSource to return a mocked connection and preparedStatement\n when(dataSource.getConnection()).thenReturn(connection);\n when(connection.prepareStatement(SELECT_CUSTOMERS_QUERY)).thenReturn(preparedstatement);\n // Call the method under test and verify the results\n ArrayList customerInfo = modresortscustomerinformation.getCustomerInformation();\n assertEquals(\"Dummy Customer Information\", customerInfo.get(0));\n}", - "start_line": 59, - "end_line": 72, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.ArrayList" - ], - "accessed_fields": [ - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.modresortscustomerinformation", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.connection", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.dataSource", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.preparedstatement", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.resultset", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.SELECT_CUSTOMERS_QUERY" - ], - "call_sites": [ - { - "method_name": "thenReturn", - "receiver_expr": "when(preparedstatement.executeQuery())", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 63, - "start_column": 3, - "end_line": 63, - "end_column": 62 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 63, - "start_column": 3, - "end_line": 63, - "end_column": 40 - }, - { - "method_name": "executeQuery", - "receiver_expr": "preparedstatement", - "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, - "start_line": 63, - "start_column": 8, - "end_line": 63, - "end_column": 39 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(resultset.next()).thenReturn(true)", - "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, - "start_line": 64, - "start_column": 3, - "end_line": 64, - "end_column": 59 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(resultset.next())", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 64, - "start_column": 3, - "end_line": 64, - "end_column": 41 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 64, - "start_column": 3, - "end_line": 64, - "end_column": 24 - }, - { - "method_name": "next", - "receiver_expr": "resultset", - "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, - "start_line": 64, - "start_column": 8, - "end_line": 64, - "end_column": 23 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(resultset.getString(\"INFO\"))", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 65, - "start_column": 3, - "end_line": 65, - "end_column": 76 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 65, - "start_column": 3, - "end_line": 65, - "end_column": 35 - }, - { - "method_name": "getString", - "receiver_expr": "resultset", - "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, - "start_line": 65, - "start_column": 8, - "end_line": 65, - "end_column": 34 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(dataSource.getConnection())", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 67, - "start_column": 3, - "end_line": 67, - "end_column": 57 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 67, - "start_column": 3, - "end_line": 67, - "end_column": 34 - }, - { - "method_name": "getConnection", - "receiver_expr": "dataSource", - "receiver_type": "javax.sql.DataSource", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConnection()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 67, - "start_column": 8, - "end_line": 67, - "end_column": 33 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(connection.prepareStatement(SELECT_CUSTOMERS_QUERY))", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.sql.PreparedStatement" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 68, - "start_column": 3, - "end_line": 68, - "end_column": 89 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.PreparedStatement" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 68, - "start_column": 3, - "end_line": 68, - "end_column": 59 - }, - { - "method_name": "prepareStatement", - "receiver_expr": "connection", - "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, - "start_line": 68, - "start_column": 8, - "end_line": 68, - "end_column": 58 - }, - { - "method_name": "getCustomerInformation", - "receiver_expr": "modresortscustomerinformation", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 70, - "start_column": 36, - "end_line": 70, - "end_column": 89 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 71, - "start_column": 3, - "end_line": 71, - "end_column": 65 - }, - { - "method_name": "get", - "receiver_expr": "customerInfo", - "receiver_type": "java.util.ArrayList", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "get(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 71, - "start_column": 46, - "end_line": 71, - "end_column": 64 - } - ], - "variable_declarations": [ - { - "name": "customerInfo", - "type": "java.util.ArrayList", - "initializer": "modresortscustomerinformation.getCustomerInformation()", - "start_line": 70, - "start_column": 21, - "end_line": 70, - "end_column": 89 - } - ], - "cyclomatic_complexity": 0 - }, - "getCustomerInformationTest_1()": { - "signature": "getCustomerInformationTest_1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.sql.SQLException" - ], - "declaration": "public void getCustomerInformationTest_1() throws SQLException", - "parameters": [], - "code": "{\n // Mock the resultSet to return a dummy value for the \"INFO\" column\n when(preparedstatement.executeQuery()).thenReturn(resultset);\n when(resultset.next()).thenReturn(true).thenReturn(false);\n when(resultset.getString(\"INFO\")).thenReturn(\"Dummy Customer Information\");\n // Mock the dataSource to return a mocked connection and preparedStatement\n when(dataSource.getConnection()).thenReturn(connection);\n when(connection.prepareStatement(SELECT_CUSTOMERS_QUERY)).thenReturn(preparedstatement);\n // Call the method under test and verify the results\n ArrayList customerInfo = modresortscustomerinformation.getCustomerInformation();\n assertEquals(1, customerInfo.size());\n}", - "start_line": 44, - "end_line": 57, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.ArrayList" - ], - "accessed_fields": [ - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.modresortscustomerinformation", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.connection", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.dataSource", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.preparedstatement", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.resultset", - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Passing.SELECT_CUSTOMERS_QUERY" - ], - "call_sites": [ - { - "method_name": "thenReturn", - "receiver_expr": "when(preparedstatement.executeQuery())", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 48, - "start_column": 3, - "end_line": 48, - "end_column": 62 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 48, - "start_column": 3, - "end_line": 48, - "end_column": 40 - }, - { - "method_name": "executeQuery", - "receiver_expr": "preparedstatement", - "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, - "start_line": 48, - "start_column": 8, - "end_line": 48, - "end_column": 39 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(resultset.next()).thenReturn(true)", - "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, - "start_line": 49, - "start_column": 3, - "end_line": 49, - "end_column": 59 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(resultset.next())", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 49, - "start_column": 3, - "end_line": 49, - "end_column": 41 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 49, - "start_column": 3, - "end_line": 49, - "end_column": 24 - }, - { - "method_name": "next", - "receiver_expr": "resultset", - "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, - "start_line": 49, - "start_column": 8, - "end_line": 49, - "end_column": 23 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(resultset.getString(\"INFO\"))", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 50, - "start_column": 3, - "end_line": 50, - "end_column": 76 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 50, - "start_column": 3, - "end_line": 50, - "end_column": 35 - }, - { - "method_name": "getString", - "receiver_expr": "resultset", - "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, - "start_line": 50, - "start_column": 8, - "end_line": 50, - "end_column": 34 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(dataSource.getConnection())", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 52, - "start_column": 3, - "end_line": 52, - "end_column": 57 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 52, - "start_column": 3, - "end_line": 52, - "end_column": 34 - }, - { - "method_name": "getConnection", - "receiver_expr": "dataSource", - "receiver_type": "javax.sql.DataSource", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConnection()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 52, - "start_column": 8, - "end_line": 52, - "end_column": 33 - }, - { - "method_name": "thenReturn", - "receiver_expr": "when(connection.prepareStatement(SELECT_CUSTOMERS_QUERY))", - "receiver_type": "org.mockito.stubbing.OngoingStubbing", - "argument_types": [ - "java.sql.PreparedStatement" - ], - "return_type": "", - "callee_signature": "thenReturn(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 53, - "start_column": 3, - "end_line": 53, - "end_column": 89 - }, - { - "method_name": "when", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.PreparedStatement" - ], - "return_type": "org.mockito.stubbing.OngoingStubbing", - "callee_signature": "when(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 53, - "start_column": 3, - "end_line": 53, - "end_column": 59 - }, - { - "method_name": "prepareStatement", - "receiver_expr": "connection", - "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, - "start_line": 53, - "start_column": 8, - "end_line": 53, - "end_column": 58 - }, - { - "method_name": "getCustomerInformation", - "receiver_expr": "modresortscustomerinformation", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 55, - "start_column": 36, - "end_line": 55, - "end_column": 89 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 56, - "start_column": 3, - "end_line": 56, - "end_column": 38 - }, - { - "method_name": "size", - "receiver_expr": "customerInfo", - "receiver_type": "java.util.ArrayList", - "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, - "start_line": 56, - "start_column": 19, - "end_line": 56, - "end_column": 37 - } - ], - "variable_declarations": [ - { - "name": "customerInfo", - "type": "java.util.ArrayList", - "initializer": "modresortscustomerinformation.getCustomerInformation()", - "start_line": 55, - "start_column": 21, - "end_line": 55, - "end_column": 89 - } - ], - "cyclomatic_complexity": 0 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.lang.String", - "start_line": 25, - "end_line": 25, - "variables": [ - "SELECT_CUSTOMERS_QUERY" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": "", - "type": "javax.sql.DataSource", - "start_line": 26, - "end_line": 27, - "variables": [ - "dataSource" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Mock" - ] - }, - { - "comment": "", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "start_line": 28, - "end_line": 28, - "variables": [ - "modresortscustomerinformation" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "java.sql.PreparedStatement", - "start_line": 29, - "end_line": 29, - "variables": [ - "preparedstatement" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "java.sql.ResultSet", - "start_line": 30, - "end_line": 30, - "variables": [ - "resultset" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "java.sql.Connection", - "start_line": 31, - "end_line": 31, - "variables": [ - "connection" - ], - "modifiers": [], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/db/WCA_ModResortsCustomerInformation_Test_Failing.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/db/WCA_ModResortsCustomerInformation_Test_Failing.java", - "comment": "/**\n * Generated by IBM watsonx Code Assistant for Enterprise Java Applications\n */", - "imports": [ - "java.sql.Connection", - "java.sql.PreparedStatement", - "java.sql.ResultSet", - "java.util.ArrayList", - "java.util.concurrent.TimeUnit", - "javax.sql.DataSource", - "org.junit.jupiter.api.Assertions", - "org.junit.jupiter.api.Test", - "org.junit.jupiter.api.Timeout", - "org.junit.jupiter.api.Timeout.ThreadMode", - "org.junit.jupiter.api.extension.ExtendWith", - "org.mockito.Mock", - "org.mockito.junit.jupiter.MockitoExtension", - "org.mockito.junit.jupiter.MockitoSettings", - "org.mockito.quality.Strictness", - "org.junit.jupiter.api.Assertions", - "org.junit.jupiter.api.Timeout.ThreadMode.SEPARATE_THREAD" - ], - "type_declarations": { - "com.acme.modres.db.WCA_ModResortsCustomerInformation_Test_Failing": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@ExtendWith(MockitoExtension.class)", - "@MockitoSettings(strictness = Strictness.LENIENT)" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getCustomerInformationTest6_trkn5()": { - "signature": "getCustomerInformationTest6_trkn5()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void getCustomerInformationTest6_trkn5()", - "parameters": [], - "code": "{\n ModResortsCustomerInformation customerInformation = new ModResortsCustomerInformation();\n ArrayList customerInfo = customerInformation.getCustomerInformation();\n Assertions.assertTrue(customerInfo.isEmpty());\n}", - "start_line": 54, - "end_line": 60, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCustomerInformation", - "receiver_expr": "customerInformation", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 58, - "start_column": 36, - "end_line": 58, - "end_column": 79 - }, - { - "method_name": "assertTrue", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertTrue(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 59, - "start_column": 3, - "end_line": 59, - "end_column": 47 - }, - { - "method_name": "isEmpty", - "receiver_expr": "customerInfo", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "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, - "start_line": 59, - "start_column": 25, - "end_line": 59, - "end_column": 46 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 57, - "start_column": 55, - "end_line": 57, - "end_column": 89 - } - ], - "variable_declarations": [ - { - "name": "customerInformation", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "initializer": "new ModResortsCustomerInformation()", - "start_line": 57, - "start_column": 33, - "end_line": 57, - "end_column": 89 - }, - { - "name": "customerInfo", - "type": "java.util.ArrayList", - "initializer": "customerInformation.getCustomerInformation()", - "start_line": 58, - "start_column": 21, - "end_line": 58, - "end_column": 79 - } - ], - "cyclomatic_complexity": 0 - }, - "getCustomerInformationTest1_kXNp0()": { - "signature": "getCustomerInformationTest1_kXNp0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void getCustomerInformationTest1_kXNp0()", - "parameters": [], - "code": "{\n ModResortsCustomerInformation customerInfo = new ModResortsCustomerInformation();\n ArrayList info = customerInfo.getCustomerInformation();\n Assertions.assertNotNull(info);\n}", - "start_line": 70, - "end_line": 76, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCustomerInformation", - "receiver_expr": "customerInfo", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 74, - "start_column": 28, - "end_line": 74, - "end_column": 64 - }, - { - "method_name": "assertNotNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "java.util.ArrayList" - ], - "return_type": "", - "callee_signature": "assertNotNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 75, - "start_column": 3, - "end_line": 75, - "end_column": 32 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 73, - "start_column": 48, - "end_line": 73, - "end_column": 82 - } - ], - "variable_declarations": [ - { - "name": "customerInfo", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "initializer": "new ModResortsCustomerInformation()", - "start_line": 73, - "start_column": 33, - "end_line": 73, - "end_column": 82 - }, - { - "name": "info", - "type": "java.util.ArrayList", - "initializer": "customerInfo.getCustomerInformation()", - "start_line": 74, - "start_column": 21, - "end_line": 74, - "end_column": 64 - } - ], - "cyclomatic_complexity": 0 - }, - "getCustomerInformationTest1_bDuV0()": { - "signature": "getCustomerInformationTest1_bDuV0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void getCustomerInformationTest1_bDuV0()", - "parameters": [], - "code": "{\n ModResortsCustomerInformation customerInformation = new ModResortsCustomerInformation();\n ArrayList customerInfo = customerInformation.getCustomerInformation();\n Assertions.assertNotNull(customerInfo);\n}", - "start_line": 46, - "end_line": 52, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCustomerInformation", - "receiver_expr": "customerInformation", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 50, - "start_column": 36, - "end_line": 50, - "end_column": 79 - }, - { - "method_name": "assertNotNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "java.util.ArrayList" - ], - "return_type": "", - "callee_signature": "assertNotNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 51, - "start_column": 3, - "end_line": 51, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 49, - "start_column": 55, - "end_line": 49, - "end_column": 89 - } - ], - "variable_declarations": [ - { - "name": "customerInformation", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "initializer": "new ModResortsCustomerInformation()", - "start_line": 49, - "start_column": 33, - "end_line": 49, - "end_column": 89 - }, - { - "name": "customerInfo", - "type": "java.util.ArrayList", - "initializer": "customerInformation.getCustomerInformation()", - "start_line": 50, - "start_column": 21, - "end_line": 50, - "end_column": 79 - } - ], - "cyclomatic_complexity": 0 - }, - "getCustomerInformationTest5_Nwco4()": { - "signature": "getCustomerInformationTest5_Nwco4()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void getCustomerInformationTest5_Nwco4()", - "parameters": [], - "code": "{\n ModResortsCustomerInformation customerInfo = new ModResortsCustomerInformation();\n ArrayList info = customerInfo.getCustomerInformation();\n Assertions.assertTrue(info.isEmpty());\n}", - "start_line": 78, - "end_line": 84, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCustomerInformation", - "receiver_expr": "customerInfo", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 82, - "start_column": 28, - "end_line": 82, - "end_column": 64 - }, - { - "method_name": "assertTrue", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertTrue(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 83, - "start_column": 3, - "end_line": 83, - "end_column": 39 - }, - { - "method_name": "isEmpty", - "receiver_expr": "info", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "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, - "start_line": 83, - "start_column": 25, - "end_line": 83, - "end_column": 38 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 81, - "start_column": 48, - "end_line": 81, - "end_column": 82 - } - ], - "variable_declarations": [ - { - "name": "customerInfo", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "initializer": "new ModResortsCustomerInformation()", - "start_line": 81, - "start_column": 33, - "end_line": 81, - "end_column": 82 - }, - { - "name": "info", - "type": "java.util.ArrayList", - "initializer": "customerInfo.getCustomerInformation()", - "start_line": 82, - "start_column": 21, - "end_line": 82, - "end_column": 64 - } - ], - "cyclomatic_complexity": 0 - }, - "test1_NGoz0()": { - "signature": "test1_NGoz0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void test1_NGoz0()", - "parameters": [], - "code": "{\n ModResortsCustomerInformation customer = new ModResortsCustomerInformation();\n ArrayList customerInfo = customer.getCustomerInformation();\n assertEquals(true, customerInfo.isEmpty());\n}", - "start_line": 37, - "end_line": 44, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCustomerInformation", - "receiver_expr": "customer", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 42, - "start_column": 36, - "end_line": 42, - "end_column": 68 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 43, - "start_column": 3, - "end_line": 43, - "end_column": 44 - }, - { - "method_name": "isEmpty", - "receiver_expr": "customerInfo", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "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, - "start_line": 43, - "start_column": 22, - "end_line": 43, - "end_column": 43 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 41, - "start_column": 44, - "end_line": 41, - "end_column": 78 - } - ], - "variable_declarations": [ - { - "name": "customer", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "initializer": "new ModResortsCustomerInformation()", - "start_line": 41, - "start_column": 33, - "end_line": 41, - "end_column": 78 - }, - { - "name": "customerInfo", - "type": "java.util.ArrayList", - "initializer": "customer.getCustomerInformation()", - "start_line": 42, - "start_column": 21, - "end_line": 42, - "end_column": 68 - } - ], - "cyclomatic_complexity": 0 - }, - "getCustomerInformationTest1_Qprl0()": { - "signature": "getCustomerInformationTest1_Qprl0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void getCustomerInformationTest1_Qprl0()", - "parameters": [], - "code": "{\n ModResortsCustomerInformation customerInfo = new ModResortsCustomerInformation();\n ArrayList info = customerInfo.getCustomerInformation();\n assertTrue(info.size() > 0);\n}", - "start_line": 62, - "end_line": 68, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCustomerInformation", - "receiver_expr": "customerInfo", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 66, - "start_column": 28, - "end_line": 66, - "end_column": 64 - }, - { - "method_name": "assertTrue", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertTrue(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 67, - "start_column": 3, - "end_line": 67, - "end_column": 29 - }, - { - "method_name": "size", - "receiver_expr": "info", - "receiver_type": "java.util.ArrayList", - "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, - "start_line": 67, - "start_column": 14, - "end_line": 67, - "end_column": 24 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 65, - "start_column": 48, - "end_line": 65, - "end_column": 82 - } - ], - "variable_declarations": [ - { - "name": "customerInfo", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "initializer": "new ModResortsCustomerInformation()", - "start_line": 65, - "start_column": 33, - "end_line": 65, - "end_column": 82 - }, - { - "name": "info", - "type": "java.util.ArrayList", - "initializer": "customerInfo.getCustomerInformation()", - "start_line": 66, - "start_column": 21, - "end_line": 66, - "end_column": 64 - } - ], - "cyclomatic_complexity": 0 - }, - "getCustomerInformationTest9_vfTj8()": { - "signature": "getCustomerInformationTest9_vfTj8()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void getCustomerInformationTest9_vfTj8()", - "parameters": [], - "code": "{\n ModResortsCustomerInformation customerInfo = new ModResortsCustomerInformation();\n ArrayList info = customerInfo.getCustomerInformation();\n Assertions.assertEquals(3, info.size());\n}", - "start_line": 86, - "end_line": 92, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.db.ModResortsCustomerInformation", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCustomerInformation", - "receiver_expr": "customerInfo", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getCustomerInformation()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 90, - "start_column": 28, - "end_line": 90, - "end_column": 64 - }, - { - "method_name": "assertEquals", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 91, - "start_column": 3, - "end_line": 91, - "end_column": 41 - }, - { - "method_name": "size", - "receiver_expr": "info", - "receiver_type": "java.util.ArrayList", - "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, - "start_line": 91, - "start_column": 30, - "end_line": 91, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.db.ModResortsCustomerInformation", - "argument_types": [], - "return_type": "com.acme.modres.db.ModResortsCustomerInformation", - "callee_signature": "ModResortsCustomerInformation()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 89, - "start_column": 48, - "end_line": 89, - "end_column": 82 - } - ], - "variable_declarations": [ - { - "name": "customerInfo", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "initializer": "new ModResortsCustomerInformation()", - "start_line": 89, - "start_column": 33, - "end_line": 89, - "end_column": 82 - }, - { - "name": "info", - "type": "java.util.ArrayList", - "initializer": "customerInfo.getCustomerInformation()", - "start_line": 90, - "start_column": 21, - "end_line": 90, - "end_column": 64 - } - ], - "cyclomatic_complexity": 0 - } - }, - "field_declarations": [ - { - "comment": "", - "type": "java.lang.String", - "start_line": 28, - "end_line": 28, - "variables": [ - "SELECT_CUSTOMERS_QUERY" - ], - "modifiers": [ - "private", - "static" - ], - "annotations": [] - }, - { - "comment": "", - "type": "javax.sql.DataSource", - "start_line": 29, - "end_line": 30, - "variables": [ - "dataSource" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Mock" - ] - }, - { - "comment": "", - "type": "com.acme.modres.db.ModResortsCustomerInformation", - "start_line": 31, - "end_line": 31, - "variables": [ - "modresortscustomerinformation" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "javax.sql.DataSource", - "start_line": 32, - "end_line": 32, - "variables": [ - "datasource" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "java.sql.Connection", - "start_line": 33, - "end_line": 33, - "variables": [ - "connection" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "java.sql.PreparedStatement", - "start_line": 34, - "end_line": 34, - "variables": [ - "preparedstatement" - ], - "modifiers": [], - "annotations": [] - }, - { - "comment": "", - "type": "java.sql.ResultSet", - "start_line": 35, - "end_line": 35, - "variables": [ - "resultset" - ], - "modifiers": [], - "annotations": [] - } - ] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/mbean/WCA_DMBeanUtils_Test_Failing.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/mbean/WCA_DMBeanUtils_Test_Failing.java", - "comment": "/**\n * Generated by IBM watsonx Code Assistant for Enterprise Java Applications\n */", - "imports": [ - "java.util.ArrayList", - "java.util.List", - "java.util.concurrent.TimeUnit", - "javax.management.MBeanOperationInfo", - "org.junit.jupiter.api.Assertions", - "org.junit.jupiter.api.Test", - "org.junit.jupiter.api.Timeout", - "org.junit.jupiter.api.Timeout.ThreadMode", - "org.junit.jupiter.api.Assertions", - "org.junit.jupiter.api.Timeout.ThreadMode.SEPARATE_THREAD" - ], - "type_declarations": { - "com.acme.modres.mbean.WCA_DMBeanUtils_Test_Failing": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "testGetOps_noqH0_3_fid2()": { - "signature": "testGetOps_noqH0_3_fid2()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_noqH0_3_fid2() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"test\");\n opMetadata.setDescription(\"test\");\n opMetadata.setType(\"test\");\n opMetadata.setImpact(1);\n opMetadatList.add(opMetadata);\n ops = DMBeanUtils.getOps(opList);\n opMetadatList.clear();\n for (int i = 0; i < 5; i++) {\n opMetadata = new OpMetadata();\n opMetadata.setName(\"test\" + i);\n opMetadata.setDescription(\"test\" + i);\n opMetadata.setType(\"test\" + i);\n opMetadata.setImpact(i);\n opMetadatList.add(opMetadata);\n }\n ops = DMBeanUtils.getOps(opList);\n Assertions.assertEquals(1, ops.length);\n}", - "start_line": 129, - "end_line": 154, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [ - "length" - ], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 134, - "start_column": 3, - "end_line": 134, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 135, - "start_column": 30, - "end_line": 135, - "end_column": 55 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 137, - "start_column": 3, - "end_line": 137, - "end_column": 28 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 138, - "start_column": 3, - "end_line": 138, - "end_column": 35 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 139, - "start_column": 3, - "end_line": 139, - "end_column": 28 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 140, - "start_column": 3, - "end_line": 140, - "end_column": 25 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 141, - "start_column": 3, - "end_line": 141, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 142, - "start_column": 9, - "end_line": 142, - "end_column": 34 - }, - { - "method_name": "clear", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "clear()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 143, - "start_column": 3, - "end_line": 143, - "end_column": 23 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 146, - "start_column": 4, - "end_line": 146, - "end_column": 33 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 147, - "start_column": 4, - "end_line": 147, - "end_column": 40 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 148, - "start_column": 4, - "end_line": 148, - "end_column": 33 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 149, - "start_column": 4, - "end_line": 149, - "end_column": 26 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 150, - "start_column": 4, - "end_line": 150, - "end_column": 32 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 152, - "start_column": 9, - "end_line": 152, - "end_column": 34 - }, - { - "method_name": "assertEquals", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 153, - "start_column": 3, - "end_line": 153, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 132, - "start_column": 27, - "end_line": 132, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 133, - "start_column": 36, - "end_line": 133, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 136, - "start_column": 27, - "end_line": 136, - "end_column": 42 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 145, - "start_column": 17, - "end_line": 145, - "end_column": 32 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 132, - "start_column": 18, - "end_line": 132, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 133, - "start_column": 20, - "end_line": 133, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 135, - "start_column": 24, - "end_line": 135, - "end_column": 55 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 136, - "start_column": 14, - "end_line": 136, - "end_column": 42 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 144, - "start_column": 12, - "end_line": 144, - "end_column": 16 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_noqH0_4()": { - "signature": "testGetOps_noqH0_4()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_noqH0_4() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"test\");\n opMetadata.setDescription(\"test\");\n opMetadata.setType(\"test\");\n opMetadata.setImpact(1);\n opMetadatList.add(opMetadata);\n ops = DMBeanUtils.getOps(opList);\n opMetadatList.clear();\n for (int i = 0; i < 5; i++) {\n opMetadata = new OpMetadata();\n opMetadata.setName(\"test\" + i);\n opMetadata.setDescription(\"test\" + i);\n opMetadata.setType(\"test\" + i);\n opMetadata.setImpact(i);\n opMetadatList.add(opMetadata);\n }\n ops = DMBeanUtils.getOps(opList);\n Assertions.assertNotNull(ops);\n opMetadata.setImpact(4);\n Assertions.assertThrows(IllegalArgumentException.class, () -> DMBeanUtils.getOps(opList));\n}", - "start_line": 73, - "end_line": 100, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 78, - "start_column": 3, - "end_line": 78, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 79, - "start_column": 30, - "end_line": 79, - "end_column": 55 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 81, - "start_column": 3, - "end_line": 81, - "end_column": 28 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 82, - "start_column": 3, - "end_line": 82, - "end_column": 35 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 83, - "start_column": 3, - "end_line": 83, - "end_column": 28 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 84, - "start_column": 3, - "end_line": 84, - "end_column": 25 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 85, - "start_column": 3, - "end_line": 85, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 86, - "start_column": 9, - "end_line": 86, - "end_column": 34 - }, - { - "method_name": "clear", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "clear()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 87, - "start_column": 3, - "end_line": 87, - "end_column": 23 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 90, - "start_column": 4, - "end_line": 90, - "end_column": 33 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 91, - "start_column": 4, - "end_line": 91, - "end_column": 40 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 92, - "start_column": 4, - "end_line": 92, - "end_column": 33 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 93, - "start_column": 4, - "end_line": 93, - "end_column": 26 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 94, - "start_column": 4, - "end_line": 94, - "end_column": 32 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 96, - "start_column": 9, - "end_line": 96, - "end_column": 34 - }, - { - "method_name": "assertNotNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNotNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 97, - "start_column": 3, - "end_line": 97, - "end_column": 31 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 98, - "start_column": 3, - "end_line": 98, - "end_column": 25 - }, - { - "method_name": "assertThrows", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "java.lang.Class", - "" - ], - "return_type": "", - "callee_signature": "assertThrows(java.lang.Class, org.junit.jupiter.api.function.Executable)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 99, - "start_column": 3, - "end_line": 99, - "end_column": 91 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 99, - "start_column": 65, - "end_line": 99, - "end_column": 90 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 76, - "start_column": 27, - "end_line": 76, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 77, - "start_column": 36, - "end_line": 77, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 80, - "start_column": 27, - "end_line": 80, - "end_column": 42 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 89, - "start_column": 17, - "end_line": 89, - "end_column": 32 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 76, - "start_column": 18, - "end_line": 76, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 77, - "start_column": 20, - "end_line": 77, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 79, - "start_column": 24, - "end_line": 79, - "end_column": 55 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 80, - "start_column": 14, - "end_line": 80, - "end_column": 42 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 88, - "start_column": 12, - "end_line": 88, - "end_column": 16 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_noqH0_2_fid2()": { - "signature": "testGetOps_noqH0_2_fid2()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_noqH0_2_fid2() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"test\");\n opMetadata.setDescription(\"test\");\n opMetadata.setType(\"test\");\n opMetadata.setImpact(1);\n opMetadatList.add(opMetadata);\n ops = DMBeanUtils.getOps(opList);\n opMetadatList.clear();\n for (int i = 0; i < 5; i++) {\n opMetadata = new OpMetadata();\n opMetadata.setName(\"test\" + i);\n opMetadata.setDescription(\"test\" + i);\n opMetadata.setType(\"test\" + i);\n opMetadata.setImpact(i);\n opMetadatList.add(opMetadata);\n }\n ops = DMBeanUtils.getOps(opList);\n Assertions.assertNotNull(ops);\n}", - "start_line": 102, - "end_line": 127, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 107, - "start_column": 3, - "end_line": 107, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 108, - "start_column": 30, - "end_line": 108, - "end_column": 55 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 110, - "start_column": 3, - "end_line": 110, - "end_column": 28 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 111, - "start_column": 3, - "end_line": 111, - "end_column": 35 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 112, - "start_column": 3, - "end_line": 112, - "end_column": 28 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 113, - "start_column": 3, - "end_line": 113, - "end_column": 25 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 114, - "start_column": 3, - "end_line": 114, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 115, - "start_column": 9, - "end_line": 115, - "end_column": 34 - }, - { - "method_name": "clear", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "clear()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 116, - "start_column": 3, - "end_line": 116, - "end_column": 23 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 119, - "start_column": 4, - "end_line": 119, - "end_column": 33 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 120, - "start_column": 4, - "end_line": 120, - "end_column": 40 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 121, - "start_column": 4, - "end_line": 121, - "end_column": 33 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 122, - "start_column": 4, - "end_line": 122, - "end_column": 26 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 123, - "start_column": 4, - "end_line": 123, - "end_column": 32 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 125, - "start_column": 9, - "end_line": 125, - "end_column": 34 - }, - { - "method_name": "assertNotNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNotNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 126, - "start_column": 3, - "end_line": 126, - "end_column": 31 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 105, - "start_column": 27, - "end_line": 105, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 106, - "start_column": 36, - "end_line": 106, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 109, - "start_column": 27, - "end_line": 109, - "end_column": 42 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 118, - "start_column": 17, - "end_line": 118, - "end_column": 32 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 105, - "start_column": 18, - "end_line": 105, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 106, - "start_column": 20, - "end_line": 106, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 108, - "start_column": 24, - "end_line": 108, - "end_column": 55 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 109, - "start_column": 14, - "end_line": 109, - "end_column": 42 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 117, - "start_column": 12, - "end_line": 117, - "end_column": 16 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_noqH0_3()": { - "signature": "testGetOps_noqH0_3()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_noqH0_3() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"test\");\n opMetadata.setDescription(\"test\");\n opMetadata.setType(\"test\");\n opMetadata.setImpact(1);\n opMetadatList.add(opMetadata);\n ops = DMBeanUtils.getOps(opList);\n opMetadatList.clear();\n for (int i = 0; i < 5; i++) {\n opMetadata = new OpMetadata();\n opMetadata.setName(\"test\" + i);\n opMetadata.setDescription(\"test\" + i);\n opMetadata.setType(\"test\" + i);\n opMetadata.setImpact(i);\n opMetadatList.add(opMetadata);\n }\n ops = DMBeanUtils.getOps(opList);\n Assertions.assertEquals(5, ops.length);\n}", - "start_line": 46, - "end_line": 71, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [ - "length" - ], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 51, - "start_column": 3, - "end_line": 51, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 52, - "start_column": 30, - "end_line": 52, - "end_column": 55 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 54, - "start_column": 3, - "end_line": 54, - "end_column": 28 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 55, - "start_column": 3, - "end_line": 55, - "end_column": 35 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 56, - "start_column": 3, - "end_line": 56, - "end_column": 28 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 57, - "start_column": 3, - "end_line": 57, - "end_column": 25 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 58, - "start_column": 3, - "end_line": 58, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 59, - "start_column": 9, - "end_line": 59, - "end_column": 34 - }, - { - "method_name": "clear", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "clear()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 60, - "start_column": 3, - "end_line": 60, - "end_column": 23 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 63, - "start_column": 4, - "end_line": 63, - "end_column": 33 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 64, - "start_column": 4, - "end_line": 64, - "end_column": 40 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 65, - "start_column": 4, - "end_line": 65, - "end_column": 33 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 66, - "start_column": 4, - "end_line": 66, - "end_column": 26 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 67, - "start_column": 4, - "end_line": 67, - "end_column": 32 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 69, - "start_column": 9, - "end_line": 69, - "end_column": 34 - }, - { - "method_name": "assertEquals", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 70, - "start_column": 3, - "end_line": 70, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 49, - "start_column": 27, - "end_line": 49, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 50, - "start_column": 36, - "end_line": 50, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 53, - "start_column": 27, - "end_line": 53, - "end_column": 42 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 62, - "start_column": 17, - "end_line": 62, - "end_column": 32 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 49, - "start_column": 18, - "end_line": 49, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 50, - "start_column": 20, - "end_line": 50, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 52, - "start_column": 24, - "end_line": 52, - "end_column": 55 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 53, - "start_column": 14, - "end_line": 53, - "end_column": 42 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 61, - "start_column": 12, - "end_line": 61, - "end_column": 16 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_noqH0_1()": { - "signature": "testGetOps_noqH0_1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_noqH0_1() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"test\");\n opMetadata.setDescription(\"test\");\n opMetadata.setType(\"test\");\n opMetadata.setImpact(1);\n opMetadatList.add(opMetadata);\n ops = DMBeanUtils.getOps(opList);\n opMetadatList.clear();\n for (int i = 0; i < 5; i++) {\n opMetadata = new OpMetadata();\n opMetadata.setName(\"test\" + i);\n opMetadata.setDescription(\"test\" + i);\n opMetadata.setType(\"test\" + i);\n opMetadata.setImpact(i);\n opMetadatList.add(opMetadata);\n }\n ops = DMBeanUtils.getOps(opList);\n Assertions.assertNull(ops);\n}", - "start_line": 19, - "end_line": 44, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 24, - "start_column": 3, - "end_line": 24, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 25, - "start_column": 30, - "end_line": 25, - "end_column": 55 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 27, - "start_column": 3, - "end_line": 27, - "end_column": 28 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 28, - "start_column": 3, - "end_line": 28, - "end_column": 35 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 29, - "start_column": 3, - "end_line": 29, - "end_column": 28 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 30, - "start_column": 3, - "end_line": 30, - "end_column": 25 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 31, - "start_column": 3, - "end_line": 31, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 32, - "start_column": 9, - "end_line": 32, - "end_column": 34 - }, - { - "method_name": "clear", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "clear()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 33, - "start_column": 3, - "end_line": 33, - "end_column": 23 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 36, - "start_column": 4, - "end_line": 36, - "end_column": 33 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 37, - "start_column": 4, - "end_line": 37, - "end_column": 40 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 38, - "start_column": 4, - "end_line": 38, - "end_column": 33 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 39, - "start_column": 4, - "end_line": 39, - "end_column": 26 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 40, - "start_column": 4, - "end_line": 40, - "end_column": 32 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 42, - "start_column": 9, - "end_line": 42, - "end_column": 34 - }, - { - "method_name": "assertNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 43, - "start_column": 3, - "end_line": 43, - "end_column": 28 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 22, - "start_column": 27, - "end_line": 22, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 23, - "start_column": 36, - "end_line": 23, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 26, - "start_column": 27, - "end_line": 26, - "end_column": 42 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 35, - "start_column": 17, - "end_line": 35, - "end_column": 32 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 22, - "start_column": 18, - "end_line": 22, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 23, - "start_column": 20, - "end_line": 23, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 25, - "start_column": 24, - "end_line": 25, - "end_column": 55 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 26, - "start_column": 14, - "end_line": 26, - "end_column": 42 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 34, - "start_column": 12, - "end_line": 34, - "end_column": 16 - } - ], - "cyclomatic_complexity": 0 - } - }, - "field_declarations": [] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/exception/WCA_ExceptionHandler_Test_Passing.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/exception/WCA_ExceptionHandler_Test_Passing.java", - "comment": "/**\n * Generated by IBM watsonx Code Assistant for Enterprise Java Applications\n */", - "imports": [ - "java.util.concurrent.TimeUnit", - "java.util.logging.Logger", - "javax.servlet.ServletException", - "org.junit.jupiter.api.Test", - "org.junit.jupiter.api.Timeout", - "org.junit.jupiter.api.Timeout.ThreadMode", - "org.junit.jupiter.api.Assertions.assertEquals", - "org.junit.jupiter.api.Assertions.fail", - "org.junit.jupiter.api.Timeout.ThreadMode.SEPARATE_THREAD" - ], - "type_declarations": { - "com.acme.modres.exception.WCA_ExceptionHandler_Test_Passing": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "handleExceptionWithExceptionTest_nKhx1()": { - "signature": "handleExceptionWithExceptionTest_nKhx1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void handleExceptionWithExceptionTest_nKhx1()", - "parameters": [], - "code": "{\n Exception e = new Exception(\"This is an exception\");\n String errorMsg = \"This is an error message\";\n Logger logger = Logger.getLogger(\"Exception Logger\");\n try {\n ExceptionHandler.handleException(e, errorMsg, logger);\n } catch (ServletException se) {\n assertEquals(se.getMessage(), errorMsg);\n assertEquals(se.getCause(), e);\n return;\n }\n fail(\"handleException did not throw ServletException when Exception is not null\");\n}", - "start_line": 66, - "end_line": 81, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "java.util.logging.Logger", - "java.lang.Exception" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getLogger", - "receiver_expr": "Logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.logging.Logger", - "callee_signature": "getLogger(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 72, - "start_column": 19, - "end_line": 72, - "end_column": 54 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.lang.Exception", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 74, - "start_column": 4, - "end_line": 74, - "end_column": 56 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 76, - "start_column": 4, - "end_line": 76, - "end_column": 42 - }, - { - "method_name": "getMessage", - "receiver_expr": "se", - "receiver_type": "javax.servlet.ServletException", - "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, - "start_line": 76, - "start_column": 17, - "end_line": 76, - "end_column": 31 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Throwable", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 77, - "start_column": 4, - "end_line": 77, - "end_column": 33 - }, - { - "method_name": "getCause", - "receiver_expr": "se", - "receiver_type": "javax.servlet.ServletException", - "argument_types": [], - "return_type": "java.lang.Throwable", - "callee_signature": "getCause()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 77, - "start_column": 17, - "end_line": 77, - "end_column": 29 - }, - { - "method_name": "fail", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "fail(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 80, - "start_column": 3, - "end_line": 80, - "end_column": 83 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.lang.Exception", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 70, - "start_column": 17, - "end_line": 70, - "end_column": 53 - } - ], - "variable_declarations": [ - { - "name": "e", - "type": "java.lang.Exception", - "initializer": "new Exception(\"This is an exception\")", - "start_line": 70, - "start_column": 13, - "end_line": 70, - "end_column": 53 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"This is an error message\"", - "start_line": 71, - "start_column": 10, - "end_line": 71, - "end_column": 46 - }, - { - "name": "logger", - "type": "java.util.logging.Logger", - "initializer": "Logger.getLogger(\"Exception Logger\")", - "start_line": 72, - "start_column": 10, - "end_line": 72, - "end_column": 54 - } - ], - "cyclomatic_complexity": 0 - }, - "testHandleException2_RfeX1()": { - "signature": "testHandleException2_RfeX1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void testHandleException2_RfeX1()", - "parameters": [], - "code": "{\n Exception e = null;\n String errorMsg = \"Test Error Message\";\n Logger logger = Logger.getLogger(\"Test Logger\");\n try {\n ExceptionHandler.handleException(e, errorMsg, logger);\n } catch (ServletException ex) {\n assertEquals(ex.getMessage(), errorMsg);\n assertEquals(ex.getCause(), e);\n return;\n }\n fail(\"handleException should have thrown a ServletException\");\n}", - "start_line": 34, - "end_line": 48, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "java.util.logging.Logger", - "java.lang.Exception" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getLogger", - "receiver_expr": "Logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.logging.Logger", - "callee_signature": "getLogger(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 39, - "start_column": 19, - "end_line": 39, - "end_column": 49 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.lang.Exception", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 41, - "start_column": 4, - "end_line": 41, - "end_column": 56 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 43, - "start_column": 4, - "end_line": 43, - "end_column": 42 - }, - { - "method_name": "getMessage", - "receiver_expr": "ex", - "receiver_type": "javax.servlet.ServletException", - "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, - "start_line": 43, - "start_column": 17, - "end_line": 43, - "end_column": 31 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Throwable", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 44, - "start_column": 4, - "end_line": 44, - "end_column": 33 - }, - { - "method_name": "getCause", - "receiver_expr": "ex", - "receiver_type": "javax.servlet.ServletException", - "argument_types": [], - "return_type": "java.lang.Throwable", - "callee_signature": "getCause()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 44, - "start_column": 17, - "end_line": 44, - "end_column": 29 - }, - { - "method_name": "fail", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "fail(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 47, - "start_column": 3, - "end_line": 47, - "end_column": 63 - } - ], - "variable_declarations": [ - { - "name": "e", - "type": "java.lang.Exception", - "initializer": "null", - "start_line": 37, - "start_column": 13, - "end_line": 37, - "end_column": 20 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Test Error Message\"", - "start_line": 38, - "start_column": 10, - "end_line": 38, - "end_column": 40 - }, - { - "name": "logger", - "type": "java.util.logging.Logger", - "initializer": "Logger.getLogger(\"Test Logger\")", - "start_line": 39, - "start_column": 10, - "end_line": 39, - "end_column": 49 - } - ], - "cyclomatic_complexity": 0 - }, - "handleExceptionWithNullExceptionTest_MXIX0()": { - "signature": "handleExceptionWithNullExceptionTest_MXIX0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void handleExceptionWithNullExceptionTest_MXIX0()", - "parameters": [], - "code": "{\n Exception e = null;\n String errorMsg = \"This is an error message\";\n Logger logger = Logger.getLogger(\"Exception Logger\");\n try {\n ExceptionHandler.handleException(e, errorMsg, logger);\n } catch (ServletException se) {\n assertEquals(se.getMessage(), errorMsg);\n return;\n }\n fail(\"handleException did not throw ServletException when Exception is null\");\n}", - "start_line": 50, - "end_line": 64, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "java.util.logging.Logger", - "java.lang.Exception" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getLogger", - "receiver_expr": "Logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.logging.Logger", - "callee_signature": "getLogger(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 56, - "start_column": 19, - "end_line": 56, - "end_column": 54 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.lang.Exception", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 58, - "start_column": 4, - "end_line": 58, - "end_column": 56 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 60, - "start_column": 4, - "end_line": 60, - "end_column": 42 - }, - { - "method_name": "getMessage", - "receiver_expr": "se", - "receiver_type": "javax.servlet.ServletException", - "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, - "start_line": 60, - "start_column": 17, - "end_line": 60, - "end_column": 31 - }, - { - "method_name": "fail", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "fail(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 63, - "start_column": 3, - "end_line": 63, - "end_column": 79 - } - ], - "variable_declarations": [ - { - "name": "e", - "type": "java.lang.Exception", - "initializer": "null", - "start_line": 54, - "start_column": 13, - "end_line": 54, - "end_column": 20 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"This is an error message\"", - "start_line": 55, - "start_column": 10, - "end_line": 55, - "end_column": 46 - }, - { - "name": "logger", - "type": "java.util.logging.Logger", - "initializer": "Logger.getLogger(\"Exception Logger\")", - "start_line": 56, - "start_column": 10, - "end_line": 56, - "end_column": 54 - } - ], - "cyclomatic_complexity": 0 - }, - "testHandleException1_Aved0()": { - "signature": "testHandleException1_Aved0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void testHandleException1_Aved0()", - "parameters": [], - "code": "{\n Exception e = new Exception(\"Test Exception\");\n String errorMsg = \"Test Error Message\";\n Logger logger = Logger.getLogger(\"Test Logger\");\n try {\n ExceptionHandler.handleException(e, errorMsg, logger);\n } catch (ServletException ex) {\n assertEquals(ex.getMessage(), errorMsg);\n assertEquals(ex.getCause(), e);\n return;\n }\n fail(\"handleException should have thrown a ServletException\");\n}", - "start_line": 18, - "end_line": 32, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "java.util.logging.Logger", - "java.lang.Exception" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getLogger", - "receiver_expr": "Logger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.logging.Logger", - "callee_signature": "getLogger(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 23, - "start_column": 19, - "end_line": 23, - "end_column": 49 - }, - { - "method_name": "handleException", - "receiver_expr": "ExceptionHandler", - "receiver_type": "com.acme.modres.exception.ExceptionHandler", - "argument_types": [ - "java.lang.Exception", - "java.lang.String", - "java.util.logging.Logger" - ], - "return_type": "", - "callee_signature": "handleException(java.lang.Exception, java.lang.String, java.util.logging.Logger)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 25, - "start_column": 4, - "end_line": 25, - "end_column": 56 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 27, - "start_column": 4, - "end_line": 27, - "end_column": 42 - }, - { - "method_name": "getMessage", - "receiver_expr": "ex", - "receiver_type": "javax.servlet.ServletException", - "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, - "start_line": 27, - "start_column": 17, - "end_line": 27, - "end_column": 31 - }, - { - "method_name": "assertEquals", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Throwable", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "assertEquals(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, - "start_line": 28, - "start_column": 4, - "end_line": 28, - "end_column": 33 - }, - { - "method_name": "getCause", - "receiver_expr": "ex", - "receiver_type": "javax.servlet.ServletException", - "argument_types": [], - "return_type": "java.lang.Throwable", - "callee_signature": "getCause()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 28, - "start_column": 17, - "end_line": 28, - "end_column": 29 - }, - { - "method_name": "fail", - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "fail(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 31, - "start_column": 3, - "end_line": 31, - "end_column": 63 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "java.lang.Exception", - "argument_types": [ - "java.lang.String" - ], - "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, - "start_line": 21, - "start_column": 17, - "end_line": 21, - "end_column": 47 - } - ], - "variable_declarations": [ - { - "name": "e", - "type": "java.lang.Exception", - "initializer": "new Exception(\"Test Exception\")", - "start_line": 21, - "start_column": 13, - "end_line": 21, - "end_column": 47 - }, - { - "name": "errorMsg", - "type": "java.lang.String", - "initializer": "\"Test Error Message\"", - "start_line": 22, - "start_column": 10, - "end_line": 22, - "end_column": 40 - }, - { - "name": "logger", - "type": "java.util.logging.Logger", - "initializer": "Logger.getLogger(\"Test Logger\")", - "start_line": 23, - "start_column": 10, - "end_line": 23, - "end_column": 49 - } - ], - "cyclomatic_complexity": 0 - } - }, - "field_declarations": [] - } - }, - "is_modified": false - }, - "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/mbean/WCA_DMBeanUtils_Test_Passing.java": { - "file_path": "/Users/rajupavuluri/development/modresorts/src/test/java/com/acme/modres/mbean/WCA_DMBeanUtils_Test_Passing.java", - "comment": "/**\n * Generated by IBM watsonx Code Assistant for Enterprise Java Applications\n */", - "imports": [ - "java.util.ArrayList", - "java.util.List", - "java.util.concurrent.TimeUnit", - "javax.management.MBeanOperationInfo", - "org.junit.jupiter.api.Assertions", - "org.junit.jupiter.api.Test", - "org.junit.jupiter.api.Timeout", - "org.junit.jupiter.api.Timeout.ThreadMode", - "org.junit.jupiter.api.Assertions", - "org.junit.jupiter.api.Timeout.ThreadMode.SEPARATE_THREAD" - ], - "type_declarations": { - "com.acme.modres.mbean.WCA_DMBeanUtils_Test_Passing": { - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "comment": "", - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "testGetOps_HYBF0()": { - "signature": "testGetOps_HYBF0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_HYBF0() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertNull(ops);\n}", - "start_line": 159, - "end_line": 167, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 164, - "start_column": 3, - "end_line": 164, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 165, - "start_column": 30, - "end_line": 165, - "end_column": 55 - }, - { - "method_name": "assertNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 166, - "start_column": 3, - "end_line": 166, - "end_column": 28 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 162, - "start_column": 27, - "end_line": 162, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 163, - "start_column": 36, - "end_line": 163, - "end_column": 62 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 162, - "start_column": 18, - "end_line": 162, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 163, - "start_column": 20, - "end_line": 163, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 165, - "start_column": 24, - "end_line": 165, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithNullOpList_lksM7()": { - "signature": "testGetOpsWithNullOpList_lksM7()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithNullOpList_lksM7() throws Exception", - "parameters": [], - "code": "{\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(null);\n Assertions.assertNull(ops);\n}", - "start_line": 49, - "end_line": 54, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 52, - "start_column": 30, - "end_line": 52, - "end_column": 53 - }, - { - "method_name": "assertNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 53, - "start_column": 3, - "end_line": 53, - "end_column": 28 - } - ], - "variable_declarations": [ - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(null)", - "start_line": 52, - "start_column": 24, - "end_line": 52, - "end_column": 53 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_jLvE0()": { - "signature": "testGetOps_jLvE0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_jLvE0() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadataList = new ArrayList<>();\n opList.setOpMetadatList(opMetadataList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertNull(ops);\n}", - "start_line": 110, - "end_line": 118, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 115, - "start_column": 3, - "end_line": 115, - "end_column": 41 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 116, - "start_column": 30, - "end_line": 116, - "end_column": 55 - }, - { - "method_name": "assertNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 117, - "start_column": 3, - "end_line": 117, - "end_column": 28 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 113, - "start_column": 27, - "end_line": 113, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 114, - "start_column": 37, - "end_line": 114, - "end_column": 53 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 113, - "start_column": 18, - "end_line": 113, - "end_column": 46 - }, - { - "name": "opMetadataList", - "type": "java.util.List", - "initializer": "new ArrayList<>()", - "start_line": 114, - "start_column": 20, - "end_line": 114, - "end_column": 53 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 116, - "start_column": 24, - "end_line": 116, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_DTND0()": { - "signature": "testGetOps_DTND0()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_DTND0() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList<>();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertNull(ops);\n}", - "start_line": 19, - "end_line": 27, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 24, - "start_column": 3, - "end_line": 24, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 25, - "start_column": 30, - "end_line": 25, - "end_column": 55 - }, - { - "method_name": "assertNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 26, - "start_column": 3, - "end_line": 26, - "end_column": 28 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 22, - "start_column": 27, - "end_line": 22, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 23, - "start_column": 36, - "end_line": 23, - "end_column": 52 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 22, - "start_column": 18, - "end_line": 22, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList<>()", - "start_line": 23, - "start_column": 20, - "end_line": 23, - "end_column": 52 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 25, - "start_column": 24, - "end_line": 25, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithMultipleOps_HiiA4()": { - "signature": "testGetOpsWithMultipleOps_HiiA4()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithMultipleOps_HiiA4() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList<>();\n OpMetadata opMetadata1 = new OpMetadata();\n opMetadata1.setName(\"Test Operation 1\");\n opMetadata1.setDescription(\"This is the first test operation\");\n}", - "start_line": 39, - "end_line": 47, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setName", - "receiver_expr": "opMetadata1", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 45, - "start_column": 3, - "end_line": 45, - "end_column": 41 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata1", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 46, - "start_column": 3, - "end_line": 46, - "end_column": 64 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 42, - "start_column": 27, - "end_line": 42, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 43, - "start_column": 36, - "end_line": 43, - "end_column": 52 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 44, - "start_column": 28, - "end_line": 44, - "end_column": 43 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 42, - "start_column": 18, - "end_line": 42, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList<>()", - "start_line": 43, - "start_column": 20, - "end_line": 43, - "end_column": 52 - }, - { - "name": "opMetadata1", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 44, - "start_column": 14, - "end_line": 44, - "end_column": 43 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithOneElement_GRtb1_2()": { - "signature": "testGetOpsWithOneElement_GRtb1_2()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithOneElement_GRtb1_2() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n OpMetadata opMetadata = new OpMetadata(\"opName\", \"opDescription\", \"opType\", 1);\n opMetadatList.add(opMetadata);\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertEquals(1, ops.length);\n}", - "start_line": 181, - "end_line": 191, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [ - "length" - ], - "call_sites": [ - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 187, - "start_column": 3, - "end_line": 187, - "end_column": 31 - }, - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 188, - "start_column": 3, - "end_line": 188, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 189, - "start_column": 30, - "end_line": 189, - "end_column": 55 - }, - { - "method_name": "assertEquals", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 190, - "start_column": 3, - "end_line": 190, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 184, - "start_column": 27, - "end_line": 184, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 185, - "start_column": 36, - "end_line": 185, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 186, - "start_column": 27, - "end_line": 186, - "end_column": 80 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 184, - "start_column": 18, - "end_line": 184, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 185, - "start_column": 20, - "end_line": 185, - "end_column": 62 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName\", \"opDescription\", \"opType\", 1)", - "start_line": 186, - "start_column": 14, - "end_line": 186, - "end_column": 80 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 189, - "start_column": 24, - "end_line": 189, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_noqH0_5()": { - "signature": "testGetOps_noqH0_5()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_noqH0_5() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"test\");\n opMetadata.setDescription(\"test\");\n opMetadata.setType(\"test\");\n opMetadata.setImpact(1);\n opMetadatList.add(opMetadata);\n ops = DMBeanUtils.getOps(opList);\n opMetadatList.clear();\n for (int i = 0; i < 5; i++) {\n opMetadata = new OpMetadata();\n opMetadata.setName(\"test\" + i);\n opMetadata.setDescription(\"test\" + i);\n opMetadata.setType(\"test\" + i);\n opMetadata.setImpact(MBeanOperationInfo.UNKNOWN);\n opMetadatList.add(opMetadata);\n }\n ops = DMBeanUtils.getOps(opList);\n Assertions.assertEquals(5, ops.length);\n}", - "start_line": 83, - "end_line": 108, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [ - "length", - "javax.management.MBeanOperationInfo.UNKNOWN" - ], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 88, - "start_column": 3, - "end_line": 88, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 89, - "start_column": 30, - "end_line": 89, - "end_column": 55 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 91, - "start_column": 3, - "end_line": 91, - "end_column": 28 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 92, - "start_column": 3, - "end_line": 92, - "end_column": 35 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 93, - "start_column": 3, - "end_line": 93, - "end_column": 28 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 94, - "start_column": 3, - "end_line": 94, - "end_column": 25 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 95, - "start_column": 3, - "end_line": 95, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 96, - "start_column": 9, - "end_line": 96, - "end_column": 34 - }, - { - "method_name": "clear", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "clear()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 97, - "start_column": 3, - "end_line": 97, - "end_column": 23 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 100, - "start_column": 4, - "end_line": 100, - "end_column": 33 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 101, - "start_column": 4, - "end_line": 101, - "end_column": 40 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 102, - "start_column": 4, - "end_line": 102, - "end_column": 33 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 103, - "start_column": 4, - "end_line": 103, - "end_column": 51 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 104, - "start_column": 4, - "end_line": 104, - "end_column": 32 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 106, - "start_column": 9, - "end_line": 106, - "end_column": 34 - }, - { - "method_name": "assertEquals", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 107, - "start_column": 3, - "end_line": 107, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 86, - "start_column": 27, - "end_line": 86, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 87, - "start_column": 36, - "end_line": 87, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 90, - "start_column": 27, - "end_line": 90, - "end_column": 42 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 99, - "start_column": 17, - "end_line": 99, - "end_column": 32 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 86, - "start_column": 18, - "end_line": 86, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 87, - "start_column": 20, - "end_line": 87, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 89, - "start_column": 24, - "end_line": 89, - "end_column": 55 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 90, - "start_column": 14, - "end_line": 90, - "end_column": 42 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 98, - "start_column": 12, - "end_line": 98, - "end_column": 16 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithOneElement_GRtb1_1()": { - "signature": "testGetOpsWithOneElement_GRtb1_1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithOneElement_GRtb1_1() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n OpMetadata opMetadata = new OpMetadata(\"opName\", \"opDescription\", \"opType\", 1);\n opMetadatList.add(opMetadata);\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertNotNull(ops);\n}", - "start_line": 169, - "end_line": 179, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 175, - "start_column": 3, - "end_line": 175, - "end_column": 31 - }, - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 176, - "start_column": 3, - "end_line": 176, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 177, - "start_column": 30, - "end_line": 177, - "end_column": 55 - }, - { - "method_name": "assertNotNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNotNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 178, - "start_column": 3, - "end_line": 178, - "end_column": 31 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 172, - "start_column": 27, - "end_line": 172, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 173, - "start_column": 36, - "end_line": 173, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 174, - "start_column": 27, - "end_line": 174, - "end_column": 80 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 172, - "start_column": 18, - "end_line": 172, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 173, - "start_column": 20, - "end_line": 173, - "end_column": 62 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName\", \"opDescription\", \"opType\", 1)", - "start_line": 174, - "start_column": 14, - "end_line": 174, - "end_column": 80 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 177, - "start_column": 24, - "end_line": 177, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithMultipleElements_IqUu2_1()": { - "signature": "testGetOpsWithMultipleElements_IqUu2_1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithMultipleElements_IqUu2_1() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n OpMetadata opMetadata1 = new OpMetadata(\"opName1\", \"opDescription1\", \"opType1\", 1);\n OpMetadata opMetadata2 = new OpMetadata(\"opName2\", \"opDescription2\", \"opType2\", 2);\n OpMetadata opMetadata3 = new OpMetadata(\"opName3\", \"opDescription3\", \"opType3\", 3);\n opMetadatList.add(opMetadata1);\n opMetadatList.add(opMetadata2);\n opMetadatList.add(opMetadata3);\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertNotNull(ops);\n}", - "start_line": 193, - "end_line": 207, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 201, - "start_column": 3, - "end_line": 201, - "end_column": 32 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 202, - "start_column": 3, - "end_line": 202, - "end_column": 32 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 203, - "start_column": 3, - "end_line": 203, - "end_column": 32 - }, - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 204, - "start_column": 3, - "end_line": 204, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 205, - "start_column": 30, - "end_line": 205, - "end_column": 55 - }, - { - "method_name": "assertNotNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNotNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 206, - "start_column": 3, - "end_line": 206, - "end_column": 31 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 196, - "start_column": 27, - "end_line": 196, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 197, - "start_column": 36, - "end_line": 197, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 198, - "start_column": 28, - "end_line": 198, - "end_column": 84 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 199, - "start_column": 28, - "end_line": 199, - "end_column": 84 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 200, - "start_column": 28, - "end_line": 200, - "end_column": 84 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 196, - "start_column": 18, - "end_line": 196, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 197, - "start_column": 20, - "end_line": 197, - "end_column": 62 - }, - { - "name": "opMetadata1", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName1\", \"opDescription1\", \"opType1\", 1)", - "start_line": 198, - "start_column": 14, - "end_line": 198, - "end_column": 84 - }, - { - "name": "opMetadata2", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName2\", \"opDescription2\", \"opType2\", 2)", - "start_line": 199, - "start_column": 14, - "end_line": 199, - "end_column": 84 - }, - { - "name": "opMetadata3", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName3\", \"opDescription3\", \"opType3\", 3)", - "start_line": 200, - "start_column": 14, - "end_line": 200, - "end_column": 84 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 205, - "start_column": 24, - "end_line": 205, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithMultipleElements_IqUu2_2()": { - "signature": "testGetOpsWithMultipleElements_IqUu2_2()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithMultipleElements_IqUu2_2() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n OpMetadata opMetadata1 = new OpMetadata(\"opName1\", \"opDescription1\", \"opType1\", 1);\n OpMetadata opMetadata2 = new OpMetadata(\"opName2\", \"opDescription2\", \"opType2\", 2);\n OpMetadata opMetadata3 = new OpMetadata(\"opName3\", \"opDescription3\", \"opType3\", 3);\n opMetadatList.add(opMetadata1);\n opMetadatList.add(opMetadata2);\n opMetadatList.add(opMetadata3);\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertEquals(3, ops.length);\n}", - "start_line": 209, - "end_line": 223, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [ - "length" - ], - "call_sites": [ - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 217, - "start_column": 3, - "end_line": 217, - "end_column": 32 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 218, - "start_column": 3, - "end_line": 218, - "end_column": 32 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 219, - "start_column": 3, - "end_line": 219, - "end_column": 32 - }, - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 220, - "start_column": 3, - "end_line": 220, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 221, - "start_column": 30, - "end_line": 221, - "end_column": 55 - }, - { - "method_name": "assertEquals", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "assertEquals(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 222, - "start_column": 3, - "end_line": 222, - "end_column": 40 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 212, - "start_column": 27, - "end_line": 212, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 213, - "start_column": 36, - "end_line": 213, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 214, - "start_column": 28, - "end_line": 214, - "end_column": 84 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 215, - "start_column": 28, - "end_line": 215, - "end_column": 84 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "" - ], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata(java.lang.String, java.lang.String, java.lang.String, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 216, - "start_column": 28, - "end_line": 216, - "end_column": 84 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 212, - "start_column": 18, - "end_line": 212, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 213, - "start_column": 20, - "end_line": 213, - "end_column": 62 - }, - { - "name": "opMetadata1", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName1\", \"opDescription1\", \"opType1\", 1)", - "start_line": 214, - "start_column": 14, - "end_line": 214, - "end_column": 84 - }, - { - "name": "opMetadata2", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName2\", \"opDescription2\", \"opType2\", 2)", - "start_line": 215, - "start_column": 14, - "end_line": 215, - "end_column": 84 - }, - { - "name": "opMetadata3", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata(\"opName3\", \"opDescription3\", \"opType3\", 3)", - "start_line": 216, - "start_column": 14, - "end_line": 216, - "end_column": 84 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 221, - "start_column": 24, - "end_line": 221, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithMultipleOpMetadata_upfi4()": { - "signature": "testGetOpsWithMultipleOpMetadata_upfi4()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithMultipleOpMetadata_upfi4() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadataList = new ArrayList<>();\n OpMetadata opMetadata1 = new OpMetadata();\n opMetadata1.setName(\"testOp1\");\n opMetadata1.setDescription(\"Test operation 1\");\n}", - "start_line": 130, - "end_line": 138, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setName", - "receiver_expr": "opMetadata1", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 136, - "start_column": 3, - "end_line": 136, - "end_column": 32 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata1", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 137, - "start_column": 3, - "end_line": 137, - "end_column": 48 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 133, - "start_column": 27, - "end_line": 133, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 134, - "start_column": 37, - "end_line": 134, - "end_column": 53 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 135, - "start_column": 28, - "end_line": 135, - "end_column": 43 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 133, - "start_column": 18, - "end_line": 133, - "end_column": 46 - }, - { - "name": "opMetadataList", - "type": "java.util.List", - "initializer": "new ArrayList<>()", - "start_line": 134, - "start_column": 20, - "end_line": 134, - "end_column": 53 - }, - { - "name": "opMetadata1", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 135, - "start_column": 14, - "end_line": 135, - "end_column": 43 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithNullOpMetadataList_lZxj7()": { - "signature": "testGetOpsWithNullOpMetadataList_lZxj7()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithNullOpMetadataList_lZxj7() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n opList.setOpMetadatList(null);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n Assertions.assertNull(ops);\n}", - "start_line": 140, - "end_line": 147, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 144, - "start_column": 3, - "end_line": 144, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 145, - "start_column": 30, - "end_line": 145, - "end_column": 55 - }, - { - "method_name": "assertNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 146, - "start_column": 3, - "end_line": 146, - "end_column": 28 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 143, - "start_column": 27, - "end_line": 143, - "end_column": 46 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 143, - "start_column": 18, - "end_line": 143, - "end_column": 46 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 145, - "start_column": 24, - "end_line": 145, - "end_column": 55 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithMultipleElements_bqWq4()": { - "signature": "testGetOpsWithMultipleElements_bqWq4()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithMultipleElements_bqWq4() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList<>();\n OpMetadata opMetadata1 = new OpMetadata();\n opMetadata1.setName(\"Test Operation 1\");\n opMetadata1.setDescription(\"This is a test operation 1\");\n}", - "start_line": 149, - "end_line": 157, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setName", - "receiver_expr": "opMetadata1", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 155, - "start_column": 3, - "end_line": 155, - "end_column": 41 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata1", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 156, - "start_column": 3, - "end_line": 156, - "end_column": 58 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 152, - "start_column": 27, - "end_line": 152, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 153, - "start_column": 36, - "end_line": 153, - "end_column": 52 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 154, - "start_column": 28, - "end_line": 154, - "end_column": 43 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 152, - "start_column": 18, - "end_line": 152, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList<>()", - "start_line": 153, - "start_column": 20, - "end_line": 153, - "end_column": 52 - }, - { - "name": "opMetadata1", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 154, - "start_column": 14, - "end_line": 154, - "end_column": 43 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOps_noqH0_2()": { - "signature": "testGetOps_noqH0_2()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOps_noqH0_2() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList();\n opList.setOpMetadatList(opMetadatList);\n MBeanOperationInfo[] ops = DMBeanUtils.getOps(opList);\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"test\");\n opMetadata.setDescription(\"test\");\n opMetadata.setType(\"test\");\n opMetadata.setImpact(1);\n opMetadatList.add(opMetadata);\n ops = DMBeanUtils.getOps(opList);\n opMetadatList.clear();\n for (int i = 0; i < 5; i++) {\n opMetadata = new OpMetadata();\n opMetadata.setName(\"test\" + i);\n opMetadata.setDescription(\"test\" + i);\n opMetadata.setType(\"test\" + i);\n opMetadata.setImpact(MBeanOperationInfo.UNKNOWN);\n opMetadatList.add(opMetadata);\n }\n ops = DMBeanUtils.getOps(opList);\n Assertions.assertNotNull(ops);\n}", - "start_line": 56, - "end_line": 81, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [ - "javax.management.MBeanOperationInfo.UNKNOWN" - ], - "call_sites": [ - { - "method_name": "setOpMetadatList", - "receiver_expr": "opList", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [ - "java.util.List" - ], - "return_type": "", - "callee_signature": "setOpMetadatList(java.util.List)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 61, - "start_column": 3, - "end_line": 61, - "end_column": 40 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 62, - "start_column": 30, - "end_line": 62, - "end_column": 55 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 64, - "start_column": 3, - "end_line": 64, - "end_column": 28 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 65, - "start_column": 3, - "end_line": 65, - "end_column": 35 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 66, - "start_column": 3, - "end_line": 66, - "end_column": 28 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 67, - "start_column": 3, - "end_line": 67, - "end_column": 25 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 68, - "start_column": 3, - "end_line": 68, - "end_column": 31 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 69, - "start_column": 9, - "end_line": 69, - "end_column": 34 - }, - { - "method_name": "clear", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "clear()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 70, - "start_column": 3, - "end_line": 70, - "end_column": 23 - }, - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 73, - "start_column": 4, - "end_line": 73, - "end_column": 33 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 74, - "start_column": 4, - "end_line": 74, - "end_column": 40 - }, - { - "method_name": "setType", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setType(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 75, - "start_column": 4, - "end_line": 75, - "end_column": 33 - }, - { - "method_name": "setImpact", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImpact(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "start_line": 76, - "start_column": 4, - "end_line": 76, - "end_column": 51 - }, - { - "method_name": "add", - "receiver_expr": "opMetadatList", - "receiver_type": "java.util.List", - "argument_types": [ - "com.acme.modres.mbean.OpMetadata" - ], - "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, - "start_line": 77, - "start_column": 4, - "end_line": 77, - "end_column": 32 - }, - { - "method_name": "getOps", - "receiver_expr": "DMBeanUtils", - "receiver_type": "com.acme.modres.mbean.DMBeanUtils", - "argument_types": [ - "com.acme.modres.mbean.OpMetadataList" - ], - "return_type": "", - "callee_signature": "getOps(com.acme.modres.mbean.OpMetadataList)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 79, - "start_column": 9, - "end_line": 79, - "end_column": 34 - }, - { - "method_name": "assertNotNull", - "receiver_expr": "Assertions", - "receiver_type": "org.junit.jupiter.api.Assertions", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "assertNotNull(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "start_line": 80, - "start_column": 3, - "end_line": 80, - "end_column": 31 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 59, - "start_column": 27, - "end_line": 59, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 60, - "start_column": 36, - "end_line": 60, - "end_column": 62 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 63, - "start_column": 27, - "end_line": 63, - "end_column": 42 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 72, - "start_column": 17, - "end_line": 72, - "end_column": 32 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 59, - "start_column": 18, - "end_line": 59, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList()", - "start_line": 60, - "start_column": 20, - "end_line": 60, - "end_column": 62 - }, - { - "name": "ops", - "type": "javax.management.MBeanOperationInfo[]", - "initializer": "DMBeanUtils.getOps(opList)", - "start_line": 62, - "start_column": 24, - "end_line": 62, - "end_column": 55 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 63, - "start_column": 14, - "end_line": 63, - "end_column": 42 - }, - { - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 71, - "start_column": 12, - "end_line": 71, - "end_column": 16 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithOpMetadata_ZHuj1()": { - "signature": "testGetOpsWithOpMetadata_ZHuj1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithOpMetadata_ZHuj1() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadataList = new ArrayList<>();\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"testOp\");\n opMetadata.setDescription(\"Test operation\");\n}", - "start_line": 120, - "end_line": 128, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 126, - "start_column": 3, - "end_line": 126, - "end_column": 30 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 127, - "start_column": 3, - "end_line": 127, - "end_column": 45 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 123, - "start_column": 27, - "end_line": 123, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 124, - "start_column": 37, - "end_line": 124, - "end_column": 53 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 125, - "start_column": 27, - "end_line": 125, - "end_column": 42 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 123, - "start_column": 18, - "end_line": 123, - "end_column": 46 - }, - { - "name": "opMetadataList", - "type": "java.util.List", - "initializer": "new ArrayList<>()", - "start_line": 124, - "start_column": 20, - "end_line": 124, - "end_column": 53 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 125, - "start_column": 14, - "end_line": 125, - "end_column": 42 - } - ], - "cyclomatic_complexity": 0 - }, - "testGetOpsWithOneOp_Copi1()": { - "signature": "testGetOpsWithOneOp_Copi1()", - "comment": "", - "annotations": [ - "@Test", - "@Timeout(value = 1, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void testGetOpsWithOneOp_Copi1() throws Exception", - "parameters": [], - "code": "{\n OpMetadataList opList = new OpMetadataList();\n List opMetadatList = new ArrayList<>();\n OpMetadata opMetadata = new OpMetadata();\n opMetadata.setName(\"Test Operation\");\n opMetadata.setDescription(\"This is a test operation\");\n}", - "start_line": 29, - "end_line": 37, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.List", - "com.acme.modres.mbean.OpMetadataList", - "com.acme.modres.mbean.OpMetadata" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setName", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 35, - "start_column": 3, - "end_line": 35, - "end_column": 38 - }, - { - "method_name": "setDescription", - "receiver_expr": "opMetadata", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "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, - "start_line": 36, - "start_column": 3, - "end_line": 36, - "end_column": 55 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadataList", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadataList", - "callee_signature": "OpMetadataList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 32, - "start_column": 27, - "end_line": 32, - "end_column": 46 - }, - { - "method_name": "", - "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, - "start_line": 33, - "start_column": 36, - "end_line": 33, - "end_column": 52 - }, - { - "method_name": "", - "receiver_expr": "", - "receiver_type": "com.acme.modres.mbean.OpMetadata", - "argument_types": [], - "return_type": "com.acme.modres.mbean.OpMetadata", - "callee_signature": "OpMetadata()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "start_line": 34, - "start_column": 27, - "end_line": 34, - "end_column": 42 - } - ], - "variable_declarations": [ - { - "name": "opList", - "type": "com.acme.modres.mbean.OpMetadataList", - "initializer": "new OpMetadataList()", - "start_line": 32, - "start_column": 18, - "end_line": 32, - "end_column": 46 - }, - { - "name": "opMetadatList", - "type": "java.util.List", - "initializer": "new ArrayList<>()", - "start_line": 33, - "start_column": 20, - "end_line": 33, - "end_column": 52 - }, - { - "name": "opMetadata", - "type": "com.acme.modres.mbean.OpMetadata", - "initializer": "new OpMetadata()", - "start_line": 34, - "start_column": 14, - "end_line": 34, - "end_column": 42 - } - ], - "cyclomatic_complexity": 0 - } - }, - "field_declarations": [] - } - }, - "is_modified": false - } - } -} \ 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 1ef3cd6..68a85d2 100644 --- a/tests/resources/java/analysis_json/slim/analysis.json +++ b/tests/resources/java/analysis_json/slim/analysis.json @@ -4,13 +4,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "signature": "doDecoding(String)", "callable_declaration": "doDecoding(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20,13 +20,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "signature": "doDecoding(String)", "callable_declaration": "doDecoding(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -36,7 +36,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", "signature": "onOpen(Session, EndpointConfig)", "callable_declaration": "onOpen(Session, EndpointConfig)" @@ -52,7 +52,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", "signature": "ping(JsonMessage)", "callable_declaration": "ping(JsonMessage)" @@ -68,13 +68,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", "signature": "ping(JsonMessage)", "callable_declaration": "ping(JsonMessage)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "setKey(String)", "callable_declaration": "setKey(String)" @@ -84,13 +84,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", "signature": "ping(JsonMessage)", "callable_declaration": "ping(JsonMessage)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "setValue(String)", "callable_declaration": "setValue(String)" @@ -100,13 +100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -116,13 +116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "getInstance()", "callable_declaration": "getInstance()" @@ -132,13 +132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -148,13 +148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -164,13 +164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -180,13 +180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" @@ -196,13 +196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -212,13 +212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -228,13 +228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMinSecs()", "callable_declaration": "getMinSecs()" @@ -244,13 +244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMaxSecs()", "callable_declaration": "getMaxSecs()" @@ -260,13 +260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getAvgSecs()", "callable_declaration": "getAvgSecs()" @@ -276,13 +276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -292,13 +292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -308,13 +308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" @@ -324,13 +324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -340,13 +340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -356,13 +356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMinSecs()", "callable_declaration": "getMinSecs()" @@ -372,13 +372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMaxSecs()", "callable_declaration": "getMaxSecs()" @@ -388,13 +388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getAvgSecs()", "callable_declaration": "getAvgSecs()" @@ -404,13 +404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -420,13 +420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -436,13 +436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -452,13 +452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getAvgSecs()", "callable_declaration": "getAvgSecs()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getTotalTime()", "callable_declaration": "getTotalTime()" @@ -468,13 +468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getAvgSecs()", "callable_declaration": "getAvgSecs()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -484,13 +484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -500,13 +500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" @@ -516,13 +516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -532,13 +532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -548,13 +548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -564,13 +564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" @@ -580,13 +580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -596,13 +596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -612,13 +612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -628,13 +628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteDataFromResultSet(ResultSet)", "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" @@ -644,13 +644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -660,13 +660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteDataFromResultSet(ResultSet)", "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" @@ -676,13 +676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -692,13 +692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -708,13 +708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -724,13 +724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -740,13 +740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -756,13 +756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -772,13 +772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -788,13 +788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -804,13 +804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -820,13 +820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -836,13 +836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -852,13 +852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -868,13 +868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummaryInternal()", "callable_declaration": "getMarketSummaryInternal()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -884,13 +884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -900,13 +900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -916,13 +916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -932,13 +932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInGlobalTxn(boolean)", "callable_declaration": "setInGlobalTxn(boolean)" @@ -948,13 +948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(Connection, String)", "callable_declaration": "getAccountData(Connection, String)" @@ -964,13 +964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteData(Connection, String)", "callable_declaration": "getQuoteData(Connection, String)" @@ -980,13 +980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -996,13 +996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -1012,13 +1012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -1028,13 +1028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" @@ -1044,13 +1044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1060,13 +1060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1076,13 +1076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" @@ -1092,13 +1092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" @@ -1108,13 +1108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" @@ -1124,13 +1124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1140,13 +1140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1156,13 +1156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Connection, Integer)", "callable_declaration": "cancelOrder(Connection, Integer)" @@ -1172,13 +1172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1188,13 +1188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderData(Connection, int)", "callable_declaration": "getOrderData(Connection, int)" @@ -1204,13 +1204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -1220,13 +1220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1236,13 +1236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInGlobalTxn(boolean)", "callable_declaration": "setInGlobalTxn(boolean)" @@ -1252,13 +1252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -1268,13 +1268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -1284,13 +1284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1300,13 +1300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -1316,13 +1316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -1332,13 +1332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -1348,13 +1348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -1364,13 +1364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1380,13 +1380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1396,13 +1396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInGlobalTxn(boolean)", "callable_declaration": "setInGlobalTxn(boolean)" @@ -1412,13 +1412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -1428,13 +1428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(Connection, String)", "callable_declaration": "getAccountData(Connection, String)" @@ -1444,13 +1444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(Connection, int)", "callable_declaration": "getHoldingData(Connection, int)" @@ -1460,13 +1460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" @@ -1476,13 +1476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteData(Connection, String)", "callable_declaration": "getQuoteData(Connection, String)" @@ -1492,13 +1492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1508,13 +1508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -1524,13 +1524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -1540,13 +1540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" @@ -1556,13 +1556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -1572,13 +1572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -1588,13 +1588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -1604,13 +1604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -1620,13 +1620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -1636,13 +1636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" @@ -1652,13 +1652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateHoldingStatus(Connection, Integer, String)", "callable_declaration": "updateHoldingStatus(Connection, Integer, String)" @@ -1668,13 +1668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -1684,13 +1684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -1700,13 +1700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" @@ -1716,13 +1716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1732,13 +1732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" @@ -1748,13 +1748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1764,13 +1764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" @@ -1780,13 +1780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1796,13 +1796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" @@ -1812,13 +1812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1828,13 +1828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1844,13 +1844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Connection, Integer)", "callable_declaration": "cancelOrder(Connection, Integer)" @@ -1860,13 +1860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -1876,13 +1876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderData(Connection, int)", "callable_declaration": "getOrderData(Connection, int)" @@ -1892,13 +1892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1908,13 +1908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInGlobalTxn(boolean)", "callable_declaration": "setInGlobalTxn(boolean)" @@ -1924,13 +1924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -1940,13 +1940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -1956,13 +1956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -1972,13 +1972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -1988,13 +1988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -2004,13 +2004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2020,13 +2020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2036,13 +2036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2052,13 +2052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2068,13 +2068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInGlobalTxn(boolean)", "callable_declaration": "setInGlobalTxn(boolean)" @@ -2084,13 +2084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -2100,13 +2100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" @@ -2116,13 +2116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -2132,13 +2132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2148,13 +2148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2164,13 +2164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -2180,13 +2180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" @@ -2196,13 +2196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2212,13 +2212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2228,13 +2228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.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/AsyncOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrderSubmitter", "signature": "submitOrder(Integer, boolean)", "callable_declaration": "submitOrder(Integer, boolean)" @@ -2244,13 +2244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2260,13 +2260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -2276,13 +2276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2292,13 +2292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderDataFromResultSet(ResultSet)", "callable_declaration": "getOrderDataFromResultSet(ResultSet)" @@ -2308,13 +2308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -2324,13 +2324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -2340,13 +2340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -2356,13 +2356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -2372,13 +2372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(Connection, Integer)", "callable_declaration": "getAccountProfileData(Connection, Integer)" @@ -2388,13 +2388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -2404,13 +2404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -2420,13 +2420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2436,13 +2436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -2452,13 +2452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -2468,13 +2468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderHolding(Connection, int, int)", "callable_declaration": "updateOrderHolding(Connection, int, int)" @@ -2484,13 +2484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -2500,13 +2500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderStatus(Connection, Integer, String)", "callable_declaration": "updateOrderStatus(Connection, Integer, String)" @@ -2516,13 +2516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -2532,13 +2532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRandomPriceChangeFactor()", "callable_declaration": "getRandomPriceChangeFactor()" @@ -2548,13 +2548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -2564,13 +2564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" @@ -2580,13 +2580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(Connection, int)", "callable_declaration": "getHoldingData(Connection, int)" @@ -2596,13 +2596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2612,13 +2612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -2628,13 +2628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderStatus(Connection, Integer, String)", "callable_declaration": "updateOrderStatus(Connection, Integer, String)" @@ -2644,13 +2644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "removeHolding(Connection, int, int)", "callable_declaration": "removeHolding(Connection, int, int)" @@ -2660,13 +2660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -2676,13 +2676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderStatus(Connection, Integer, String)", "callable_declaration": "updateOrderStatus(Connection, Integer, String)" @@ -2692,13 +2692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -2708,13 +2708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRandomPriceChangeFactor()", "callable_declaration": "getRandomPriceChangeFactor()" @@ -2724,13 +2724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -2740,13 +2740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" @@ -2756,13 +2756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -2772,13 +2772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2788,13 +2788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Connection, Integer)", "callable_declaration": "completeOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -2804,13 +2804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2820,13 +2820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInGlobalTxn(boolean)", "callable_declaration": "setInGlobalTxn(boolean)" @@ -2836,13 +2836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -2852,13 +2852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Connection, Integer)", "callable_declaration": "cancelOrder(Connection, Integer)" @@ -2868,13 +2868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -2884,13 +2884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2900,13 +2900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -2916,13 +2916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -2932,13 +2932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2948,13 +2948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -2964,13 +2964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Connection, Integer)", "callable_declaration": "cancelOrder(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderStatus(Connection, Integer, String)", "callable_declaration": "updateOrderStatus(Connection, Integer, String)" @@ -2980,13 +2980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -2996,13 +2996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -3012,13 +3012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" @@ -3028,13 +3028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(Connection, int)", "callable_declaration": "getHoldingData(Connection, int)" @@ -3044,13 +3044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "removeHolding(Connection, int, int)", "callable_declaration": "removeHolding(Connection, int, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -3060,13 +3060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "removeHolding(Connection, int, int)", "callable_declaration": "removeHolding(Connection, int, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -3076,13 +3076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -3092,13 +3092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -3108,13 +3108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -3124,13 +3124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" @@ -3140,13 +3140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -3156,13 +3156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" @@ -3172,13 +3172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -3188,13 +3188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -3204,13 +3204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -3220,13 +3220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderData(Connection, int)", "callable_declaration": "getOrderData(Connection, int)" @@ -3236,13 +3236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -3252,13 +3252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3268,13 +3268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3284,13 +3284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -3300,13 +3300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3316,13 +3316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3332,13 +3332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3348,13 +3348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -3364,13 +3364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -3380,13 +3380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderDataFromResultSet(ResultSet)", "callable_declaration": "getOrderDataFromResultSet(ResultSet)" @@ -3396,13 +3396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -3412,13 +3412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3428,13 +3428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3444,13 +3444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -3460,13 +3460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3476,13 +3476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3492,13 +3492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3508,13 +3508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -3524,13 +3524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -3540,13 +3540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderDataFromResultSet(ResultSet)", "callable_declaration": "getOrderDataFromResultSet(ResultSet)" @@ -3556,13 +3556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -3572,13 +3572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -3588,13 +3588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -3604,13 +3604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderStatus(Connection, Integer, String)", "callable_declaration": "updateOrderStatus(Connection, Integer, String)" @@ -3620,13 +3620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -3636,13 +3636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3652,13 +3652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3668,13 +3668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -3684,13 +3684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3700,13 +3700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3716,13 +3716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3732,13 +3732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -3748,13 +3748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -3764,13 +3764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -3780,13 +3780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -3796,13 +3796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3812,13 +3812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3828,13 +3828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3844,13 +3844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3860,13 +3860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3876,13 +3876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -3892,13 +3892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(Connection, String)", "callable_declaration": "getQuote(Connection, String)" @@ -3908,13 +3908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -3924,13 +3924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3940,13 +3940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -3956,13 +3956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -3972,13 +3972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -3988,13 +3988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4004,13 +4004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(Connection, String)", "callable_declaration": "getQuote(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -4020,13 +4020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(Connection, String)", "callable_declaration": "getQuote(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4036,13 +4036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(Connection, String)", "callable_declaration": "getQuote(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteDataFromResultSet(ResultSet)", "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" @@ -4052,13 +4052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteForUpdate(Connection, String)", "callable_declaration": "getQuoteForUpdate(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -4068,13 +4068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteForUpdate(Connection, String)", "callable_declaration": "getQuoteForUpdate(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4084,13 +4084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteForUpdate(Connection, String)", "callable_declaration": "getQuoteForUpdate(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteDataFromResultSet(ResultSet)", "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" @@ -4100,13 +4100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -4116,13 +4116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -4132,13 +4132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteDataFromResultSet(ResultSet)", "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" @@ -4148,13 +4148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4164,13 +4164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4180,13 +4180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -4196,13 +4196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4212,13 +4212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4228,13 +4228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4244,13 +4244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -4260,13 +4260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -4276,13 +4276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingDataFromResultSet(ResultSet)", "callable_declaration": "getHoldingDataFromResultSet(ResultSet)" @@ -4292,13 +4292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -4308,13 +4308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4324,13 +4324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4340,13 +4340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -4356,13 +4356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4372,13 +4372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4388,13 +4388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4404,13 +4404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -4420,13 +4420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" @@ -4436,13 +4436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -4452,13 +4452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4468,13 +4468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4484,13 +4484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -4500,13 +4500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4516,13 +4516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4532,13 +4532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4548,13 +4548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -4564,13 +4564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(Connection, String)", "callable_declaration": "getAccountData(Connection, String)" @@ -4580,13 +4580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -4596,13 +4596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4612,13 +4612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4628,13 +4628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -4644,13 +4644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4660,13 +4660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4676,13 +4676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(Connection, String)", "callable_declaration": "getAccountData(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -4692,13 +4692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(Connection, String)", "callable_declaration": "getAccountData(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountDataFromResultSet(ResultSet)", "callable_declaration": "getAccountDataFromResultSet(ResultSet)" @@ -4708,13 +4708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4724,13 +4724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -4740,13 +4740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int, Connection)", "callable_declaration": "getAccountData(int, Connection)" @@ -4756,13 +4756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -4772,13 +4772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4788,13 +4788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4804,13 +4804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -4820,13 +4820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4836,13 +4836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int)", "callable_declaration": "getAccountData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4852,13 +4852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int, Connection)", "callable_declaration": "getAccountData(int, Connection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -4868,13 +4868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(int, Connection)", "callable_declaration": "getAccountData(int, Connection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountDataFromResultSet(ResultSet)", "callable_declaration": "getAccountDataFromResultSet(ResultSet)" @@ -4884,13 +4884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteData(Connection, String)", "callable_declaration": "getQuoteData(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -4900,13 +4900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteData(Connection, String)", "callable_declaration": "getQuoteData(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -4916,13 +4916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteData(Connection, String)", "callable_declaration": "getQuoteData(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteDataFromResultSet(ResultSet)", "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" @@ -4932,13 +4932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -4948,13 +4948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(Connection, int)", "callable_declaration": "getHoldingData(Connection, int)" @@ -4964,13 +4964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -4980,13 +4980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -4996,13 +4996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5012,13 +5012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -5028,13 +5028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5044,13 +5044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(int)", "callable_declaration": "getHoldingData(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5060,13 +5060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(Connection, int)", "callable_declaration": "getHoldingData(Connection, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5076,13 +5076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(Connection, int)", "callable_declaration": "getHoldingData(Connection, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5092,13 +5092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingData(Connection, int)", "callable_declaration": "getHoldingData(Connection, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingDataFromResultSet(ResultSet)", "callable_declaration": "getHoldingDataFromResultSet(ResultSet)" @@ -5108,13 +5108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderData(Connection, int)", "callable_declaration": "getOrderData(Connection, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5124,13 +5124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderData(Connection, int)", "callable_declaration": "getOrderData(Connection, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5140,13 +5140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderData(Connection, int)", "callable_declaration": "getOrderData(Connection, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5156,13 +5156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderData(Connection, int)", "callable_declaration": "getOrderData(Connection, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderDataFromResultSet(ResultSet)", "callable_declaration": "getOrderDataFromResultSet(ResultSet)" @@ -5172,13 +5172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5188,13 +5188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -5204,13 +5204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(Connection, String)", "callable_declaration": "getAccountProfileData(Connection, String)" @@ -5220,13 +5220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -5236,13 +5236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5252,13 +5252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5268,13 +5268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -5284,13 +5284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5300,13 +5300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5316,13 +5316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(Connection, String)", "callable_declaration": "getAccountProfileData(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5332,13 +5332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(Connection, String)", "callable_declaration": "getAccountProfileData(Connection, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileDataFromResultSet(ResultSet)", "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" @@ -5348,13 +5348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(Connection, Integer)", "callable_declaration": "getAccountProfileData(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5364,13 +5364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(Connection, Integer)", "callable_declaration": "getAccountProfileData(Connection, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileDataFromResultSet(ResultSet)", "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" @@ -5380,13 +5380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -5396,13 +5396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5412,13 +5412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -5428,13 +5428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" @@ -5444,13 +5444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -5460,13 +5460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(Connection, String)", "callable_declaration": "getAccountProfileData(Connection, String)" @@ -5476,13 +5476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -5492,13 +5492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5508,13 +5508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5524,13 +5524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -5540,13 +5540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5556,13 +5556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -5572,13 +5572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5588,13 +5588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -5604,13 +5604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateHoldingStatus(Connection, Integer, String)", "callable_declaration": "updateHoldingStatus(Connection, Integer, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5620,13 +5620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderStatus(Connection, Integer, String)", "callable_declaration": "updateOrderStatus(Connection, Integer, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5636,13 +5636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateOrderHolding(Connection, int, int)", "callable_declaration": "updateOrderHolding(Connection, int, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5652,13 +5652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -5668,13 +5668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "callable_declaration": "getPassword()" @@ -5684,13 +5684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getFullName()", "callable_declaration": "getFullName()" @@ -5700,13 +5700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAddress()", "callable_declaration": "getAddress()" @@ -5716,13 +5716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getEmail()", "callable_declaration": "getEmail()" @@ -5732,13 +5732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getCreditCard()", "callable_declaration": "getCreditCard()" @@ -5748,13 +5748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -5764,13 +5764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPublishQuotePriceChange()", "callable_declaration": "getPublishQuotePriceChange()" @@ -5780,13 +5780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -5796,13 +5796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getUpdateQuotePrices()", "callable_declaration": "getUpdateQuotePrices()" @@ -5812,13 +5812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -5828,13 +5828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -5844,13 +5844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -5860,13 +5860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteForUpdate(Connection, String)", "callable_declaration": "getQuoteForUpdate(Connection, String)" @@ -5876,13 +5876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -5892,13 +5892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -5908,13 +5908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -5924,13 +5924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -5940,13 +5940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -5956,13 +5956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(Connection, String)", "callable_declaration": "getQuote(Connection, String)" @@ -5972,13 +5972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -5988,13 +5988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -6004,13 +6004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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)" @@ -6020,13 +6020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6036,13 +6036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6052,13 +6052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -6068,13 +6068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6084,13 +6084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -6100,13 +6100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6116,13 +6116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -6132,13 +6132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getCompanyName()", "callable_declaration": "getCompanyName()" @@ -6148,13 +6148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -6164,13 +6164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -6180,13 +6180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getLow()", "callable_declaration": "getLow()" @@ -6196,13 +6196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getHigh()", "callable_declaration": "getHigh()" @@ -6212,13 +6212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -6228,13 +6228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -6244,13 +6244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -6260,13 +6260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6276,13 +6276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -6292,13 +6292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -6308,13 +6308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6324,13 +6324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6340,13 +6340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -6356,13 +6356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -6372,13 +6372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountDataFromResultSet(ResultSet)", "callable_declaration": "getAccountDataFromResultSet(ResultSet)" @@ -6388,13 +6388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -6404,13 +6404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6420,13 +6420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6436,13 +6436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -6452,13 +6452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6468,13 +6468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6484,13 +6484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6500,13 +6500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -6516,13 +6516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -6532,13 +6532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -6548,13 +6548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6564,13 +6564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6580,13 +6580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" @@ -6596,13 +6596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6612,13 +6612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6628,13 +6628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6644,13 +6644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -6660,13 +6660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -6676,13 +6676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -6692,13 +6692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" @@ -6708,13 +6708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -6724,13 +6724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -6740,13 +6740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -6756,13 +6756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6772,13 +6772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6788,13 +6788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6804,13 +6804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -6820,13 +6820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountDataFromResultSet(ResultSet)", "callable_declaration": "getAccountDataFromResultSet(ResultSet)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6836,13 +6836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountDataFromResultSet(ResultSet)", "callable_declaration": "getAccountDataFromResultSet(ResultSet)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -6852,13 +6852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileDataFromResultSet(ResultSet)", "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6868,13 +6868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileDataFromResultSet(ResultSet)", "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -6884,13 +6884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldingDataFromResultSet(ResultSet)", "callable_declaration": "getHoldingDataFromResultSet(ResultSet)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -6900,13 +6900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuoteDataFromResultSet(ResultSet)", "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -6916,13 +6916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrderDataFromResultSet(ResultSet)", "callable_declaration": "getOrderDataFromResultSet(ResultSet)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -6932,13 +6932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "getInstance()", "callable_declaration": "getInstance()" @@ -6948,13 +6948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "reset()", "callable_declaration": "reset()" @@ -6964,13 +6964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -6980,13 +6980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -6996,13 +6996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7012,13 +7012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" @@ -7028,13 +7028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -7044,13 +7044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7060,13 +7060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -7076,13 +7076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" @@ -7092,13 +7092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", "signature": "doTrace()", "callable_declaration": "doTrace()" @@ -7108,13 +7108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7124,13 +7124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "releaseConn(Connection)", "callable_declaration": "releaseConn(Connection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7140,13 +7140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", "signature": "doTrace()", "callable_declaration": "doTrace()" @@ -7156,13 +7156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7172,13 +7172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConnPublic()", "callable_declaration": "getConnPublic()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConn()", "callable_declaration": "getConn()" @@ -7188,13 +7188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "commit(Connection)", "callable_declaration": "commit(Connection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -7204,13 +7204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -7220,13 +7220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7236,13 +7236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "rollBack(Connection, Exception)", "callable_declaration": "rollBack(Connection, Exception)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getInGlobalTxn()", "callable_declaration": "getInGlobalTxn()" @@ -7258,7 +7258,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" @@ -7268,7 +7268,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Handler", "signature": "init(WebConnection)", "callable_declaration": "init(WebConnection)" @@ -7284,13 +7284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Handler", "signature": "init(WebConnection)", "callable_declaration": "init(WebConnection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7300,13 +7300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Handler", "signature": "destroy()", "callable_declaration": "destroy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7316,13 +7316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.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/ejb3/AsyncScheduledOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrderSubmitter", "signature": "submitOrder(Integer, boolean)", "callable_declaration": "submitOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", "signature": "setProperties(Integer, boolean)", "callable_declaration": "setProperties(Integer, boolean)" @@ -7332,13 +7332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -7348,13 +7348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -7364,13 +7364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -7380,13 +7380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -7396,13 +7396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -7412,13 +7412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -7428,13 +7428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7444,13 +7444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -7460,13 +7460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7476,13 +7476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "init(ServletConfig)", "callable_declaration": "init(ServletConfig)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7492,13 +7492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", "signature": "init(ServletConfig)", "callable_declaration": "init(ServletConfig)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7508,13 +7508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -7524,13 +7524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.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/beanval/CDIMethodConstraintBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.CDIMethodConstraintBean", "signature": "getHitCount(LocalDateTime)", "callable_declaration": "getHitCount(LocalDateTime)" @@ -7540,13 +7540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.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/beanval/CDIMethodConstraintBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.CDIMethodConstraintBean", "signature": "hitList()", "callable_declaration": "hitList()" @@ -7556,13 +7556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7572,13 +7572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -7588,13 +7588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.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/beanval/SimpleBean2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean2", "signature": "SimpleBean2()", "callable_declaration": "SimpleBean2()" @@ -7604,13 +7604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "checkInjectionValidation()", "callable_declaration": "checkInjectionValidation()" @@ -7620,13 +7620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7636,13 +7636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -7652,13 +7652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRandomPriceChangeFactor()", "callable_declaration": "getRandomPriceChangeFactor()" @@ -7668,13 +7668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -7684,13 +7684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -7700,13 +7700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -7716,13 +7716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7732,13 +7732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -7748,13 +7748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -7764,13 +7764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -7780,13 +7780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -7796,13 +7796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -7812,13 +7812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -7828,13 +7828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -7844,13 +7844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -7860,13 +7860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -7876,13 +7876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "PortfolioJSF(Instance)", "callable_declaration": "PortfolioJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -7892,13 +7892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "PortfolioJSF(Instance)", "callable_declaration": "PortfolioJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -7908,13 +7908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "PortfolioJSF(Instance)", "callable_declaration": "PortfolioJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -7924,13 +7924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -7940,13 +7940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -7956,13 +7956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -7972,13 +7972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -7988,13 +7988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -8004,13 +8004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -8020,13 +8020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -8036,13 +8036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -8052,13 +8052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" @@ -8068,13 +8068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -8084,13 +8084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -8100,13 +8100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -8116,13 +8116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchasePrice()", "callable_declaration": "getPurchasePrice()" @@ -8132,13 +8132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -8148,13 +8148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -8164,13 +8164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -8180,7 +8180,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" @@ -8196,13 +8196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -8212,13 +8212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setHoldingID(Integer)", "callable_declaration": "setHoldingID(Integer)" @@ -8228,13 +8228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchaseDate()", "callable_declaration": "getPurchaseDate()" @@ -8244,13 +8244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setPurchaseDate(Date)", "callable_declaration": "setPurchaseDate(Date)" @@ -8260,13 +8260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" @@ -8276,13 +8276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setQuoteID(String)", "callable_declaration": "setQuoteID(String)" @@ -8292,13 +8292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -8308,13 +8308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setQuantity(double)", "callable_declaration": "setQuantity(double)" @@ -8324,13 +8324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchasePrice()", "callable_declaration": "getPurchasePrice()" @@ -8340,13 +8340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setPurchasePrice(BigDecimal)", "callable_declaration": "setPurchasePrice(BigDecimal)" @@ -8356,13 +8356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setBasis(BigDecimal)", "callable_declaration": "setBasis(BigDecimal)" @@ -8372,13 +8372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setGain(BigDecimal)", "callable_declaration": "setGain(BigDecimal)" @@ -8388,13 +8388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setMarketValue(BigDecimal)", "callable_declaration": "setMarketValue(BigDecimal)" @@ -8404,13 +8404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -8420,13 +8420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "setPrice(BigDecimal)", "callable_declaration": "setPrice(BigDecimal)" @@ -8436,13 +8436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -8452,13 +8452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getPortfolio()", "callable_declaration": "getPortfolio()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "setTotalGainPercent(BigDecimal)", "callable_declaration": "setTotalGainPercent(BigDecimal)" @@ -8468,13 +8468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -8484,13 +8484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -8500,13 +8500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -8516,13 +8516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -8532,13 +8532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -8548,13 +8548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -8564,13 +8564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -8580,13 +8580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOpenDate()", "callable_declaration": "getOpenDate()" @@ -8596,13 +8596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "callable_declaration": "getCompletionDate()" @@ -8612,13 +8612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -8628,13 +8628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -8644,13 +8644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -8660,13 +8660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -8676,13 +8676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "sell()", "callable_declaration": "sell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/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)" @@ -8692,13 +8692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", "signature": "getTotalGainPercentHTML()", "callable_declaration": "getTotalGainPercentHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -8708,13 +8708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getHostname()", "callable_declaration": "getHostname()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -8724,13 +8724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getScenarioAction(boolean)", "callable_declaration": "getScenarioAction(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8740,13 +8740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getScenarioAction(boolean)", "callable_declaration": "getScenarioAction(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "incrementScenarioCount()", "callable_declaration": "incrementScenarioCount()" @@ -8756,13 +8756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getUserID()", "callable_declaration": "getUserID()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -8772,13 +8772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getUserID()", "callable_declaration": "getUserID()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "nextUserID()", "callable_declaration": "nextUserID()" @@ -8788,13 +8788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndAddress()", "callable_declaration": "rndAddress()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8804,13 +8804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndCreditCard()", "callable_declaration": "rndCreditCard()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8820,13 +8820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndCreditCard()", "callable_declaration": "rndCreditCard()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8836,13 +8836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndCreditCard()", "callable_declaration": "rndCreditCard()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8852,13 +8852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndCreditCard()", "callable_declaration": "rndCreditCard()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8868,13 +8868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8884,13 +8884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFullName()", "callable_declaration": "rndFullName()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8900,13 +8900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFullName()", "callable_declaration": "rndFullName()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8916,13 +8916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "random()", "callable_declaration": "random()" @@ -8932,13 +8932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFloat(int)", "callable_declaration": "rndFloat(int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "random()", "callable_declaration": "random()" @@ -8948,13 +8948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "random()", "callable_declaration": "random()" @@ -8964,13 +8964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndNewUserID()", "callable_declaration": "rndNewUserID()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getHostname()", "callable_declaration": "getHostname()" @@ -8980,13 +8980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndPrice()", "callable_declaration": "rndPrice()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -8996,13 +8996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRandomPriceChangeFactor()", "callable_declaration": "getRandomPriceChangeFactor()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFloat(int)", "callable_declaration": "rndFloat(int)" @@ -9012,13 +9012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRandomPriceChangeFactor()", "callable_declaration": "getRandomPriceChangeFactor()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "random()", "callable_declaration": "random()" @@ -9028,13 +9028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndQuantity()", "callable_declaration": "rndQuantity()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -9044,13 +9044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -9060,13 +9060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbols()", "callable_declaration": "rndSymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -9076,13 +9076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbols()", "callable_declaration": "rndSymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -9092,13 +9092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getNextUserIDFromDeck()", "callable_declaration": "getNextUserIDFromDeck()" @@ -9108,13 +9108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9124,13 +9124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getNextUserIDFromDeck()", "callable_declaration": "getNextUserIDFromDeck()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -9140,13 +9140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9156,13 +9156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9172,13 +9172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9188,13 +9188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9204,13 +9204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9220,13 +9220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9236,13 +9236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9252,13 +9252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.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/cdi/PingServletCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.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/cdi/PingCDIBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingCDIBean", "signature": "hello()", "callable_declaration": "hello()" @@ -9268,13 +9268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.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/cdi/PingServletCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocal.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/cdi/PingEJBLocal.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingEJBLocal", "signature": "getMsg()", "callable_declaration": "getMsg()" @@ -9284,13 +9284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.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/cdi/PingServletCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocalDecorator.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/cdi/PingEJBLocalDecorator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingEJBLocalDecorator", "signature": "getMsg()", "callable_declaration": "getMsg()" @@ -9300,13 +9300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.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/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.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/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -9316,7 +9316,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.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/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -9332,13 +9332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.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/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.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/PingBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "signature": "setMsg(String)", "callable_declaration": "setMsg(String)" @@ -9348,13 +9348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.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/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9364,13 +9364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9380,13 +9380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setRunTimeMode(int)", "callable_declaration": "setRunTimeMode(int)" @@ -9396,13 +9396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setRunTimeMode(int)", "callable_declaration": "setRunTimeMode(int)" @@ -9412,13 +9412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -9428,13 +9428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -9444,13 +9444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setOrderProcessingMode(int)", "callable_declaration": "setOrderProcessingMode(int)" @@ -9460,13 +9460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setOrderProcessingMode(int)", "callable_declaration": "setOrderProcessingMode(int)" @@ -9476,13 +9476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingModeNames()", "callable_declaration": "getOrderProcessingModeNames()" @@ -9492,13 +9492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -9508,13 +9508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_USERS(int)", "callable_declaration": "setMAX_USERS(int)" @@ -9524,13 +9524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_USERS(int)", "callable_declaration": "setMAX_USERS(int)" @@ -9540,29 +9540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "getMAX_USERS()", - "callable_declaration": "getMAX_USERS()" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_QUOTES(int)", "callable_declaration": "setMAX_QUOTES(int)" @@ -9572,13 +9556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_QUOTES(int)", "callable_declaration": "setMAX_QUOTES(int)" @@ -9588,29 +9572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "getMAX_QUOTES()", - "callable_declaration": "getMAX_QUOTES()" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPublishQuotePriceChange(boolean)", "callable_declaration": "setPublishQuotePriceChange(boolean)" @@ -9620,13 +9588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPublishQuotePriceChange(boolean)", "callable_declaration": "setPublishQuotePriceChange(boolean)" @@ -9636,13 +9604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setDisplayOrderAlerts(boolean)", "callable_declaration": "setDisplayOrderAlerts(boolean)" @@ -9652,13 +9620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setDisplayOrderAlerts(boolean)", "callable_declaration": "setDisplayOrderAlerts(boolean)" @@ -9668,13 +9636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setWebInterface(int)", "callable_declaration": "setWebInterface(int)" @@ -9684,13 +9652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setWebInterface(int)", "callable_declaration": "setWebInterface(int)" @@ -9700,13 +9668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setListQuotePriceChangeFrequency(int)", "callable_declaration": "setListQuotePriceChangeFrequency(int)" @@ -9716,13 +9684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setListQuotePriceChangeFrequency(int)", "callable_declaration": "setListQuotePriceChangeFrequency(int)" @@ -9732,13 +9700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPrimIterations(int)", "callable_declaration": "setPrimIterations(int)" @@ -9748,13 +9716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMarketSummaryInterval(int)", "callable_declaration": "setMarketSummaryInterval(int)" @@ -9764,13 +9732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextInitialized(ServletContextEvent)", "callable_declaration": "contextInitialized(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setLongRun(boolean)", "callable_declaration": "setLongRun(boolean)" @@ -9780,13 +9748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", "signature": "contextDestroyed(ServletContextEvent)", "callable_declaration": "contextDestroyed(ServletContextEvent)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9796,13 +9764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "onDataAvailable()", "callable_declaration": "onDataAvailable()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9812,13 +9780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "onDataAvailable()", "callable_declaration": "onDataAvailable()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9828,13 +9796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "onDataAvailable()", "callable_declaration": "onDataAvailable()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "closeConnection()", "callable_declaration": "closeConnection()" @@ -9844,13 +9812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "closeConnection()", "callable_declaration": "closeConnection()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9860,13 +9828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "onAllDataRead()", "callable_declaration": "onAllDataRead()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "closeConnection()", "callable_declaration": "closeConnection()" @@ -9876,13 +9844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "onError(Throwable)", "callable_declaration": "onError(Throwable)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "closeConnection()", "callable_declaration": "closeConnection()" @@ -9898,7 +9866,7 @@ "callable_declaration": "(javax.servlet.http.WebConnection, com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet$1)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "signature": "Listener(WebConnection)", "callable_declaration": "Listener(WebConnection)" @@ -9908,13 +9876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.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/cdi/PingServletCDIBeanManagerViaCDICurrent.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaCDICurrent", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.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/cdi/PingCDIBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingCDIBean", "signature": "getBeanMangerViaCDICurrent()", "callable_declaration": "getBeanMangerViaCDICurrent()" @@ -9924,13 +9892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -9940,13 +9908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "SimpleBean1()", "callable_declaration": "SimpleBean1()" @@ -9956,13 +9924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "checkInjectionValidation()", "callable_declaration": "checkInjectionValidation()" @@ -9972,13 +9940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -9988,13 +9956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.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/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.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/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -10004,13 +9972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.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/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -10020,13 +9988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.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/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -10036,13 +10004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "getInstance()", "callable_declaration": "getInstance()" @@ -10052,13 +10020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "reset()", "callable_declaration": "reset()" @@ -10068,13 +10036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" @@ -10084,13 +10052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10100,13 +10068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10116,13 +10084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10132,13 +10100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10148,13 +10116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10164,13 +10132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -10180,13 +10148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10196,13 +10164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10212,13 +10180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10228,13 +10196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10244,13 +10212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10260,13 +10228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setNewUserCount(int)", "callable_declaration": "setNewUserCount(int)" @@ -10276,13 +10244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10292,13 +10260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setTradeUserCount(int)", "callable_declaration": "setTradeUserCount(int)" @@ -10308,13 +10276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10324,13 +10292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setTradeStockCount(int)", "callable_declaration": "setTradeStockCount(int)" @@ -10340,13 +10308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10356,13 +10324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setSumLoginCount(int)", "callable_declaration": "setSumLoginCount(int)" @@ -10372,13 +10340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setSumLogoutCount(int)", "callable_declaration": "setSumLogoutCount(int)" @@ -10388,13 +10356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10404,13 +10372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10420,13 +10388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setHoldingCount(int)", "callable_declaration": "setHoldingCount(int)" @@ -10436,13 +10404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10452,13 +10420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setOrderCount(int)", "callable_declaration": "setOrderCount(int)" @@ -10468,13 +10436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10484,13 +10452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setBuyOrderCount(int)", "callable_declaration": "setBuyOrderCount(int)" @@ -10500,13 +10468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10516,13 +10484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setSellOrderCount(int)", "callable_declaration": "setSellOrderCount(int)" @@ -10532,13 +10500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10548,13 +10516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setCancelledOrderCount(int)", "callable_declaration": "setCancelledOrderCount(int)" @@ -10564,13 +10532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10580,13 +10548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setOpenOrderCount(int)", "callable_declaration": "setOpenOrderCount(int)" @@ -10596,13 +10564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "getStatement(Connection, String)", "callable_declaration": "getStatement(Connection, String)" @@ -10612,13 +10580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setDeletedOrderCount(int)", "callable_declaration": "setDeletedOrderCount(int)" @@ -10628,13 +10596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -10644,13 +10612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "checkDBProductName()", "callable_declaration": "checkDBProductName()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -10660,29 +10628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/PrimFilter.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.PrimFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Diagnostics.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "signature": "checkDiagnostics()", - "callable_declaration": "checkDiagnostics()" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.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/PingManagedExecutor.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.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/PingManagedExecutor.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -10692,7 +10644,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.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/PingManagedExecutor.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -10708,285 +10660,29 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.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/PingJSONPObjectFactory.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.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/PingJSONPObjectFactory.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.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/PingJSONPObjectFactory.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -10996,13 +10692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "signature": "getGainHTML()", "callable_declaration": "getGainHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -11012,13 +10708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -11028,13 +10724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -11044,13 +10740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -11060,13 +10756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -11076,13 +10772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -11092,13 +10788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -11108,13 +10804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -11124,13 +10820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -11140,13 +10836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -11156,13 +10852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -11172,13 +10868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -11188,13 +10884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -11204,13 +10900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -11220,13 +10916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -11236,13 +10932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3Object.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/PingSession3Object.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3Object", "signature": "PingSession3Object()", "callable_declaration": "PingSession3Object()" @@ -11252,13 +10948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -11268,13 +10964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.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/AsyncOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrder", "signature": "run()", "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -11284,13 +10980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.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/AsyncOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrder", "signature": "run()", "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -11300,13 +10996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.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/AsyncOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrder", "signature": "run()", "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -11316,13 +11012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11332,13 +11028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "setQuantity(double)", "callable_declaration": "setQuantity(double)" @@ -11348,13 +11044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11364,13 +11060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11380,13 +11076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11396,13 +11092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "setQuantity(double)", "callable_declaration": "setQuantity(double)" @@ -11412,13 +11108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11428,13 +11124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11444,13 +11140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11460,13 +11156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11476,13 +11172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -11492,13 +11188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndQuantity()", "callable_declaration": "rndQuantity()" @@ -11508,13 +11204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -11524,13 +11220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -11540,13 +11236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -11556,13 +11252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -11572,13 +11268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -11588,13 +11284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -11604,13 +11300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchasePrice()", "callable_declaration": "getPurchasePrice()" @@ -11620,13 +11316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchaseDate()", "callable_declaration": "getPurchaseDate()" @@ -11636,13 +11332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" @@ -11652,13 +11348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -11668,13 +11364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -11684,13 +11380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchasePrice()", "callable_declaration": "getPurchasePrice()" @@ -11700,13 +11396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchaseDate()", "callable_declaration": "getPurchaseDate()" @@ -11716,13 +11412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" @@ -11732,13 +11428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" @@ -11748,13 +11444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -11764,13 +11460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -11812,13 +11508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "getMarketSummaryDataBean()", "callable_declaration": "getMarketSummaryDataBean()" @@ -11828,13 +11524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAccount()", "callable_declaration": "getAccount()" @@ -11844,13 +11540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -11860,13 +11556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -11876,13 +11572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -11892,13 +11588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getBalance()", "callable_declaration": "getBalance()" @@ -11908,13 +11604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -11924,13 +11620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -11940,13 +11636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -11956,13 +11652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" @@ -11972,13 +11668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" @@ -11988,13 +11684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12004,13 +11700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAccount()", "callable_declaration": "getAccount()" @@ -12020,13 +11716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12036,13 +11732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" @@ -12052,13 +11748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12068,13 +11764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuote()", "callable_declaration": "getQuote()" @@ -12084,13 +11780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -12100,13 +11796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -12116,13 +11812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -12132,13 +11828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -12148,13 +11844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -12164,13 +11860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getBalance()", "callable_declaration": "getBalance()" @@ -12180,13 +11876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -12196,13 +11892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -12212,13 +11908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -12228,13 +11924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" @@ -12244,13 +11940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" @@ -12260,13 +11956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12276,13 +11972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuote()", "callable_declaration": "getQuote()" @@ -12292,13 +11988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isCompleted()", "callable_declaration": "isCompleted()" @@ -12308,13 +12004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getAccount()", "callable_declaration": "getAccount()" @@ -12324,13 +12020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuote()", "callable_declaration": "getQuote()" @@ -12340,13 +12036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getHolding()", "callable_declaration": "getHolding()" @@ -12356,13 +12052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -12372,13 +12068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -12388,13 +12084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isBuy()", "callable_declaration": "isBuy()" @@ -12404,13 +12100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -12420,13 +12116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12436,13 +12132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12452,13 +12148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12468,13 +12164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -12484,13 +12180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRandomPriceChangeFactor()", "callable_declaration": "getRandomPriceChangeFactor()" @@ -12500,13 +12196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" @@ -12516,13 +12212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isSell()", "callable_declaration": "isSell()" @@ -12532,13 +12228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -12548,13 +12244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12564,13 +12260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "cancel()", "callable_declaration": "cancel()" @@ -12580,13 +12276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12596,13 +12292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12612,13 +12308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12628,13 +12324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -12644,13 +12340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRandomPriceChangeFactor()", "callable_declaration": "getRandomPriceChangeFactor()" @@ -12660,13 +12356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" @@ -12676,13 +12372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -12692,13 +12388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12708,13 +12404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.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/ejb3/AsyncScheduledOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrderSubmitter", "signature": "submitOrder(Integer, boolean)", "callable_declaration": "submitOrder(Integer, boolean)" @@ -12724,13 +12420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "cancel()", "callable_declaration": "cancel()" @@ -12740,13 +12436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAccount()", "callable_declaration": "getAccount()" @@ -12756,13 +12452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getOrders()", "callable_declaration": "getOrders()" @@ -12772,13 +12468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -12788,13 +12484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -12804,13 +12500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "callable_declaration": "getLongRun()" @@ -12820,13 +12516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -12836,13 +12532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12852,13 +12548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -12868,13 +12564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12884,13 +12580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12900,13 +12596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getUpdateQuotePrices()", "callable_declaration": "getUpdateQuotePrices()" @@ -12916,13 +12612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -12932,13 +12628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -12948,13 +12644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -12964,13 +12660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -12980,13 +12676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -12996,13 +12692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "setChange(double)", "callable_declaration": "setChange(double)" @@ -13012,13 +12708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -13028,13 +12724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "setVolume(double)", "callable_declaration": "setVolume(double)" @@ -13044,13 +12740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPublishQuotePriceChange()", "callable_declaration": "getPublishQuotePriceChange()" @@ -13060,13 +12756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -13076,13 +12772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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)" @@ -13092,13 +12788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAccount()", "callable_declaration": "getAccount()" @@ -13108,13 +12804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -13124,13 +12820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -13140,13 +12836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -13156,13 +12852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAddress()", "callable_declaration": "getAddress()" @@ -13172,13 +12868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -13188,13 +12884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "callable_declaration": "getPassword()" @@ -13204,13 +12900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -13220,13 +12916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getFullName()", "callable_declaration": "getFullName()" @@ -13236,13 +12932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -13252,13 +12948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getCreditCard()", "callable_declaration": "getCreditCard()" @@ -13268,13 +12964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -13284,13 +12980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getEmail()", "callable_declaration": "getEmail()" @@ -13300,13 +12996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -13316,13 +13012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAccount()", "callable_declaration": "getAccount()" @@ -13332,13 +13028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -13348,13 +13044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -13364,13 +13060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAccount()", "callable_declaration": "getAccount()" @@ -13380,13 +13076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "logout()", "callable_declaration": "logout()" @@ -13396,13 +13092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -13412,13 +13108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -13428,13 +13124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -13444,13 +13140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -13460,13 +13156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -13476,13 +13172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -13492,13 +13188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPublishQuotePriceChange()", "callable_declaration": "getPublishQuotePriceChange()" @@ -13508,13 +13204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -13524,13 +13220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getCompanyName()", "callable_declaration": "getCompanyName()" @@ -13540,13 +13236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -13556,13 +13252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -13572,13 +13268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getLow()", "callable_declaration": "getLow()" @@ -13588,13 +13284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getHigh()", "callable_declaration": "getHigh()" @@ -13604,13 +13300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -13620,13 +13316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -13636,13 +13332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -13652,13 +13348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -13668,13 +13364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" @@ -13684,13 +13380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -13700,13 +13396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -13716,13 +13412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)" @@ -13732,109 +13428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "pingTwoPhase(String)", "callable_declaration": "pingTwoPhase(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "getPrice()", - "callable_declaration": "getPrice()" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "getOpen()", - "callable_declaration": "getOpen()" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setChange(double)", - "callable_declaration": "setChange(double)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "getVolume()", - "callable_declaration": "getVolume()" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setVolume(double)", - "callable_declaration": "setVolume(double)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -13844,13 +13444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -13860,13 +13460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -13876,13 +13476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "signature": "getGainPercentHTML()", "callable_declaration": "getGainPercentHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -13892,13 +13492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "signature": "getGainHTML()", "callable_declaration": "getGainHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -13908,7 +13508,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.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/JsonDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonDecoder", "signature": "decode(String)", "callable_declaration": "decode(String)" @@ -13924,13 +13524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.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/JsonDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonDecoder", "signature": "decode(String)", "callable_declaration": "decode(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "setKey(String)", "callable_declaration": "setKey(String)" @@ -13940,13 +13540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.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/JsonDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonDecoder", "signature": "decode(String)", "callable_declaration": "decode(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "setValue(String)", "callable_declaration": "setValue(String)" @@ -13956,13 +13556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "allocNewBlock(Connection, String, boolean, boolean)", "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" @@ -13972,13 +13572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -13988,13 +13588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "allocNewBlock(Connection, String, boolean, boolean)", "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" @@ -14004,13 +13604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -14020,13 +13620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "getNextID(Connection, String, boolean, boolean)", "callable_declaration": "getNextID(Connection, String, boolean, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14036,13 +13636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "allocNewBlock(Connection, String, boolean, boolean)", "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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)" @@ -14052,13 +13652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "signature": "allocNewBlock(Connection, String, boolean, boolean)", "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14068,13 +13668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": "isEmpty()", "callable_declaration": "isEmpty()" @@ -14084,13 +13684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": "recentList()", "callable_declaration": "recentList()" @@ -14100,13 +13700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": "recentList()", "callable_declaration": "recentList()" @@ -14116,13 +13716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -14132,13 +13732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -14148,13 +13748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -14164,13 +13764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)" @@ -14180,13 +13780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)" @@ -14196,13 +13796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -14212,13 +13812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -14228,13 +13828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -14244,13 +13844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.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/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.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/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -14260,13 +13860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.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/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.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/PingBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "signature": "getMsg()", "callable_declaration": "getMsg()" @@ -14276,13 +13876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.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/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14292,13 +13892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -14308,13 +13908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14324,13 +13924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14340,13 +13940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14356,13 +13956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TraceInterceptor.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14372,13 +13972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.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/PingServletSetContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletSetContentLength", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.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/PingServletSetContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletSetContentLength", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -14388,13 +13988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.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/PingServletSetContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletSetContentLength", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14404,7 +14004,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" @@ -14420,13 +14020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" @@ -14436,7 +14036,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -14452,7 +14052,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -14468,7 +14068,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -14484,7 +14084,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -14500,7 +14100,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -14516,7 +14116,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasPrevious()", "callable_declaration": "hasPrevious()" @@ -14532,7 +14132,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasPrevious()", "callable_declaration": "hasPrevious()" @@ -14548,7 +14148,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "previous()", "callable_declaration": "previous()" @@ -14564,7 +14164,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "nextIndex()", "callable_declaration": "nextIndex()" @@ -14580,7 +14180,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "nextIndex()", "callable_declaration": "nextIndex()" @@ -14596,13 +14196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.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/cdi/PingServletCDIEventAsync.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.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/cdi/CDIEventProducer.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.CDIEventProducer", "signature": "produceAsyncEvent()", "callable_declaration": "produceAsyncEvent()" @@ -14612,29 +14212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.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/cdi/PingServletCDIEventAsync.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync", "signature": "onAsyncEvent2(String)", "callable_declaration": "onAsyncEvent2(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Diagnostics.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "signature": "checkDiagnostics()", - "callable_declaration": "checkDiagnostics()" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14644,61 +14228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "<>", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "signature": "Diagnostics()", - "callable_declaration": "()" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "warning(String)", - "callable_declaration": "warning(String)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "signature": "Diagnostics()", - "callable_declaration": "()" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "warning(String)", - "callable_declaration": "warning(String)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "signature": "Diagnostics()", - "callable_declaration": "()" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "warning(String)", - "callable_declaration": "warning(String)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.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/PingServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.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/PingServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -14708,13 +14244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.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/PingServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -14724,13 +14260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.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/PingServletLargeContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletLargeContentLength", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.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/PingServletLargeContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletLargeContentLength", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" @@ -14740,13 +14276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.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/cdi/PingServletCDIBeanManagerViaJNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaJNDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.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/cdi/PingCDIBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingCDIBean", "signature": "getBeanMangerViaJNDI()", "callable_declaration": "getBeanMangerViaJNDI()" @@ -14756,13 +14292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -14772,13 +14308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -14788,13 +14324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -14804,13 +14340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -14820,13 +14356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -14836,13 +14372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -14852,13 +14388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -14868,13 +14404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -14884,13 +14420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFullName()", "callable_declaration": "rndFullName()" @@ -14900,13 +14436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndAddress()", "callable_declaration": "rndAddress()" @@ -14916,13 +14452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -14932,13 +14468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" @@ -14948,13 +14484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndCreditCard()", "callable_declaration": "rndCreditCard()" @@ -14964,13 +14500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -14980,13 +14516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -14996,13 +14532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "callable_declaration": "getPassword()" @@ -15012,13 +14548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getFullName()", "callable_declaration": "getFullName()" @@ -15028,13 +14564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAddress()", "callable_declaration": "getAddress()" @@ -15044,13 +14580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getEmail()", "callable_declaration": "getEmail()" @@ -15060,13 +14596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getCreditCard()", "callable_declaration": "getCreditCard()" @@ -15076,13 +14612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -15092,13 +14628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "callable_declaration": "getPassword()" @@ -15108,13 +14644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getFullName()", "callable_declaration": "getFullName()" @@ -15124,13 +14660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAddress()", "callable_declaration": "getAddress()" @@ -15140,13 +14676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getEmail()", "callable_declaration": "getEmail()" @@ -15156,13 +14692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getCreditCard()", "callable_declaration": "getCreditCard()" @@ -15172,13 +14708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" @@ -15188,13 +14724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -15204,13 +14740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "OrdersAlertFilter(Instance)", "callable_declaration": "OrdersAlertFilter(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -15220,13 +14756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "OrdersAlertFilter(Instance)", "callable_declaration": "OrdersAlertFilter(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -15236,13 +14772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "OrdersAlertFilter(Instance)", "callable_declaration": "OrdersAlertFilter(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -15252,13 +14788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getDisplayOrderAlerts()", "callable_declaration": "getDisplayOrderAlerts()" @@ -15268,13 +14804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -15284,13 +14820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -15300,13 +14836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -15316,13 +14852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -15332,13 +14868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", "signature": "doTrace()", "callable_declaration": "doTrace()" @@ -15348,13 +14884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -15364,13 +14900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -15380,301 +14916,29 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Diagnostics.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "signature": "checkDiagnostics()", - "callable_declaration": "checkDiagnostics()" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.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/PingJSONPObject.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.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/PingJSONPObject.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.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/PingJSONPObject.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -15684,13 +14948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", "signature": "encode(CopyOnWriteArrayList)", "callable_declaration": "encode(CopyOnWriteArrayList)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -15700,13 +14964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", "signature": "encode(CopyOnWriteArrayList)", "callable_declaration": "encode(CopyOnWriteArrayList)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -15716,13 +14980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", "signature": "encode(CopyOnWriteArrayList)", "callable_declaration": "encode(CopyOnWriteArrayList)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -15732,13 +14996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", "signature": "encode(CopyOnWriteArrayList)", "callable_declaration": "encode(CopyOnWriteArrayList)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -15748,146 +15012,18 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", "signature": "encode(CopyOnWriteArrayList)", "callable_declaration": "encode(CopyOnWriteArrayList)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" } }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", @@ -15898,7 +15034,7 @@ "callable_declaration": "encode(java.lang.Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", "signature": "encode(CopyOnWriteArrayList)", "callable_declaration": "encode(CopyOnWriteArrayList)" @@ -15914,7 +15050,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -15930,7 +15066,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -15946,7 +15082,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingModeNames()", "callable_declaration": "getOrderProcessingModeNames()" @@ -15962,7 +15098,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -15978,7 +15114,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -15994,7 +15130,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -16010,7 +15146,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -16026,7 +15162,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterfaceNames()", "callable_declaration": "getWebInterfaceNames()" @@ -16042,7 +15178,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterface()", "callable_declaration": "getWebInterface()" @@ -16058,7 +15194,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -16074,7 +15210,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getListQuotePriceChangeFrequency()", "callable_declaration": "getListQuotePriceChangeFrequency()" @@ -16090,7 +15226,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPublishQuotePriceChange()", "callable_declaration": "getPublishQuotePriceChange()" @@ -16106,7 +15242,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "callable_declaration": "getLongRun()" @@ -16122,7 +15258,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getDisplayOrderAlerts()", "callable_declaration": "getDisplayOrderAlerts()" @@ -16138,7 +15274,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -16154,7 +15290,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingModeNames()", "callable_declaration": "getOrderProcessingModeNames()" @@ -16170,7 +15306,7 @@ "callable_declaration": "()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterfaceNames()", "callable_declaration": "getWebInterfaceNames()" @@ -16180,13 +15316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -16196,13 +15332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -16212,13 +15348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setOrderProcessingMode(int)", "callable_declaration": "setOrderProcessingMode(int)" @@ -16228,13 +15364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16244,13 +15380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingModeNames()", "callable_declaration": "getOrderProcessingModeNames()" @@ -16260,13 +15396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -16276,13 +15412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setWebInterface(int)", "callable_declaration": "setWebInterface(int)" @@ -16292,13 +15428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16308,13 +15444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterfaceNames()", "callable_declaration": "getWebInterfaceNames()" @@ -16324,13 +15460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterface()", "callable_declaration": "getWebInterface()" @@ -16340,13 +15476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_USERS(int)", "callable_declaration": "setMAX_USERS(int)" @@ -16356,13 +15492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_QUOTES(int)", "callable_declaration": "setMAX_QUOTES(int)" @@ -16372,13 +15508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -16388,13 +15524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -16404,13 +15540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMarketSummaryInterval(int)", "callable_declaration": "setMarketSummaryInterval(int)" @@ -16420,13 +15556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -16436,13 +15572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPrimIterations(int)", "callable_declaration": "setPrimIterations(int)" @@ -16452,13 +15588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -16468,13 +15604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPublishQuotePriceChange(boolean)", "callable_declaration": "setPublishQuotePriceChange(boolean)" @@ -16484,13 +15620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPublishQuotePriceChange()", "callable_declaration": "getPublishQuotePriceChange()" @@ -16500,13 +15636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setListQuotePriceChangeFrequency(int)", "callable_declaration": "setListQuotePriceChangeFrequency(int)" @@ -16516,13 +15652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getListQuotePriceChangeFrequency()", "callable_declaration": "getListQuotePriceChangeFrequency()" @@ -16532,13 +15668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setLongRun(boolean)", "callable_declaration": "setLongRun(boolean)" @@ -16548,13 +15684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "callable_declaration": "getLongRun()" @@ -16564,13 +15700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setDisplayOrderAlerts(boolean)", "callable_declaration": "setDisplayOrderAlerts(boolean)" @@ -16580,13 +15716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getDisplayOrderAlerts()", "callable_declaration": "getDisplayOrderAlerts()" @@ -16596,13 +15732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "updateConfig()", "callable_declaration": "updateConfig()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "setResult(String)", "callable_declaration": "setResult(String)" @@ -16612,13 +15748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "resetTrade()", "callable_declaration": "resetTrade()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" @@ -16628,7 +15764,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "resetTrade()", "callable_declaration": "resetTrade()" @@ -16644,13 +15780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "resetTrade()", "callable_declaration": "resetTrade()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" @@ -16660,13 +15796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "resetTrade()", "callable_declaration": "resetTrade()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16676,13 +15812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "populateDatabase()", "callable_declaration": "populateDatabase()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" @@ -16692,13 +15828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "populateDatabase()", "callable_declaration": "populateDatabase()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -16708,13 +15844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "populateDatabase()", "callable_declaration": "populateDatabase()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -16724,13 +15860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "buildDatabaseTables()", "callable_declaration": "buildDatabaseTables()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "checkDBProductName()", "callable_declaration": "checkDBProductName()" @@ -16740,13 +15876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "buildDatabaseTables()", "callable_declaration": "buildDatabaseTables()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16756,13 +15892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "buildDatabaseTables()", "callable_declaration": "buildDatabaseTables()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16772,13 +15908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", "signature": "buildDatabaseTables()", "callable_declaration": "buildDatabaseTables()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" @@ -16788,13 +15924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocalDecorator.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/cdi/PingEJBLocalDecorator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingEJBLocalDecorator", "signature": "getMsg()", "callable_declaration": "getMsg()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocal.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/cdi/PingEJBLocal.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingEJBLocal", "signature": "getMsg()", "callable_declaration": "getMsg()" @@ -16804,7 +15940,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.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/PingWebSocketTextAsync.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketTextAsync", "signature": "ping(String)", "callable_declaration": "ping(String)" @@ -16820,13 +15956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16836,13 +15972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16852,13 +15988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16868,13 +16004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16884,13 +16020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16900,13 +16036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16916,13 +16052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16932,13 +16068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16948,13 +16084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16964,13 +16100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16980,13 +16116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -16996,13 +16132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17012,13 +16148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17028,13 +16164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17044,13 +16180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17060,13 +16196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17076,13 +16212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17092,13 +16228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" @@ -17108,13 +16244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" @@ -17124,13 +16260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "toString()", "callable_declaration": "toString()" @@ -17140,13 +16276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" @@ -17156,13 +16292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" @@ -17172,13 +16308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" @@ -17188,13 +16324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -17204,13 +16340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" @@ -17220,13 +16356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17236,13 +16372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -17252,13 +16388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17268,13 +16404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -17284,13 +16420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -17300,13 +16436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" @@ -17316,13 +16452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" @@ -17332,13 +16468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "toString()", "callable_declaration": "toString()" @@ -17348,13 +16484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" @@ -17364,13 +16500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" @@ -17380,13 +16516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" @@ -17396,13 +16532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -17412,13 +16548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" @@ -17428,13 +16564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17444,13 +16580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17460,13 +16596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17476,13 +16612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17492,13 +16628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -17508,13 +16644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -17524,13 +16660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchasePrice()", "callable_declaration": "getPurchasePrice()" @@ -17540,13 +16676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -17556,7 +16692,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/ObjectFactory.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/jaxrs/ObjectFactory.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.ObjectFactory", "signature": "createXMLObject()", "callable_declaration": "createXMLObject()" @@ -17572,13 +16708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" @@ -17588,13 +16724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17604,13 +16740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17620,13 +16756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -17636,13 +16772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "MarketSummaryJSF(Instance)", "callable_declaration": "MarketSummaryJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -17652,13 +16788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "MarketSummaryJSF(Instance)", "callable_declaration": "MarketSummaryJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -17668,13 +16804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "MarketSummaryJSF(Instance)", "callable_declaration": "MarketSummaryJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -17684,13 +16820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -17700,13 +16836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -17716,13 +16852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -17732,13 +16868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getSummaryDate()", "callable_declaration": "getSummaryDate()" @@ -17748,13 +16884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "setSummaryDate(Date)", "callable_declaration": "setSummaryDate(Date)" @@ -17764,13 +16900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTSIA()", "callable_declaration": "getTSIA()" @@ -17780,13 +16916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "setTSIA(BigDecimal)", "callable_declaration": "setTSIA(BigDecimal)" @@ -17796,13 +16932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -17812,13 +16948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "setVolume(double)", "callable_declaration": "setVolume(double)" @@ -17828,13 +16964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getGainPercent()", "callable_declaration": "getGainPercent()" @@ -17844,13 +16980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "setGainPercent(BigDecimal)", "callable_declaration": "setGainPercent(BigDecimal)" @@ -17860,13 +16996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopGainers()", "callable_declaration": "getTopGainers()" @@ -17876,13 +17012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -17892,13 +17028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -17908,13 +17044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -17924,13 +17060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -17940,13 +17076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -17956,13 +17092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "signature": "QuoteData(BigDecimal, BigDecimal, String)", "callable_declaration": "QuoteData(BigDecimal, BigDecimal, String)" @@ -17972,13 +17108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "setTopGainers(QuoteData[])", "callable_declaration": "setTopGainers(QuoteData[])" @@ -17988,13 +17124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopLosers()", "callable_declaration": "getTopLosers()" @@ -18004,13 +17140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -18020,13 +17156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -18036,13 +17172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -18052,13 +17188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -18068,13 +17204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -18084,13 +17220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "signature": "QuoteData(BigDecimal, BigDecimal, String)", "callable_declaration": "QuoteData(BigDecimal, BigDecimal, String)" @@ -18100,13 +17236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "setTopLosers(QuoteData[])", "callable_declaration": "setTopLosers(QuoteData[])" @@ -18116,13 +17252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", "signature": "getGainPercentHTML()", "callable_declaration": "getGainPercentHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -18132,13 +17268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -18148,13 +17284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -18164,13 +17300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getListQuotePriceChangeFrequency()", "callable_declaration": "getListQuotePriceChangeFrequency()" @@ -18180,13 +17316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -18196,13 +17332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -18212,13 +17348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "getInstance()", "callable_declaration": "getInstance()" @@ -18228,13 +17364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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": "boostrapTradeServices()", "callable_declaration": "boostrapTradeServices()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -18244,13 +17380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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": "boostrapTradeServices()", "callable_declaration": "boostrapTradeServices()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -18260,13 +17396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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": "boostrapTradeServices()", "callable_declaration": "boostrapTradeServices()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -18276,13 +17412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18292,13 +17428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18308,13 +17444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18324,13 +17460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18340,13 +17476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -18356,13 +17492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -18372,13 +17508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -18388,13 +17524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" @@ -18404,13 +17540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -18420,13 +17556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -18436,13 +17572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMinSecs()", "callable_declaration": "getMinSecs()" @@ -18452,13 +17588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMaxSecs()", "callable_declaration": "getMaxSecs()" @@ -18468,13 +17604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getAvgSecs()", "callable_declaration": "getAvgSecs()" @@ -18484,13 +17620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18500,13 +17636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18516,13 +17652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18532,13 +17668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" @@ -18548,13 +17684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -18564,13 +17700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -18580,13 +17716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMinSecs()", "callable_declaration": "getMinSecs()" @@ -18596,13 +17732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMaxSecs()", "callable_declaration": "getMaxSecs()" @@ -18612,13 +17748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getAvgSecs()", "callable_declaration": "getAvgSecs()" @@ -18628,13 +17764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18644,13 +17780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18660,13 +17796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18676,13 +17812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "checkInjectionValidation()", "callable_declaration": "checkInjectionValidation()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "formatConstraintViolations(Set)", "callable_declaration": "formatConstraintViolations(Set)" @@ -18692,13 +17828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "formatConstraintViolations(Set)", "callable_declaration": "formatConstraintViolations(Set)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -18708,13 +17844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "formatConstraintViolations(Set)", "callable_declaration": "formatConstraintViolations(Set)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -18724,141 +17860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" @@ -18868,13 +17876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" @@ -18884,13 +17892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "toString()", "callable_declaration": "toString()" @@ -18900,13 +17908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" @@ -18916,13 +17924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" @@ -18932,13 +17940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" @@ -18948,13 +17956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -18964,13 +17972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" @@ -18980,13 +17988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -18996,13 +18004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()" @@ -19012,13 +18020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()" @@ -19028,13 +18036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "toString()", "callable_declaration": "toString()" @@ -19044,13 +18052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" @@ -19060,13 +18068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" @@ -19076,13 +18084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" @@ -19092,13 +18100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -19108,13 +18116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", "signature": "validate(FacesContext, UIComponent, Object)", "callable_declaration": "validate(FacesContext, UIComponent, Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" @@ -19124,13 +18132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "OrderDataJSF(Instance)", "callable_declaration": "OrderDataJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -19140,13 +18148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "OrderDataJSF(Instance)", "callable_declaration": "OrderDataJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -19156,13 +18164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "OrderDataJSF(Instance)", "callable_declaration": "OrderDataJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -19172,13 +18180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "callable_declaration": "getLongRun()" @@ -19188,13 +18196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -19204,13 +18212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -19220,13 +18228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -19236,13 +18244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -19252,13 +18260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -19268,13 +18276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -19284,13 +18292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -19300,13 +18308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOpenDate()", "callable_declaration": "getOpenDate()" @@ -19316,13 +18324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "callable_declaration": "getCompletionDate()" @@ -19332,13 +18340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -19348,13 +18356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -19364,13 +18372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -19380,13 +18388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -19396,13 +18404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/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)" @@ -19412,13 +18420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -19428,13 +18436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "signature": "setPrice(BigDecimal)", "callable_declaration": "setPrice(BigDecimal)" @@ -19444,13 +18452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "signature": "getPrice()", "callable_declaration": "getPrice()" @@ -19460,13 +18468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "signature": "getQuantity()", "callable_declaration": "getQuantity()" @@ -19476,13 +18484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "signature": "setTotal(BigDecimal)", "callable_declaration": "setTotal(BigDecimal)" @@ -19492,13 +18500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getAllOrder()", "callable_declaration": "getAllOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "setAllOrders(OrderData[])", "callable_declaration": "setAllOrders(OrderData[])" @@ -19508,13 +18516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "getOrder()", "callable_declaration": "getOrder()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", "signature": "setOrderData(OrderData)", "callable_declaration": "setOrderData(OrderData)" @@ -19524,13 +18532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionDecoder", "signature": "decode(String)", "callable_declaration": "decode(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -19540,13 +18548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionDecoder", "signature": "decode(String)", "callable_declaration": "decode(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "signature": "ActionMessage()", "callable_declaration": "ActionMessage()" @@ -19556,13 +18564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionDecoder", "signature": "decode(String)", "callable_declaration": "decode(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "signature": "doDecoding(String)", "callable_declaration": "doDecoding(String)" @@ -19572,13 +18580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -19588,7 +18596,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -19604,13 +18612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -19620,13 +18628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "TestServlet(Instance)", "callable_declaration": "TestServlet(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -19636,13 +18644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "TestServlet(Instance)", "callable_declaration": "TestServlet(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -19652,13 +18660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "TestServlet(Instance)", "callable_declaration": "TestServlet(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -19668,13 +18676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" @@ -19684,13 +18692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" @@ -19700,13 +18708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -19716,13 +18724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -19732,13 +18740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -19748,13 +18756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -19764,13 +18772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -19780,13 +18788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.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/beanval/SimpleBean2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean2", "signature": "SimpleBean2()", "callable_declaration": "SimpleBean2()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "SimpleBean1()", "callable_declaration": "SimpleBean1()" @@ -19796,13 +18804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", "signature": "TradeServletAction()", "callable_declaration": "TradeServletAction()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -19812,13 +18820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", "signature": "TradeServletAction()", "callable_declaration": "TradeServletAction()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -19828,13 +18836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", "signature": "TradeServletAction()", "callable_declaration": "TradeServletAction()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -19844,13 +18852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -19860,13 +18868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -19876,13 +18884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -19892,13 +18900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -19908,13 +18916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -19924,13 +18932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -19940,13 +18948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "callable_declaration": "getLongRun()" @@ -19956,13 +18964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -19972,13 +18980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -19988,13 +18996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -20004,13 +19012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20020,13 +19028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20036,13 +19044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20052,13 +19060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20068,13 +19076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20084,13 +19092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -20100,13 +19108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -20116,13 +19124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -20132,13 +19140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -20148,13 +19156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20164,13 +19172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20180,13 +19188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -20196,13 +19204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -20212,13 +19220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -20228,13 +19236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" @@ -20244,13 +19252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20260,13 +19268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20276,13 +19284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20292,13 +19300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20308,13 +19316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20324,13 +19332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -20340,13 +19348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -20356,13 +19364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -20372,13 +19380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -20388,13 +19396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -20404,13 +19412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -20420,13 +19428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20436,13 +19444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20452,13 +19460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20468,13 +19476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20484,13 +19492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20500,13 +19508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20516,13 +19524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -20532,13 +19540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -20548,13 +19556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -20564,13 +19572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20580,13 +19588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20596,13 +19604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20612,13 +19620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20628,13 +19636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20644,13 +19652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -20660,13 +19668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -20676,13 +19684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -20692,13 +19700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20708,13 +19716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20724,13 +19732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20740,13 +19748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20756,13 +19764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -20772,13 +19780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -20788,13 +19796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -20804,13 +19812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -20820,13 +19828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -20836,13 +19844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -20852,13 +19860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "callable_declaration": "getQuoteID()" @@ -20868,13 +19876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -20884,13 +19892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -20900,13 +19908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -20916,13 +19924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20932,13 +19940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20948,13 +19956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -20964,13 +19972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -20980,13 +19988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -20996,13 +20004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -21012,13 +20020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -21028,13 +20036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -21044,13 +20052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21060,13 +20068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -21076,13 +20084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -21092,13 +20100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -21108,13 +20116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" @@ -21124,13 +20132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21140,13 +20148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -21156,13 +20164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -21172,13 +20180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -21188,13 +20196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21204,13 +20212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -21220,13 +20228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -21236,13 +20244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -21252,13 +20260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -21268,13 +20276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -21284,13 +20292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21300,13 +20308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21316,13 +20324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -21332,13 +20340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21348,13 +20356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -21364,13 +20372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21380,13 +20388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -21396,13 +20404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.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/PingServletWriter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.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/PingServletWriter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -21412,13 +20420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.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/PingServletWriter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21428,13 +20436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -21444,13 +20452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -21460,13 +20468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21476,13 +20484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21492,7 +20500,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" @@ -21508,13 +20516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21524,13 +20532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" @@ -21540,7 +20548,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" @@ -21556,13 +20564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" @@ -21572,13 +20580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21588,13 +20596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "callable_declaration": "getPage(int)" @@ -21604,13 +20612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -21620,13 +20628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -21636,13 +20644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingModeNames()", "callable_declaration": "getOrderProcessingModeNames()" @@ -21652,13 +20660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setOrderProcessingMode(int)", "callable_declaration": "setOrderProcessingMode(int)" @@ -21668,13 +20676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21684,13 +20692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingModeNames()", "callable_declaration": "getOrderProcessingModeNames()" @@ -21700,13 +20708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -21716,13 +20724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterfaceNames()", "callable_declaration": "getWebInterfaceNames()" @@ -21732,13 +20740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setWebInterface(int)", "callable_declaration": "setWebInterface(int)" @@ -21748,13 +20756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21764,13 +20772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterfaceNames()", "callable_declaration": "getWebInterfaceNames()" @@ -21780,13 +20788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterface()", "callable_declaration": "getWebInterface()" @@ -21796,13 +20804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_USERS(int)", "callable_declaration": "setMAX_USERS(int)" @@ -21812,13 +20820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -21828,13 +20836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21844,13 +20852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_QUOTES(int)", "callable_declaration": "setMAX_QUOTES(int)" @@ -21860,13 +20868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -21876,13 +20884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21892,13 +20900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -21908,13 +20916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -21924,13 +20932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMarketSummaryInterval(int)", "callable_declaration": "setMarketSummaryInterval(int)" @@ -21940,13 +20948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -21956,13 +20964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -21972,13 +20980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "callable_declaration": "getMarketSummaryInterval()" @@ -21988,13 +20996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPrimIterations(int)", "callable_declaration": "setPrimIterations(int)" @@ -22004,13 +21012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -22020,13 +21028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -22036,13 +21044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -22052,13 +21060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPublishQuotePriceChange(boolean)", "callable_declaration": "setPublishQuotePriceChange(boolean)" @@ -22068,13 +21076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPublishQuotePriceChange(boolean)", "callable_declaration": "setPublishQuotePriceChange(boolean)" @@ -22084,13 +21092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPublishQuotePriceChange()", "callable_declaration": "getPublishQuotePriceChange()" @@ -22100,13 +21108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setListQuotePriceChangeFrequency(int)", "callable_declaration": "setListQuotePriceChangeFrequency(int)" @@ -22116,13 +21124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getListQuotePriceChangeFrequency()", "callable_declaration": "getListQuotePriceChangeFrequency()" @@ -22132,13 +21140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -22148,13 +21156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getListQuotePriceChangeFrequency()", "callable_declaration": "getListQuotePriceChangeFrequency()" @@ -22164,13 +21172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setLongRun(boolean)", "callable_declaration": "setLongRun(boolean)" @@ -22180,13 +21188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setLongRun(boolean)", "callable_declaration": "setLongRun(boolean)" @@ -22196,13 +21204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "callable_declaration": "getLongRun()" @@ -22212,13 +21220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setDisplayOrderAlerts(boolean)", "callable_declaration": "setDisplayOrderAlerts(boolean)" @@ -22228,13 +21236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setDisplayOrderAlerts(boolean)", "callable_declaration": "setDisplayOrderAlerts(boolean)" @@ -22244,13 +21252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getDisplayOrderAlerts()", "callable_declaration": "getDisplayOrderAlerts()" @@ -22260,13 +21268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" @@ -22276,13 +21284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" @@ -22292,13 +21300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" @@ -22308,13 +21316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" @@ -22324,13 +21332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -22340,13 +21348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "checkDBProductName()", "callable_declaration": "checkDBProductName()" @@ -22356,13 +21364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -22372,13 +21380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -22388,13 +21396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" @@ -22404,13 +21412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" @@ -22420,13 +21428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", "signature": "service(HttpServletRequest, HttpServletResponse)", "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -22436,13 +21444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.quotePriceComparator", "signature": "compare(QuoteDataBean, QuoteDataBean)", "callable_declaration": "compare(QuoteDataBean, QuoteDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" @@ -22452,13 +21460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.quotePriceComparator", "signature": "compare(QuoteDataBean, QuoteDataBean)", "callable_declaration": "compare(QuoteDataBean, QuoteDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" @@ -22474,7 +21482,7 @@ "callable_declaration": "compare(java.lang.Object, java.lang.Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.quotePriceComparator", "signature": "compare(QuoteDataBean, QuoteDataBean)", "callable_declaration": "compare(QuoteDataBean, QuoteDataBean)" @@ -22484,13 +21492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -22500,13 +21508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -22516,13 +21524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -22532,13 +21540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22548,13 +21556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22564,13 +21572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22580,13 +21588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -22596,13 +21604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -22612,13 +21620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22628,13 +21636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22644,13 +21652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22660,13 +21668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -22676,13 +21684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -22692,13 +21700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22708,13 +21716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22724,13 +21732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22740,13 +21748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -22756,13 +21764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -22772,13 +21780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -22788,13 +21796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" @@ -22804,13 +21812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22820,13 +21828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22836,13 +21844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22852,13 +21860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -22868,13 +21876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" @@ -22884,13 +21892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -22900,13 +21908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "sell(String, Integer, int)", "callable_declaration": "sell(String, Integer, int)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" @@ -22916,13 +21924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22932,13 +21940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22948,13 +21956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -22964,13 +21972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" @@ -22980,13 +21988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "queueOrder(Integer, boolean)", "callable_declaration": "queueOrder(Integer, boolean)" @@ -22996,13 +22004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23012,13 +22020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23028,13 +22036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23044,13 +22052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -23060,13 +22068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -23076,13 +22084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrderAsync(Integer, boolean)", "callable_declaration": "completeOrderAsync(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.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/ejb3/AsyncScheduledOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrderSubmitter", "signature": "submitOrder(Integer, boolean)", "callable_declaration": "submitOrder(Integer, boolean)" @@ -23092,13 +22100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23108,13 +22116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23124,13 +22132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23140,13 +22148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" @@ -23156,13 +22164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "cancelOrder(Integer, boolean)", "callable_declaration": "cancelOrder(Integer, boolean)" @@ -23172,13 +22180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "orderCompleted(String, Integer)", "callable_declaration": "orderCompleted(String, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23188,13 +22196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "orderCompleted(String, Integer)", "callable_declaration": "orderCompleted(String, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23204,13 +22212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "orderCompleted(String, Integer)", "callable_declaration": "orderCompleted(String, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23220,13 +22228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "orderCompleted(String, Integer)", "callable_declaration": "orderCompleted(String, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "orderCompleted(String, Integer)", "callable_declaration": "orderCompleted(String, Integer)" @@ -23236,13 +22244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "orderCompleted(String, Integer)", "callable_declaration": "orderCompleted(String, Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "orderCompleted(String, Integer)", "callable_declaration": "orderCompleted(String, Integer)" @@ -23252,13 +22260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23268,13 +22276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23284,13 +22292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23300,13 +22308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -23316,13 +22324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -23332,13 +22340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23348,13 +22356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23364,13 +22372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23380,13 +22388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -23396,13 +22404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -23412,13 +22420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23428,13 +22436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23444,13 +22452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23460,13 +22468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -23476,13 +22484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -23492,13 +22500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23508,13 +22516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23524,13 +22532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23540,13 +22548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -23556,13 +22564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -23572,13 +22580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23588,13 +22596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23604,13 +22612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23620,13 +22628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" @@ -23636,13 +22644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" @@ -23652,13 +22660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23668,13 +22676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23684,13 +22692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23700,13 +22708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" @@ -23716,13 +22724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" @@ -23732,13 +22740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23748,13 +22756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23764,13 +22772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23780,13 +22788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -23796,13 +22804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -23812,13 +22820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23828,13 +22836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23844,13 +22852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23860,13 +22868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" @@ -23876,13 +22884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getHolding(Integer)", "callable_declaration": "getHolding(Integer)" @@ -23892,13 +22900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23908,13 +22916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23924,13 +22932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23940,13 +22948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -23956,13 +22964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -23972,13 +22980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -23988,13 +22996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24004,13 +23012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24020,13 +23028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -24036,13 +23044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -24052,13 +23060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24068,13 +23076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24084,13 +23092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24100,13 +23108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -24116,13 +23124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -24132,13 +23140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24148,13 +23156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24164,13 +23172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24180,13 +23188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -24196,13 +23204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -24212,13 +23220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24228,13 +23236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24244,13 +23252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24260,13 +23268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -24276,13 +23284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -24292,13 +23300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24308,13 +23316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24324,13 +23332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "setInSession(boolean)", "callable_declaration": "setInSession(boolean)" @@ -24340,13 +23348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -24356,13 +23364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -24372,13 +23380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -24388,7 +23396,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -24404,13 +23412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getConnPublic()", "callable_declaration": "getConnPublic()" @@ -24420,13 +23428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24436,13 +23444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.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/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.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/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -24452,7 +23460,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.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/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -24468,13 +23476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.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/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.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/PingBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "signature": "setMsg(String)", "callable_declaration": "setMsg(String)" @@ -24484,13 +23492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.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/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24500,13 +23508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.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/PingServlet2JNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.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/PingServlet2JNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -24516,13 +23524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.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/PingServlet2JNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24532,13 +23540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24548,13 +23556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -24564,13 +23572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24580,13 +23588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24596,13 +23604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -24612,13 +23620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -24628,13 +23636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -24644,13 +23652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -24660,13 +23668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -24676,13 +23684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "setMarketSummaryDataBean(MarketSummaryDataBean)", "callable_declaration": "setMarketSummaryDataBean(MarketSummaryDataBean)" @@ -24692,13 +23700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "getMarketSummaryDataBean()", "callable_declaration": "getMarketSummaryDataBean()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "signature": "updateMarketSummary()", "callable_declaration": "updateMarketSummary()" @@ -24708,13 +23716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "parseDDLToBuffer(InputStream)", "callable_declaration": "parseDDLToBuffer(InputStream)" @@ -24724,13 +23732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24740,13 +23748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" @@ -24756,13 +23764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24772,13 +23780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -24788,13 +23796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "resetTrade(boolean)", "callable_declaration": "resetTrade(boolean)" @@ -24804,13 +23812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24820,13 +23828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "callable_declaration": "getMAX_QUOTES()" @@ -24836,13 +23844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndPrice()", "callable_declaration": "rndPrice()" @@ -24852,13 +23860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -24868,13 +23876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -24884,13 +23892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "createQuote(String, String, BigDecimal)", "callable_declaration": "createQuote(String, String, BigDecimal)" @@ -24900,13 +23908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -24916,13 +23924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -24932,13 +23940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "callable_declaration": "getMAX_USERS()" @@ -24948,13 +23956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFullName()", "callable_declaration": "rndFullName()" @@ -24964,13 +23972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" @@ -24980,13 +23988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndAddress()", "callable_declaration": "rndAddress()" @@ -24996,13 +24004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndCreditCard()", "callable_declaration": "rndCreditCard()" @@ -25012,13 +24020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -25028,13 +24036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -25044,13 +24052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -25060,13 +24068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" @@ -25076,13 +24084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -25092,13 +24100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_HOLDINGS()", "callable_declaration": "getMAX_HOLDINGS()" @@ -25108,13 +24116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -25124,13 +24132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -25140,13 +24148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndQuantity()", "callable_declaration": "rndQuantity()" @@ -25156,13 +24164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -25172,13 +24180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -25188,13 +24196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -25204,13 +24212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" @@ -25220,13 +24228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -25236,13 +24244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "getInstance()", "callable_declaration": "getInstance()" @@ -25252,13 +24260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "reset()", "callable_declaration": "reset()" @@ -25268,13 +24276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -25284,13 +24292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -25300,13 +24308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "parseDDLToBuffer(InputStream)", "callable_declaration": "parseDDLToBuffer(InputStream)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -25316,13 +24324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "parseDDLToBuffer(InputStream)", "callable_declaration": "parseDDLToBuffer(InputStream)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -25332,13 +24340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "signature": "parseDDLToBuffer(InputStream)", "callable_declaration": "parseDDLToBuffer(InputStream)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -25348,13 +24356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getTradeUserCount()", "callable_declaration": "getTradeUserCount()" @@ -25364,13 +24372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getNewUserCount()", "callable_declaration": "getNewUserCount()" @@ -25380,13 +24388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getSumLoginCount()", "callable_declaration": "getSumLoginCount()" @@ -25396,13 +24404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getSumLogoutCount()", "callable_declaration": "getSumLogoutCount()" @@ -25412,13 +24420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getHoldingCount()", "callable_declaration": "getHoldingCount()" @@ -25428,13 +24436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getOrderCount()", "callable_declaration": "getOrderCount()" @@ -25444,13 +24452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getBuyOrderCount()", "callable_declaration": "getBuyOrderCount()" @@ -25460,13 +24468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getSellOrderCount()", "callable_declaration": "getSellOrderCount()" @@ -25476,13 +24484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getCancelledOrderCount()", "callable_declaration": "getCancelledOrderCount()" @@ -25492,13 +24500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getOpenOrderCount()", "callable_declaration": "getOpenOrderCount()" @@ -25508,13 +24516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getDeletedOrderCount()", "callable_declaration": "getDeletedOrderCount()" @@ -25524,13 +24532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -25540,13 +24548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -25556,13 +24564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -25572,13 +24580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -25588,13 +24596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -25604,13 +24612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -25620,13 +24628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -25636,13 +24644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -25652,13 +24660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -25668,13 +24676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -25684,13 +24692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "setVolume(double)", "callable_declaration": "setVolume(double)" @@ -25700,13 +24708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -25716,13 +24724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -25732,13 +24740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -25748,13 +24756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTSIA()", "callable_declaration": "getTSIA()" @@ -25764,13 +24772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getOpenTSIA()", "callable_declaration": "getOpenTSIA()" @@ -25780,13 +24788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -25796,13 +24804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" @@ -25812,13 +24820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" @@ -25828,13 +24836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -25844,13 +24852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -25860,13 +24868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndQuantity()", "callable_declaration": "rndQuantity()" @@ -25876,13 +24884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)" @@ -25892,13 +24900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getSummaryDate()", "callable_declaration": "getSummaryDate()" @@ -25908,13 +24916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTSIA()", "callable_declaration": "getTSIA()" @@ -25924,13 +24932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getOpenTSIA()", "callable_declaration": "getOpenTSIA()" @@ -25940,13 +24948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getGainPercent()", "callable_declaration": "getGainPercent()" @@ -25956,13 +24964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -25972,13 +24980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopGainers()", "callable_declaration": "getTopGainers()" @@ -25988,13 +24996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopLosers()", "callable_declaration": "getTopLosers()" @@ -26004,13 +25012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopGainers()", "callable_declaration": "getTopGainers()" @@ -26020,13 +25028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -26036,13 +25044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -26052,13 +25060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -26068,13 +25076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopLosers()", "callable_declaration": "getTopLosers()" @@ -26084,13 +25092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -26100,13 +25108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -26116,13 +25124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -26132,13 +25140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getSummaryDate()", "callable_declaration": "getSummaryDate()" @@ -26148,13 +25156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTSIA()", "callable_declaration": "getTSIA()" @@ -26164,13 +25172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getOpenTSIA()", "callable_declaration": "getOpenTSIA()" @@ -26180,13 +25188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -26196,13 +25204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopGainers()", "callable_declaration": "getTopGainers()" @@ -26212,13 +25220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopLosers()", "callable_declaration": "getTopLosers()" @@ -26228,13 +25236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopGainers()", "callable_declaration": "getTopGainers()" @@ -26244,13 +25252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -26260,13 +25268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -26276,13 +25284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -26292,13 +25300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopLosers()", "callable_declaration": "getTopLosers()" @@ -26308,13 +25316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -26324,13 +25332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -26340,13 +25348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -26356,13 +25364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -26372,13 +25380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -26388,13 +25396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -26404,13 +25412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -26420,13 +25428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" @@ -26436,13 +25444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -26452,13 +25460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -26468,13 +25476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -26484,13 +25492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -26500,13 +25508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" @@ -26516,13 +25524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()" @@ -26532,13 +25540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -26548,13 +25556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getGainPercent()", "callable_declaration": "getGainPercent()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTSIA()", "callable_declaration": "getTSIA()" @@ -26564,13 +25572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getGainPercent()", "callable_declaration": "getGainPercent()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getOpenTSIA()", "callable_declaration": "getOpenTSIA()" @@ -26580,13 +25588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getGainPercent()", "callable_declaration": "getGainPercent()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -26596,13 +25604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "init(ServletConfig)", "callable_declaration": "init(ServletConfig)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" @@ -26612,13 +25620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" @@ -26628,13 +25636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" @@ -26644,13 +25652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -26660,13 +25668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -26676,13 +25684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "incrementScenarioCount()", "callable_declaration": "incrementScenarioCount()" @@ -26692,13 +25700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getScenarioAction(boolean)", "callable_declaration": "getScenarioAction(boolean)" @@ -26708,13 +25716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbols()", "callable_declaration": "rndSymbols()" @@ -26724,13 +25732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -26740,13 +25748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndNewUserID()", "callable_declaration": "rndNewUserID()" @@ -26756,13 +25764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFullName()", "callable_declaration": "rndFullName()" @@ -26772,13 +25780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndCreditCard()", "callable_declaration": "rndCreditCard()" @@ -26788,13 +25796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBalance()", "callable_declaration": "rndBalance()" @@ -26804,13 +25812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" @@ -26820,13 +25828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndAddress()", "callable_declaration": "rndAddress()" @@ -26836,13 +25844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -26852,13 +25860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -26868,13 +25876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -26884,13 +25892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getPurchaseDate()", "callable_declaration": "getPurchaseDate()" @@ -26900,13 +25908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getHoldingID()", "callable_declaration": "getHoldingID()" @@ -26916,13 +25924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -26932,13 +25940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "incrementSellDeficit()", "callable_declaration": "incrementSellDeficit()" @@ -26948,13 +25956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -26964,13 +25972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndQuantity()", "callable_declaration": "rndQuantity()" @@ -26980,13 +25988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "QuoteJSF(Instance)", "callable_declaration": "QuoteJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -26996,13 +26004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "QuoteJSF(Instance)", "callable_declaration": "QuoteJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -27012,13 +26020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "QuoteJSF(Instance)", "callable_declaration": "QuoteJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -27028,13 +26036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getAllQuotes()", "callable_declaration": "getAllQuotes()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" @@ -27044,13 +26052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "setSymbols(String)", "callable_declaration": "setSymbols(String)" @@ -27060,13 +26068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getSymbols()", "callable_declaration": "getSymbols()" @@ -27076,13 +26084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "setSymbols(String)", "callable_declaration": "setSymbols(String)" @@ -27092,13 +26100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getSymbols()", "callable_declaration": "getSymbols()" @@ -27108,13 +26116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -27124,13 +26132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -27140,13 +26148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -27156,13 +26164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -27172,13 +26180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -27188,13 +26196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -27204,13 +26212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getHigh()", "callable_declaration": "getHigh()" @@ -27220,13 +26228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getLow()", "callable_declaration": "getLow()" @@ -27236,13 +26244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getCompanyName()", "callable_declaration": "getCompanyName()" @@ -27252,13 +26260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -27268,13 +26276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" @@ -27284,13 +26292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/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)" @@ -27300,13 +26308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -27316,13 +26324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "getQuotesBySymbols()", "callable_declaration": "getQuotesBySymbols()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "setQuotes(QuoteData[])", "callable_declaration": "setQuotes(QuoteData[])" @@ -27332,13 +26340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "signature": "getSymbol()", "callable_declaration": "getSymbol()" @@ -27348,13 +26356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getOrderProcessingMode()", "callable_declaration": "getOrderProcessingMode()" @@ -27364,13 +26372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -27380,13 +26388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -27396,13 +26404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" @@ -27412,13 +26420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -27428,13 +26436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -27444,13 +26452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOpenDate()", "callable_declaration": "getOpenDate()" @@ -27460,13 +26468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "callable_declaration": "getCompletionDate()" @@ -27476,13 +26484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -27492,13 +26500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -27508,13 +26516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -27524,13 +26532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -27540,13 +26548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/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)" @@ -27556,13 +26564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", "signature": "buy()", "callable_declaration": "buy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -27572,13 +26580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.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/PingServlet2IncludeRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2IncludeRcv", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.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/PingServlet2IncludeRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2IncludeRcv", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -27588,13 +26596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -27604,13 +26612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -27620,13 +26628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -27636,13 +26644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -27652,13 +26660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -27668,13 +26676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -27684,13 +26692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -27700,13 +26708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -27716,13 +26724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -27732,13 +26740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -27748,13 +26756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -27764,13 +26772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -27796,13 +26804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -27812,13 +26820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -27828,13 +26836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "investmentReturn(double, double)", "callable_declaration": "investmentReturn(double, double)" @@ -27844,13 +26852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "investmentReturn(double, double)", "callable_declaration": "investmentReturn(double, double)" @@ -27860,13 +26868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "investmentReturn(double, double)", "callable_declaration": "investmentReturn(double, double)" @@ -27876,13 +26884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -27892,13 +26900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -27908,13 +26916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.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/ExplicitGC.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.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/ExplicitGC.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -27924,13 +26932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.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/ExplicitGC.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -27940,13 +26948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "init(ServletConfig)", "callable_declaration": "init(ServletConfig)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)" @@ -27956,13 +26964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" @@ -27972,13 +26980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" @@ -27988,13 +26996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28004,13 +27012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28020,13 +27028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28036,13 +27044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28052,13 +27060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterface()", "callable_declaration": "getWebInterface()" @@ -28068,13 +27076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "pushHeaderImages(PushBuilder)", "callable_declaration": "pushHeaderImages(PushBuilder)" @@ -28084,13 +27092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28100,13 +27108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28116,13 +27124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28132,13 +27140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28148,13 +27156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28164,13 +27172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28180,13 +27188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28196,13 +27204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28212,13 +27220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28228,13 +27236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/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)" @@ -28244,13 +27252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "pushHeaderImages(PushBuilder)", "callable_declaration": "pushHeaderImages(PushBuilder)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -28260,13 +27268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", "signature": "pushHeaderImages(PushBuilder)", "callable_declaration": "pushHeaderImages(PushBuilder)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -28276,13 +27284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28292,13 +27300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "setLoginCount(int)", "callable_declaration": "setLoginCount(int)" @@ -28308,13 +27316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "setLogoutCount(int)", "callable_declaration": "setLogoutCount(int)" @@ -28324,13 +27332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28340,13 +27348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28356,13 +27364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28372,13 +27380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28388,13 +27396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28404,13 +27412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "setLoginCount(int)", "callable_declaration": "setLoginCount(int)" @@ -28420,13 +27428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "setLogoutCount(int)", "callable_declaration": "setLogoutCount(int)" @@ -28436,13 +27444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28452,13 +27460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28468,13 +27476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28484,13 +27492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28500,13 +27508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28516,13 +27524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -28532,13 +27540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -28548,13 +27556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -28564,13 +27572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -28580,13 +27588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -28596,13 +27604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -28612,13 +27620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndUserID()", "callable_declaration": "rndUserID()" @@ -28628,13 +27636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -28644,13 +27652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -28660,13 +27668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLoginCount()", "callable_declaration": "getLoginCount()" @@ -28676,13 +27684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLogoutCount()", "callable_declaration": "getLogoutCount()" @@ -28692,13 +27700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLastLogin()", "callable_declaration": "getLastLogin()" @@ -28708,13 +27716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getCreationDate()", "callable_declaration": "getCreationDate()" @@ -28724,13 +27732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getBalance()", "callable_declaration": "getBalance()" @@ -28740,13 +27748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getOpenBalance()", "callable_declaration": "getOpenBalance()" @@ -28756,13 +27764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getProfileID()", "callable_declaration": "getProfileID()" @@ -28772,13 +27780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -28788,13 +27796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLoginCount()", "callable_declaration": "getLoginCount()" @@ -28804,13 +27812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLogoutCount()", "callable_declaration": "getLogoutCount()" @@ -28820,13 +27828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLastLogin()", "callable_declaration": "getLastLogin()" @@ -28836,13 +27844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getCreationDate()", "callable_declaration": "getCreationDate()" @@ -28852,13 +27860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getBalance()", "callable_declaration": "getBalance()" @@ -28868,13 +27876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getOpenBalance()", "callable_declaration": "getOpenBalance()" @@ -28884,13 +27892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getProfileID()", "callable_declaration": "getProfileID()" @@ -28900,13 +27908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()" @@ -28916,13 +27924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -28932,13 +27940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getProfile()", "callable_declaration": "getProfile()" @@ -28948,13 +27956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "callable_declaration": "getPassword()" @@ -28964,13 +27972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -28980,13 +27988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "callable_declaration": "getUserID()" @@ -28996,13 +28004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "callable_declaration": "getPassword()" @@ -29012,13 +28020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" @@ -29028,13 +28036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLoginCount()", "callable_declaration": "getLoginCount()" @@ -29044,13 +28052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "setLoginCount(int)", "callable_declaration": "setLoginCount(int)" @@ -29060,13 +28068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLogoutCount()", "callable_declaration": "getLogoutCount()" @@ -29076,13 +28084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "setLogoutCount(int)", "callable_declaration": "setLogoutCount(int)" @@ -29092,13 +28100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29108,13 +28116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29124,13 +28132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "setVolume(double)", "callable_declaration": "setVolume(double)" @@ -29140,13 +28148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29156,13 +28164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29172,13 +28180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29188,13 +28196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29204,13 +28212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "setChange(double)", "callable_declaration": "setChange(double)" @@ -29220,13 +28228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -29236,13 +28244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -29252,13 +28260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFloat(int)", "callable_declaration": "rndFloat(int)" @@ -29268,13 +28276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -29284,13 +28292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -29300,13 +28308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -29316,13 +28324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -29332,13 +28340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFloat(int)", "callable_declaration": "rndFloat(int)" @@ -29348,13 +28356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29364,13 +28372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)" @@ -29380,13 +28388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -29396,13 +28404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getCompanyName()", "callable_declaration": "getCompanyName()" @@ -29412,13 +28420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -29428,13 +28436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -29444,13 +28452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -29460,13 +28468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getLow()", "callable_declaration": "getLow()" @@ -29476,13 +28484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getHigh()", "callable_declaration": "getHigh()" @@ -29492,13 +28500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" @@ -29508,13 +28516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -29524,13 +28532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getCompanyName()", "callable_declaration": "getCompanyName()" @@ -29540,13 +28548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getVolume()", "callable_declaration": "getVolume()" @@ -29556,13 +28564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -29572,13 +28580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "callable_declaration": "getOpen()" @@ -29588,13 +28596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getLow()", "callable_declaration": "getLow()" @@ -29604,13 +28612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getHigh()", "callable_declaration": "getHigh()" @@ -29620,13 +28628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "callable_declaration": "getChange()" @@ -29636,13 +28644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()" @@ -29652,13 +28660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -29668,13 +28676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.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/JsonEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", "signature": "encode(JsonMessage)", "callable_declaration": "encode(JsonMessage)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "getKey()", "callable_declaration": "getKey()" @@ -29684,146 +28692,18 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.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/JsonEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", "signature": "encode(JsonMessage)", "callable_declaration": "encode(JsonMessage)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "getValue()", "callable_declaration": "getValue()" } }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", @@ -29834,7 +28714,7 @@ "callable_declaration": "encode(java.lang.Object)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.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/JsonEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", "signature": "encode(JsonMessage)", "callable_declaration": "encode(JsonMessage)" @@ -29860,13 +28740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.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/PingReentryServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingReentryServlet", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.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/PingReentryServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingReentryServlet", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -29876,13 +28756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "getInstance()", "callable_declaration": "getInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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()" @@ -29892,7 +28772,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" @@ -29908,13 +28788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMax()", "callable_declaration": "getMax()" @@ -29924,13 +28804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "setMax(double)", "callable_declaration": "setMax(double)" @@ -29940,13 +28820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getMin()", "callable_declaration": "getMin()" @@ -29956,13 +28836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "setMin(double)", "callable_declaration": "setMin(double)" @@ -29972,13 +28852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getCount()", "callable_declaration": "getCount()" @@ -29988,13 +28868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "setCount(int)", "callable_declaration": "setCount(int)" @@ -30004,13 +28884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "getTotalTime()", "callable_declaration": "getTotalTime()" @@ -30020,13 +28900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TimerStat", "signature": "setTotalTime(double)", "callable_declaration": "setTotalTime(double)" @@ -30036,7 +28916,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl", "signature": "onAllDataRead()", "callable_declaration": "onAllDataRead()" @@ -30052,7 +28932,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl", "signature": "onAllDataRead()", "callable_declaration": "onAllDataRead()" @@ -30068,13 +28948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -30084,13 +28964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -30100,13 +28980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -30116,13 +28996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -30132,13 +29012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -30148,13 +29028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -30164,13 +29044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.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/AsyncOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrderSubmitter", "signature": "submitOrder(Integer, boolean)", "callable_declaration": "submitOrder(Integer, boolean)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.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/AsyncOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrder", "signature": "setProperties(Integer, boolean)", "callable_declaration": "setProperties(Integer, boolean)" @@ -30180,13 +29060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -30196,13 +29076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -30212,13 +29092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -30228,13 +29108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -30244,13 +29124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -30260,13 +29140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -30276,13 +29156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -30292,7 +29172,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl", "signature": "onAllDataRead()", "callable_declaration": "onAllDataRead()" @@ -30308,13 +29188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "TradeAppJSF(Instance)", "callable_declaration": "TradeAppJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -30324,13 +29204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "TradeAppJSF(Instance)", "callable_declaration": "TradeAppJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -30340,13 +29220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "TradeAppJSF(Instance)", "callable_declaration": "TradeAppJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -30356,13 +29236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -30372,13 +29252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -30388,13 +29268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "login(String, String)", "callable_declaration": "login(String, String)" @@ -30404,13 +29284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -30420,13 +29300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -30436,13 +29316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountProfileData(String)", "callable_declaration": "getAccountProfileData(String)" @@ -30452,13 +29332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30468,13 +29348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAddress()", "callable_declaration": "getAddress()" @@ -30484,13 +29364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setAddress(String)", "callable_declaration": "setAddress(String)" @@ -30500,13 +29380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getCreditCard()", "callable_declaration": "getCreditCard()" @@ -30516,13 +29396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setCcn(String)", "callable_declaration": "setCcn(String)" @@ -30532,13 +29412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getEmail()", "callable_declaration": "getEmail()" @@ -30548,13 +29428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setEmail(String)", "callable_declaration": "setEmail(String)" @@ -30564,13 +29444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getFullName()", "callable_declaration": "getFullName()" @@ -30580,13 +29460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setFullname(String)", "callable_declaration": "setFullname(String)" @@ -30596,13 +29476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "callable_declaration": "getPassword()" @@ -30612,13 +29492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setCpassword(String)", "callable_declaration": "setCpassword(String)" @@ -30628,13 +29508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -30644,13 +29524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30660,13 +29540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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)" @@ -30676,13 +29556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/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)" @@ -30692,13 +29572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/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)" @@ -30708,13 +29588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30724,13 +29604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "login()", "callable_declaration": "login()" @@ -30740,13 +29620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -30756,13 +29636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30772,13 +29652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30788,13 +29668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "register()", "callable_declaration": "register()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -30804,13 +29684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "updateProfile()", "callable_declaration": "updateProfile()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)" @@ -30820,13 +29700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "updateProfile()", "callable_declaration": "updateProfile()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -30836,13 +29716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "updateProfile()", "callable_declaration": "updateProfile()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -30852,13 +29732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "updateProfile()", "callable_declaration": "updateProfile()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "updateAccountProfile(AccountProfileDataBean)", "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" @@ -30868,13 +29748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "updateProfile()", "callable_declaration": "updateProfile()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30884,13 +29764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "updateProfile()", "callable_declaration": "updateProfile()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -30900,13 +29780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30916,13 +29796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -30932,13 +29812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -30948,13 +29828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "logout(String)", "callable_declaration": "logout(String)" @@ -30964,13 +29844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "setResults(String)", "callable_declaration": "setResults(String)" @@ -30980,13 +29860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -30996,13 +29876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31012,13 +29892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", "signature": "logout()", "callable_declaration": "logout()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31028,13 +29908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "MarketSummaryWebSocket()", "callable_declaration": "MarketSummaryWebSocket()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -31044,13 +29924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "MarketSummaryWebSocket()", "callable_declaration": "MarketSummaryWebSocket()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -31060,13 +29940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "MarketSummaryWebSocket()", "callable_declaration": "MarketSummaryWebSocket()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -31076,13 +29956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onOpen(Session, EndpointConfig)", "callable_declaration": "onOpen(Session, EndpointConfig)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31092,13 +29972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "signature": "getDecodedAction()", "callable_declaration": "getDecodedAction()" @@ -31108,13 +29988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31124,13 +30004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -31140,13 +30020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -31156,13 +30036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -31172,13 +30052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" @@ -31188,13 +30068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31204,141 +30084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": "isEmpty()", "callable_declaration": "isEmpty()" @@ -31348,13 +30100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "sendMarketSummary(ActionMessage, Session)", "callable_declaration": "sendMarketSummary(ActionMessage, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": "recentList()", "callable_declaration": "recentList()" @@ -31364,13 +30116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onError(Throwable, Session)", "callable_declaration": "onError(Throwable, Session)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31380,13 +30132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onClose(Session, CloseReason)", "callable_declaration": "onClose(Session, CloseReason)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31396,13 +30148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onStockChange(String)", "callable_declaration": "onStockChange(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31412,13 +30164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onStockChange(String)", "callable_declaration": "onStockChange(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -31428,13 +30180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onStockChange(String)", "callable_declaration": "onStockChange(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -31444,13 +30196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onStockChange(String)", "callable_declaration": "onStockChange(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": "recentList()", "callable_declaration": "recentList()" @@ -31460,13 +30212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onMarketSummarytUpdate(String)", "callable_declaration": "onMarketSummarytUpdate(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31476,13 +30228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onMarketSummarytUpdate(String)", "callable_declaration": "onMarketSummarytUpdate(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -31492,13 +30244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onMarketSummarytUpdate(String)", "callable_declaration": "onMarketSummarytUpdate(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -31508,13 +30260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onMarketSummarytUpdate(String)", "callable_declaration": "onMarketSummarytUpdate(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getMarketSummary()", "callable_declaration": "getMarketSummary()" @@ -31524,13 +30276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onMarketSummarytUpdate(String)", "callable_declaration": "onMarketSummarytUpdate(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "callable_declaration": "toJSON()" @@ -31540,13 +30292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onMarketSummarytUpdate(String)", "callable_declaration": "onMarketSummarytUpdate(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -31556,13 +30308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "onMarketSummarytUpdate(String)", "callable_declaration": "onMarketSummarytUpdate(String)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -31572,135 +30324,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/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)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "listIterator(int)", "callable_declaration": "listIterator(int)" @@ -31716,13 +30340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.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/http2/PingServletPush.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletPush", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -31818,7 +30442,7 @@ "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "setKey(String)", "callable_declaration": "setKey(String)" @@ -31850,7 +30474,7 @@ "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "signature": "setValue(String)", "callable_declaration": "setValue(String)" @@ -31876,13 +30500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "toggleShowAllRows()", "callable_declaration": "toggleShowAllRows()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setNumberOfOrderRows(Integer)", "callable_declaration": "setNumberOfOrderRows(Integer)" @@ -31892,13 +30516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "AccountDataJSF(Instance)", "callable_declaration": "AccountDataJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -31908,13 +30532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "AccountDataJSF(Instance)", "callable_declaration": "AccountDataJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -31924,13 +30548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "AccountDataJSF(Instance)", "callable_declaration": "AccountDataJSF(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -31940,13 +30564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -31956,13 +30580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -31972,13 +30596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getAccountData(String)", "callable_declaration": "getAccountData(String)" @@ -31988,13 +30612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -32004,13 +30628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -32020,13 +30644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getHoldings(String)", "callable_declaration": "getHoldings(String)" @@ -32036,13 +30660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getDisplayOrderAlerts()", "callable_declaration": "getDisplayOrderAlerts()" @@ -32052,13 +30676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -32068,13 +30692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -32084,13 +30708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getClosedOrders(String)", "callable_declaration": "getClosedOrders(String)" @@ -32100,13 +30724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -32116,13 +30740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -32132,13 +30756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -32148,13 +30772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -32164,13 +30788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -32180,13 +30804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -32196,13 +30820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOpenDate()", "callable_declaration": "getOpenDate()" @@ -32212,13 +30836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "callable_declaration": "getCompletionDate()" @@ -32228,13 +30852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -32244,13 +30868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -32260,13 +30884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -32276,13 +30900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -32292,13 +30916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/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)" @@ -32308,13 +30932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setClosedOrders(OrderData[])", "callable_declaration": "setClosedOrders(OrderData[])" @@ -32324,13 +30948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "callable_declaration": "getLongRun()" @@ -32340,13 +30964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -32356,13 +30980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -32372,13 +30996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getOrders(String)", "callable_declaration": "getOrders(String)" @@ -32388,13 +31012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -32404,13 +31028,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -32420,13 +31044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "hasNext()", "callable_declaration": "hasNext()" @@ -32436,13 +31060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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.KeyBlockIterator", "signature": "next()", "callable_declaration": "next()" @@ -32452,13 +31076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -32468,13 +31092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -32484,13 +31108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOpenDate()", "callable_declaration": "getOpenDate()" @@ -32500,13 +31124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "callable_declaration": "getCompletionDate()" @@ -32516,13 +31140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -32532,13 +31156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -32548,13 +31172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -32564,13 +31188,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -32580,13 +31204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -32596,13 +31220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/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)" @@ -32612,13 +31236,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -32628,13 +31252,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setNumberOfOrders(Integer)", "callable_declaration": "setNumberOfOrders(Integer)" @@ -32644,13 +31268,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setAllOrders(OrderData[])", "callable_declaration": "setAllOrders(OrderData[])" @@ -32660,13 +31284,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setSessionCreationDate(Date)", "callable_declaration": "setSessionCreationDate(Date)" @@ -32676,13 +31300,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setCurrentTime(Date)", "callable_declaration": "setCurrentTime(Date)" @@ -32692,13 +31316,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "home()", "callable_declaration": "home()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" @@ -32708,13 +31332,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getProfileID()", "callable_declaration": "getProfileID()" @@ -32724,13 +31348,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setProfileID(String)", "callable_declaration": "setProfileID(String)" @@ -32740,13 +31364,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "callable_declaration": "getAccountID()" @@ -32756,13 +31380,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setAccountID(Integer)", "callable_declaration": "setAccountID(Integer)" @@ -32772,13 +31396,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getCreationDate()", "callable_declaration": "getCreationDate()" @@ -32788,13 +31412,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setCreationDate(Date)", "callable_declaration": "setCreationDate(Date)" @@ -32804,13 +31428,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLoginCount()", "callable_declaration": "getLoginCount()" @@ -32820,13 +31444,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setLoginCount(int)", "callable_declaration": "setLoginCount(int)" @@ -32836,13 +31460,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLogoutCount()", "callable_declaration": "getLogoutCount()" @@ -32852,13 +31476,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setLogoutCount(int)", "callable_declaration": "setLogoutCount(int)" @@ -32868,13 +31492,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLastLogin()", "callable_declaration": "getLastLogin()" @@ -32884,13 +31508,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setLastLogin(Date)", "callable_declaration": "setLastLogin(Date)" @@ -32900,13 +31524,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getOpenBalance()", "callable_declaration": "getOpenBalance()" @@ -32916,13 +31540,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setOpenBalance(BigDecimal)", "callable_declaration": "setOpenBalance(BigDecimal)" @@ -32932,13 +31556,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getBalance()", "callable_declaration": "getBalance()" @@ -32948,13 +31572,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setBalance(BigDecimal)", "callable_declaration": "setBalance(BigDecimal)" @@ -32964,13 +31588,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "callable_declaration": "size()" @@ -32980,13 +31604,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setNumberHoldings(Integer)", "callable_declaration": "setNumberHoldings(Integer)" @@ -32996,13 +31620,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -33012,13 +31636,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setHoldingsTotal(BigDecimal)", "callable_declaration": "setHoldingsTotal(BigDecimal)" @@ -33028,13 +31652,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setSumOfCashHoldings(BigDecimal)", "callable_declaration": "setSumOfCashHoldings(BigDecimal)" @@ -33044,13 +31668,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -33060,13 +31684,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setGain(BigDecimal)", "callable_declaration": "setGain(BigDecimal)" @@ -33076,13 +31700,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -33092,13 +31716,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "doAccountData(AccountDataBean, Collection)", "callable_declaration": "doAccountData(AccountDataBean, Collection)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "setGainPercent(BigDecimal)", "callable_declaration": "setGainPercent(BigDecimal)" @@ -33108,13 +31732,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "getGainHTML()", "callable_declaration": "getGainHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -33124,13 +31748,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", "signature": "getGainPercentHTML()", "callable_declaration": "getGainPercentHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)" @@ -33140,13 +31764,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -33156,13 +31780,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -33172,13 +31796,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -33188,13 +31812,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "pingTwoPhase(String)", "callable_declaration": "pingTwoPhase(String)" @@ -33204,13 +31828,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "pingTwoPhase(String)", "callable_declaration": "pingTwoPhase(String)" @@ -33220,13 +31844,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "pingTwoPhase(String)", "callable_declaration": "pingTwoPhase(String)" @@ -33236,13 +31860,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -33252,13 +31876,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" @@ -33268,13 +31892,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -33284,13 +31908,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", "signature": "AsyncScheduledOrder(Instance)", "callable_declaration": "AsyncScheduledOrder(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "callable_declaration": "getRunTimeModeNames()" @@ -33300,13 +31924,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", "signature": "AsyncScheduledOrder(Instance)", "callable_declaration": "AsyncScheduledOrder(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeMode()", "callable_declaration": "getRunTimeMode()" @@ -33316,13 +31940,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", "signature": "AsyncScheduledOrder(Instance)", "callable_declaration": "AsyncScheduledOrder(Instance)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)" @@ -33332,13 +31956,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", "signature": "run()", "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -33348,13 +31972,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", "signature": "run()", "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -33364,13 +31988,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", "signature": "run()", "callable_declaration": "run()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "completeOrder(Integer, boolean)", "callable_declaration": "completeOrder(Integer, boolean)" @@ -33380,13 +32004,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33396,13 +32020,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33412,13 +32036,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33428,13 +32052,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33444,13 +32068,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33460,13 +32084,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "setQuantity(double)", "callable_declaration": "setQuantity(double)" @@ -33476,13 +32100,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33492,13 +32116,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33508,13 +32132,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33524,13 +32148,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33540,13 +32164,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33556,13 +32180,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33572,13 +32196,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33588,13 +32212,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "setQuantity(double)", "callable_declaration": "setQuantity(double)" @@ -33604,13 +32228,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33620,13 +32244,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33636,13 +32260,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33652,13 +32276,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33668,13 +32292,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33684,13 +32308,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -33700,13 +32324,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBoolean()", "callable_declaration": "rndBoolean()" @@ -33716,13 +32340,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -33732,13 +32356,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndInt(int)", "callable_declaration": "rndInt(int)" @@ -33748,13 +32372,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndQuantity()", "callable_declaration": "rndQuantity()" @@ -33764,13 +32388,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -33780,13 +32404,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBigDecimal(float)", "callable_declaration": "rndBigDecimal(float)" @@ -33796,13 +32420,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -33812,13 +32436,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "callable_declaration": "getRandomInstance()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -33828,13 +32452,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -33844,13 +32468,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -33860,13 +32484,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -33876,13 +32500,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOpenDate()", "callable_declaration": "getOpenDate()" @@ -33892,13 +32516,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "callable_declaration": "getCompletionDate()" @@ -33908,13 +32532,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -33924,13 +32548,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -33940,13 +32564,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -33956,13 +32580,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -33972,13 +32596,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderID()", "callable_declaration": "getOrderID()" @@ -33988,13 +32612,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -34004,13 +32628,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -34020,13 +32644,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOpenDate()", "callable_declaration": "getOpenDate()" @@ -34036,13 +32660,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "callable_declaration": "getCompletionDate()" @@ -34052,13 +32676,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getQuantity()", "callable_declaration": "getQuantity()" @@ -34068,13 +32692,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getPrice()", "callable_declaration": "getPrice()" @@ -34084,13 +32708,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderFee()", "callable_declaration": "getOrderFee()" @@ -34100,13 +32724,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toHTML()", "callable_declaration": "toHTML()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -34116,13 +32740,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()" @@ -34132,13 +32756,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "print()", "callable_declaration": "print()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -34148,13 +32772,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getSymbol()", "callable_declaration": "getSymbol()" @@ -34164,13 +32788,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isBuy()", "callable_declaration": "isBuy()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -34180,13 +32804,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isSell()", "callable_declaration": "isSell()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "callable_declaration": "getOrderType()" @@ -34196,13 +32820,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isOpen()", "callable_declaration": "isOpen()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -34212,13 +32836,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isCompleted()", "callable_declaration": "isCompleted()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -34228,13 +32852,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isCancelled()", "callable_declaration": "isCancelled()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderStatus()", "callable_declaration": "getOrderStatus()" @@ -34244,13 +32868,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "cancel()", "callable_declaration": "cancel()" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)" @@ -34260,13 +32884,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -34276,13 +32900,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -34292,13 +32916,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndSymbol()", "callable_declaration": "rndSymbol()" @@ -34308,13 +32932,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -34324,13 +32948,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -34340,13 +32964,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", "signature": "getQuote(String)", "callable_declaration": "getQuote(String)" @@ -34356,13 +32980,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -34372,13 +32996,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -34388,13 +33012,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.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/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.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/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -34404,7 +33028,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.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/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -34420,13 +33044,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.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/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.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/PingBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "signature": "setMsg(String)", "callable_declaration": "setMsg(String)" @@ -34436,13 +33060,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.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/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -34452,13 +33076,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -34468,13 +33092,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "callable_declaration": "getPrimIterations()" @@ -34484,13 +33108,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -34500,13 +33124,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -34516,13 +33140,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.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/PingJSONPStreaming.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.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/PingJSONPStreaming.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" @@ -34532,13 +33156,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.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/PingJSONPStreaming.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.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)" @@ -34548,13 +33172,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.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/PingServlet30Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.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/PingServlet30Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" @@ -34564,7 +33188,7 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" @@ -34580,13 +33204,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" @@ -34596,45 +33220,13 @@ "type": "CALL_DEP", "weight": "1", "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.java", - "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" - }, - "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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)" - } - }, - { - "type": "CALL_DEP", - "weight": "1", - "source": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.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/cdi/PingServletCDIEvent.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" }, "target": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.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/cdi/CDIEventProducer.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.CDIEventProducer", "signature": "produceSyncEvent()", "callable_declaration": "produceSyncEvent()" @@ -34642,8 +33234,8 @@ } ], "symbol_table": { - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", + "/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": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", "comments": [ { @@ -34700,7 +33292,7 @@ "nested_type_declarations": [], "callable_declarations": { "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "signature": "destroy()", "comments": [], "annotations": [ @@ -34712,9 +33304,10 @@ "thrown_exceptions": [], "declaration": "public void destroy()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 31, "end_line": 33, + "code_start_line": 32, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -34728,7 +33321,7 @@ "is_entrypoint": false }, "decode(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "signature": "decode(String)", "comments": [], "annotations": [ @@ -34753,9 +33346,10 @@ "end_column": 45 } ], - "code": "{\n Log.trace(\"ActionDecoder:decode -- received -->\" + jsonText + \"<--\");\n ActionMessage actionMessage = new ActionMessage();\n actionMessage.doDecoding(jsonText);\n return actionMessage;\n}", + "code": "{\n\n\n Log.trace(\"ActionDecoder:decode -- received -->\" + jsonText + \"<--\");\n\n\n ActionMessage actionMessage = new ActionMessage();\n actionMessage.doDecoding(jsonText);\n return actionMessage;\n\n }", "start_line": 39, "end_line": 50, + "code_start_line": 40, "return_type": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "is_implicit": false, "is_constructor": false, @@ -34857,7 +33451,7 @@ "is_entrypoint": false }, "init(EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "signature": "init(EndpointConfig)", "comments": [], "annotations": [ @@ -34880,9 +33474,10 @@ "end_column": 40 } ], - "code": "{\n}", + "code": "{\n }", "start_line": 35, "end_line": 37, + "code_start_line": 36, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -34896,7 +33491,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "signature": "ActionDecoder()", "comments": [], "annotations": [], @@ -34906,9 +33501,10 @@ "thrown_exceptions": [], "declaration": "public ActionDecoder()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 28, "end_line": 29, + "code_start_line": 28, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -34922,7 +33518,7 @@ "is_entrypoint": false }, "willDecode(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.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/ActionDecoder.java", "signature": "willDecode(String)", "comments": [], "annotations": [ @@ -34945,9 +33541,10 @@ "end_column": 36 } ], - "code": "{\n return true;\n}", + "code": "{\n return true;\n }", "start_line": 52, "end_line": 55, + "code_start_line": 53, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -34970,8 +33567,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -35046,7 +33643,7 @@ "nested_type_declarations": [], "callable_declarations": { "getMsg()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.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/PingBean.java", "signature": "getMsg()", "comments": [ { @@ -35065,9 +33662,10 @@ "thrown_exceptions": [], "declaration": "public String getMsg()", "parameters": [], - "code": "{\n return msg;\n}", + "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, @@ -35083,7 +33681,7 @@ "is_entrypoint": false }, "setMsg(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.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/PingBean.java", "signature": "setMsg(String)", "comments": [ { @@ -35113,9 +33711,10 @@ "end_column": 31 } ], - "code": "{\n msg = s;\n}", + "code": "{\n msg = s;\n }", "start_line": 38, "end_line": 40, + "code_start_line": 38, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -35162,8 +33761,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", + "/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": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.impl.session2direct", "comments": [ { @@ -35230,7 +33829,7 @@ "nested_type_declarations": [], "callable_declarations": { "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", "comments": [], "annotations": [ @@ -35295,9 +33894,10 @@ "end_column": 39 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.createOrder(account, quote, holding, orderType, quantity);\n}", + "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, @@ -35364,7 +33964,7 @@ "is_entrypoint": false }, "getMarketSummary()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getMarketSummary()", "comments": [], "annotations": [ @@ -35378,9 +33978,10 @@ ], "declaration": "public MarketSummaryDataBean getMarketSummary() throws Exception", "parameters": [], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getMarketSummary();\n}", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getMarketSummary();\n }", "start_line": 64, "end_line": 68, + "code_start_line": 65, "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "is_implicit": false, "is_constructor": false, @@ -35441,7 +34042,7 @@ "is_entrypoint": false }, "investmentReturn(double, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "investmentReturn(double, double)", "comments": [], "annotations": [ @@ -35476,9 +34077,10 @@ "end_column": 57 } ], - "code": "{\n throw new UnsupportedOperationException();\n}", + "code": "{\n throw new UnsupportedOperationException();\n }", "start_line": 227, "end_line": 230, + "code_start_line": 228, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -35514,7 +34116,7 @@ "is_entrypoint": false }, "getAllQuotes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getAllQuotes()", "comments": [], "annotations": [ @@ -35528,9 +34130,10 @@ ], "declaration": "public Collection getAllQuotes() throws Exception", "parameters": [], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getAllQuotes();\n}", + "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, @@ -35591,7 +34194,7 @@ "is_entrypoint": false }, "register(String, String, String, String, String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "register(String, String, String, String, String, String, BigDecimal)", "comments": [], "annotations": [ @@ -35676,9 +34279,10 @@ "end_column": 47 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.register(userID, password, fullname, address, email, creditcard, openBalance);\n}", + "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, @@ -35747,7 +34351,7 @@ "is_entrypoint": false }, "getHoldings(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getHoldings(String)", "comments": [], "annotations": [ @@ -35772,9 +34376,10 @@ "end_column": 62 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getHoldings(userID);\n}", + "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, @@ -35837,7 +34442,7 @@ "is_entrypoint": false }, "login(String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "login(String, String)", "comments": [], "annotations": [ @@ -35872,9 +34477,10 @@ "end_column": 61 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.login(userID, password);\n}", + "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, @@ -35938,7 +34544,7 @@ "is_entrypoint": false }, "setInSession(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "setInSession(boolean)", "comments": [], "annotations": [ @@ -35961,9 +34567,10 @@ "end_column": 44 } ], - "code": "{\n throw new UnsupportedOperationException(\"DirectSLSBBean::setInGlobalTxn not supported\");\n}", + "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, @@ -36001,7 +34608,7 @@ "is_entrypoint": false }, "completeOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "completeOrder(Integer, boolean)", "comments": [], "annotations": [ @@ -36036,9 +34643,10 @@ "end_column": 70 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.completeOrder(orderID, twoPhase);\n}", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.completeOrder(orderID, twoPhase);\n }", "start_line": 110, "end_line": 114, + "code_start_line": 111, "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, @@ -36102,7 +34710,7 @@ "is_entrypoint": false }, "updateQuotePriceVolume(String, BigDecimal, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "comments": [], "annotations": [ @@ -36147,9 +34755,10 @@ "end_column": 101 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.updateQuotePriceVolume(symbol, newPrice, sharesTraded);\n}", + "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, @@ -36214,7 +34823,7 @@ "is_entrypoint": false }, "cancelOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "cancelOrder(Integer, boolean)", "comments": [], "annotations": [ @@ -36249,9 +34858,10 @@ "end_column": 59 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.cancelOrder(orderID, twoPhase);\n}", + "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, @@ -36315,7 +34925,7 @@ "is_entrypoint": false }, "getOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getOrders(String)", "comments": [], "annotations": [ @@ -36340,9 +34950,10 @@ "end_column": 46 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getOrders(userID);\n}", + "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, @@ -36405,7 +35016,7 @@ "is_entrypoint": false }, "getQuote(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getQuote(String)", "comments": [], "annotations": [ @@ -36430,9 +35041,10 @@ "end_column": 45 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getQuote(symbol);\n}", + "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, @@ -36495,7 +35107,7 @@ "is_entrypoint": false }, "createQuote(String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "createQuote(String, String, BigDecimal)", "comments": [], "annotations": [ @@ -36540,9 +35152,10 @@ "end_column": 86 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.createQuote(symbol, companyName, price);\n}", + "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, @@ -36607,7 +35220,7 @@ "is_entrypoint": false }, "updateAccountProfile(AccountProfileDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "updateAccountProfile(AccountProfileDataBean)", "comments": [], "annotations": [ @@ -36632,9 +35245,10 @@ "end_column": 87 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.updateAccountProfile(profileData);\n}", + "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, @@ -36697,7 +35311,7 @@ "is_entrypoint": false }, "queueOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "queueOrder(Integer, boolean)", "comments": [], "annotations": [ @@ -36732,9 +35346,10 @@ "end_column": 58 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.queueOrder(orderID, twoPhase);\n}", + "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, @@ -36798,7 +35413,7 @@ "is_entrypoint": false }, "getAccountData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getAccountData(String)", "comments": [], "annotations": [ @@ -36823,9 +35438,10 @@ "end_column": 53 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getAccountData(userID);\n}", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getAccountData(userID);\n }", "start_line": 185, "end_line": 189, + "code_start_line": 186, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -36888,7 +35504,7 @@ "is_entrypoint": false }, "getAccountProfileData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getAccountProfileData(String)", "comments": [], "annotations": [ @@ -36913,9 +35529,10 @@ "end_column": 67 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getAccountProfileData(userID);\n}", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getAccountProfileData(userID);\n }", "start_line": 191, "end_line": 195, + "code_start_line": 192, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, @@ -36978,7 +35595,7 @@ "is_entrypoint": false }, "pingTwoPhase(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "pingTwoPhase(String)", "comments": [], "annotations": [ @@ -37003,9 +35620,10 @@ "end_column": 49 } ], - "code": "{\n throw new UnsupportedOperationException();\n}", + "code": "{\n throw new UnsupportedOperationException();\n }", "start_line": 222, "end_line": 225, + "code_start_line": 223, "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, @@ -37041,7 +35659,7 @@ "is_entrypoint": false }, "orderCompleted(String, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "orderCompleted(String, Integer)", "comments": [], "annotations": [ @@ -37076,9 +35694,10 @@ "end_column": 59 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.orderCompleted(userID, orderID);\n}", + "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, @@ -37142,7 +35761,7 @@ "is_entrypoint": false }, "getImpl()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getImpl()", "comments": [], "annotations": [ @@ -37154,9 +35773,10 @@ "thrown_exceptions": [], "declaration": "public int getImpl()", "parameters": [], - "code": "{\n return TradeConfig.SESSION_TO_DIRECT;\n}", + "code": "{\n return TradeConfig.SESSION_TO_DIRECT;\n }", "start_line": 59, "end_line": 62, + "code_start_line": 60, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -37172,7 +35792,7 @@ "is_entrypoint": false }, "logout(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "logout(String)", "comments": [], "annotations": [ @@ -37197,9 +35817,10 @@ "end_column": 34 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.logout(userID);\n}", + "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, @@ -37262,7 +35883,7 @@ "is_entrypoint": false }, "buy(String, String, double, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "buy(String, String, double, int)", "comments": [], "annotations": [ @@ -37318,9 +35939,10 @@ "end_column": 97 } ], - "code": "{\n tradeDirect.setInSession(true);\n OrderDataBean orderdata = tradeDirect.buy(userID, symbol, quantity, orderProcessingMode);\n if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderdata.getOrderID(), false);\n }\n return orderdata;\n}", + "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, @@ -37452,7 +36074,7 @@ "is_entrypoint": false }, "sell(String, Integer, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "sell(String, Integer, int)", "comments": [], "annotations": [ @@ -37498,9 +36120,10 @@ "end_column": 85 } ], - "code": "{\n tradeDirect.setInSession(true);\n OrderDataBean orderdata = tradeDirect.sell(userID, holdingID, orderProcessingMode);\n if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderdata.getOrderID(), false);\n }\n return orderdata;\n}", + "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, @@ -37631,7 +36254,7 @@ "is_entrypoint": false }, "getHolding(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getHolding(Integer)", "comments": [], "annotations": [ @@ -37656,9 +36279,10 @@ "end_column": 53 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getHolding(holdingID);\n}", + "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, @@ -37721,7 +36345,7 @@ "is_entrypoint": false }, "completeOrderAsync(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "completeOrderAsync(Integer, boolean)", "comments": [], "annotations": [ @@ -37756,9 +36380,10 @@ "end_column": 83 } ], - "code": "{\n asyncEJBOrderSubmitter.submitOrder(orderID, twoPhase);\n return null;\n}", + "code": "{\n asyncEJBOrderSubmitter.submitOrder(orderID, twoPhase);\n return null;\n }", "start_line": 116, "end_line": 120, + "code_start_line": 117, "return_type": "java.util.concurrent.Future", "is_implicit": false, "is_constructor": false, @@ -37799,7 +36424,7 @@ "is_entrypoint": false }, "getClosedOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.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/session2direct/DirectSLSBBean.java", "signature": "getClosedOrders(String)", "comments": [], "annotations": [ @@ -37824,9 +36449,10 @@ "end_column": 52 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getClosedOrders(userID);\n}", + "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, @@ -37942,8 +36568,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -37998,7 +36624,7 @@ "nested_type_declarations": [], "callable_declarations": { "setSymbols(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "setSymbols(String)", "comments": [], "annotations": [], @@ -38019,9 +36645,10 @@ "end_column": 39 } ], - "code": "{\n this.symbols = symbols;\n}", + "code": "{\n this.symbols = symbols;\n }", "start_line": 123, "end_line": 125, + "code_start_line": 123, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -38039,7 +36666,7 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "getQuantity()", "comments": [], "annotations": [], @@ -38049,9 +36676,10 @@ "thrown_exceptions": [], "declaration": "public Integer getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "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, @@ -38067,7 +36695,7 @@ "is_entrypoint": false }, "getDataTable()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "getDataTable()", "comments": [], "annotations": [], @@ -38077,9 +36705,10 @@ "thrown_exceptions": [], "declaration": "public HtmlDataTable getDataTable()", "parameters": [], - "code": "{\n return dataTable;\n}", + "code": "{\n return dataTable;\n }", "start_line": 135, "end_line": 137, + "code_start_line": 135, "return_type": "javax.faces.component.html.HtmlDataTable", "is_implicit": false, "is_constructor": false, @@ -38095,7 +36724,7 @@ "is_entrypoint": false }, "setDataTable(HtmlDataTable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "setDataTable(HtmlDataTable)", "comments": [], "annotations": [], @@ -38116,9 +36745,10 @@ "end_column": 50 } ], - "code": "{\n this.dataTable = dataTable;\n}", + "code": "{\n this.dataTable = dataTable;\n }", "start_line": 131, "end_line": 133, + "code_start_line": 131, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -38136,7 +36766,7 @@ "is_entrypoint": false }, "getQuotes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "getQuotes()", "comments": [], "annotations": [], @@ -38146,9 +36776,10 @@ "thrown_exceptions": [], "declaration": "public QuoteData[] getQuotes()", "parameters": [], - "code": "{\n return quotes;\n}", + "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, @@ -38164,7 +36795,7 @@ "is_entrypoint": false }, "setQuotes(QuoteData[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "setQuotes(QuoteData[])", "comments": [], "annotations": [], @@ -38185,9 +36816,10 @@ "end_column": 42 } ], - "code": "{\n this.quotes = quotes;\n}", + "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, @@ -38203,7 +36835,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "QuoteJSF(Instance)", "comments": [], "annotations": [ @@ -38228,9 +36860,10 @@ "end_column": 55 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", "start_line": 51, "end_line": 54, + "code_start_line": 52, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -38356,7 +36989,7 @@ "is_entrypoint": false }, "buy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "buy()", "comments": [], "annotations": [], @@ -38366,9 +36999,10 @@ "thrown_exceptions": [], "declaration": "public String buy()", "parameters": [], - "code": "{\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n QuoteData quoteData = (QuoteData) dataTable.getRowData();\n OrderDataBean orderDataBean;\n try {\n orderDataBean = tradeAction.buy(userID, quoteData.getSymbol(), new Double(this.quantity).doubleValue(), TradeConfig.getOrderProcessingMode());\n OrderData orderData = new OrderData(orderDataBean.getOrderID(), orderDataBean.getOrderStatus(), orderDataBean.getOpenDate(), orderDataBean.getCompletionDate(), orderDataBean.getOrderFee(), orderDataBean.getOrderType(), orderDataBean.getQuantity(), orderDataBean.getSymbol());\n session.setAttribute(\"orderData\", orderData);\n } catch (Exception e) {\n Log.error(e.toString());\n e.printStackTrace();\n }\n return \"buy\";\n}", + "code": "{\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n QuoteData quoteData = (QuoteData) dataTable.getRowData();\n OrderDataBean orderDataBean;\n\n try {\n orderDataBean = tradeAction.buy(userID, quoteData.getSymbol(), new Double(this.quantity).doubleValue(), TradeConfig.getOrderProcessingMode());\n\n OrderData orderData = new OrderData(orderDataBean.getOrderID(), orderDataBean.getOrderStatus(), orderDataBean.getOpenDate(),\n orderDataBean.getCompletionDate(), orderDataBean.getOrderFee(), orderDataBean.getOrderType(), orderDataBean.getQuantity(),\n orderDataBean.getSymbol());\n session.setAttribute(\"orderData\", orderData);\n } catch (Exception e) {\n Log.error(e.toString());\n e.printStackTrace();\n }\n return \"buy\";\n }", "start_line": 95, "end_line": 113, + "code_start_line": 95, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -38947,7 +37581,7 @@ "is_entrypoint": false }, "getSymbols()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "getSymbols()", "comments": [], "annotations": [], @@ -38957,9 +37591,10 @@ "thrown_exceptions": [], "declaration": "public String getSymbols()", "parameters": [], - "code": "{\n return symbols;\n}", + "code": "{\n return symbols;\n }", "start_line": 127, "end_line": 129, + "code_start_line": 127, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -38975,7 +37610,7 @@ "is_entrypoint": false }, "getAllQuotes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "getAllQuotes()", "comments": [], "annotations": [ @@ -38987,9 +37622,10 @@ "thrown_exceptions": [], "declaration": "public void getAllQuotes()", "parameters": [], - "code": "{\n getQuotesBySymbols();\n}", + "code": "{\n getQuotesBySymbols();\n }", "start_line": 56, "end_line": 59, + "code_start_line": 57, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -39025,7 +37661,7 @@ "is_entrypoint": true }, "getQuotesBySymbols()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "getQuotesBySymbols()", "comments": [], "annotations": [], @@ -39035,9 +37671,10 @@ "thrown_exceptions": [], "declaration": "public String getQuotesBySymbols()", "parameters": [], - "code": "{\n HttpSession session = (HttpSession) context.getSession(true);\n if (symbols == null && (session.getAttribute(\"symbols\") == null)) {\n setSymbols(\"s:0,s:1,s:2,s:3,s:4\");\n session.setAttribute(\"symbols\", getSymbols());\n } else if (symbols == null && session.getAttribute(\"symbols\") != null) {\n setSymbols((String) session.getAttribute(\"symbols\"));\n } else {\n session.setAttribute(\"symbols\", getSymbols());\n }\n java.util.StringTokenizer st = new java.util.StringTokenizer(symbols, \" ,\");\n QuoteData[] quoteDatas = new QuoteData[st.countTokens()];\n int count = 0;\n while (st.hasMoreElements()) {\n String symbol = st.nextToken();\n try {\n QuoteDataBean quoteData = tradeAction.getQuote(symbol);\n quoteDatas[count] = new QuoteData(quoteData.getOpen(), quoteData.getPrice(), quoteData.getSymbol(), quoteData.getHigh(), quoteData.getLow(), quoteData.getCompanyName(), quoteData.getVolume(), quoteData.getChange());\n count++;\n } catch (Exception e) {\n Log.error(e.toString());\n }\n }\n setQuotes(quoteDatas);\n return \"quotes\";\n}", + "code": "{\n HttpSession session = (HttpSession) context.getSession(true);\n\n if (symbols == null && (session.getAttribute(\"symbols\") == null)) {\n setSymbols(\"s:0,s:1,s:2,s:3,s:4\");\n session.setAttribute(\"symbols\", getSymbols());\n } else if (symbols == null && session.getAttribute(\"symbols\") != null) {\n setSymbols((String) session.getAttribute(\"symbols\"));\n }\n\n else {\n session.setAttribute(\"symbols\", getSymbols());\n }\n\n java.util.StringTokenizer st = new java.util.StringTokenizer(symbols, \" ,\");\n QuoteData[] quoteDatas = new QuoteData[st.countTokens()];\n int count = 0;\n\n while (st.hasMoreElements()) {\n String symbol = st.nextToken();\n\n try {\n QuoteDataBean quoteData = tradeAction.getQuote(symbol);\n quoteDatas[count] = new QuoteData(quoteData.getOpen(), quoteData.getPrice(), quoteData.getSymbol(), quoteData.getHigh(), quoteData.getLow(),\n quoteData.getCompanyName(), quoteData.getVolume(), quoteData.getChange());\n count++;\n } catch (Exception e) {\n Log.error(e.toString());\n }\n }\n setQuotes(quoteDatas);\n return \"quotes\";\n }", "start_line": 61, "end_line": 93, + "code_start_line": 61, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -39767,7 +38404,7 @@ "is_entrypoint": false }, "setQuantity(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.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/jsf/QuoteJSF.java", "signature": "setQuantity(Integer)", "comments": [], "annotations": [], @@ -39788,9 +38425,10 @@ "end_column": 42 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -39946,8 +38584,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -40026,7 +38664,7 @@ "nested_type_declarations": [], "callable_declarations": { "setCurrentTime(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setCurrentTime(Date)", "comments": [], "annotations": [], @@ -40047,9 +38685,10 @@ "end_column": 45 } ], - "code": "{\n this.currentTime = currentTime;\n}", + "code": "{\n this.currentTime = currentTime;\n }", "start_line": 180, "end_line": 182, + "code_start_line": 180, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -40067,7 +38706,7 @@ "is_entrypoint": false }, "setLoginCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setLoginCount(int)", "comments": [], "annotations": [], @@ -40088,9 +38727,10 @@ "end_column": 42 } ], - "code": "{\n this.loginCount = loginCount;\n}", + "code": "{\n this.loginCount = loginCount;\n }", "start_line": 208, "end_line": 210, + "code_start_line": 208, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -40106,7 +38746,7 @@ "is_entrypoint": false }, "getGainHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getGainHTML()", "comments": [], "annotations": [], @@ -40116,9 +38756,10 @@ "thrown_exceptions": [], "declaration": "public String getGainHTML()", "parameters": [], - "code": "{\n return FinancialUtils.printGainHTML(gain);\n}", + "code": "{\n return FinancialUtils.printGainHTML(gain);\n }", "start_line": 304, "end_line": 306, + "code_start_line": 304, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -40158,7 +38799,7 @@ "is_entrypoint": false }, "setClosedOrders(OrderData[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setClosedOrders(OrderData[])", "comments": [], "annotations": [], @@ -40179,9 +38820,10 @@ "end_column": 54 } ], - "code": "{\n this.closedOrders = closedOrders;\n}", + "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, @@ -40197,7 +38839,7 @@ "is_entrypoint": false }, "setGainPercent(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setGainPercent(BigDecimal)", "comments": [], "annotations": [], @@ -40218,9 +38860,10 @@ "end_column": 51 } ], - "code": "{\n this.gainPercent = gainPercent.setScale(2);\n}", + "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, @@ -40262,7 +38905,7 @@ "is_entrypoint": false }, "setNumberOfOrders(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setNumberOfOrders(Integer)", "comments": [], "annotations": [], @@ -40283,9 +38926,10 @@ "end_column": 54 } ], - "code": "{\n this.numberOfOrders = numberOfOrders;\n}", + "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, @@ -40303,7 +38947,7 @@ "is_entrypoint": false }, "getSessionCreationDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getSessionCreationDate()", "comments": [], "annotations": [], @@ -40313,9 +38957,10 @@ "thrown_exceptions": [], "declaration": "public Date getSessionCreationDate()", "parameters": [], - "code": "{\n return sessionCreationDate;\n}", + "code": "{\n return sessionCreationDate;\n }", "start_line": 168, "end_line": 170, + "code_start_line": 168, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, @@ -40331,7 +38976,7 @@ "is_entrypoint": false }, "setGain(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setGain(BigDecimal)", "comments": [], "annotations": [], @@ -40352,9 +38997,10 @@ "end_column": 37 } ], - "code": "{\n this.gain = gain;\n}", + "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, @@ -40372,7 +39018,7 @@ "is_entrypoint": false }, "setLogoutCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setLogoutCount(int)", "comments": [], "annotations": [], @@ -40393,9 +39039,10 @@ "end_column": 44 } ], - "code": "{\n this.logoutCount = logoutCount;\n}", + "code": "{\n this.logoutCount = logoutCount;\n }", "start_line": 288, "end_line": 290, + "code_start_line": 288, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -40411,7 +39058,7 @@ "is_entrypoint": false }, "setLastLogin(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setLastLogin(Date)", "comments": [], "annotations": [], @@ -40432,9 +39079,10 @@ "end_column": 41 } ], - "code": "{\n this.lastLogin = lastLogin;\n}", + "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, @@ -40452,7 +39100,7 @@ "is_entrypoint": false }, "setSumOfCashHoldings(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setSumOfCashHoldings(BigDecimal)", "comments": [], "annotations": [], @@ -40473,9 +39121,10 @@ "end_column": 63 } ], - "code": "{\n this.sumOfCashHoldings = sumOfCashHoldings;\n}", + "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, @@ -40493,7 +39142,7 @@ "is_entrypoint": false }, "getNumberHoldings()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getNumberHoldings()", "comments": [], "annotations": [], @@ -40503,9 +39152,10 @@ "thrown_exceptions": [], "declaration": "public Integer getNumberHoldings()", "parameters": [], - "code": "{\n return numberHoldings;\n}", + "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, @@ -40521,7 +39171,7 @@ "is_entrypoint": false }, "getNumberOfOrders()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getNumberOfOrders()", "comments": [], "annotations": [], @@ -40531,9 +39181,10 @@ "thrown_exceptions": [], "declaration": "public Integer getNumberOfOrders()", "parameters": [], - "code": "{\n return numberOfOrders;\n}", + "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, @@ -40549,7 +39200,7 @@ "is_entrypoint": false }, "getGain()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getGain()", "comments": [], "annotations": [], @@ -40559,9 +39210,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getGain()", "parameters": [], - "code": "{\n return gain;\n}", + "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, @@ -40577,7 +39229,7 @@ "is_entrypoint": false }, "getCreationDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getCreationDate()", "comments": [], "annotations": [], @@ -40587,9 +39239,10 @@ "thrown_exceptions": [], "declaration": "public Date getCreationDate()", "parameters": [], - "code": "{\n return creationDate;\n}", + "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, @@ -40605,7 +39258,7 @@ "is_entrypoint": false }, "getLogoutCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getLogoutCount()", "comments": [], "annotations": [], @@ -40615,9 +39268,10 @@ "thrown_exceptions": [], "declaration": "public int getLogoutCount()", "parameters": [], - "code": "{\n return logoutCount;\n}", + "code": "{\n return logoutCount;\n }", "start_line": 292, "end_line": 294, + "code_start_line": 292, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -40633,7 +39287,7 @@ "is_entrypoint": false }, "getNumberOfOrderRows()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getNumberOfOrderRows()", "comments": [], "annotations": [], @@ -40643,9 +39297,10 @@ "thrown_exceptions": [], "declaration": "public Integer getNumberOfOrderRows()", "parameters": [], - "code": "{\n return numberOfOrderRows;\n}", + "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, @@ -40661,7 +39316,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "AccountDataJSF(Instance)", "comments": [], "annotations": [ @@ -40686,9 +39341,10 @@ "end_column": 61 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "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, @@ -40814,7 +39470,7 @@ "is_entrypoint": false }, "getCurrentTime()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getCurrentTime()", "comments": [], "annotations": [], @@ -40824,9 +39480,10 @@ "thrown_exceptions": [], "declaration": "public Date getCurrentTime()", "parameters": [], - "code": "{\n return currentTime;\n}", + "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, @@ -40842,7 +39499,7 @@ "is_entrypoint": false }, "setAccountID(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setAccountID(Integer)", "comments": [], "annotations": [], @@ -40863,9 +39520,10 @@ "end_column": 44 } ], - "code": "{\n this.accountID = accountID;\n}", + "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, @@ -40883,7 +39541,7 @@ "is_entrypoint": false }, "doAccountData(AccountDataBean, Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "doAccountData(AccountDataBean, Collection)", "comments": [], "annotations": [], @@ -40914,9 +39572,10 @@ "end_column": 102 } ], - "code": "{\n setProfileID(accountData.getProfileID());\n setAccountID(accountData.getAccountID());\n setCreationDate(accountData.getCreationDate());\n setLoginCount(accountData.getLoginCount());\n setLogoutCount(accountData.getLogoutCount());\n setLastLogin(accountData.getLastLogin());\n setOpenBalance(accountData.getOpenBalance());\n setBalance(accountData.getBalance());\n setNumberHoldings(holdingDataBeans.size());\n setHoldingsTotal(FinancialUtils.computeHoldingsTotal(holdingDataBeans));\n setSumOfCashHoldings(balance.add(holdingsTotal));\n setGain(FinancialUtils.computeGain(sumOfCashHoldings, openBalance));\n setGainPercent(FinancialUtils.computeGainPercent(sumOfCashHoldings, openBalance));\n}", + "code": "{\n setProfileID(accountData.getProfileID());\n setAccountID(accountData.getAccountID());\n setCreationDate(accountData.getCreationDate());\n setLoginCount(accountData.getLoginCount());\n setLogoutCount(accountData.getLogoutCount());\n setLastLogin(accountData.getLastLogin());\n setOpenBalance(accountData.getOpenBalance());\n setBalance(accountData.getBalance());\n setNumberHoldings(holdingDataBeans.size());\n setHoldingsTotal(FinancialUtils.computeHoldingsTotal(holdingDataBeans));\n setSumOfCashHoldings(balance.add(holdingsTotal));\n setGain(FinancialUtils.computeGain(sumOfCashHoldings, openBalance));\n setGainPercent(FinancialUtils.computeGainPercent(sumOfCashHoldings, openBalance));\n }", "start_line": 152, "end_line": 166, + "code_start_line": 152, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -41518,7 +40177,7 @@ "is_entrypoint": false }, "getLoginCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getLoginCount()", "comments": [], "annotations": [], @@ -41528,9 +40187,10 @@ "thrown_exceptions": [], "declaration": "public int getLoginCount()", "parameters": [], - "code": "{\n return loginCount;\n}", + "code": "{\n return loginCount;\n }", "start_line": 212, "end_line": 214, + "code_start_line": 212, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -41546,7 +40206,7 @@ "is_entrypoint": false }, "getClosedOrders()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getClosedOrders()", "comments": [], "annotations": [], @@ -41556,9 +40216,10 @@ "thrown_exceptions": [], "declaration": "public OrderData[] getClosedOrders()", "parameters": [], - "code": "{\n return closedOrders;\n}", + "code": "{\n return closedOrders;\n }", "start_line": 272, "end_line": 274, + "code_start_line": 272, "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData[]", "is_implicit": false, "is_constructor": false, @@ -41574,7 +40235,7 @@ "is_entrypoint": false }, "getAccountID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getAccountID()", "comments": [], "annotations": [], @@ -41584,9 +40245,10 @@ "thrown_exceptions": [], "declaration": "public Integer getAccountID()", "parameters": [], - "code": "{\n return accountID;\n}", + "code": "{\n return accountID;\n }", "start_line": 196, "end_line": 198, + "code_start_line": 196, "return_type": "java.lang.Integer", "is_implicit": false, "is_constructor": false, @@ -41602,7 +40264,7 @@ "is_entrypoint": false }, "getGainPercent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getGainPercent()", "comments": [], "annotations": [], @@ -41612,9 +40274,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getGainPercent()", "parameters": [], - "code": "{\n return gainPercent;\n}", + "code": "{\n return gainPercent;\n }", "start_line": 260, "end_line": 262, + "code_start_line": 260, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -41630,7 +40293,7 @@ "is_entrypoint": false }, "getGainPercentHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getGainPercentHTML()", "comments": [], "annotations": [], @@ -41640,9 +40303,10 @@ "thrown_exceptions": [], "declaration": "public String getGainPercentHTML()", "parameters": [], - "code": "{\n return FinancialUtils.printGainPercentHTML(gainPercent);\n}", + "code": "{\n return FinancialUtils.printGainPercentHTML(gainPercent);\n }", "start_line": 308, "end_line": 310, + "code_start_line": 308, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -41682,7 +40346,7 @@ "is_entrypoint": false }, "setOpenBalance(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setOpenBalance(BigDecimal)", "comments": [], "annotations": [], @@ -41703,9 +40367,10 @@ "end_column": 51 } ], - "code": "{\n this.openBalance = openBalance;\n}", + "code": "{\n this.openBalance = openBalance;\n }", "start_line": 224, "end_line": 226, + "code_start_line": 224, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -41723,7 +40388,7 @@ "is_entrypoint": false }, "home()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "home()", "comments": [ { @@ -41744,9 +40409,10 @@ "thrown_exceptions": [], "declaration": "public void home()", "parameters": [], - "code": "{\n try {\n HttpSession session = (HttpSession) context.getSession(true);\n // Get the data and then parse\n String userID = (String) session.getAttribute(\"uidBean\");\n AccountDataBean accountData = tradeAction.getAccountData(userID);\n Collection holdingDataBeans = tradeAction.getHoldings(userID);\n if (TradeConfig.getDisplayOrderAlerts()) {\n Collection closedOrders = tradeAction.getClosedOrders(userID);\n if (closedOrders != null && closedOrders.size() > 0) {\n session.setAttribute(\"closedOrders\", closedOrders);\n OrderData[] orderjsfs = new OrderData[closedOrders.size()];\n Iterator it = closedOrders.iterator();\n int i = 0;\n while (it.hasNext()) {\n OrderDataBean order = (OrderDataBean) it.next();\n OrderData r = new OrderData(order.getOrderID(), order.getOrderStatus(), order.getOpenDate(), order.getCompletionDate(), order.getOrderFee(), order.getOrderType(), order.getQuantity(), order.getSymbol());\n orderjsfs[i] = r;\n i++;\n }\n setClosedOrders(orderjsfs);\n }\n }\n Collection orderDataBeans = (TradeConfig.getLongRun() ? new ArrayList() : (Collection) tradeAction.getOrders(userID));\n if (orderDataBeans != null && orderDataBeans.size() > 0) {\n session.setAttribute(\"orderDataBeans\", orderDataBeans);\n OrderData[] orderjsfs = new OrderData[orderDataBeans.size()];\n Iterator it = orderDataBeans.iterator();\n int i = 0;\n while (it.hasNext()) {\n OrderDataBean order = (OrderDataBean) it.next();\n OrderData r = new OrderData(order.getOrderID(), order.getOrderStatus(), order.getOpenDate(), order.getCompletionDate(), order.getOrderFee(), order.getOrderType(), order.getQuantity(), order.getSymbol(), order.getPrice());\n orderjsfs[i] = r;\n i++;\n }\n setNumberOfOrders(orderDataBeans.size());\n setAllOrders(orderjsfs);\n }\n setSessionCreationDate((Date) session.getAttribute(\"sessionCreationDate\"));\n setCurrentTime(new java.util.Date());\n doAccountData(accountData, holdingDataBeans);\n } catch (Exception e) {\n e.printStackTrace();\n }\n}", + "code": "{\n try {\n HttpSession session = (HttpSession) context.getSession(true);\n\n // Get the data and then parse\n String userID = (String) session.getAttribute(\"uidBean\");\n AccountDataBean accountData = tradeAction.getAccountData(userID);\n Collection holdingDataBeans = tradeAction.getHoldings(userID); \n\n if (TradeConfig.getDisplayOrderAlerts()) {\n\n Collection closedOrders = tradeAction.getClosedOrders(userID);\n\n if (closedOrders != null && closedOrders.size() > 0) {\n session.setAttribute(\"closedOrders\", closedOrders);\n OrderData[] orderjsfs = new OrderData[closedOrders.size()];\n Iterator it = closedOrders.iterator();\n int i = 0;\n\n while (it.hasNext()) {\n OrderDataBean order = (OrderDataBean) it.next();\n OrderData r = new OrderData(order.getOrderID(), order.getOrderStatus(), order.getOpenDate(), order.getCompletionDate(),\n order.getOrderFee(), order.getOrderType(), order.getQuantity(), order.getSymbol());\n orderjsfs[i] = r;\n i++;\n }\n\n setClosedOrders(orderjsfs);\n }\n }\n\n Collection orderDataBeans = (TradeConfig.getLongRun() ? new ArrayList() : (Collection) tradeAction.getOrders(userID));\n\n if (orderDataBeans != null && orderDataBeans.size() > 0) {\n session.setAttribute(\"orderDataBeans\", orderDataBeans);\n OrderData[] orderjsfs = new OrderData[orderDataBeans.size()];\n Iterator it = orderDataBeans.iterator();\n int i = 0;\n\n while (it.hasNext()) {\n OrderDataBean order = (OrderDataBean) it.next();\n OrderData r = new OrderData(order.getOrderID(), order.getOrderStatus(), order.getOpenDate(), order.getCompletionDate(),\n order.getOrderFee(), order.getOrderType(), order.getQuantity(), order.getSymbol(),order.getPrice());\n orderjsfs[i] = r;\n i++;\n }\n setNumberOfOrders(orderDataBeans.size());\n setAllOrders(orderjsfs);\n }\n\n setSessionCreationDate((Date) session.getAttribute(\"sessionCreationDate\"));\n setCurrentTime(new java.util.Date());\n doAccountData(accountData, holdingDataBeans);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "start_line": 93, "end_line": 150, + "code_start_line": 94, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -43149,7 +41815,7 @@ "is_entrypoint": true }, "getProfileID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getProfileID()", "comments": [], "annotations": [], @@ -43159,9 +41825,10 @@ "thrown_exceptions": [], "declaration": "public String getProfileID()", "parameters": [], - "code": "{\n return profileID;\n}", + "code": "{\n return profileID;\n }", "start_line": 184, "end_line": 186, + "code_start_line": 184, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -43177,7 +41844,7 @@ "is_entrypoint": false }, "setCreationDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setCreationDate(Date)", "comments": [], "annotations": [], @@ -43198,9 +41865,10 @@ "end_column": 47 } ], - "code": "{\n this.creationDate = creationDate;\n}", + "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, @@ -43218,7 +41886,7 @@ "is_entrypoint": false }, "setNumberOfOrderRows(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setNumberOfOrderRows(Integer)", "comments": [], "annotations": [], @@ -43239,9 +41907,10 @@ "end_column": 60 } ], - "code": "{\n this.numberOfOrderRows = numberOfOrderRows;\n}", + "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, @@ -43259,7 +41928,7 @@ "is_entrypoint": false }, "setProfileID(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setProfileID(String)", "comments": [], "annotations": [], @@ -43280,9 +41949,10 @@ "end_column": 43 } ], - "code": "{\n this.profileID = profileID;\n}", + "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, @@ -43300,7 +41970,7 @@ "is_entrypoint": false }, "toggleShowAllRows()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "toggleShowAllRows()", "comments": [], "annotations": [], @@ -43310,9 +41980,10 @@ "thrown_exceptions": [], "declaration": "public void toggleShowAllRows()", "parameters": [], - "code": "{\n setNumberOfOrderRows(0);\n}", + "code": "{\n setNumberOfOrderRows(0);\n }", "start_line": 84, "end_line": 86, + "code_start_line": 84, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -43350,7 +42021,7 @@ "is_entrypoint": false }, "setHoldingsTotal(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setHoldingsTotal(BigDecimal)", "comments": [], "annotations": [], @@ -43371,9 +42042,10 @@ "end_column": 55 } ], - "code": "{\n this.holdingsTotal = holdingsTotal;\n}", + "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, @@ -43391,7 +42063,7 @@ "is_entrypoint": false }, "getSumOfCashHoldings()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getSumOfCashHoldings()", "comments": [], "annotations": [], @@ -43401,9 +42073,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getSumOfCashHoldings()", "parameters": [], - "code": "{\n return sumOfCashHoldings;\n}", + "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, @@ -43419,7 +42092,7 @@ "is_entrypoint": false }, "setNumberHoldings(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setNumberHoldings(Integer)", "comments": [], "annotations": [], @@ -43440,9 +42113,10 @@ "end_column": 54 } ], - "code": "{\n this.numberHoldings = numberHoldings;\n}", + "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, @@ -43460,7 +42134,7 @@ "is_entrypoint": false }, "getBalance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getBalance()", "comments": [], "annotations": [], @@ -43470,9 +42144,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getBalance()", "parameters": [], - "code": "{\n return balance;\n}", + "code": "{\n return balance;\n }", "start_line": 220, "end_line": 222, + "code_start_line": 220, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -43488,7 +42163,7 @@ "is_entrypoint": false }, "getLastLogin()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getLastLogin()", "comments": [], "annotations": [], @@ -43498,9 +42173,10 @@ "thrown_exceptions": [], "declaration": "public Date getLastLogin()", "parameters": [], - "code": "{\n return lastLogin;\n}", + "code": "{\n return lastLogin;\n }", "start_line": 284, "end_line": 286, + "code_start_line": 284, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, @@ -43516,7 +42192,7 @@ "is_entrypoint": false }, "getHoldingsTotal()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getHoldingsTotal()", "comments": [], "annotations": [], @@ -43526,9 +42202,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getHoldingsTotal()", "parameters": [], - "code": "{\n return holdingsTotal;\n}", + "code": "{\n return holdingsTotal;\n }", "start_line": 236, "end_line": 238, + "code_start_line": 236, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -43544,7 +42221,7 @@ "is_entrypoint": false }, "getAllOrders()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getAllOrders()", "comments": [], "annotations": [], @@ -43554,9 +42231,10 @@ "thrown_exceptions": [], "declaration": "public OrderData[] getAllOrders()", "parameters": [], - "code": "{\n return allOrders;\n}", + "code": "{\n return allOrders;\n }", "start_line": 300, "end_line": 302, + "code_start_line": 300, "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData[]", "is_implicit": false, "is_constructor": false, @@ -43572,7 +42250,7 @@ "is_entrypoint": false }, "setSessionCreationDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setSessionCreationDate(Date)", "comments": [], "annotations": [], @@ -43593,9 +42271,10 @@ "end_column": 61 } ], - "code": "{\n this.sessionCreationDate = sessionCreationDate;\n}", + "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, @@ -43613,7 +42292,7 @@ "is_entrypoint": false }, "getOpenBalance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "getOpenBalance()", "comments": [], "annotations": [], @@ -43623,9 +42302,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOpenBalance()", "parameters": [], - "code": "{\n return openBalance;\n}", + "code": "{\n return openBalance;\n }", "start_line": 228, "end_line": 230, + "code_start_line": 228, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -43641,7 +42321,7 @@ "is_entrypoint": false }, "setAllOrders(OrderData[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setAllOrders(OrderData[])", "comments": [], "annotations": [], @@ -43662,9 +42342,10 @@ "end_column": 48 } ], - "code": "{\n this.allOrders = allOrders;\n}", + "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, @@ -43680,7 +42361,7 @@ "is_entrypoint": false }, "setBalance(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.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/jsf/AccountDataJSF.java", "signature": "setBalance(BigDecimal)", "comments": [], "annotations": [], @@ -43701,9 +42382,10 @@ "end_column": 43 } ], - "code": "{\n this.balance = balance;\n}", + "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, @@ -44182,8 +42864,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", "comments": [ { @@ -44281,7 +42963,7 @@ "nested_type_declarations": [], "callable_declarations": { "contextDestroyed(ServletContextEvent)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "signature": "contextDestroyed(ServletContextEvent)", "comments": [], "annotations": [ @@ -44304,9 +42986,10 @@ "end_column": 58 } ], - "code": "{\n Log.trace(\"TradeWebContextListener contextDestroy calling TradeDirect:destroy()\");\n}", + "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, @@ -44344,7 +43027,7 @@ "is_entrypoint": false }, "contextInitialized(ServletContextEvent)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.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/servlet/TradeWebContextListener.java", "signature": "contextInitialized(ServletContextEvent)", "comments": [ { @@ -44376,9 +43059,10 @@ "end_column": 60 } ], - "code": "{\n Log.trace(\"TradeWebContextListener contextInitialized -- initializing TradeDirect\");\n // Load settings from properties file (if it exists)\n Properties prop = new Properties();\n InputStream stream = event.getServletContext().getResourceAsStream(\"/properties/daytrader.properties\");\n try {\n prop.load(stream);\n System.out.println(\"Settings from daytrader.properties: \" + prop);\n if (System.getenv(\"RUNTIME_MODE\") != null) {\n TradeConfig.setRunTimeMode(Integer.parseInt(System.getenv(\"RUNTIME_MODE\")));\n } else {\n TradeConfig.setRunTimeMode(Integer.parseInt(prop.getProperty(\"runtimeMode\")));\n }\n System.out.print(\"Running in \" + TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()] + \" Mode\");\n if (System.getenv(\"ORDER_PROCESSING_MODE\") != null) {\n TradeConfig.setOrderProcessingMode(Integer.parseInt(System.getenv(\"ORDER_PROCESSING_MODE\")));\n } else {\n TradeConfig.setOrderProcessingMode(Integer.parseInt(prop.getProperty(\"orderProcessingMode\")));\n }\n System.out.print(\"Running in \" + TradeConfig.getOrderProcessingModeNames()[TradeConfig.getOrderProcessingMode()] + \" Order Processing Mode\");\n if (System.getenv(\"MAX_USERS\") != null) {\n TradeConfig.setMAX_USERS(Integer.parseInt(System.getenv(\"MAX_USERS\")));\n } else {\n TradeConfig.setMAX_USERS(Integer.parseInt(prop.getProperty(\"maxUsers\")));\n }\n System.out.print(\"MAX_USERS = \" + TradeConfig.getMAX_USERS() + \" users\");\n if (System.getenv(\"MAX_QUOTES\") != null) {\n TradeConfig.setMAX_QUOTES(Integer.parseInt(System.getenv(\"MAX_QUOTES\")));\n } else {\n TradeConfig.setMAX_QUOTES(Integer.parseInt(prop.getProperty(\"maxQuotes\")));\n }\n System.out.print(\"MAX_QUOTES = \" + TradeConfig.getMAX_QUOTES() + \" quotes\");\n if (System.getenv(\"PUBLISH_QUOTES\") != null) {\n TradeConfig.setPublishQuotePriceChange(Boolean.parseBoolean(System.getenv(\"PUBLISH_QUOTES\")));\n } else {\n TradeConfig.setPublishQuotePriceChange(Boolean.parseBoolean(prop.getProperty(\"publishQuotePriceChange\")));\n }\n if (System.getenv(\"DISPLAY_ORDER_ALERTS\") != null) {\n TradeConfig.setDisplayOrderAlerts(Boolean.parseBoolean(System.getenv(\"DISPLAY_ORDER_ALERTS\")));\n } else {\n TradeConfig.setDisplayOrderAlerts(Boolean.parseBoolean(prop.getProperty(\"displayOrderAlerts\")));\n }\n if (System.getenv(\"WEB_INTERFACE\") != null) {\n TradeConfig.setWebInterface(Integer.parseInt(System.getenv(\"WEB_INTERFACE\")));\n } else {\n TradeConfig.setWebInterface(Integer.parseInt(prop.getProperty(\"webInterface\")));\n }\n if (System.getenv(\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\") != null) {\n TradeConfig.setListQuotePriceChangeFrequency(Integer.parseInt(System.getenv(\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\")));\n } else {\n TradeConfig.setListQuotePriceChangeFrequency(Integer.parseInt(prop.getProperty(\"listQuotePriceChangeFrequency\")));\n }\n TradeConfig.setPrimIterations(Integer.parseInt(prop.getProperty(\"primIterations\")));\n TradeConfig.setMarketSummaryInterval(Integer.parseInt(prop.getProperty(\"marketSummaryInterval\")));\n TradeConfig.setLongRun(Boolean.parseBoolean(prop.getProperty(\"longRun\")));\n } catch (Exception e) {\n System.out.println(\"daytrader.properties not found\");\n }\n}", + "code": "{\n Log.trace(\"TradeWebContextListener contextInitialized -- initializing TradeDirect\");\n \n // Load settings from properties file (if it exists)\n Properties prop = new Properties();\n InputStream stream = event.getServletContext().getResourceAsStream(\"/properties/daytrader.properties\");\n \n try {\n prop.load(stream);\n System.out.println(\"Settings from daytrader.properties: \" + prop);\n \n if (System.getenv(\"RUNTIME_MODE\") != null) {\n TradeConfig.setRunTimeMode(Integer.parseInt(System.getenv(\"RUNTIME_MODE\")));\n } else {\n TradeConfig.setRunTimeMode(Integer.parseInt(prop.getProperty(\"runtimeMode\")));\n }\n System.out.print(\"Running in \" + TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()] + \" Mode\");\n \n if (System.getenv(\"ORDER_PROCESSING_MODE\") != null) {\n TradeConfig.setOrderProcessingMode(Integer.parseInt(System.getenv(\"ORDER_PROCESSING_MODE\")));\n } else {\n TradeConfig.setOrderProcessingMode(Integer.parseInt(prop.getProperty(\"orderProcessingMode\")));\n }\n System.out.print(\"Running in \" + TradeConfig.getOrderProcessingModeNames()[TradeConfig.getOrderProcessingMode()] + \" Order Processing Mode\"); \n \n if (System.getenv(\"MAX_USERS\") != null) {\n TradeConfig.setMAX_USERS(Integer.parseInt(System.getenv(\"MAX_USERS\")));\n } else {\n TradeConfig.setMAX_USERS(Integer.parseInt(prop.getProperty(\"maxUsers\")));\n }\n System.out.print(\"MAX_USERS = \" + prop.getProperty(\"maxUsers\") + \" users\");\n \n if (System.getenv(\"MAX_QUOTES\") != null) {\n TradeConfig.setMAX_QUOTES(Integer.parseInt(System.getenv(\"MAX_QUOTES\")));\n } else {\n TradeConfig.setMAX_QUOTES(Integer.parseInt(prop.getProperty(\"maxQuotes\")));\n }\n System.out.print(\"MAX_QUOTES = \" + prop.getProperty(\"maxQuotes\") + \" quotes\");\n \n if (System.getenv(\"PUBLISH_QUOTES\") != null) {\n TradeConfig.setPublishQuotePriceChange(Boolean.parseBoolean(System.getenv(\"PUBLISH_QUOTES\")));\n } else {\n TradeConfig.setPublishQuotePriceChange(Boolean.parseBoolean(prop.getProperty(\"publishQuotePriceChange\")));\n }\n \n if (System.getenv(\"DISPLAY_ORDER_ALERTS\") != null) {\n TradeConfig.setDisplayOrderAlerts(Boolean.parseBoolean(System.getenv(\"DISPLAY_ORDER_ALERTS\")));\n } else {\n TradeConfig.setDisplayOrderAlerts(Boolean.parseBoolean(prop.getProperty(\"displayOrderAlerts\")));\n }\n if (System.getenv(\"WEB_INTERFACE\") != null) {\n TradeConfig.setWebInterface(Integer.parseInt(System.getenv(\"WEB_INTERFACE\")));\n } else {\n TradeConfig.setWebInterface(Integer.parseInt(prop.getProperty(\"webInterface\")));\n }\n if (System.getenv(\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\") != null) {\n TradeConfig.setListQuotePriceChangeFrequency(Integer.parseInt(System.getenv(\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\")));\n } else {\n TradeConfig.setListQuotePriceChangeFrequency(Integer.parseInt(prop.getProperty(\"listQuotePriceChangeFrequency\")));\n }\n \n TradeConfig.setPrimIterations(Integer.parseInt(prop.getProperty(\"primIterations\")));\n TradeConfig.setMarketSummaryInterval(Integer.parseInt(prop.getProperty(\"marketSummaryInterval\")));\n TradeConfig.setLongRun(Boolean.parseBoolean(prop.getProperty(\"longRun\")));\n \n } catch (Exception e) {\n System.out.println(\"daytrader.properties not found\");\n }\n \n }", "start_line": 39, "end_line": 109, + "code_start_line": 40, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -45138,28 +43822,30 @@ "start_line": 70, "start_column": 9, "end_line": 70, - "end_column": 81 + "end_column": 83 }, { - "method_name": "getMAX_USERS", + "method_name": "getProperty", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getMAX_USERS()", + "receiver_expr": "prop", + "receiver_type": "java.util.Properties", + "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": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, "start_line": 70, "start_column": 44, "end_line": 70, - "end_column": 69 + "end_column": 71 }, { "method_name": "getenv", @@ -45343,28 +44029,30 @@ "start_line": 77, "start_column": 9, "end_line": 77, - "end_column": 84 + "end_column": 86 }, { - "method_name": "getMAX_QUOTES", + "method_name": "getProperty", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getMAX_QUOTES()", + "receiver_expr": "prop", + "receiver_type": "java.util.Properties", + "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": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, "start_line": 77, "start_column": 45, "end_line": 77, - "end_column": 71 + "end_column": 73 }, { "method_name": "getenv", @@ -46313,523 +45001,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Diagnostics.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Diagnostics.java", - "package_name": "com.ibm.websphere.samples.daytrader.util", - "comments": [ - { - "content": " Not sure if Java will optimize this away if we don't use it, so just", - "start_line": 48, - "end_line": 48, - "start_column": 4, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " do something trivial", - "start_line": 49, - "end_line": 49, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": "\n * (C) Copyright IBM Corporation 2022.\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.concurrent.ArrayBlockingQueue" - ], - "type_declarations": { - "com.ibm.websphere.samples.daytrader.util.Diagnostics": { - "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": " Not sure if Java will optimize this away if we don't use it, so just", - "start_line": 48, - "end_line": 48, - "start_column": 4, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " do something trivial", - "start_line": 49, - "end_line": 49, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "checkDiagnostics()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Diagnostics.java", - "signature": "checkDiagnostics()", - "comments": [ - { - "content": " Not sure if Java will optimize this away if we don't use it, so just", - "start_line": 48, - "end_line": 48, - "start_column": 4, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " do something trivial", - "start_line": 49, - "end_line": 49, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void checkDiagnostics()", - "parameters": [], - "code": "{\n if (DRIVE_MEMORY > 0) {\n byte[] memory = new byte[DRIVE_MEMORY];\n // Not sure if Java will optimize this away if we don't use it, so just\n // do something trivial\n int count = 0;\n for (byte b : memory) {\n if ((b & 0x01) > 0) {\n count++;\n }\n }\n if (count > 0) {\n Log.error(\"Something that shouldn't happen\");\n }\n if (DRIVE_MEMACCUMULATION > 0) {\n synchronized (accumulation) {\n if (accumulation.size() >= DRIVE_MEMACCUMULATION) {\n accumulation.remove();\n }\n accumulation.add(memory);\n }\n }\n }\n if (DRIVE_LATENCY > 0) {\n try {\n Thread.sleep(DRIVE_LATENCY);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n}", - "start_line": 45, - "end_line": 76, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.Diagnostics.DRIVE_MEMACCUMULATION", - "com.ibm.websphere.samples.daytrader.util.Diagnostics.DRIVE_MEMORY", - "com.ibm.websphere.samples.daytrader.util.Diagnostics.DRIVE_LATENCY", - "com.ibm.websphere.samples.daytrader.util.Diagnostics.accumulation" - ], - "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": 57, - "start_column": 5, - "end_line": 57, - "end_column": 48 - }, - { - "method_name": "size", - "comment": null, - "receiver_expr": "accumulation", - "receiver_type": "java.util.concurrent.ArrayBlockingQueue", - "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": 61, - "start_column": 10, - "end_line": 61, - "end_column": 28 - }, - { - "method_name": "remove", - "comment": null, - "receiver_expr": "accumulation", - "receiver_type": "java.util.concurrent.ArrayBlockingQueue", - "argument_types": [], - "return_type": "", - "callee_signature": "remove()", - "is_public": true, - "is_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": 7, - "end_line": 62, - "end_column": 27 - }, - { - "method_name": "add", - "comment": null, - "receiver_expr": "accumulation", - "receiver_type": "java.util.concurrent.ArrayBlockingQueue", - "argument_types": [ - "" - ], - "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": 64, - "start_column": 6, - "end_line": 64, - "end_column": 29 - }, - { - "method_name": "sleep", - "comment": null, - "receiver_expr": "Thread", - "receiver_type": "java.lang.Thread", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "sleep(long)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 71, - "start_column": 5, - "end_line": 71, - "end_column": 31 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.InterruptedException", - "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": 73, - "start_column": 5, - "end_line": 73, - "end_column": 23 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "memory", - "type": "byte[]", - "initializer": "new byte[DRIVE_MEMORY]", - "start_line": 47, - "start_column": 11, - "end_line": 47, - "end_column": 41 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "count", - "type": "int", - "initializer": "0", - "start_line": 50, - "start_column": 8, - "end_line": 50, - "end_column": 16 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "b", - "type": "byte", - "initializer": "", - "start_line": 51, - "start_column": 14, - "end_line": 51, - "end_column": 14 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 10, - "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": "int", - "start_line": 21, - "end_line": 21, - "variables": [ - "DRIVE_MEMORY" - ], - "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": 22, - "end_line": 22, - "variables": [ - "DRIVE_LATENCY" - ], - "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": 23, - "end_line": 23, - "variables": [ - "DRIVE_MEMACCUMULATION" - ], - "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.concurrent.ArrayBlockingQueue", - "start_line": 24, - "end_line": 24, - "variables": [ - "accumulation" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [ - { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Diagnostics.java", - "comments": [], - "annotations": [], - "thrown_exceptions": [], - "code": "{\n if (DRIVE_MEMORY > 0) {\n Log.warning(\"DRIVE_MEMORY=\" + DRIVE_MEMORY + \" has been specified which will allocate that many bytes on some app requests\");\n }\n if (DRIVE_MEMACCUMULATION > 0) {\n Log.warning(\"DRIVE_MEMACCUMULATION=\" + DRIVE_MEMACCUMULATION + \" has been specified which will accumulate up to \" + (DRIVE_MEMORY * DRIVE_MEMACCUMULATION) + \" bytes\");\n accumulation = new ArrayBlockingQueue(DRIVE_MEMACCUMULATION);\n } else {\n accumulation = null;\n }\n if (DRIVE_LATENCY > 0) {\n Log.warning(\"DRIVE_LATENCY=\" + DRIVE_LATENCY + \" has been specified which will sleep that many milliseconds on some app requests\");\n }\n}", - "start_line": 26, - "end_line": 43, - "is_static": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "warning", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "warning(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 28, - "start_column": 4, - "end_line": 29, - "end_column": 86 - }, - { - "method_name": "warning", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "warning(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 32, - "start_column": 4, - "end_line": 34, - "end_column": 16 - }, - { - "method_name": "warning", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "warning(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 4, - "end_line": 41, - "end_column": 90 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.concurrent.ArrayBlockingQueue", - "argument_types": [ - "" - ], - "return_type": "java.util.concurrent.ArrayBlockingQueue", - "callee_signature": "ArrayBlockingQueue(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": 35, - "start_column": 19, - "end_line": 35, - "end_column": 71 - } - ], - "variable_declarations": [], - "cyclomatic_complexity": 4 - } - ], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -46907,7 +45080,7 @@ "nested_type_declarations": [], "callable_declarations": { "onClose(Session, CloseReason)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.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/PingWebSocketTextSync.java", "signature": "onClose(Session, CloseReason)", "comments": [], "annotations": [ @@ -46940,9 +45113,10 @@ "end_column": 59 } ], - "code": "{\n}", + "code": "{\n \n }", "start_line": 62, "end_line": 65, + "code_start_line": 63, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -46956,7 +45130,7 @@ "is_entrypoint": false }, "ping(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.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/PingWebSocketTextSync.java", "signature": "ping(String)", "comments": [], "annotations": [ @@ -46979,9 +45153,10 @@ "end_column": 32 } ], - "code": "{\n hitCount++;\n try {\n currentSession.getBasicRemote().sendText(hitCount.toString());\n } catch (IOException e) {\n e.printStackTrace();\n }\n}", + "code": "{\n hitCount++;\n \n try {\n currentSession.getBasicRemote().sendText(hitCount.toString());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "start_line": 46, "end_line": 55, + "code_start_line": 47, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47085,7 +45260,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.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/PingWebSocketTextSync.java", "signature": "onError(Throwable)", "comments": [], "annotations": [ @@ -47108,9 +45283,10 @@ "end_column": 35 } ], - "code": "{\n t.printStackTrace();\n}", + "code": "{\n t.printStackTrace();\n }", "start_line": 57, "end_line": 60, + "code_start_line": 58, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47146,7 +45322,7 @@ "is_entrypoint": false }, "onOpen(Session, EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.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/PingWebSocketTextSync.java", "signature": "onOpen(Session, EndpointConfig)", "comments": [], "annotations": [ @@ -47181,9 +45357,10 @@ "end_column": 63 } ], - "code": "{\n currentSession = session;\n hitCount = 0;\n}", + "code": "{\n currentSession = session;\n hitCount = 0;\n }", "start_line": 40, "end_line": 44, + "code_start_line": 41, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47252,8 +45429,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -47370,7 +45547,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -47395,9 +45572,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -47480,7 +45658,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -47516,9 +45694,10 @@ "end_column": 68 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 56, "end_line": 59, + "code_start_line": 57, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47557,7 +45736,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -47569,9 +45748,10 @@ "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}", + "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, @@ -47585,7 +45765,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.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/ejb3/PingServlet2TwoPhase.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -47646,9 +45826,10 @@ "end_column": 67 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n QuoteDataBean quoteData = null;\n StringBuffer output = new StringBuffer(100);\n output.append(\"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
\");\n try {\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n symbol = TradeConfig.rndSymbol();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n quoteData = tradeSLSBLocal.pingTwoPhase(symbol);\n }\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2TwoPhase.goGet(...): exception getting QuoteData through Trade\");\n throw ne;\n }\n output.append(\"
initTime: \" + initTime).append(\"
Hit Count: \" + hitCount++);\n output.append(\"
Two phase ping selected a quote and sent a message to TradeBrokerQueue JMS queue
Quote Information

\" + quoteData.toHTML());\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2TwoPhase.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n QuoteDataBean quoteData = null;\n StringBuffer output = new StringBuffer(100);\n\n output.append(\"PingServlet2TwoPhase\"\n + \"
PingServlet2TwoPhase
\" + \"\"\n + \"PingServlet2TwoPhase tests the path of a Servlet calling a Session EJB \"\n + \"which in turn calls an Entity EJB to read a DB row (quote). The Session EJB \" + \"then posts a message to a JMS Queue. \"\n + \"
These operations are wrapped in a 2-phase commit
\");\n\n try {\n\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n symbol = TradeConfig.rndSymbol();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n quoteData = tradeSLSBLocal.pingTwoPhase(symbol);\n\n }\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2TwoPhase.goGet(...): exception getting QuoteData through Trade\");\n throw ne;\n }\n\n output.append(\"
initTime: \" + initTime).append(\"
Hit Count: \" + hitCount++);\n output.append(\"
Two phase ping selected a quote and sent a message to TradeBrokerQueue JMS queue
Quote Information

\"\n + quoteData.toHTML());\n out.println(output.toString());\n\n } catch (Exception e) {\n Log.error(e, \"PingServlet2TwoPhase.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n }", "start_line": 63, "end_line": 104, + "code_start_line": 64, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48258,8 +46439,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -48467,7 +46648,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.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/PingServletWriter.java", "signature": "init(ServletConfig)", "comments": [ { @@ -48501,9 +46682,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -48586,7 +46768,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.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/PingServletWriter.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -48631,9 +46813,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 51, "end_line": 54, + "code_start_line": 52, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48672,7 +46855,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.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/PingServletWriter.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -48684,9 +46867,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet using a PrintWriter\";\n}", + "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, @@ -48700,7 +46884,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.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/PingServletWriter.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -48785,9 +46969,10 @@ "end_column": 69 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n // The following 2 lines are the difference between PingServlet and\n // PingServletWriter\n // the latter uses a PrintWriter for output versus a binary output\n // stream.\n // ServletOutputStream out = res.getOutputStream();\n java.io.PrintWriter out = res.getWriter();\n hitCount++;\n out.println(\"Ping Servlet Writer\" + \"

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

Hit Count: \" + hitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServletWriter.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n // The following 2 lines are the difference between PingServlet and\n // PingServletWriter\n // the latter uses a PrintWriter for output versus a binary output\n // stream.\n // ServletOutputStream out = res.getOutputStream();\n java.io.PrintWriter out = res.getWriter();\n hitCount++;\n out.println(\"Ping Servlet Writer\"\n + \"

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

Hit Count: \" + hitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServletWriter.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n }", "start_line": 65, "end_line": 84, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -49038,8 +47223,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs", "comments": [ { @@ -49094,7 +47279,7 @@ "nested_type_declarations": [], "callable_declarations": { "getProp0001()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0001()", "comments": [], "annotations": [], @@ -49104,9 +47289,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0001()", "parameters": [], - "code": "{\n return prop0001;\n}", + "code": "{\n return prop0001;\n }", "start_line": 50, "end_line": 52, + "code_start_line": 50, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -49122,7 +47308,7 @@ "is_entrypoint": false }, "getProp0005()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0005()", "comments": [], "annotations": [], @@ -49132,9 +47318,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0005()", "parameters": [], - "code": "{\n return prop0005;\n}", + "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, @@ -49150,7 +47337,7 @@ "is_entrypoint": false }, "setProp0014(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0014(String)", "comments": [], "annotations": [], @@ -49171,9 +47358,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0014 = prop0014;\n}", + "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, @@ -49191,7 +47379,7 @@ "is_entrypoint": false }, "getProp0004()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0004()", "comments": [], "annotations": [], @@ -49201,9 +47389,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0004()", "parameters": [], - "code": "{\n return prop0004;\n}", + "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, @@ -49219,7 +47408,7 @@ "is_entrypoint": false }, "setProp0012(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0012(String)", "comments": [], "annotations": [], @@ -49240,9 +47429,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0012 = prop0012;\n}", + "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, @@ -49260,7 +47450,7 @@ "is_entrypoint": false }, "getProp0003()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0003()", "comments": [], "annotations": [], @@ -49270,9 +47460,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0003()", "parameters": [], - "code": "{\n return prop0003;\n}", + "code": "{\n return prop0003;\n }", "start_line": 62, "end_line": 64, + "code_start_line": 62, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -49288,7 +47479,7 @@ "is_entrypoint": false }, "getProp0002()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0002()", "comments": [], "annotations": [], @@ -49298,9 +47489,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0002()", "parameters": [], - "code": "{\n return prop0002;\n}", + "code": "{\n return prop0002;\n }", "start_line": 56, "end_line": 58, + "code_start_line": 56, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -49316,7 +47508,7 @@ "is_entrypoint": false }, "getX()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getX()", "comments": [], "annotations": [], @@ -49326,9 +47518,10 @@ "thrown_exceptions": [], "declaration": "public String getX()", "parameters": [], - "code": "{\n return x;\n}", + "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, @@ -49344,7 +47537,7 @@ "is_entrypoint": false }, "setProp0013(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0013(String)", "comments": [], "annotations": [], @@ -49365,9 +47558,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0013 = prop0013;\n}", + "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, @@ -49385,7 +47579,7 @@ "is_entrypoint": false }, "setProp0009(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0009(String)", "comments": [], "annotations": [], @@ -49406,9 +47600,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0009 = prop0009;\n}", + "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, @@ -49426,7 +47621,7 @@ "is_entrypoint": false }, "setProp0008(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0008(String)", "comments": [], "annotations": [], @@ -49447,9 +47642,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0008 = prop0008;\n}", + "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, @@ -49467,7 +47663,7 @@ "is_entrypoint": false }, "setProp0011(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0011(String)", "comments": [], "annotations": [], @@ -49488,9 +47684,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0011 = prop0011;\n}", + "code": "{\n this.prop0011 = prop0011;\n }", "start_line": 113, "end_line": 115, + "code_start_line": 113, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -49508,7 +47705,7 @@ "is_entrypoint": false }, "setProp0007(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0007(String)", "comments": [], "annotations": [], @@ -49529,9 +47726,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0007 = prop0007;\n}", + "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, @@ -49549,7 +47747,7 @@ "is_entrypoint": false }, "setProp0010(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0010(String)", "comments": [], "annotations": [], @@ -49570,9 +47768,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0010 = prop0010;\n}", + "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, @@ -49590,7 +47789,7 @@ "is_entrypoint": false }, "getProp0013()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0013()", "comments": [], "annotations": [], @@ -49600,9 +47799,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0013()", "parameters": [], - "code": "{\n return prop0013;\n}", + "code": "{\n return prop0013;\n }", "start_line": 122, "end_line": 124, + "code_start_line": 122, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -49618,7 +47818,7 @@ "is_entrypoint": false }, "getProp0014()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0014()", "comments": [], "annotations": [], @@ -49628,9 +47828,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0014()", "parameters": [], - "code": "{\n return prop0014;\n}", + "code": "{\n return prop0014;\n }", "start_line": 128, "end_line": 130, + "code_start_line": 128, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -49646,7 +47847,7 @@ "is_entrypoint": false }, "getProp0015()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0015()", "comments": [], "annotations": [], @@ -49656,9 +47857,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0015()", "parameters": [], - "code": "{\n return prop0015;\n}", + "code": "{\n return prop0015;\n }", "start_line": 134, "end_line": 136, + "code_start_line": 134, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -49674,7 +47876,7 @@ "is_entrypoint": false }, "getProp0016()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0016()", "comments": [], "annotations": [], @@ -49684,9 +47886,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0016()", "parameters": [], - "code": "{\n return prop0016;\n}", + "code": "{\n return prop0016;\n }", "start_line": 140, "end_line": 142, + "code_start_line": 140, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -49702,7 +47905,7 @@ "is_entrypoint": false }, "getProp0010()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0010()", "comments": [], "annotations": [], @@ -49712,9 +47915,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0010()", "parameters": [], - "code": "{\n return prop0010;\n}", + "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, @@ -49730,7 +47934,7 @@ "is_entrypoint": false }, "getProp0011()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0011()", "comments": [], "annotations": [], @@ -49740,9 +47944,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0011()", "parameters": [], - "code": "{\n return prop0011;\n}", + "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, @@ -49758,7 +47963,7 @@ "is_entrypoint": false }, "setProp0006(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0006(String)", "comments": [], "annotations": [], @@ -49779,9 +47984,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0006 = prop0006;\n}", + "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, @@ -49799,7 +48005,7 @@ "is_entrypoint": false }, "getProp0012()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0012()", "comments": [], "annotations": [], @@ -49809,9 +48015,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0012()", "parameters": [], - "code": "{\n return prop0012;\n}", + "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, @@ -49827,7 +48034,7 @@ "is_entrypoint": false }, "setProp0004(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0004(String)", "comments": [], "annotations": [], @@ -49848,9 +48055,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0004 = prop0004;\n}", + "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, @@ -49868,7 +48076,7 @@ "is_entrypoint": false }, "setProp0005(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0005(String)", "comments": [], "annotations": [], @@ -49889,9 +48097,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0005 = prop0005;\n}", + "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, @@ -49909,7 +48118,7 @@ "is_entrypoint": false }, "setProp0001(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0001(String)", "comments": [], "annotations": [], @@ -49930,9 +48139,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0001 = prop0001;\n}", + "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, @@ -49950,7 +48160,7 @@ "is_entrypoint": false }, "setX(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setX(String)", "comments": [], "annotations": [], @@ -49971,9 +48181,10 @@ "end_column": 27 } ], - "code": "{\n this.x = x;\n}", + "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, @@ -49991,7 +48202,7 @@ "is_entrypoint": false }, "setProp0003(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0003(String)", "comments": [], "annotations": [], @@ -50012,9 +48223,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0003 = prop0003;\n}", + "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, @@ -50032,7 +48244,7 @@ "is_entrypoint": false }, "getProp0009()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0009()", "comments": [], "annotations": [], @@ -50042,9 +48254,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0009()", "parameters": [], - "code": "{\n return prop0009;\n}", + "code": "{\n return prop0009;\n }", "start_line": 98, "end_line": 100, + "code_start_line": 98, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50060,7 +48273,7 @@ "is_entrypoint": false }, "setProp0015(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0015(String)", "comments": [], "annotations": [], @@ -50081,9 +48294,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0015 = prop0015;\n}", + "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, @@ -50101,7 +48315,7 @@ "is_entrypoint": false }, "getProp0008()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0008()", "comments": [], "annotations": [], @@ -50111,9 +48325,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0008()", "parameters": [], - "code": "{\n return prop0008;\n}", + "code": "{\n return prop0008;\n }", "start_line": 92, "end_line": 94, + "code_start_line": 92, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50129,7 +48344,7 @@ "is_entrypoint": false }, "getProp0007()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0007()", "comments": [], "annotations": [], @@ -50139,9 +48354,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0007()", "parameters": [], - "code": "{\n return prop0007;\n}", + "code": "{\n return prop0007;\n }", "start_line": 86, "end_line": 88, + "code_start_line": 86, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50157,7 +48373,7 @@ "is_entrypoint": false }, "getProp0006()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "getProp0006()", "comments": [], "annotations": [], @@ -50167,9 +48383,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0006()", "parameters": [], - "code": "{\n return prop0006;\n}", + "code": "{\n return prop0006;\n }", "start_line": 80, "end_line": 82, + "code_start_line": 80, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -50185,7 +48402,7 @@ "is_entrypoint": false }, "setProp0002(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0002(String)", "comments": [], "annotations": [], @@ -50206,9 +48423,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0002 = prop0002;\n}", + "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, @@ -50226,7 +48444,7 @@ "is_entrypoint": false }, "setProp0016(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.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/jaxrs/XMLObject.java", "signature": "setProp0016(String)", "comments": [], "annotations": [], @@ -50247,9 +48465,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0016 = prop0016;\n}", + "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, @@ -50634,8 +48853,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.beans", "comments": [ { @@ -51282,7 +49501,7 @@ "nested_type_declarations": [], "callable_declarations": { "getTradeUserCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getTradeUserCount()", "comments": [ { @@ -51301,9 +49520,10 @@ "thrown_exceptions": [], "declaration": "public int getTradeUserCount()", "parameters": [], - "code": "{\n return tradeUserCount;\n}", + "code": "{\n return tradeUserCount;\n }", "start_line": 71, "end_line": 73, + "code_start_line": 71, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -51319,7 +49539,7 @@ "is_entrypoint": false }, "setBuyOrderCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setBuyOrderCount(int)", "comments": [ { @@ -51349,9 +49569,10 @@ "end_column": 50 } ], - "code": "{\n this.buyOrderCount = buyOrderCount;\n}", + "code": "{\n this.buyOrderCount = buyOrderCount;\n }", "start_line": 176, "end_line": 178, + "code_start_line": 176, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51367,7 +49588,7 @@ "is_entrypoint": false }, "setDeletedOrderCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setDeletedOrderCount(int)", "comments": [ { @@ -51397,9 +49618,10 @@ "end_column": 58 } ], - "code": "{\n this.deletedOrderCount = deletedOrderCount;\n}", + "code": "{\n this.deletedOrderCount = deletedOrderCount;\n }", "start_line": 252, "end_line": 254, + "code_start_line": 252, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51415,7 +49637,7 @@ "is_entrypoint": false }, "setTradeUserCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setTradeUserCount(int)", "comments": [ { @@ -51445,9 +49667,10 @@ "end_column": 52 } ], - "code": "{\n this.tradeUserCount = tradeUserCount;\n}", + "code": "{\n this.tradeUserCount = tradeUserCount;\n }", "start_line": 81, "end_line": 83, + "code_start_line": 81, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51463,7 +49686,7 @@ "is_entrypoint": false }, "getBuyOrderCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getBuyOrderCount()", "comments": [ { @@ -51482,9 +49705,10 @@ "thrown_exceptions": [], "declaration": "public int getBuyOrderCount()", "parameters": [], - "code": "{\n return buyOrderCount;\n}", + "code": "{\n return buyOrderCount;\n }", "start_line": 166, "end_line": 168, + "code_start_line": 166, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -51500,7 +49724,7 @@ "is_entrypoint": false }, "getOrderCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getOrderCount()", "comments": [ { @@ -51519,9 +49743,10 @@ "thrown_exceptions": [], "declaration": "public int getOrderCount()", "parameters": [], - "code": "{\n return orderCount;\n}", + "code": "{\n return orderCount;\n }", "start_line": 261, "end_line": 263, + "code_start_line": 261, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -51537,7 +49762,7 @@ "is_entrypoint": false }, "getOpenOrderCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getOpenOrderCount()", "comments": [ { @@ -51556,9 +49781,10 @@ "thrown_exceptions": [], "declaration": "public int getOpenOrderCount()", "parameters": [], - "code": "{\n return openOrderCount;\n}", + "code": "{\n return openOrderCount;\n }", "start_line": 223, "end_line": 225, + "code_start_line": 223, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -51574,7 +49800,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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()", "comments": [], "annotations": [], @@ -51584,9 +49810,10 @@ "thrown_exceptions": [], "declaration": "public RunStatsDataBean()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 24, "end_line": 25, + "code_start_line": 24, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -51600,7 +49827,7 @@ "is_entrypoint": false }, "getNewUserCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getNewUserCount()", "comments": [ { @@ -51619,9 +49846,10 @@ "thrown_exceptions": [], "declaration": "public int getNewUserCount()", "parameters": [], - "code": "{\n return newUserCount;\n}", + "code": "{\n return newUserCount;\n }", "start_line": 90, "end_line": 92, + "code_start_line": 90, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -51637,7 +49865,7 @@ "is_entrypoint": false }, "setOpenOrderCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setOpenOrderCount(int)", "comments": [ { @@ -51667,9 +49895,10 @@ "end_column": 52 } ], - "code": "{\n this.openOrderCount = openOrderCount;\n}", + "code": "{\n this.openOrderCount = openOrderCount;\n }", "start_line": 233, "end_line": 235, + "code_start_line": 233, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51685,7 +49914,7 @@ "is_entrypoint": false }, "setTradeStockCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setTradeStockCount(int)", "comments": [ { @@ -51715,9 +49944,10 @@ "end_column": 54 } ], - "code": "{\n this.tradeStockCount = tradeStockCount;\n}", + "code": "{\n this.tradeStockCount = tradeStockCount;\n }", "start_line": 290, "end_line": 292, + "code_start_line": 290, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51733,7 +49963,7 @@ "is_entrypoint": false }, "setSumLoginCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setSumLoginCount(int)", "comments": [ { @@ -51763,9 +49993,10 @@ "end_column": 50 } ], - "code": "{\n this.sumLoginCount = sumLoginCount;\n}", + "code": "{\n this.sumLoginCount = sumLoginCount;\n }", "start_line": 119, "end_line": 121, + "code_start_line": 119, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51781,7 +50012,7 @@ "is_entrypoint": false }, "setHoldingCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setHoldingCount(int)", "comments": [ { @@ -51811,9 +50042,10 @@ "end_column": 48 } ], - "code": "{\n this.holdingCount = holdingCount;\n}", + "code": "{\n this.holdingCount = holdingCount;\n }", "start_line": 157, "end_line": 159, + "code_start_line": 157, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51829,7 +50061,7 @@ "is_entrypoint": false }, "getCancelledOrderCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getCancelledOrderCount()", "comments": [ { @@ -51848,9 +50080,10 @@ "thrown_exceptions": [], "declaration": "public int getCancelledOrderCount()", "parameters": [], - "code": "{\n return cancelledOrderCount;\n}", + "code": "{\n return cancelledOrderCount;\n }", "start_line": 204, "end_line": 206, + "code_start_line": 204, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -51866,7 +50099,7 @@ "is_entrypoint": false }, "setSellOrderCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setSellOrderCount(int)", "comments": [ { @@ -51896,9 +50129,10 @@ "end_column": 52 } ], - "code": "{\n this.sellOrderCount = sellOrderCount;\n}", + "code": "{\n this.sellOrderCount = sellOrderCount;\n }", "start_line": 195, "end_line": 197, + "code_start_line": 195, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -51914,7 +50148,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "toString()", "comments": [], "annotations": [ @@ -51926,9 +50160,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return \"\\n\\tRunStatsData for reset at \" + new java.util.Date() + \"\\n\\t\\t tradeUserCount: \" + getTradeUserCount() + \"\\n\\t\\t newUserCount: \" + getNewUserCount() + \"\\n\\t\\t sumLoginCount: \" + getSumLoginCount() + \"\\n\\t\\t sumLogoutCount: \" + getSumLogoutCount() + \"\\n\\t\\t holdingCount: \" + getHoldingCount() + \"\\n\\t\\t orderCount: \" + getOrderCount() + \"\\n\\t\\t buyOrderCount: \" + getBuyOrderCount() + \"\\n\\t\\t sellOrderCount: \" + getSellOrderCount() + \"\\n\\t\\t cancelledOrderCount: \" + getCancelledOrderCount() + \"\\n\\t\\t openOrderCount: \" + getOpenOrderCount() + \"\\n\\t\\t deletedOrderCount: \" + getDeletedOrderCount();\n}", + "code": "{\n return \"\\n\\tRunStatsData for reset at \" + new java.util.Date() + \"\\n\\t\\t tradeUserCount: \" + getTradeUserCount() + \"\\n\\t\\t newUserCount: \"\n + getNewUserCount() + \"\\n\\t\\t sumLoginCount: \" + getSumLoginCount() + \"\\n\\t\\t sumLogoutCount: \" + getSumLogoutCount()\n + \"\\n\\t\\t holdingCount: \" + getHoldingCount() + \"\\n\\t\\t orderCount: \" + getOrderCount() + \"\\n\\t\\t buyOrderCount: \"\n + getBuyOrderCount() + \"\\n\\t\\t sellOrderCount: \" + getSellOrderCount() + \"\\n\\t\\t cancelledOrderCount: \" + getCancelledOrderCount()\n + \"\\n\\t\\t openOrderCount: \" + getOpenOrderCount() + \"\\n\\t\\t deletedOrderCount: \" + getDeletedOrderCount();\n }", "start_line": 57, "end_line": 64, + "code_start_line": 58, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -52195,7 +50430,7 @@ "is_entrypoint": false }, "getTradeStockCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getTradeStockCount()", "comments": [ { @@ -52214,9 +50449,10 @@ "thrown_exceptions": [], "declaration": "public int getTradeStockCount()", "parameters": [], - "code": "{\n return tradeStockCount;\n}", + "code": "{\n return tradeStockCount;\n }", "start_line": 280, "end_line": 282, + "code_start_line": 280, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -52232,7 +50468,7 @@ "is_entrypoint": false }, "getDeletedOrderCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getDeletedOrderCount()", "comments": [ { @@ -52251,9 +50487,10 @@ "thrown_exceptions": [], "declaration": "public int getDeletedOrderCount()", "parameters": [], - "code": "{\n return deletedOrderCount;\n}", + "code": "{\n return deletedOrderCount;\n }", "start_line": 242, "end_line": 244, + "code_start_line": 242, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -52269,7 +50506,7 @@ "is_entrypoint": false }, "getSumLogoutCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getSumLogoutCount()", "comments": [ { @@ -52288,9 +50525,10 @@ "thrown_exceptions": [], "declaration": "public int getSumLogoutCount()", "parameters": [], - "code": "{\n return sumLogoutCount;\n}", + "code": "{\n return sumLogoutCount;\n }", "start_line": 128, "end_line": 130, + "code_start_line": 128, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -52306,7 +50544,7 @@ "is_entrypoint": false }, "setNewUserCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setNewUserCount(int)", "comments": [ { @@ -52336,9 +50574,10 @@ "end_column": 48 } ], - "code": "{\n this.newUserCount = newUserCount;\n}", + "code": "{\n this.newUserCount = newUserCount;\n }", "start_line": 100, "end_line": 102, + "code_start_line": 100, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -52354,7 +50593,7 @@ "is_entrypoint": false }, "setOrderCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setOrderCount(int)", "comments": [ { @@ -52384,9 +50623,10 @@ "end_column": 44 } ], - "code": "{\n this.orderCount = orderCount;\n}", + "code": "{\n this.orderCount = orderCount;\n }", "start_line": 271, "end_line": 273, + "code_start_line": 271, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -52402,7 +50642,7 @@ "is_entrypoint": false }, "getSumLoginCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getSumLoginCount()", "comments": [ { @@ -52421,9 +50661,10 @@ "thrown_exceptions": [], "declaration": "public int getSumLoginCount()", "parameters": [], - "code": "{\n return sumLoginCount;\n}", + "code": "{\n return sumLoginCount;\n }", "start_line": 109, "end_line": 111, + "code_start_line": 109, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -52439,7 +50680,7 @@ "is_entrypoint": false }, "setCancelledOrderCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setCancelledOrderCount(int)", "comments": [ { @@ -52469,9 +50710,10 @@ "end_column": 62 } ], - "code": "{\n this.cancelledOrderCount = cancelledOrderCount;\n}", + "code": "{\n this.cancelledOrderCount = cancelledOrderCount;\n }", "start_line": 214, "end_line": 216, + "code_start_line": 214, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -52487,7 +50729,7 @@ "is_entrypoint": false }, "setSumLogoutCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "setSumLogoutCount(int)", "comments": [ { @@ -52517,9 +50759,10 @@ "end_column": 52 } ], - "code": "{\n this.sumLogoutCount = sumLogoutCount;\n}", + "code": "{\n this.sumLogoutCount = sumLogoutCount;\n }", "start_line": 138, "end_line": 140, + "code_start_line": 138, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -52535,7 +50778,7 @@ "is_entrypoint": false }, "getHoldingCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getHoldingCount()", "comments": [ { @@ -52554,9 +50797,10 @@ "thrown_exceptions": [], "declaration": "public int getHoldingCount()", "parameters": [], - "code": "{\n return holdingCount;\n}", + "code": "{\n return holdingCount;\n }", "start_line": 147, "end_line": 149, + "code_start_line": 147, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -52572,7 +50816,7 @@ "is_entrypoint": false }, "getSellOrderCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "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": "getSellOrderCount()", "comments": [ { @@ -52591,9 +50835,10 @@ "thrown_exceptions": [], "declaration": "public int getSellOrderCount()", "parameters": [], - "code": "{\n return sellOrderCount;\n}", + "code": "{\n return sellOrderCount;\n }", "start_line": 185, "end_line": 187, + "code_start_line": 185, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -52894,8 +51139,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -53071,7 +51316,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.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/PingJSONPObject.java", "signature": "init(ServletConfig)", "comments": [ { @@ -53105,9 +51350,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -53190,7 +51436,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.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/PingJSONPObject.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -53235,9 +51481,10 @@ "end_column": 68 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 63, "end_line": 66, + "code_start_line": 64, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -53276,7 +51523,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.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/PingJSONPObject.java", "signature": "getServletInfo()", "comments": [ { @@ -53297,9 +51544,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n}", + "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, @@ -53313,7 +51561,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.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/PingJSONPObject.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -53374,9 +51622,10 @@ "end_column": 67 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n ServletOutputStream out = res.getOutputStream();\n hitCount++;\n // JSON generate\n JsonObject json = Json.createObjectBuilder().add(\"initTime\", initTime).add(\"hitCount\", hitCount).build();\n String generatedJSON = json.toString();\n // Read back\n JsonReader jsonReader = Json.createReader(new StringReader(generatedJSON));\n String parsedJSON = jsonReader.readObject().toString();\n out.println(\"Ping JSONP\" + \"

Ping JSONP
Generated JSON: \" + generatedJSON + \"
Parsed JSON: \" + parsedJSON + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingJSONPObject.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n ServletOutputStream out = res.getOutputStream();\n\n hitCount++;\n\n // JSON generate\n JsonObject json = Json.createObjectBuilder()\n .add(\"initTime\", initTime)\n .add(\"hitCount\", hitCount).build();\n String generatedJSON = json.toString();\n\n // Read back\n JsonReader jsonReader = Json.createReader(new StringReader(generatedJSON));\n String parsedJSON = jsonReader.readObject().toString(); \n\n\n out.println(\"Ping JSONP\"\n + \"

Ping JSONP
Generated JSON: \" + generatedJSON + \"
Parsed JSON: \" + parsedJSON + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingJSONPObject.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 77, "end_line": 104, + "code_start_line": 78, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -53897,8 +52146,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", "comments": [ { @@ -55388,7 +53637,7 @@ "nested_type_declarations": [], "callable_declarations": { "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", "comments": [], "annotations": [], @@ -55452,9 +53701,10 @@ "end_column": 127 } ], - "code": "{\n ctx.getRequestDispatcher(page).include(req, resp);\n}", + "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, @@ -55513,10 +53763,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", "comments": [ { @@ -55659,9 +53909,10 @@ "end_column": 118 } ], - "code": "{\n try {\n // Get the holdiings for this user\n Collection quoteDataBeans = new ArrayList();\n Collection holdingDataBeans = tAction.getHoldings(userID);\n // Walk through the collection of user\n // holdings and creating a list of quotes\n if (holdingDataBeans.size() > 0) {\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) {\n // 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}", + "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, @@ -56251,10 +54502,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 5, - "is_entrypoint": false + "is_entrypoint": true }, "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", "comments": [ { @@ -56333,9 +54584,10 @@ "end_column": 115 } ], - "code": "{\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 } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doQuotes(...)\" + \" exception user =\" + userID, e);\n }\n}", + "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, @@ -56639,10 +54891,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 3, - "is_entrypoint": false + "is_entrypoint": true }, "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", "comments": [ { @@ -56807,9 +55059,10 @@ "end_column": 99 } ], - "code": "{\n String results = \"\";\n try {\n tAction.logout(userID);\n } catch (java.lang.IllegalArgumentException e) {\n // 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 // 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\", \"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 // Added to actually remove a user from the authentication cache\n req.logout();\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}", + "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, @@ -57243,10 +55496,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 6, - "is_entrypoint": false + "is_entrypoint": true }, "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)", "comments": [], "annotations": [], @@ -57298,9 +55551,10 @@ "end_column": 106 } ], - "code": "{\n req.setAttribute(\"results\", \"test\");\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.MARKET_SUMMARY_PAGE));\n}", + "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, @@ -57388,10 +55642,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", "comments": [ { @@ -57622,9 +55876,10 @@ "end_column": 113 } ], - "code": "{\n try {\n AccountDataBean accountData = tAction.getAccountData(userID);\n Collection holdingDataBeans = tAction.getHoldings(userID);\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 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) {\n // 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\" + \"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 + \"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 requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n}", + "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, @@ -58057,10 +56312,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 4, - "is_entrypoint": false + "is_entrypoint": true }, "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", "comments": [ { @@ -58179,9 +56434,10 @@ "end_column": 116 } ], - "code": "{\n try {\n AccountDataBean accountData = tAction.getAccountData(userID);\n AccountProfileDataBean accountProfileData = tAction.getAccountProfileData(userID);\n Collection orderDataBeans = (TradeConfig.getLongRun() ? new ArrayList() : (Collection) tAction.getOrders(userID));\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) {\n // 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}", + "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, @@ -58654,10 +56910,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 4, - "is_entrypoint": false + "is_entrypoint": true }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "TradeServletAction()", "comments": [], "annotations": [], @@ -58667,9 +56923,10 @@ "thrown_exceptions": [], "declaration": "public TradeServletAction()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 69, "end_line": 70, + "code_start_line": 69, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -58683,7 +56940,7 @@ "is_entrypoint": false }, "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", "comments": [ { @@ -58812,9 +57069,10 @@ "end_column": 128 } ], - "code": "{\n String results = \"\";\n try {\n OrderDataBean orderData = tAction.buy(userID, symbol, new Double(quantity).doubleValue(), TradeConfig.getOrderProcessingMode());\n req.setAttribute(\"orderData\", orderData);\n req.setAttribute(\"results\", results);\n } catch (java.lang.IllegalArgumentException e) {\n // 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}", + "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, @@ -59202,10 +57460,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 3, - "is_entrypoint": false + "is_entrypoint": true }, "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", "comments": [ { @@ -59366,9 +57624,10 @@ "end_column": 70 } ], - "code": "{\n String results = \"\";\n // First verify input data\n boolean doUpdate = true;\n if (password.equals(cpassword) == false) {\n results = \"Update profile error: passwords do not match\";\n doUpdate = false;\n } else if (password.length() <= 0 || fullName.length() <= 0 || address.length() <= 0 || creditcard.length() <= 0 || email.length() <= 0) {\n results = \"Update profile error: please fill in all profile information fields\";\n doUpdate = false;\n }\n AccountProfileDataBean accountProfileData = new AccountProfileDataBean(userID, password, fullName, address, email, creditcard);\n try {\n if (doUpdate) {\n accountProfileData = tAction.updateAccountProfile(accountProfileData);\n results = \"Account profile update successful\";\n }\n } catch (java.lang.IllegalArgumentException e) {\n // 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 + \"invalid argument, check userID is correct, and the database is populated\" + userID);\n Log.error(e, \"TradeServletAction.doAccount(...)\", \"illegal argument, information should be in exception string\", \"treating this as a user error and forwarding on to a new page\");\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doAccountUpdate(...)\" + \" exception user =\" + userID, e);\n }\n doAccount(ctx, req, resp, userID, results);\n}", + "code": "{\n String results = \"\";\n\n // First verify input data\n boolean doUpdate = true;\n if (password.equals(cpassword) == false) {\n results = \"Update profile error: passwords do not match\";\n doUpdate = false;\n } else if (password.length() <= 0 || fullName.length() <= 0 || address.length() <= 0 || creditcard.length() <= 0 || email.length() <= 0) {\n results = \"Update profile error: please fill in all profile information fields\";\n doUpdate = false;\n }\n AccountProfileDataBean accountProfileData = new AccountProfileDataBean(userID, password, fullName, address, email, creditcard);\n try {\n if (doUpdate) {\n accountProfileData = tAction.updateAccountProfile(accountProfileData);\n results = \"Account profile update successful\";\n }\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 + \"invalid argument, check userID is correct, and the database is populated\" + userID);\n Log.error(e, \"TradeServletAction.doAccount(...)\", \"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 with error page\n throw new ServletException(\"TradeServletAction.doAccountUpdate(...)\" + \" exception user =\" + userID, e);\n }\n doAccount(ctx, req, resp, userID, results);\n }", "start_line": 154, "end_line": 185, + "code_start_line": 155, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -59731,10 +57990,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 10, - "is_entrypoint": false + "is_entrypoint": true }, "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", "comments": [ { @@ -59853,9 +58112,10 @@ "end_column": 116 } ], - "code": "{\n String results = \"\";\n try {\n OrderDataBean orderData = tAction.sell(userID, holdingID, TradeConfig.getOrderProcessingMode());\n req.setAttribute(\"orderData\", orderData);\n req.setAttribute(\"results\", results);\n } catch (java.lang.IllegalArgumentException e) {\n // this is a user\n // error so I will\n // just log the exception and then later on I will redisplay the\n // portfolio page\n // because this is just a user exception\n Log.error(e, \"TradeServletAction.doSell(...)\", \"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.doSell(...)\" + \" exception selling holding \" + holdingID + \" for user =\" + userID, e);\n }\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.ORDER_PAGE));\n}", + "code": "{\n String results = \"\";\n try {\n OrderDataBean orderData = tAction.sell(userID, holdingID, 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 // just log the exception and then later on I will redisplay the\n // portfolio page\n // because this is just a user exception\n Log.error(e, \"TradeServletAction.doSell(...)\", \"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.doSell(...)\" + \" exception selling holding \" + holdingID + \" for user =\" + userID, e);\n }\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.ORDER_PAGE));\n }", "start_line": 617, "end_line": 635, + "code_start_line": 617, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -60116,10 +58376,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 3, - "is_entrypoint": false + "is_entrypoint": true }, "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)", "comments": [], "annotations": [], @@ -60171,9 +58431,10 @@ "end_column": 100 } ], - "code": "{\n req.setAttribute(\"results\", status);\n requestDispatch(ctx, req, resp, null, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n}", + "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, @@ -60261,10 +58522,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "TradeServletAction(Instance)", "comments": [], "annotations": [ @@ -60289,9 +58550,10 @@ "end_column": 65 } ], - "code": "{\n tAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "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, @@ -60417,7 +58679,7 @@ "is_entrypoint": false }, "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", "comments": [ { @@ -60572,9 +58834,10 @@ "end_column": 72 } ], - "code": "{\n String results = \"\";\n try {\n // Validate user passwords match and are atleast 1 char in length\n if ((passwd.equals(cpasswd)) && (passwd.length() >= 1)) {\n AccountDataBean accountData = tAction.register(userID, passwd, fullname, address, email, ccn, new BigDecimal(openBalanceString));\n if (accountData == null) {\n results = \"Registration operation failed;\";\n System.out.println(results);\n req.setAttribute(\"results\", results);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.REGISTER_PAGE));\n } else {\n doLogin(ctx, req, resp, userID, passwd);\n results = \"Registration operation succeeded; Account \" + accountData.getAccountID() + \" has been created.\";\n req.setAttribute(\"results\", results);\n }\n } else {\n // Password validation failed\n results = \"Registration operation failed, your passwords did not match\";\n System.out.println(results);\n req.setAttribute(\"results\", results);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.REGISTER_PAGE));\n }\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID, e);\n }\n}", + "code": "{\n String results = \"\";\n\n try {\n // Validate user passwords match and are atleast 1 char in length\n if ((passwd.equals(cpasswd)) && (passwd.length() >= 1)) {\n\n AccountDataBean accountData = tAction.register(userID, passwd, fullname, address, email, ccn, new BigDecimal(openBalanceString));\n if (accountData == null) {\n results = \"Registration operation failed;\";\n System.out.println(results);\n req.setAttribute(\"results\", results);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.REGISTER_PAGE));\n } else {\n doLogin(ctx, req, resp, userID, passwd);\n results = \"Registration operation succeeded; Account \" + accountData.getAccountID() + \" has been created.\";\n req.setAttribute(\"results\", results);\n\n }\n } else {\n // Password validation failed\n results = \"Registration operation failed, your passwords did not match\";\n System.out.println(results);\n req.setAttribute(\"results\", results);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.REGISTER_PAGE));\n }\n\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID, e);\n }\n }", "start_line": 560, "end_line": 592, + "code_start_line": 561, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -61022,10 +59285,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 5, - "is_entrypoint": false + "is_entrypoint": true }, "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.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/servlet/TradeServletAction.java", "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", "comments": [ { @@ -61168,9 +59431,10 @@ "end_column": 113 } ], - "code": "{\n String results = \"\";\n try {\n // Got a valid userID and passwd, attempt login\n if (tAction == null) {\n System.out.println(\"null\");\n }\n AccountDataBean accountData = tAction.login(userID, passwd);\n if (accountData != null) {\n HttpSession session = req.getSession(true);\n session.setAttribute(\"uidBean\", userID);\n session.setAttribute(\"sessionCreationDate\", new java.util.Date());\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 + \"\", \"user entered a bad username or the database is not populated\");\n }\n } catch (java.lang.IllegalArgumentException e) {\n // 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\", \"treating this as a user error and forwarding on to a new page\");\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 requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n}", + "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, @@ -61631,7 +59895,7 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 5, - "is_entrypoint": false + "is_entrypoint": true } }, "field_declarations": [ @@ -61688,8 +59952,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeSession2Direct.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeSession2Direct.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeSession2Direct.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeSession2Direct.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -61738,8 +60002,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.beanval", "comments": [ { @@ -61854,7 +60118,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "signature": "init(ServletConfig)", "comments": [ { @@ -61888,9 +60152,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n}", + "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, @@ -61951,7 +60216,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -61996,9 +60261,10 @@ "end_column": 68 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 50, "end_line": 53, + "code_start_line": 51, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -62037,7 +60303,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "signature": "getServletInfo()", "comments": [ { @@ -62058,9 +60324,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "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, @@ -62074,7 +60341,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.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/beanval/PingServletBeanValCDI.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -62119,9 +60386,10 @@ "end_column": 67 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n ServletOutputStream out = res.getOutputStream();\n int currentHitCount = hitCountBean.getHitCount(initTime);\n hitCountBean.hitList();\n out.println(\"Ping Servlet Bean Validation CDI\" + \"

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

Hit Count: \" + currentHitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n ServletOutputStream out = res.getOutputStream();\n\n int currentHitCount = hitCountBean.getHitCount(initTime);\n hitCountBean.hitList();\n \n out.println(\"Ping Servlet Bean Validation CDI\"\n + \"

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

Hit Count: \" + currentHitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 64, "end_line": 82, + "code_start_line": 65, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -62432,8 +60700,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/JAXRSApplication.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/JAXRSApplication.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/JAXRSApplication.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/JAXRSApplication.java", "package_name": "com.ibm.websphere.samples.daytrader.jaxrs", "comments": [ { @@ -62499,8 +60767,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -62595,7 +60863,7 @@ "nested_type_declarations": [], "callable_declarations": { "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.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/PingServlet2Jsp.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -62640,9 +60908,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 48, "end_line": 51, + "code_start_line": 49, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -62681,7 +60950,7 @@ "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.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/PingServlet2Jsp.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -62726,9 +60995,10 @@ "end_column": 69 } ], - "code": "{\n PingBean ab;\n try {\n ab = new PingBean();\n hitCount++;\n ab.setMsg(\"Hit Count: \" + hitCount);\n req.setAttribute(\"ab\", ab);\n getServletConfig().getServletContext().getRequestDispatcher(\"/PingServlet2Jsp.jsp\").forward(req, res);\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Jsp.doGet(...): request error\");\n res.sendError(500, \"PingServlet2Jsp.doGet(...): request error\" + ex.toString());\n }\n}", + "code": "{\n PingBean ab;\n try {\n ab = new PingBean();\n hitCount++;\n ab.setMsg(\"Hit Count: \" + hitCount);\n req.setAttribute(\"ab\", ab);\n\n getServletConfig().getServletContext().getRequestDispatcher(\"/PingServlet2Jsp.jsp\").forward(req, res);\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Jsp.doGet(...): request error\");\n res.sendError(500, \"PingServlet2Jsp.doGet(...): request error\" + ex.toString());\n\n }\n }", "start_line": 62, "end_line": 77, + "code_start_line": 63, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -63046,8 +61316,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java", + "/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": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", "comments": [ { @@ -63090,7 +61360,7 @@ "nested_type_declarations": [], "callable_declarations": { "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.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/JsonDecoder.java", "signature": "destroy()", "comments": [], "annotations": [ @@ -63102,9 +61372,10 @@ "thrown_exceptions": [], "declaration": "public void destroy()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 28, "end_line": 30, + "code_start_line": 29, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -63118,7 +61389,7 @@ "is_entrypoint": false }, "decode(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.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/JsonDecoder.java", "signature": "decode(String)", "comments": [], "annotations": [ @@ -63143,9 +61414,10 @@ "end_column": 41 } ], - "code": "{\n JsonObject jsonObject = Json.createReader(new StringReader(json)).readObject();\n JsonMessage message = new JsonMessage();\n message.setKey(jsonObject.getString(\"key\"));\n message.setValue(jsonObject.getString(\"value\"));\n return message;\n}", + "code": "{\n JsonObject jsonObject = Json.createReader(new StringReader(json)).readObject();\n \n JsonMessage message = new JsonMessage();\n message.setKey(jsonObject.getString(\"key\"));\n message.setValue(jsonObject.getString(\"value\"));\n \n return message;\n }", "start_line": 36, "end_line": 45, + "code_start_line": 37, "return_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "is_implicit": false, "is_constructor": false, @@ -63378,7 +61650,7 @@ "is_entrypoint": false }, "init(EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.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/JsonDecoder.java", "signature": "init(EndpointConfig)", "comments": [], "annotations": [ @@ -63401,9 +61673,10 @@ "end_column": 38 } ], - "code": "{\n}", + "code": "{\n }", "start_line": 32, "end_line": 34, + "code_start_line": 33, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -63417,7 +61690,7 @@ "is_entrypoint": false }, "willDecode(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.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/JsonDecoder.java", "signature": "willDecode(String)", "comments": [], "annotations": [ @@ -63440,9 +61713,10 @@ "end_column": 41 } ], - "code": "{\n try {\n Json.createReader(new StringReader(json)).readObject();\n return true;\n } catch (Exception e) {\n return false;\n }\n}", + "code": "{\n try {\n Json.createReader(new StringReader(json)).readObject();\n return true;\n } catch (Exception e) {\n return false;\n }\n }", "start_line": 47, "end_line": 55, + "code_start_line": 48, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -63533,8 +61807,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -63600,7 +61874,7 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "signature": "LoginValidator()", "comments": [], "annotations": [], @@ -63610,9 +61884,10 @@ "thrown_exceptions": [], "declaration": "public LoginValidator()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 39, "end_line": 40, + "code_start_line": 39, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -63626,7 +61901,7 @@ "is_entrypoint": false }, "validate(FacesContext, UIComponent, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.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/jsf/LoginValidator.java", "signature": "validate(FacesContext, UIComponent, Object)", "comments": [], "annotations": [ @@ -63671,9 +61946,10 @@ "end_column": 80 } ], - "code": "{\n Log.trace(\"LoginValidator.validate\", \"Validating submitted login name -- \" + value.toString());\n matcher = pattern.matcher(value.toString());\n if (!matcher.matches()) {\n FacesMessage msg = new FacesMessage(\"Username validation failed. Please provide username in this format: uid:#\");\n msg.setSeverity(FacesMessage.SEVERITY_ERROR);\n throw new ValidatorException(msg);\n }\n}", + "code": "{\n Log.trace(\"LoginValidator.validate\",\"Validating submitted login name -- \" + value.toString());\n\n matcher = pattern.matcher(value.toString());\n\n if (!matcher.matches()) {\n FacesMessage msg = new FacesMessage(\"Username validation failed. Please provide username in this format: uid:#\");\n msg.setSeverity(FacesMessage.SEVERITY_ERROR);\n\n throw new ValidatorException(msg);\n }\n }", "start_line": 42, "end_line": 54, + "code_start_line": 43, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -63965,8 +62241,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "/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": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", "comments": [ { @@ -64061,7 +62337,7 @@ "nested_type_declarations": [], "callable_declarations": { "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "signature": "destroy()", "comments": [ { @@ -64082,9 +62358,10 @@ "thrown_exceptions": [], "declaration": "public void destroy()", "parameters": [], - "code": "{\n // TODO Auto-generated method stub\n}", + "code": "{\n // TODO Auto-generated method stub\n\n }", "start_line": 61, "end_line": 65, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -64098,7 +62375,7 @@ "is_entrypoint": false }, "init(EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "signature": "init(EndpointConfig)", "comments": [ { @@ -64130,9 +62407,10 @@ "end_column": 40 } ], - "code": "{\n // TODO Auto-generated method stub\n}", + "code": "{\n // TODO Auto-generated method stub\n\n }", "start_line": 55, "end_line": 59, + "code_start_line": 56, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -64146,7 +62424,7 @@ "is_entrypoint": false }, "encode(CopyOnWriteArrayList)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.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/QuotePriceChangeListEncoder.java", "signature": "encode(CopyOnWriteArrayList)", "comments": [], "annotations": [], @@ -64169,9 +62447,10 @@ "end_column": 63 } ], - "code": "{\n JsonObjectBuilder jObjectBuilder = jsonObjectFactory.createObjectBuilder();\n int i = 1;\n for (Iterator iterator = list.iterator(); iterator.hasNext(); ) {\n QuoteDataBean quotedata = iterator.next();\n jObjectBuilder.add(\"change\" + i + \"_stock\", quotedata.getSymbol());\n jObjectBuilder.add(\"change\" + i + \"_price\", \"$\" + quotedata.getPrice());\n jObjectBuilder.add(\"change\" + i + \"_change\", quotedata.getChange());\n i++;\n }\n return jObjectBuilder.build().toString();\n}", + "code": "{\n\n JsonObjectBuilder jObjectBuilder = jsonObjectFactory.createObjectBuilder();\n\n int i = 1;\n\n for (Iterator iterator = list.iterator(); iterator.hasNext();) {\n QuoteDataBean quotedata = iterator.next();\n\n jObjectBuilder.add(\"change\" + i + \"_stock\", quotedata.getSymbol());\n jObjectBuilder.add(\"change\" + i + \"_price\",\"$\" + quotedata.getPrice()); \n jObjectBuilder.add(\"change\" + i + \"_change\", quotedata.getChange());\n i++;\n }\n\n return jObjectBuilder.build().toString();\n }", "start_line": 37, "end_line": 53, + "code_start_line": 37, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -64555,8 +62834,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -64784,7 +63063,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.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/PingReentryServlet.java", "signature": "init(ServletConfig)", "comments": [ { @@ -64818,9 +63097,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n}", + "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, @@ -64858,7 +63138,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.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/PingReentryServlet.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -64894,9 +63174,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 37, "end_line": 40, + "code_start_line": 38, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -64935,7 +63216,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.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/PingReentryServlet.java", "signature": "getServletInfo()", "comments": [ { @@ -64956,9 +63237,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "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, @@ -64972,7 +63254,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.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/PingReentryServlet.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -65081,9 +63363,10 @@ "end_column": 69 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n // The following 2 lines are the difference between PingServlet and\n // PingServletWriter\n // the latter uses a PrintWriter for output versus a binary output\n // stream.\n ServletOutputStream out = res.getOutputStream();\n // java.io.PrintWriter out = res.getWriter();\n int numReentriesLeft;\n int sleepTime;\n if (req.getParameter(\"numReentries\") != null) {\n numReentriesLeft = Integer.parseInt(req.getParameter(\"numReentries\"));\n } else {\n numReentriesLeft = 0;\n }\n if (req.getParameter(\"sleep\") != null) {\n sleepTime = Integer.parseInt(req.getParameter(\"sleep\"));\n } else {\n sleepTime = 0;\n }\n if (numReentriesLeft <= 0) {\n Thread.sleep(sleepTime);\n out.println(numReentriesLeft);\n } else {\n String hostname = req.getServerName();\n int port = req.getServerPort();\n req.getContextPath();\n int saveNumReentriesLeft = numReentriesLeft;\n int nextNumReentriesLeft = numReentriesLeft - 1;\n // Recursively call into the same server, decrementing the counter by 1.\n String url = \"http://\" + hostname + \":\" + port + \"/\" + req.getRequestURI() + \"?numReentries=\" + nextNumReentriesLeft + \"&sleep=\" + sleepTime;\n URL obj = new URL(url);\n HttpURLConnection con = (HttpURLConnection) obj.openConnection();\n con.setRequestMethod(\"GET\");\n con.setRequestProperty(\"User-Agent\", \"Mozilla/5.0\");\n //Append the recursion count to the response and return it.\n BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n String inputLine;\n StringBuffer response = new StringBuffer();\n while ((inputLine = in.readLine()) != null) {\n response.append(inputLine);\n }\n in.close();\n Thread.sleep(sleepTime);\n out.println(saveNumReentriesLeft + response.toString());\n }\n } catch (Exception e) {\n //Log.error(e, \"PingReentryServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n // The following 2 lines are the difference between PingServlet and\n // PingServletWriter\n // the latter uses a PrintWriter for output versus a binary output\n // stream.\n ServletOutputStream out = res.getOutputStream();\n // java.io.PrintWriter out = res.getWriter();\n int numReentriesLeft; \n int sleepTime;\n \n if(req.getParameter(\"numReentries\") != null){\n numReentriesLeft = Integer.parseInt(req.getParameter(\"numReentries\"));\n } else {\n numReentriesLeft = 0;\n }\n \n if(req.getParameter(\"sleep\") != null){\n sleepTime = Integer.parseInt(req.getParameter(\"sleep\"));\n } else {\n sleepTime = 0;\n }\n \n if(numReentriesLeft <= 0) {\n Thread.sleep(sleepTime);\n out.println(numReentriesLeft);\n } else {\n String hostname = req.getServerName();\n int port = req.getServerPort();\n req.getContextPath();\n int saveNumReentriesLeft = numReentriesLeft;\n int nextNumReentriesLeft = numReentriesLeft - 1;\n \n // Recursively call into the same server, decrementing the counter by 1.\n String url = \"http://\" + hostname + \":\" + port + \"/\" + req.getRequestURI() + \n \"?numReentries=\" + nextNumReentriesLeft +\n \"&sleep=\" + sleepTime;\n URL obj = new URL(url);\n HttpURLConnection con = (HttpURLConnection) obj.openConnection();\n con.setRequestMethod(\"GET\");\n con.setRequestProperty(\"User-Agent\", \"Mozilla/5.0\");\n \n //Append the recursion count to the response and return it.\n BufferedReader in = new BufferedReader(\n new InputStreamReader(con.getInputStream()));\n String inputLine;\n StringBuffer response = new StringBuffer();\n \n while ((inputLine = in.readLine()) != null) {\n response.append(inputLine);\n }\n in.close();\n \n Thread.sleep(sleepTime);\n out.println(saveNumReentriesLeft + response.toString());\n }\n } catch (Exception e) {\n //Log.error(e, \"PingReentryServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 51, "end_line": 115, + "code_start_line": 52, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -66035,8 +64318,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -66102,7 +64385,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.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/cdi/PingServletCDIEvent.java", "signature": "init(ServletConfig)", "comments": [ { @@ -66136,9 +64419,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -66221,7 +64505,7 @@ "is_entrypoint": false }, "onEvent(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.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/cdi/PingServletCDIEvent.java", "signature": "onEvent(String)", "comments": [], "annotations": [], @@ -66245,9 +64529,10 @@ "end_column": 49 } ], - "code": "{\n hitCount++;\n}", + "code": "{\n hitCount++;\n }", "start_line": 76, "end_line": 78, + "code_start_line": 76, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -66263,7 +64548,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.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/cdi/PingServletCDIEvent.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -66298,9 +64583,10 @@ "end_column": 79 } ], - "code": "{\n cdiEventProducer.produceSyncEvent();\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Event\" + \"

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

\");\n try {\n pw.write(\"hitCount1: \" + hitCount + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n pw.flush();\n pw.close();\n}", + "code": "{\n\n cdiEventProducer.produceSyncEvent();\n\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Event\"\n + \"

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

\");\n\n try {\n pw.write(\"hitCount1: \" + hitCount + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n pw.flush();\n pw.close();\n }", "start_line": 42, "end_line": 60, + "code_start_line": 43, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -66588,8 +64874,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -66626,7 +64912,7 @@ "nested_type_declarations": [], "callable_declarations": { "getOrderFee()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getOrderFee()", "comments": [], "annotations": [], @@ -66636,9 +64922,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOrderFee()", "parameters": [], - "code": "{\n return orderFee;\n}", + "code": "{\n return orderFee;\n }", "start_line": 96, "end_line": 98, + "code_start_line": 96, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -66654,7 +64941,7 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getQuantity()", "comments": [], "annotations": [], @@ -66664,9 +64951,10 @@ "thrown_exceptions": [], "declaration": "public double getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "code": "{\n return quantity;\n }", "start_line": 112, "end_line": 114, + "code_start_line": 112, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -66682,7 +64970,7 @@ "is_entrypoint": false }, "setOrderType(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setOrderType(String)", "comments": [], "annotations": [], @@ -66703,9 +64991,10 @@ "end_column": 45 } ], - "code": "{\n this.orderType = orderType;\n}", + "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, @@ -66723,7 +65012,7 @@ "is_entrypoint": false }, "setPrice(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setPrice(BigDecimal)", "comments": [], "annotations": [], @@ -66744,9 +65033,10 @@ "end_column": 41 } ], - "code": "{\n this.price = price;\n}", + "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, @@ -66764,7 +65054,7 @@ "is_entrypoint": false }, "setOrderStatus(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setOrderStatus(String)", "comments": [], "annotations": [], @@ -66785,9 +65075,10 @@ "end_column": 49 } ], - "code": "{\n this.orderStatus = orderStatus;\n}", + "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, @@ -66805,7 +65096,7 @@ "is_entrypoint": false }, "getOrderStatus()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getOrderStatus()", "comments": [], "annotations": [], @@ -66815,9 +65106,10 @@ "thrown_exceptions": [], "declaration": "public String getOrderStatus()", "parameters": [], - "code": "{\n return orderStatus;\n}", + "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, @@ -66833,7 +65125,7 @@ "is_entrypoint": false }, "getSymbol()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getSymbol()", "comments": [], "annotations": [], @@ -66843,9 +65135,10 @@ "thrown_exceptions": [], "declaration": "public String getSymbol()", "parameters": [], - "code": "{\n return symbol;\n}", + "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, @@ -66861,7 +65154,7 @@ "is_entrypoint": false }, "getOrderID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getOrderID()", "comments": [], "annotations": [], @@ -66871,9 +65164,10 @@ "thrown_exceptions": [], "declaration": "public Integer getOrderID()", "parameters": [], - "code": "{\n return orderID;\n}", + "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, @@ -66889,7 +65183,7 @@ "is_entrypoint": false }, "setSymbol(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setSymbol(String)", "comments": [], "annotations": [], @@ -66910,9 +65204,10 @@ "end_column": 39 } ], - "code": "{\n this.symbol = symbol;\n}", + "code": "{\n this.symbol = symbol;\n }", "start_line": 116, "end_line": 118, + "code_start_line": 116, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -66930,7 +65225,7 @@ "is_entrypoint": false }, "setOrderFee(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setOrderFee(BigDecimal)", "comments": [], "annotations": [], @@ -66951,9 +65246,10 @@ "end_column": 47 } ], - "code": "{\n this.orderFee = orderFee;\n}", + "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, @@ -66971,7 +65267,7 @@ "is_entrypoint": false }, "getOpenDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getOpenDate()", "comments": [], "annotations": [], @@ -66981,9 +65277,10 @@ "thrown_exceptions": [], "declaration": "public Date getOpenDate()", "parameters": [], - "code": "{\n return openDate;\n}", + "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, @@ -66999,7 +65296,7 @@ "is_entrypoint": false }, "setOpenDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setOpenDate(Date)", "comments": [], "annotations": [], @@ -67020,9 +65317,10 @@ "end_column": 41 } ], - "code": "{\n this.openDate = openDate;\n}", + "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, @@ -67040,7 +65338,7 @@ "is_entrypoint": false }, "getCompletionDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getCompletionDate()", "comments": [], "annotations": [], @@ -67050,9 +65348,10 @@ "thrown_exceptions": [], "declaration": "public Date getCompletionDate()", "parameters": [], - "code": "{\n return completionDate;\n}", + "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, @@ -67068,7 +65367,7 @@ "is_entrypoint": false }, "(Integer, String, Date, Date, BigDecimal, String, double, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String, BigDecimal)", "comments": [], "annotations": [], @@ -67169,9 +65468,10 @@ "end_column": 43 } ], - "code": "{\n this.orderID = orderID;\n this.completionDate = completeDate;\n this.openDate = openDate;\n this.orderFee = orderFee;\n this.orderType = orderType;\n this.orderStatus = orderStatus;\n this.quantity = quantity;\n this.symbol = symbol;\n this.price = price;\n this.total = price.multiply(new BigDecimal(quantity));\n}", + "code": "{\n this.orderID = orderID;\n this.completionDate = completeDate;\n this.openDate = openDate;\n this.orderFee = orderFee;\n this.orderType = orderType;\n this.orderStatus = orderStatus;\n this.quantity = quantity;\n this.symbol = symbol;\n this.price = price;\n this.total = price.multiply(new BigDecimal(quantity));\n\n }", "start_line": 45, "end_line": 58, + "code_start_line": 46, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -67248,7 +65548,7 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getPrice()", "comments": [], "annotations": [], @@ -67258,9 +65558,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getPrice()", "parameters": [], - "code": "{\n return price;\n}", + "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, @@ -67276,7 +65577,7 @@ "is_entrypoint": false }, "getOrderType()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getOrderType()", "comments": [], "annotations": [], @@ -67286,9 +65587,10 @@ "thrown_exceptions": [], "declaration": "public String getOrderType()", "parameters": [], - "code": "{\n return orderType;\n}", + "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, @@ -67304,7 +65606,7 @@ "is_entrypoint": false }, "(Integer, String, Date, Date, BigDecimal, String, double, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)", "comments": [], "annotations": [], @@ -67395,9 +65697,10 @@ "end_column": 25 } ], - "code": "{\n this.orderID = orderID;\n this.completionDate = completeDate;\n this.openDate = openDate;\n this.orderFee = orderFee;\n this.orderType = orderType;\n this.orderStatus = orderStatus;\n this.quantity = quantity;\n this.symbol = symbol;\n}", + "code": "{\n this.orderID = orderID;\n this.completionDate = completeDate;\n this.openDate = openDate;\n this.orderFee = orderFee;\n this.orderType = orderType;\n this.orderStatus = orderStatus;\n this.quantity = quantity;\n this.symbol = symbol;\n }", "start_line": 33, "end_line": 43, + "code_start_line": 34, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -67425,7 +65728,7 @@ "is_entrypoint": false }, "setOrderID(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setOrderID(Integer)", "comments": [], "annotations": [], @@ -67446,9 +65749,10 @@ "end_column": 42 } ], - "code": "{\n this.orderID = orderID;\n}", + "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, @@ -67466,7 +65770,7 @@ "is_entrypoint": false }, "setQuantity(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setQuantity(double)", "comments": [], "annotations": [], @@ -67487,9 +65791,10 @@ "end_column": 43 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -67505,7 +65810,7 @@ "is_entrypoint": false }, "getTotal()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "getTotal()", "comments": [], "annotations": [], @@ -67515,9 +65820,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getTotal()", "parameters": [], - "code": "{\n return total;\n}", + "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, @@ -67533,7 +65839,7 @@ "is_entrypoint": false }, "setTotal(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setTotal(BigDecimal)", "comments": [], "annotations": [], @@ -67554,9 +65860,10 @@ "end_column": 41 } ], - "code": "{\n this.total = total;\n}", + "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, @@ -67574,7 +65881,7 @@ "is_entrypoint": false }, "setCompletionDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.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/jsf/OrderData.java", "signature": "setCompletionDate(Date)", "comments": [], "annotations": [], @@ -67595,9 +65902,10 @@ "end_column": 53 } ], - "code": "{\n this.completionDate = completionDate;\n}", + "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, @@ -67835,8 +66143,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -67993,7 +66301,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "signature": "init(ServletConfig)", "comments": [ { @@ -68027,9 +66335,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -68112,7 +66421,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -68157,9 +66466,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 65, "end_line": 68, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -68198,7 +66508,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "signature": "getServletInfo()", "comments": [ { @@ -68219,9 +66529,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic JDBC Read using a prepared statment, makes use of TradeJDBC class\";\n}", + "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, @@ -68235,7 +66546,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.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/PingJDBCRead.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -68296,9 +66607,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n StringBuffer output = new StringBuffer(100);\n try {\n // TradeJDBC uses prepared statements so I am going to make use of\n // it's code.\n symbol = TradeConfig.rndSymbol();\n QuoteDataBean quoteData = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n quoteData = trade.getQuote(symbol);\n }\n output.append(\"Ping JDBC Read w/ Prepared Stmt.\" + \"
Ping JDBC Read w/ Prep Stmt:
Init time : \" + initTime);\n hitCount++;\n output.append(\"
Hit Count: \" + hitCount);\n output.append(\"
Quote Information

: \" + quoteData.toHTML());\n output.append(\"
\");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingJDBCRead w/ Prep Stmt -- error getting quote for symbol\", symbol);\n res.sendError(500, \"PingJDBCRead Exception caught: \" + e.toString());\n }\n}", + "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n StringBuffer output = new StringBuffer(100);\n\n try {\n // TradeJDBC uses prepared statements so I am going to make use of\n // it's code.\n \n symbol = TradeConfig.rndSymbol();\n\n QuoteDataBean quoteData = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n quoteData = trade.getQuote(symbol);\n }\n\n output.append(\"Ping JDBC Read w/ Prepared Stmt.\"\n + \"
Ping JDBC Read w/ Prep Stmt:
Init time : \"\n + initTime);\n hitCount++;\n output.append(\"
Hit Count: \" + hitCount);\n output.append(\"
Quote Information

: \" + quoteData.toHTML());\n output.append(\"
\");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingJDBCRead w/ Prep Stmt -- error getting quote for symbol\", symbol);\n res.sendError(500, \"PingJDBCRead Exception caught: \" + e.toString());\n }\n\n }", "start_line": 79, "end_line": 111, + "code_start_line": 80, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -68883,8 +67195,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -68939,7 +67251,7 @@ "nested_type_declarations": [], "callable_declarations": { "onClose(Session, CloseReason)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.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/PingWebSocketBinary.java", "signature": "onClose(Session, CloseReason)", "comments": [], "annotations": [ @@ -68972,9 +67284,10 @@ "end_column": 59 } ], - "code": "{\n try {\n if (session.isOpen()) {\n session.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n}", + "code": "{\n\n try {\n if (session.isOpen()) {\n session.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "start_line": 53, "end_line": 63, + "code_start_line": 54, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -69052,7 +67365,7 @@ "is_entrypoint": false }, "ping(ByteBuffer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.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/PingWebSocketBinary.java", "signature": "ping(ByteBuffer)", "comments": [], "annotations": [ @@ -69075,9 +67388,10 @@ "end_column": 36 } ], - "code": "{\n currentSession.getAsyncRemote().sendBinary(data);\n}", + "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, @@ -69138,7 +67452,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.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/PingWebSocketBinary.java", "signature": "onError(Throwable)", "comments": [], "annotations": [ @@ -69161,9 +67475,10 @@ "end_column": 35 } ], - "code": "{\n t.printStackTrace();\n}", + "code": "{\n t.printStackTrace();\n }", "start_line": 48, "end_line": 51, + "code_start_line": 49, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -69199,7 +67514,7 @@ "is_entrypoint": false }, "onOpen(Session, EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.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/PingWebSocketBinary.java", "signature": "onOpen(Session, EndpointConfig)", "comments": [], "annotations": [ @@ -69234,9 +67549,10 @@ "end_column": 63 } ], - "code": "{\n currentSession = session;\n}", + "code": "{\n currentSession = session;\n }", "start_line": 38, "end_line": 41, + "code_start_line": 39, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -69283,8 +67599,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -69322,7 +67638,7 @@ "nested_type_declarations": [], "callable_declarations": { "(BigDecimal, BigDecimal, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "QuoteData(BigDecimal, BigDecimal, String)", "comments": [], "annotations": [], @@ -69363,9 +67679,10 @@ "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}", + "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, @@ -69455,7 +67772,7 @@ "is_entrypoint": false }, "setRange(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setRange(String)", "comments": [], "annotations": [], @@ -69476,9 +67793,10 @@ "end_column": 37 } ], - "code": "{\n this.range = range;\n}", + "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, @@ -69496,7 +67814,7 @@ "is_entrypoint": false }, "getGainHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getGainHTML()", "comments": [], "annotations": [], @@ -69506,9 +67824,10 @@ "thrown_exceptions": [], "declaration": "public String getGainHTML()", "parameters": [], - "code": "{\n return FinancialUtils.printGainHTML(gain);\n}", + "code": "{\n return FinancialUtils.printGainHTML(gain);\n }", "start_line": 149, "end_line": 151, + "code_start_line": 149, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -69548,7 +67867,7 @@ "is_entrypoint": false }, "setSymbol(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setSymbol(String)", "comments": [], "annotations": [], @@ -69569,9 +67888,10 @@ "end_column": 39 } ], - "code": "{\n this.symbol = symbol;\n}", + "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, @@ -69589,7 +67909,7 @@ "is_entrypoint": false }, "setHigh(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setHigh(BigDecimal)", "comments": [], "annotations": [], @@ -69610,9 +67930,10 @@ "end_column": 39 } ], - "code": "{\n this.high = high;\n}", + "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, @@ -69630,7 +67951,7 @@ "is_entrypoint": false }, "setGainPercent(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setGainPercent(BigDecimal)", "comments": [], "annotations": [], @@ -69651,9 +67972,10 @@ "end_column": 53 } ], - "code": "{\n this.gainPercent = gainPercent.setScale(2);\n}", + "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, @@ -69695,7 +68017,7 @@ "is_entrypoint": false }, "getChangeHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getChangeHTML()", "comments": [], "annotations": [], @@ -69705,9 +68027,10 @@ "thrown_exceptions": [], "declaration": "public String getChangeHTML()", "parameters": [], - "code": "{\n String htmlString, arrow;\n if (change < 0.0) {\n htmlString = \"\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"\";\n arrow = \"arrowup.gif\";\n }\n DecimalFormat df = new DecimalFormat(\"####0.00\");\n htmlString += df.format(change) + \"\";\n return htmlString;\n}", + "code": "{\n String htmlString, arrow;\n if (change < 0.0) {\n htmlString = \"\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"\";\n arrow = \"arrowup.gif\";\n }\n DecimalFormat df = new DecimalFormat(\"####0.00\");\n\n htmlString += df.format(change) + \"\";\n return htmlString;\n }", "start_line": 153, "end_line": 166, + "code_start_line": 153, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -69825,7 +68148,7 @@ "is_entrypoint": false }, "getCompanyName()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getCompanyName()", "comments": [], "annotations": [], @@ -69835,9 +68158,10 @@ "thrown_exceptions": [], "declaration": "public String getCompanyName()", "parameters": [], - "code": "{\n return companyName;\n}", + "code": "{\n return companyName;\n }", "start_line": 101, "end_line": 103, + "code_start_line": 101, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -69853,7 +68177,7 @@ "is_entrypoint": false }, "setGain(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setGain(BigDecimal)", "comments": [], "annotations": [], @@ -69874,9 +68198,10 @@ "end_column": 39 } ], - "code": "{\n this.gain = gain;\n}", + "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, @@ -69894,7 +68219,7 @@ "is_entrypoint": false }, "setVolume(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setVolume(double)", "comments": [], "annotations": [], @@ -69915,9 +68240,10 @@ "end_column": 39 } ], - "code": "{\n this.volume = volume;\n}", + "code": "{\n this.volume = volume;\n }", "start_line": 105, "end_line": 107, + "code_start_line": 105, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -69933,7 +68259,7 @@ "is_entrypoint": false }, "getRange()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getRange()", "comments": [], "annotations": [], @@ -69943,9 +68269,10 @@ "thrown_exceptions": [], "declaration": "public String getRange()", "parameters": [], - "code": "{\n return range;\n}", + "code": "{\n return range;\n }", "start_line": 125, "end_line": 127, + "code_start_line": 125, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -69961,7 +68288,7 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getPrice()", "comments": [], "annotations": [], @@ -69971,9 +68298,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getPrice()", "parameters": [], - "code": "{\n return price;\n}", + "code": "{\n return price;\n }", "start_line": 69, "end_line": 71, + "code_start_line": 69, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -69989,7 +68317,7 @@ "is_entrypoint": false }, "setOpen(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setOpen(BigDecimal)", "comments": [], "annotations": [], @@ -70010,9 +68338,10 @@ "end_column": 39 } ], - "code": "{\n this.open = open;\n}", + "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, @@ -70030,7 +68359,7 @@ "is_entrypoint": false }, "getGain()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getGain()", "comments": [], "annotations": [], @@ -70040,9 +68369,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getGain()", "parameters": [], - "code": "{\n return gain;\n}", + "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, @@ -70058,7 +68388,7 @@ "is_entrypoint": false }, "setChange(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setChange(double)", "comments": [], "annotations": [], @@ -70079,9 +68409,10 @@ "end_column": 39 } ], - "code": "{\n this.change = change;\n}", + "code": "{\n this.change = change;\n }", "start_line": 113, "end_line": 115, + "code_start_line": 113, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -70097,7 +68428,7 @@ "is_entrypoint": false }, "getOpen()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getOpen()", "comments": [], "annotations": [], @@ -70107,9 +68438,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOpen()", "parameters": [], - "code": "{\n return open;\n}", + "code": "{\n return open;\n }", "start_line": 77, "end_line": 79, + "code_start_line": 77, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -70125,7 +68457,7 @@ "is_entrypoint": false }, "getLow()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getLow()", "comments": [], "annotations": [], @@ -70135,9 +68467,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getLow()", "parameters": [], - "code": "{\n return low;\n}", + "code": "{\n return low;\n }", "start_line": 93, "end_line": 95, + "code_start_line": 93, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -70153,7 +68486,7 @@ "is_entrypoint": false }, "getChange()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getChange()", "comments": [], "annotations": [], @@ -70163,9 +68496,10 @@ "thrown_exceptions": [], "declaration": "public double getChange()", "parameters": [], - "code": "{\n return change;\n}", + "code": "{\n return change;\n }", "start_line": 117, "end_line": 119, + "code_start_line": 117, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -70181,7 +68515,7 @@ "is_entrypoint": false }, "getHigh()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getHigh()", "comments": [], "annotations": [], @@ -70191,9 +68525,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getHigh()", "parameters": [], - "code": "{\n return high;\n}", + "code": "{\n return high;\n }", "start_line": 85, "end_line": 87, + "code_start_line": 85, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -70209,7 +68544,7 @@ "is_entrypoint": false }, "setPrice(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setPrice(BigDecimal)", "comments": [], "annotations": [], @@ -70230,9 +68565,10 @@ "end_column": 41 } ], - "code": "{\n this.price = price;\n}", + "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, @@ -70250,7 +68586,7 @@ "is_entrypoint": false }, "getSymbol()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getSymbol()", "comments": [], "annotations": [], @@ -70260,9 +68596,10 @@ "thrown_exceptions": [], "declaration": "public String getSymbol()", "parameters": [], - "code": "{\n return symbol;\n}", + "code": "{\n return symbol;\n }", "start_line": 61, "end_line": 63, + "code_start_line": 61, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -70278,7 +68615,7 @@ "is_entrypoint": false }, "getGainPercent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getGainPercent()", "comments": [], "annotations": [], @@ -70288,9 +68625,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getGainPercent()", "parameters": [], - "code": "{\n return gainPercent;\n}", + "code": "{\n return gainPercent;\n }", "start_line": 133, "end_line": 135, + "code_start_line": 133, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -70306,7 +68644,7 @@ "is_entrypoint": false }, "getGainPercentHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getGainPercentHTML()", "comments": [], "annotations": [], @@ -70316,9 +68654,10 @@ "thrown_exceptions": [], "declaration": "public String getGainPercentHTML()", "parameters": [], - "code": "{\n return FinancialUtils.printGainPercentHTML(gainPercent);\n}", + "code": "{\n return FinancialUtils.printGainPercentHTML(gainPercent);\n }", "start_line": 145, "end_line": 147, + "code_start_line": 145, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -70358,7 +68697,7 @@ "is_entrypoint": false }, "setLow(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setLow(BigDecimal)", "comments": [], "annotations": [], @@ -70379,9 +68718,10 @@ "end_column": 37 } ], - "code": "{\n this.low = low;\n}", + "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, @@ -70399,7 +68739,7 @@ "is_entrypoint": false }, "(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)", "comments": [], "annotations": [], @@ -70490,9 +68830,10 @@ "end_column": 152 } ], - "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}", + "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": true, @@ -70658,7 +68999,7 @@ "is_entrypoint": false }, "setCompanyName(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "setCompanyName(String)", "comments": [], "annotations": [], @@ -70679,9 +69020,10 @@ "end_column": 49 } ], - "code": "{\n this.companyName = companyName;\n}", + "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, @@ -70699,7 +69041,7 @@ "is_entrypoint": false }, "getVolume()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.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/jsf/QuoteData.java", "signature": "getVolume()", "comments": [], "annotations": [], @@ -70709,9 +69051,10 @@ "thrown_exceptions": [], "declaration": "public double getVolume()", "parameters": [], - "code": "{\n return volume;\n}", + "code": "{\n return volume;\n }", "start_line": 109, "end_line": 111, + "code_start_line": 109, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -70968,8 +69311,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -71083,7 +69426,7 @@ "nested_type_declarations": [], "callable_declarations": { "onWritePossible()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "onWritePossible()", "comments": [], "annotations": [], @@ -71095,9 +69438,10 @@ ], "declaration": "public void onWritePossible() throws IOException", "parameters": [], - "code": "{\n while (queue.peek() != null && output.isReady()) {\n String data = (String) queue.poll();\n output.print(data);\n }\n if (queue.peek() == null) {\n output.println(\"\");\n ac.complete();\n }\n}", + "code": "{\n \n while (queue.peek() != null && output.isReady()) {\n String data = (String) queue.poll();\n output.print(data);\n }\n \n if (queue.peek() == null) {\n output.println(\"\");\n ac.complete();\n }\n }", "start_line": 129, "end_line": 140, + "code_start_line": 129, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -71287,7 +69631,7 @@ "is_entrypoint": false }, "(ServletOutputStream, Queue, AsyncContext)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "WriteListenerImpl(ServletOutputStream, Queue, AsyncContext)", "comments": [ { @@ -71335,9 +69679,10 @@ "end_column": 82 } ], - "code": "{\n output = sos;\n queue = q;\n ac = c;\n try {\n output.print(\"Ping Servlet 3.1 Async\" + \"

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

Hit Count: \" + ++hitCount + \"
Data Received: \");\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n}", + "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, @@ -71407,7 +69752,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "onError(Throwable)", "comments": [], "annotations": [], @@ -71430,9 +69775,10 @@ "end_column": 45 } ], - "code": "{\n ac.complete();\n t.printStackTrace();\n}", + "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, @@ -71629,7 +69975,7 @@ ], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "init(ServletConfig)", "comments": [ { @@ -71663,9 +70009,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -71748,7 +70095,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -71793,9 +70140,10 @@ "end_column": 70 } ], - "code": "{\n res.setContentType(\"text/html\");\n AsyncContext ac = req.startAsync();\n ServletInputStream input = req.getInputStream();\n ReadListener readListener = new ReadListenerImpl(input, res, ac);\n input.setReadListener(readListener);\n}", + "code": "{\n res.setContentType(\"text/html\");\n \n AsyncContext ac = req.startAsync();\n \n ServletInputStream input = req.getInputStream();\n ReadListener readListener = new ReadListenerImpl(input, res, ac);\n input.setReadListener(readListener);\n }", "start_line": 60, "end_line": 69, + "code_start_line": 61, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -71979,7 +70327,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "getServletInfo()", "comments": [ { @@ -72000,9 +70348,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "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, @@ -72016,7 +70365,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -72061,9 +70410,10 @@ "end_column": 69 } ], - "code": "{\n doPost(req, res);\n}", + "code": "{\n doPost(req,res); \n }", "start_line": 159, "end_line": 162, + "code_start_line": 160, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -72196,7 +70546,7 @@ "nested_type_declarations": [], "callable_declarations": { "(ServletInputStream, HttpServletResponse, AsyncContext)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "ReadListenerImpl(ServletInputStream, HttpServletResponse, AsyncContext)", "comments": [], "annotations": [], @@ -72235,9 +70585,10 @@ "end_column": 85 } ], - "code": "{\n input = in;\n res = r;\n ac = c;\n}", + "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, @@ -72252,10 +70603,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "onAllDataRead()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "onAllDataRead()", "comments": [], "annotations": [], @@ -72267,9 +70618,10 @@ ], "declaration": "public void onAllDataRead() throws IOException", "parameters": [], - "code": "{\n ServletOutputStream output = res.getOutputStream();\n WriteListener writeListener = new WriteListenerImpl(output, queue, ac);\n output.setWriteListener(writeListener);\n}", + "code": "{\n ServletOutputStream output = res.getOutputStream();\n WriteListener writeListener = new WriteListenerImpl(output, queue, ac);\n output.setWriteListener(writeListener);\n }", "start_line": 96, "end_line": 100, + "code_start_line": 96, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -72395,7 +70747,7 @@ "is_entrypoint": false }, "onDataAvailable()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "onDataAvailable()", "comments": [], "annotations": [], @@ -72407,9 +70759,10 @@ ], "declaration": "public void onDataAvailable() throws IOException", "parameters": [], - "code": "{\n StringBuilder sb = new StringBuilder();\n int len = -1;\n byte[] b = new byte[1024];\n while (input.isReady() && (len = input.read(b)) != -1) {\n String data = new String(b, 0, len);\n sb.append(data);\n }\n queue.add(sb.toString());\n}", + "code": "{\n StringBuilder sb = new StringBuilder();\n int len = -1;\n byte b[] = new byte[1024];\n \n while (input.isReady() && (len = input.read(b)) != -1) {\n String data = new String(b, 0, len);\n sb.append(data);\n }\n queue.add(sb.toString());\n \n }", "start_line": 83, "end_line": 94, + "code_start_line": 83, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -72656,7 +71009,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.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/PingServlet31Async.java", "signature": "onError(Throwable)", "comments": [], "annotations": [], @@ -72679,9 +71032,10 @@ "end_column": 45 } ], - "code": "{\n ac.complete();\n t.printStackTrace();\n}", + "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, @@ -72834,44 +71188,44 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", "comments": [ { "content": "\n * @see Filter#init(FilterConfig)\n ", - "start_line": 53, - "end_line": 55, + "start_line": 52, + "end_line": 54, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)\n ", - "start_line": 63, - "end_line": 65, + "start_line": 62, + "end_line": 64, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " wrapper ", - "start_line": 105, - "end_line": 105, + "start_line": 102, + "end_line": 102, "start_column": 29, "end_column": 41, "is_javadoc": false }, { "content": "\n * @see Filter#destroy()\n ", - "start_line": 108, - "end_line": 110, + "start_line": 105, + "end_line": 107, "start_column": 3, "end_column": 5, "is_javadoc": true }, { - "content": "\n * (C) Copyright IBM Corporation 2015, 2022.\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 ", + "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, @@ -72895,7 +71249,6 @@ "javax.servlet.http.HttpServletRequest", "com.ibm.websphere.samples.daytrader.interfaces.Trace", "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "com.ibm.websphere.samples.daytrader.util.Diagnostics", "com.ibm.websphere.samples.daytrader.util.Log", "com.ibm.websphere.samples.daytrader.util.TradeConfig", "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" @@ -72914,32 +71267,32 @@ "comments": [ { "content": "\n * @see Filter#init(FilterConfig)\n ", - "start_line": 53, - "end_line": 55, + "start_line": 52, + "end_line": 54, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)\n ", - "start_line": 63, - "end_line": 65, + "start_line": 62, + "end_line": 64, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " wrapper ", - "start_line": 105, - "end_line": 105, + "start_line": 102, + "end_line": 102, "start_column": 29, "end_column": 41, "is_javadoc": false }, { "content": "\n * @see Filter#destroy()\n ", - "start_line": 108, - "end_line": 110, + "start_line": 105, + "end_line": 107, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -72959,13 +71312,13 @@ "nested_type_declarations": [], "callable_declarations": { "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "signature": "destroy()", "comments": [ { "content": "\n * @see Filter#destroy()\n ", - "start_line": 108, - "end_line": 110, + "start_line": 105, + "end_line": 107, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -72980,9 +71333,10 @@ "thrown_exceptions": [], "declaration": "public void destroy()", "parameters": [], - "code": "{\n this.filterConfig = null;\n}", - "start_line": 111, - "end_line": 114, + "code": "{\n this.filterConfig = null;\n }", + "start_line": 108, + "end_line": 111, + "code_start_line": 109, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -73000,7 +71354,7 @@ "is_entrypoint": false }, "init(FilterConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "signature": "init(FilterConfig)", "comments": [], "annotations": [ @@ -73019,15 +71373,16 @@ "name": "filterConfig", "annotations": [], "modifiers": [], - "start_line": 59, - "end_line": 59, + "start_line": 58, + "end_line": 58, "start_column": 20, "end_column": 44 } ], - "code": "{\n this.filterConfig = filterConfig;\n}", - "start_line": 58, - "end_line": 61, + "code": "{\n this.filterConfig = filterConfig;\n }", + "start_line": 57, + "end_line": 60, + "code_start_line": 58, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -73045,7 +71400,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "signature": "OrdersAlertFilter(Instance)", "comments": [], "annotations": [ @@ -73064,15 +71419,16 @@ "@Any" ], "modifiers": [], - "start_line": 47, - "end_line": 47, + "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": 46, - "end_line": 50, + "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, @@ -73097,9 +71453,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 49, + "start_line": 48, "start_column": 19, - "end_line": 49, + "end_line": 48, "end_column": 133 }, { @@ -73120,9 +71476,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 49, + "start_line": 48, "start_column": 19, - "end_line": 49, + "end_line": 48, "end_column": 127 }, { @@ -73141,9 +71497,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 49, + "start_line": 48, "start_column": 63, - "end_line": 49, + "end_line": 48, "end_column": 95 }, { @@ -73162,9 +71518,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 49, + "start_line": 48, "start_column": 97, - "end_line": 49, + "end_line": 48, "end_column": 124 }, { @@ -73185,9 +71541,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 49, + "start_line": 48, "start_column": 35, - "end_line": 49, + "end_line": 48, "end_column": 126 } ], @@ -73198,21 +71554,21 @@ "is_entrypoint": false }, "doFilter(ServletRequest, ServletResponse, FilterChain)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.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/servlet/OrdersAlertFilter.java", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "comments": [ { "content": " wrapper ", - "start_line": 105, - "end_line": 105, + "start_line": 102, + "end_line": 102, "start_column": 29, "end_column": 41, "is_javadoc": false }, { "content": "\n * @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)\n ", - "start_line": 63, - "end_line": 65, + "start_line": 62, + "end_line": 64, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -73235,8 +71591,8 @@ "name": "req", "annotations": [], "modifiers": [], - "start_line": 67, - "end_line": 67, + "start_line": 66, + "end_line": 66, "start_column": 24, "end_column": 41 }, @@ -73245,8 +71601,8 @@ "name": "resp", "annotations": [], "modifiers": [], - "start_line": 67, - "end_line": 67, + "start_line": 66, + "end_line": 66, "start_column": 44, "end_column": 63 }, @@ -73255,15 +71611,16 @@ "name": "chain", "annotations": [], "modifiers": [], - "start_line": 67, - "end_line": 67, + "start_line": 66, + "end_line": 66, "start_column": 66, "end_column": 82 } ], - "code": "{\n if (filterConfig == null) {\n return;\n }\n if (TradeConfig.getDisplayOrderAlerts() == true) {\n try {\n String action = req.getParameter(\"action\");\n if (action != null) {\n action = action.trim();\n if ((action.length() > 0) && (!action.equals(\"logout\"))) {\n String userID;\n if (action.equals(\"login\")) {\n userID = req.getParameter(\"uid\");\n } else {\n userID = (String) ((HttpServletRequest) req).getSession().getAttribute(\"uidBean\");\n }\n if ((userID != null) && (userID.trim().length() > 0)) {\n Collection closedOrders = tradeAction.getClosedOrders(userID);\n if ((closedOrders != null) && (closedOrders.size() > 0)) {\n req.setAttribute(\"closedOrders\", closedOrders);\n }\n if (Log.doTrace()) {\n Log.printCollection(\"OrderAlertFilter: userID=\" + userID + \" closedOrders=\", closedOrders);\n }\n }\n }\n }\n } catch (Exception e) {\n Log.error(e, \"OrdersAlertFilter - Error checking for closedOrders\");\n }\n }\n Diagnostics.checkDiagnostics();\n chain.doFilter(req, resp);\n}", - "start_line": 66, - "end_line": 106, + "code": "{\n if (filterConfig == null) {\n return;\n }\n\n if (TradeConfig.getDisplayOrderAlerts() == true) {\n\n try {\n String action = req.getParameter(\"action\");\n if (action != null) {\n action = action.trim();\n if ((action.length() > 0) && (!action.equals(\"logout\"))) {\n String userID;\n if (action.equals(\"login\")) {\n userID = req.getParameter(\"uid\");\n } else {\n userID = (String) ((HttpServletRequest) req).getSession().getAttribute(\"uidBean\");\n }\n\n if ((userID != null) && (userID.trim().length() > 0)) {\n\n Collection closedOrders = tradeAction.getClosedOrders(userID);\n if ((closedOrders != null) && (closedOrders.size() > 0)) {\n req.setAttribute(\"closedOrders\", closedOrders);\n }\n if (Log.doTrace()) {\n Log.printCollection(\"OrderAlertFilter: userID=\" + userID + \" closedOrders=\", closedOrders);\n }\n }\n }\n }\n } catch (Exception e) {\n Log.error(e, \"OrdersAlertFilter - Error checking for closedOrders\");\n }\n }\n\n chain.doFilter(req, resp/* wrapper */);\n }", + "start_line": 65, + "end_line": 103, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -73292,9 +71649,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 72, + "start_line": 71, "start_column": 9, - "end_line": 72, + "end_line": 71, "end_column": 43 }, { @@ -73315,9 +71672,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 75, + "start_line": 74, "start_column": 25, - "end_line": 75, + "end_line": 74, "end_column": 50 }, { @@ -73336,9 +71693,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 77, + "start_line": 76, "start_column": 20, - "end_line": 77, + "end_line": 76, "end_column": 32 }, { @@ -73357,9 +71714,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 78, + "start_line": 77, "start_column": 16, - "end_line": 78, + "end_line": 77, "end_column": 30 }, { @@ -73380,9 +71737,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 78, + "start_line": 77, "start_column": 42, - "end_line": 78, + "end_line": 77, "end_column": 64 }, { @@ -73403,9 +71760,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 80, + "start_line": 79, "start_column": 17, - "end_line": 80, + "end_line": 79, "end_column": 38 }, { @@ -73426,9 +71783,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 81, + "start_line": 80, "start_column": 24, - "end_line": 81, + "end_line": 80, "end_column": 46 }, { @@ -73449,9 +71806,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 83, + "start_line": 82, "start_column": 33, - "end_line": 83, + "end_line": 82, "end_column": 95 }, { @@ -73470,9 +71827,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 83, + "start_line": 82, "start_column": 33, - "end_line": 83, + "end_line": 82, "end_column": 71 }, { @@ -73491,9 +71848,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 86, + "start_line": 85, "start_column": 38, - "end_line": 86, + "end_line": 85, "end_column": 59 }, { @@ -73512,9 +71869,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 86, + "start_line": 85, "start_column": 38, - "end_line": 86, + "end_line": 85, "end_column": 50 }, { @@ -73535,9 +71892,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 88, + "start_line": 87, "start_column": 44, - "end_line": 88, + "end_line": 87, "end_column": 78 }, { @@ -73556,9 +71913,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 89, + "start_line": 88, "start_column": 46, - "end_line": 89, + "end_line": 88, "end_column": 64 }, { @@ -73580,9 +71937,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 90, + "start_line": 89, "start_column": 17, - "end_line": 90, + "end_line": 89, "end_column": 62 }, { @@ -73601,9 +71958,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 92, + "start_line": 91, "start_column": 19, - "end_line": 92, + "end_line": 91, "end_column": 31 }, { @@ -73625,9 +71982,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 93, + "start_line": 92, "start_column": 17, - "end_line": 93, + "end_line": 92, "end_column": 106 }, { @@ -73649,32 +72006,11 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 99, + "start_line": 98, "start_column": 9, - "end_line": 99, + "end_line": 98, "end_column": 75 }, - { - "method_name": "checkDiagnostics", - "comment": null, - "receiver_expr": "Diagnostics", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "argument_types": [], - "return_type": "", - "callee_signature": "checkDiagnostics()", - "is_public": true, - "is_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": 5, - "end_line": 103, - "end_column": 34 - }, { "method_name": "doFilter", "comment": null, @@ -73694,9 +72030,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 105, + "start_line": 102, "start_column": 5, - "end_line": 105, + "end_line": 102, "end_column": 42 } ], @@ -73713,9 +72049,9 @@ "name": "action", "type": "java.lang.String", "initializer": "req.getParameter(\"action\")", - "start_line": 75, + "start_line": 74, "start_column": 16, - "end_line": 75, + "end_line": 74, "end_column": 50 }, { @@ -73730,9 +72066,9 @@ "name": "userID", "type": "java.lang.String", "initializer": "", - "start_line": 79, + "start_line": 78, "start_column": 20, - "end_line": 79, + "end_line": 78, "end_column": 25 }, { @@ -73747,9 +72083,9 @@ "name": "closedOrders", "type": "java.util.Collection", "initializer": "tradeAction.getClosedOrders(userID)", - "start_line": 88, + "start_line": 87, "start_column": 29, - "end_line": 88, + "end_line": 87, "end_column": 78 } ], @@ -73771,8 +72107,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "start_line": 44, - "end_line": 44, + "start_line": 43, + "end_line": 43, "variables": [ "tradeAction" ], @@ -73784,16 +72120,16 @@ { "comment": { "content": "\n * @see Filter#init(FilterConfig)\n ", - "start_line": 53, - "end_line": 55, + "start_line": 52, + "end_line": 54, "start_column": 3, "end_column": 5, "is_javadoc": false }, "name": null, "type": "javax.servlet.FilterConfig", - "start_line": 56, - "end_line": 56, + "start_line": 55, + "end_line": 55, "variables": [ "filterConfig" ], @@ -73811,8 +72147,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.impl.direct", "comments": [ { @@ -73831,394 +72167,386 @@ "end_column": 47, "is_javadoc": false }, - { - "content": "@Resource(lookup = \"java:/jdbc/TradeDataSource\")", - "start_line": 58, - "end_line": 58, - "start_column": 3, - "end_column": 52, - "is_javadoc": false - }, { "content": "\n * Re-create the DayTrader db tables and populate them OR just populate a DayTrader DB, logging to the provided output stream\n ", - "start_line": 83, - "end_line": 85, + "start_line": 82, + "end_line": 84, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " end of createDBTables", - "start_line": 129, - "end_line": 129, + "start_line": 128, + "end_line": 128, "start_column": 7, "end_column": 30, "is_javadoc": false }, { "content": " Give up gracefully after 10 errors", - "start_line": 88, - "end_line": 88, + "start_line": 87, + "end_line": 87, "start_column": 25, "end_column": 61, "is_javadoc": false }, { "content": " TradeStatistics.statisticsEnabled=false; // disable statistics", - "start_line": 90, - "end_line": 90, + "start_line": 89, + "end_line": 89, "start_column": 5, "end_column": 71, "is_javadoc": false }, { "content": "out.println(\"
TradeBuildDB: **** warPath= \"+warPath+\" ****
\");", - "start_line": 95, - "end_line": 95, + "start_line": 94, + "end_line": 94, "start_column": 7, "end_column": 84, "is_javadoc": false }, { "content": "parse the DDL file and fill the SQL commands into a buffer", - "start_line": 101, - "end_line": 101, + "start_line": 100, + "end_line": 100, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": " send the sql commands buffer to drop and recreate the Daytrader tables", - "start_line": 114, - "end_line": 114, + "start_line": 113, + "end_line": 113, "start_column": 7, "end_column": 79, "is_javadoc": false }, { "content": "Attempt to delete all of the Trade users and Trade Quotes first", - "start_line": 132, - "end_line": 132, + "start_line": 131, + "end_line": 131, "start_column": 5, "end_column": 69, "is_javadoc": false }, { "content": "reset for user registrations", - "start_line": 161, - "end_line": 161, + "start_line": 160, + "end_line": 160, "start_column": 21, "end_column": 50, "is_javadoc": false }, { "content": " Registration is a formal operation in Trade 2.", - "start_line": 163, - "end_line": 163, + "start_line": 162, + "end_line": 162, "start_column": 5, "end_column": 53, "is_javadoc": false }, { "content": " uid:0 starts with a cool million.", - "start_line": 172, - "end_line": 172, + "start_line": 171, + "end_line": 171, "start_column": 35, "end_column": 70, "is_javadoc": false }, { "content": " end-if", - "start_line": 197, - "end_line": 197, + "start_line": 196, + "end_line": 196, "start_column": 11, "end_column": 19, "is_javadoc": false }, { "content": " end-if", - "start_line": 180, - "end_line": 180, + "start_line": 179, + "end_line": 179, "start_column": 13, "end_column": 21, "is_javadoc": false }, { "content": " end-if", - "start_line": 193, - "end_line": 193, + "start_line": 192, + "end_line": 192, "start_column": 13, "end_column": 21, "is_javadoc": false }, { "content": " 0-MAX_HOLDING (inclusive), avg holdings per user = (MAX-0)/2", - "start_line": 182, - "end_line": 182, + "start_line": 181, + "end_line": 181, "start_column": 81, "end_column": 143, "is_javadoc": false }, { "content": " end-for", - "start_line": 189, - "end_line": 189, + "start_line": 188, + "end_line": 188, "start_column": 13, "end_column": 22, "is_javadoc": false }, { "content": " end-for", - "start_line": 207, - "end_line": 207, + "start_line": 206, + "end_line": 206, "start_column": 7, "end_column": 16, "is_javadoc": false }, { "content": " Clear MDB Statistics", - "start_line": 212, - "end_line": 212, + "start_line": 211, + "end_line": 211, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " commit(conn);", - "start_line": 224, - "end_line": 224, + "start_line": 223, + "end_line": 223, "start_column": 11, "end_column": 26, "is_javadoc": false }, { "content": " Ignore DROP statements as tables won't always exist.", - "start_line": 226, - "end_line": 226, + "start_line": 225, + "end_line": 225, "start_column": 11, "end_column": 65, "is_javadoc": false }, { "content": " Reset Trade", - "start_line": 248, - "end_line": 248, + "start_line": 247, + "end_line": 247, "start_column": 5, "end_column": 18, "is_javadoc": false }, { "content": " Clear MDB Statistics", - "start_line": 246, - "end_line": 246, + "start_line": 245, + "end_line": 245, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " Count and Delete newly registered users (users w/ id that start", - "start_line": 296, - "end_line": 296, + "start_line": 294, + "end_line": 294, "start_column": 7, "end_column": 72, "is_javadoc": false }, { "content": " Update logoutcount and loginCount back to zero", - "start_line": 345, - "end_line": 345, + "start_line": 343, + "end_line": 343, "start_column": 7, "end_column": 55, "is_javadoc": false }, { "content": " FUTURE: - DuplicateKeyException - For now, don't start at", - "start_line": 276, - "end_line": 276, + "start_line": 274, + "end_line": 274, "start_column": 11, "end_column": 70, "is_javadoc": false }, { "content": " zero as KeySequenceDirect and KeySequenceBean will still", - "start_line": 277, - "end_line": 277, + "start_line": 275, + "end_line": 275, "start_column": 11, "end_column": 69, "is_javadoc": false }, { "content": " give out", - "start_line": 278, - "end_line": 278, + "start_line": 276, + "end_line": 276, "start_column": 11, "end_column": 21, "is_javadoc": false }, { "content": " the cached Block and then notice this change. Better", - "start_line": 279, - "end_line": 279, + "start_line": 277, + "end_line": 277, "start_column": 11, "end_column": 65, "is_javadoc": false }, { "content": " solution is", - "start_line": 280, - "end_line": 280, + "start_line": 278, + "end_line": 278, "start_column": 11, "end_column": 24, "is_javadoc": false }, { "content": " to signal both classes to drop their cached blocks", - "start_line": 281, - "end_line": 281, + "start_line": 279, + "end_line": 279, "start_column": 11, "end_column": 63, "is_javadoc": false }, { "content": " stmt = getStatement(conn, \"delete from keygenejb\");", - "start_line": 282, - "end_line": 282, + "start_line": 280, + "end_line": 280, "start_column": 11, "end_column": 64, "is_javadoc": false }, { "content": " stmt.executeUpdate();", - "start_line": 283, - "end_line": 283, + "start_line": 281, + "end_line": 281, "start_column": 11, "end_column": 34, "is_javadoc": false }, { "content": " stmt.close();", - "start_line": 284, - "end_line": 284, + "start_line": 282, + "end_line": 282, "start_column": 11, "end_column": 26, "is_javadoc": false }, { "content": " \"ru:%\":", - "start_line": 297, - "end_line": 297, + "start_line": 295, + "end_line": 295, "start_column": 7, "end_column": 16, "is_javadoc": false }, { "content": " Count of trade users", - "start_line": 316, - "end_line": 316, + "start_line": 314, + "end_line": 314, "start_column": 7, "end_column": 29, "is_javadoc": false }, { "content": " Count of trade stocks", - "start_line": 325, - "end_line": 325, + "start_line": 323, + "end_line": 323, "start_column": 7, "end_column": 30, "is_javadoc": false }, { "content": " Count of trade users login, logout", - "start_line": 333, - "end_line": 333, + "start_line": 331, + "end_line": 331, "start_column": 7, "end_column": 43, "is_javadoc": false }, { "content": " count holdings for trade users", - "start_line": 351, - "end_line": 351, + "start_line": 349, + "end_line": 349, "start_column": 7, "end_column": 39, "is_javadoc": false }, { "content": " count orders for trade users", - "start_line": 362, - "end_line": 362, + "start_line": 360, + "end_line": 360, "start_column": 7, "end_column": 37, "is_javadoc": false }, { "content": " count orders by type for trade users", - "start_line": 373, - "end_line": 373, + "start_line": 371, + "end_line": 371, "start_column": 7, "end_column": 45, "is_javadoc": false }, { "content": " count orders by type for trade users", - "start_line": 384, - "end_line": 384, + "start_line": 382, + "end_line": 382, "start_column": 7, "end_column": 45, "is_javadoc": false }, { "content": " Delete cancelled orders", - "start_line": 395, - "end_line": 395, + "start_line": 393, + "end_line": 393, "start_column": 7, "end_column": 32, "is_javadoc": false }, { "content": " count open orders by type for trade users", - "start_line": 402, - "end_line": 402, + "start_line": 400, + "end_line": 400, "start_column": 7, "end_column": 50, "is_javadoc": false }, { "content": " Delete orders for holding which have been purchased and sold", - "start_line": 413, - "end_line": 413, + "start_line": 411, + "end_line": 411, "start_column": 7, "end_column": 69, "is_javadoc": false }, { "content": "initial capacity 30 assuming we have 30 ddl-sql statements to read", - "start_line": 440, - "end_line": 440, + "start_line": 438, + "end_line": 438, "start_column": 62, "end_column": 129, "is_javadoc": false }, { "content": " Empty lines or lines starting with \"#\" are ignored", - "start_line": 448, - "end_line": 448, + "start_line": 446, + "end_line": 446, "start_column": 56, "end_column": 108, "is_javadoc": false }, { "content": " reached end of sql statement", - "start_line": 451, - "end_line": 451, + "start_line": 449, + "end_line": 449, "start_column": 34, "end_column": 64, "is_javadoc": false }, { "content": "remove the semicolon", - "start_line": 452, - "end_line": 452, + "start_line": 450, + "end_line": 450, "start_column": 42, "end_column": 63, "is_javadoc": false @@ -74278,394 +72606,386 @@ "end_column": 47, "is_javadoc": false }, - { - "content": "@Resource(lookup = \"java:/jdbc/TradeDataSource\")", - "start_line": 58, - "end_line": 58, - "start_column": 3, - "end_column": 52, - "is_javadoc": false - }, { "content": "\n * Re-create the DayTrader db tables and populate them OR just populate a DayTrader DB, logging to the provided output stream\n ", - "start_line": 83, - "end_line": 85, + "start_line": 82, + "end_line": 84, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " end of createDBTables", - "start_line": 129, - "end_line": 129, + "start_line": 128, + "end_line": 128, "start_column": 7, "end_column": 30, "is_javadoc": false }, { "content": " Give up gracefully after 10 errors", - "start_line": 88, - "end_line": 88, + "start_line": 87, + "end_line": 87, "start_column": 25, "end_column": 61, "is_javadoc": false }, { "content": " TradeStatistics.statisticsEnabled=false; // disable statistics", - "start_line": 90, - "end_line": 90, + "start_line": 89, + "end_line": 89, "start_column": 5, "end_column": 71, "is_javadoc": false }, { "content": "out.println(\"
TradeBuildDB: **** warPath= \"+warPath+\" ****
\");", - "start_line": 95, - "end_line": 95, + "start_line": 94, + "end_line": 94, "start_column": 7, "end_column": 84, "is_javadoc": false }, { "content": "parse the DDL file and fill the SQL commands into a buffer", - "start_line": 101, - "end_line": 101, + "start_line": 100, + "end_line": 100, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": " send the sql commands buffer to drop and recreate the Daytrader tables", - "start_line": 114, - "end_line": 114, + "start_line": 113, + "end_line": 113, "start_column": 7, "end_column": 79, "is_javadoc": false }, { "content": "Attempt to delete all of the Trade users and Trade Quotes first", - "start_line": 132, - "end_line": 132, + "start_line": 131, + "end_line": 131, "start_column": 5, "end_column": 69, "is_javadoc": false }, { "content": "reset for user registrations", - "start_line": 161, - "end_line": 161, + "start_line": 160, + "end_line": 160, "start_column": 21, "end_column": 50, "is_javadoc": false }, { "content": " Registration is a formal operation in Trade 2.", - "start_line": 163, - "end_line": 163, + "start_line": 162, + "end_line": 162, "start_column": 5, "end_column": 53, "is_javadoc": false }, { "content": " uid:0 starts with a cool million.", - "start_line": 172, - "end_line": 172, + "start_line": 171, + "end_line": 171, "start_column": 35, "end_column": 70, "is_javadoc": false }, { "content": " end-if", - "start_line": 197, - "end_line": 197, + "start_line": 196, + "end_line": 196, "start_column": 11, "end_column": 19, "is_javadoc": false }, { "content": " end-if", - "start_line": 180, - "end_line": 180, + "start_line": 179, + "end_line": 179, "start_column": 13, "end_column": 21, "is_javadoc": false }, { "content": " end-if", - "start_line": 193, - "end_line": 193, + "start_line": 192, + "end_line": 192, "start_column": 13, "end_column": 21, "is_javadoc": false }, { "content": " 0-MAX_HOLDING (inclusive), avg holdings per user = (MAX-0)/2", - "start_line": 182, - "end_line": 182, + "start_line": 181, + "end_line": 181, "start_column": 81, "end_column": 143, "is_javadoc": false }, { "content": " end-for", - "start_line": 189, - "end_line": 189, + "start_line": 188, + "end_line": 188, "start_column": 13, "end_column": 22, "is_javadoc": false }, { "content": " end-for", - "start_line": 207, - "end_line": 207, + "start_line": 206, + "end_line": 206, "start_column": 7, "end_column": 16, "is_javadoc": false }, { "content": " Clear MDB Statistics", - "start_line": 212, - "end_line": 212, + "start_line": 211, + "end_line": 211, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " commit(conn);", - "start_line": 224, - "end_line": 224, + "start_line": 223, + "end_line": 223, "start_column": 11, "end_column": 26, "is_javadoc": false }, { "content": " Ignore DROP statements as tables won't always exist.", - "start_line": 226, - "end_line": 226, + "start_line": 225, + "end_line": 225, "start_column": 11, "end_column": 65, "is_javadoc": false }, { "content": " Reset Trade", - "start_line": 248, - "end_line": 248, + "start_line": 247, + "end_line": 247, "start_column": 5, "end_column": 18, "is_javadoc": false }, { "content": " Clear MDB Statistics", - "start_line": 246, - "end_line": 246, + "start_line": 245, + "end_line": 245, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " Count and Delete newly registered users (users w/ id that start", - "start_line": 296, - "end_line": 296, + "start_line": 294, + "end_line": 294, "start_column": 7, "end_column": 72, "is_javadoc": false }, { "content": " Update logoutcount and loginCount back to zero", - "start_line": 345, - "end_line": 345, + "start_line": 343, + "end_line": 343, "start_column": 7, "end_column": 55, "is_javadoc": false }, { "content": " FUTURE: - DuplicateKeyException - For now, don't start at", - "start_line": 276, - "end_line": 276, + "start_line": 274, + "end_line": 274, "start_column": 11, "end_column": 70, "is_javadoc": false }, { "content": " zero as KeySequenceDirect and KeySequenceBean will still", - "start_line": 277, - "end_line": 277, + "start_line": 275, + "end_line": 275, "start_column": 11, "end_column": 69, "is_javadoc": false }, { "content": " give out", - "start_line": 278, - "end_line": 278, + "start_line": 276, + "end_line": 276, "start_column": 11, "end_column": 21, "is_javadoc": false }, { "content": " the cached Block and then notice this change. Better", - "start_line": 279, - "end_line": 279, + "start_line": 277, + "end_line": 277, "start_column": 11, "end_column": 65, "is_javadoc": false }, { "content": " solution is", - "start_line": 280, - "end_line": 280, + "start_line": 278, + "end_line": 278, "start_column": 11, "end_column": 24, "is_javadoc": false }, { "content": " to signal both classes to drop their cached blocks", - "start_line": 281, - "end_line": 281, + "start_line": 279, + "end_line": 279, "start_column": 11, "end_column": 63, "is_javadoc": false }, { "content": " stmt = getStatement(conn, \"delete from keygenejb\");", - "start_line": 282, - "end_line": 282, + "start_line": 280, + "end_line": 280, "start_column": 11, "end_column": 64, "is_javadoc": false }, { "content": " stmt.executeUpdate();", - "start_line": 283, - "end_line": 283, + "start_line": 281, + "end_line": 281, "start_column": 11, "end_column": 34, "is_javadoc": false }, { "content": " stmt.close();", - "start_line": 284, - "end_line": 284, + "start_line": 282, + "end_line": 282, "start_column": 11, "end_column": 26, "is_javadoc": false }, { "content": " \"ru:%\":", - "start_line": 297, - "end_line": 297, + "start_line": 295, + "end_line": 295, "start_column": 7, "end_column": 16, "is_javadoc": false }, { "content": " Count of trade users", - "start_line": 316, - "end_line": 316, + "start_line": 314, + "end_line": 314, "start_column": 7, "end_column": 29, "is_javadoc": false }, { "content": " Count of trade stocks", - "start_line": 325, - "end_line": 325, + "start_line": 323, + "end_line": 323, "start_column": 7, "end_column": 30, "is_javadoc": false }, { "content": " Count of trade users login, logout", - "start_line": 333, - "end_line": 333, + "start_line": 331, + "end_line": 331, "start_column": 7, "end_column": 43, "is_javadoc": false }, { "content": " count holdings for trade users", - "start_line": 351, - "end_line": 351, + "start_line": 349, + "end_line": 349, "start_column": 7, "end_column": 39, "is_javadoc": false }, { "content": " count orders for trade users", - "start_line": 362, - "end_line": 362, + "start_line": 360, + "end_line": 360, "start_column": 7, "end_column": 37, "is_javadoc": false }, { "content": " count orders by type for trade users", - "start_line": 373, - "end_line": 373, + "start_line": 371, + "end_line": 371, "start_column": 7, "end_column": 45, "is_javadoc": false }, { "content": " count orders by type for trade users", - "start_line": 384, - "end_line": 384, + "start_line": 382, + "end_line": 382, "start_column": 7, "end_column": 45, "is_javadoc": false }, { "content": " Delete cancelled orders", - "start_line": 395, - "end_line": 395, + "start_line": 393, + "end_line": 393, "start_column": 7, "end_column": 32, "is_javadoc": false }, { "content": " count open orders by type for trade users", - "start_line": 402, - "end_line": 402, + "start_line": 400, + "end_line": 400, "start_column": 7, "end_column": 50, "is_javadoc": false }, { "content": " Delete orders for holding which have been purchased and sold", - "start_line": 413, - "end_line": 413, + "start_line": 411, + "end_line": 411, "start_column": 7, "end_column": 69, "is_javadoc": false }, { "content": "initial capacity 30 assuming we have 30 ddl-sql statements to read", - "start_line": 440, - "end_line": 440, + "start_line": 438, + "end_line": 438, "start_column": 62, "end_column": 129, "is_javadoc": false }, { "content": " Empty lines or lines starting with \"#\" are ignored", - "start_line": 448, - "end_line": 448, + "start_line": 446, + "end_line": 446, "start_column": 56, "end_column": 108, "is_javadoc": false }, { "content": " reached end of sql statement", - "start_line": 451, - "end_line": 451, + "start_line": 449, + "end_line": 449, "start_column": 34, "end_column": 64, "is_javadoc": false }, { "content": "remove the semicolon", - "start_line": 452, - "end_line": 452, + "start_line": 450, + "end_line": 450, "start_column": 42, "end_column": 63, "is_javadoc": false @@ -74692,197 +73012,197 @@ "nested_type_declarations": [], "callable_declarations": { "resetTrade(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "signature": "resetTrade(boolean)", "comments": [ { "content": " Reset Trade", - "start_line": 248, - "end_line": 248, + "start_line": 247, + "end_line": 247, "start_column": 5, "end_column": 18, "is_javadoc": false }, { "content": " Clear MDB Statistics", - "start_line": 246, - "end_line": 246, + "start_line": 245, + "end_line": 245, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " Count and Delete newly registered users (users w/ id that start", - "start_line": 296, - "end_line": 296, + "start_line": 294, + "end_line": 294, "start_column": 7, "end_column": 72, "is_javadoc": false }, { "content": " Update logoutcount and loginCount back to zero", - "start_line": 345, - "end_line": 345, + "start_line": 343, + "end_line": 343, "start_column": 7, "end_column": 55, "is_javadoc": false }, { "content": " FUTURE: - DuplicateKeyException - For now, don't start at", - "start_line": 276, - "end_line": 276, + "start_line": 274, + "end_line": 274, "start_column": 11, "end_column": 70, "is_javadoc": false }, { "content": " zero as KeySequenceDirect and KeySequenceBean will still", - "start_line": 277, - "end_line": 277, + "start_line": 275, + "end_line": 275, "start_column": 11, "end_column": 69, "is_javadoc": false }, { "content": " give out", - "start_line": 278, - "end_line": 278, + "start_line": 276, + "end_line": 276, "start_column": 11, "end_column": 21, "is_javadoc": false }, { "content": " the cached Block and then notice this change. Better", - "start_line": 279, - "end_line": 279, + "start_line": 277, + "end_line": 277, "start_column": 11, "end_column": 65, "is_javadoc": false }, { "content": " solution is", - "start_line": 280, - "end_line": 280, + "start_line": 278, + "end_line": 278, "start_column": 11, "end_column": 24, "is_javadoc": false }, { "content": " to signal both classes to drop their cached blocks", - "start_line": 281, - "end_line": 281, + "start_line": 279, + "end_line": 279, "start_column": 11, "end_column": 63, "is_javadoc": false }, { "content": " stmt = getStatement(conn, \"delete from keygenejb\");", - "start_line": 282, - "end_line": 282, + "start_line": 280, + "end_line": 280, "start_column": 11, "end_column": 64, "is_javadoc": false }, { "content": " stmt.executeUpdate();", - "start_line": 283, - "end_line": 283, + "start_line": 281, + "end_line": 281, "start_column": 11, "end_column": 34, "is_javadoc": false }, { "content": " stmt.close();", - "start_line": 284, - "end_line": 284, + "start_line": 282, + "end_line": 282, "start_column": 11, "end_column": 26, "is_javadoc": false }, { "content": " \"ru:%\":", - "start_line": 297, - "end_line": 297, + "start_line": 295, + "end_line": 295, "start_column": 7, "end_column": 16, "is_javadoc": false }, { "content": " Count of trade users", - "start_line": 316, - "end_line": 316, + "start_line": 314, + "end_line": 314, "start_column": 7, "end_column": 29, "is_javadoc": false }, { "content": " Count of trade stocks", - "start_line": 325, - "end_line": 325, + "start_line": 323, + "end_line": 323, "start_column": 7, "end_column": 30, "is_javadoc": false }, { "content": " Count of trade users login, logout", - "start_line": 333, - "end_line": 333, + "start_line": 331, + "end_line": 331, "start_column": 7, "end_column": 43, "is_javadoc": false }, { "content": " count holdings for trade users", - "start_line": 351, - "end_line": 351, + "start_line": 349, + "end_line": 349, "start_column": 7, "end_column": 39, "is_javadoc": false }, { "content": " count orders for trade users", - "start_line": 362, - "end_line": 362, + "start_line": 360, + "end_line": 360, "start_column": 7, "end_column": 37, "is_javadoc": false }, { "content": " count orders by type for trade users", - "start_line": 373, - "end_line": 373, + "start_line": 371, + "end_line": 371, "start_column": 7, "end_column": 45, "is_javadoc": false }, { "content": " count orders by type for trade users", - "start_line": 384, - "end_line": 384, + "start_line": 382, + "end_line": 382, "start_column": 7, "end_column": 45, "is_javadoc": false }, { "content": " Delete cancelled orders", - "start_line": 395, - "end_line": 395, + "start_line": 393, + "end_line": 393, "start_column": 7, "end_column": 32, "is_javadoc": false }, { "content": " count open orders by type for trade users", - "start_line": 402, - "end_line": 402, + "start_line": 400, + "end_line": 400, "start_column": 7, "end_column": 50, "is_javadoc": false }, { "content": " Delete orders for holding which have been purchased and sold", - "start_line": 413, - "end_line": 413, + "start_line": 411, + "end_line": 411, "start_column": 7, "end_column": 69, "is_javadoc": false @@ -74902,15 +73222,16 @@ "name": "deleteAll", "annotations": [], "modifiers": [], - "start_line": 245, - "end_line": 245, + "start_line": 244, + "end_line": 244, "start_column": 38, "end_column": 54 } ], - "code": "{\n // Clear MDB Statistics\n MDBStats.getInstance().reset();\n // Reset Trade\n RunStatsDataBean runStatsData = new RunStatsDataBean();\n Connection conn = null;\n try {\n conn = datasource.getConnection();\n conn.setAutoCommit(false);\n PreparedStatement stmt = null;\n ResultSet rs = null;\n if (deleteAll) {\n try {\n stmt = getStatement(conn, \"delete from quoteejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from accountejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from accountprofileejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from holdingejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from orderejb\");\n stmt.executeUpdate();\n stmt.close();\n // FUTURE: - DuplicateKeyException - For now, don't start at\n // zero as KeySequenceDirect and KeySequenceBean will still\n // give out\n // the cached Block and then notice this change. Better\n // solution is\n // to signal both classes to drop their cached blocks\n // stmt = getStatement(conn, \"delete from keygenejb\");\n // stmt.executeUpdate();\n // stmt.close();\n conn.commit();\n } catch (Exception e) {\n Log.error(e, \"TradeDirect:resetTrade(deleteAll) -- Error deleting Trade users and stock from the Trade database\");\n }\n return runStatsData;\n }\n stmt = getStatement(conn, \"delete from holdingejb where holdingejb.account_accountid is null\");\n stmt.executeUpdate();\n stmt.close();\n // Count and Delete newly registered users (users w/ id that start\n // \"ru:%\":\n stmt = getStatement(conn, \"delete from accountprofileejb where userid like 'ru:%'\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from orderejb where account_accountid in (select accountid from accountejb a where a.profile_userid like 'ru:%')\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from holdingejb where account_accountid in (select accountid from accountejb a where a.profile_userid like 'ru:%')\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from accountejb where profile_userid like 'ru:%'\");\n int newUserCount = stmt.executeUpdate();\n runStatsData.setNewUserCount(newUserCount);\n stmt.close();\n // Count of trade users\n stmt = getStatement(conn, \"select count(accountid) as \\\"tradeUserCount\\\" from accountejb a where a.profile_userid like 'uid:%'\");\n rs = stmt.executeQuery();\n rs.next();\n int tradeUserCount = rs.getInt(\"tradeUserCount\");\n runStatsData.setTradeUserCount(tradeUserCount);\n stmt.close();\n rs.close();\n // Count of trade stocks\n stmt = getStatement(conn, \"select count(symbol) as \\\"tradeStockCount\\\" from quoteejb a where a.symbol like 's:%'\");\n rs = stmt.executeQuery();\n rs.next();\n int tradeStockCount = rs.getInt(\"tradeStockCount\");\n runStatsData.setTradeStockCount(tradeStockCount);\n stmt.close();\n // Count of trade users login, logout\n stmt = getStatement(conn, \"select sum(loginCount) as \\\"sumLoginCount\\\", sum(logoutCount) as \\\"sumLogoutCount\\\" from accountejb a where a.profile_userID like 'uid:%'\");\n rs = stmt.executeQuery();\n rs.next();\n int sumLoginCount = rs.getInt(\"sumLoginCount\");\n int sumLogoutCount = rs.getInt(\"sumLogoutCount\");\n runStatsData.setSumLoginCount(sumLoginCount);\n runStatsData.setSumLogoutCount(sumLogoutCount);\n stmt.close();\n rs.close();\n // Update logoutcount and loginCount back to zero\n stmt = getStatement(conn, \"update accountejb set logoutCount=0,loginCount=0 where profile_userID like 'uid:%'\");\n stmt.executeUpdate();\n stmt.close();\n // count holdings for trade users\n stmt = getStatement(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:%')\");\n rs = stmt.executeQuery();\n rs.next();\n int holdingCount = rs.getInt(\"holdingCount\");\n runStatsData.setHoldingCount(holdingCount);\n stmt.close();\n rs.close();\n // count orders for trade users\n stmt = getStatement(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:%')\");\n rs = stmt.executeQuery();\n rs.next();\n int orderCount = rs.getInt(\"orderCount\");\n runStatsData.setOrderCount(orderCount);\n stmt.close();\n rs.close();\n // count orders by type for trade users\n stmt = getStatement(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')\");\n rs = stmt.executeQuery();\n rs.next();\n int buyOrderCount = rs.getInt(\"buyOrderCount\");\n runStatsData.setBuyOrderCount(buyOrderCount);\n stmt.close();\n rs.close();\n // count orders by type for trade users\n stmt = getStatement(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')\");\n rs = stmt.executeQuery();\n rs.next();\n int sellOrderCount = rs.getInt(\"sellOrderCount\");\n runStatsData.setSellOrderCount(sellOrderCount);\n stmt.close();\n rs.close();\n // Delete cancelled orders\n stmt = getStatement(conn, \"delete from orderejb where orderStatus='cancelled'\");\n int cancelledOrderCount = stmt.executeUpdate();\n runStatsData.setCancelledOrderCount(cancelledOrderCount);\n stmt.close();\n rs.close();\n // count open orders by type for trade users\n stmt = getStatement(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')\");\n rs = stmt.executeQuery();\n rs.next();\n int openOrderCount = rs.getInt(\"openOrderCount\");\n runStatsData.setOpenOrderCount(openOrderCount);\n stmt.close();\n rs.close();\n // Delete orders for holding which have been purchased and sold\n stmt = getStatement(conn, \"delete from orderejb where holding_holdingid is null\");\n int deletedOrderCount = stmt.executeUpdate();\n runStatsData.setDeletedOrderCount(deletedOrderCount);\n stmt.close();\n rs.close();\n conn.commit();\n System.out.println(\"TradeDirect:reset Run stats data\\n\\n\" + runStatsData);\n } catch (Exception e) {\n Log.error(e, \"Failed to reset Trade\");\n conn.rollback();\n throw e;\n } finally {\n conn.close();\n }\n return runStatsData;\n}", - "start_line": 245, - "end_line": 432, + "code": "{\n // Clear MDB Statistics\n MDBStats.getInstance().reset();\n // Reset Trade\n\n RunStatsDataBean runStatsData = new RunStatsDataBean();\n Connection conn = null;\n try {\n\n conn = datasource.getConnection();\n PreparedStatement stmt = null;\n ResultSet rs = null;\n\n if (deleteAll) {\n try {\n stmt = getStatement(conn, \"delete from quoteejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from accountejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from accountprofileejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from holdingejb\");\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, \"delete from orderejb\");\n stmt.executeUpdate();\n stmt.close();\n // FUTURE: - DuplicateKeyException - For now, don't start at\n // zero as KeySequenceDirect and KeySequenceBean will still\n // give out\n // the cached Block and then notice this change. Better\n // solution is\n // to signal both classes to drop their cached blocks\n // stmt = getStatement(conn, \"delete from keygenejb\");\n // stmt.executeUpdate();\n // stmt.close();\n conn.commit();\n } catch (Exception e) {\n Log.error(e, \"TradeDirect:resetTrade(deleteAll) -- Error deleting Trade users and stock from the Trade database\");\n }\n return runStatsData;\n }\n\n stmt = getStatement(conn, \"delete from holdingejb where holdingejb.account_accountid is null\");\n stmt.executeUpdate();\n stmt.close();\n\n // Count and Delete newly registered users (users w/ id that start\n // \"ru:%\":\n stmt = getStatement(conn, \"delete from accountprofileejb where userid like 'ru:%'\");\n stmt.executeUpdate();\n stmt.close();\n\n stmt = getStatement(conn, \"delete from orderejb where account_accountid in (select accountid from accountejb a where a.profile_userid like 'ru:%')\");\n stmt.executeUpdate();\n stmt.close();\n\n stmt = getStatement(conn,\n \"delete from holdingejb where account_accountid in (select accountid from accountejb a where a.profile_userid like 'ru:%')\");\n stmt.executeUpdate();\n stmt.close();\n\n stmt = getStatement(conn, \"delete from accountejb where profile_userid like 'ru:%'\");\n int newUserCount = stmt.executeUpdate();\n runStatsData.setNewUserCount(newUserCount);\n stmt.close();\n\n // Count of trade users\n stmt = getStatement(conn, \"select count(accountid) as \\\"tradeUserCount\\\" from accountejb a where a.profile_userid like 'uid:%'\");\n rs = stmt.executeQuery();\n rs.next();\n int tradeUserCount = rs.getInt(\"tradeUserCount\");\n runStatsData.setTradeUserCount(tradeUserCount);\n stmt.close();\n\n rs.close();\n // Count of trade stocks\n stmt = getStatement(conn, \"select count(symbol) as \\\"tradeStockCount\\\" from quoteejb a where a.symbol like 's:%'\");\n rs = stmt.executeQuery();\n rs.next();\n int tradeStockCount = rs.getInt(\"tradeStockCount\");\n runStatsData.setTradeStockCount(tradeStockCount);\n stmt.close();\n\n // Count of trade users login, logout\n stmt = getStatement(conn,\n \"select sum(loginCount) as \\\"sumLoginCount\\\", sum(logoutCount) as \\\"sumLogoutCount\\\" from accountejb a where a.profile_userID like 'uid:%'\");\n rs = stmt.executeQuery();\n rs.next();\n int sumLoginCount = rs.getInt(\"sumLoginCount\");\n int sumLogoutCount = rs.getInt(\"sumLogoutCount\");\n runStatsData.setSumLoginCount(sumLoginCount);\n runStatsData.setSumLogoutCount(sumLogoutCount);\n stmt.close();\n\n rs.close();\n // Update logoutcount and loginCount back to zero\n\n stmt = getStatement(conn, \"update accountejb set logoutCount=0,loginCount=0 where profile_userID like 'uid:%'\");\n stmt.executeUpdate();\n stmt.close();\n\n // count holdings for trade users\n stmt = getStatement(conn, \"select count(holdingid) as \\\"holdingCount\\\" from holdingejb h where h.account_accountid in \"\n + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')\");\n\n rs = stmt.executeQuery();\n rs.next();\n int holdingCount = rs.getInt(\"holdingCount\");\n runStatsData.setHoldingCount(holdingCount);\n stmt.close();\n rs.close();\n\n // count orders for trade users\n stmt = getStatement(conn, \"select count(orderid) as \\\"orderCount\\\" from orderejb o where o.account_accountid in \"\n + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')\");\n\n rs = stmt.executeQuery();\n rs.next();\n int orderCount = rs.getInt(\"orderCount\");\n runStatsData.setOrderCount(orderCount);\n stmt.close();\n rs.close();\n\n // count orders by type for trade users\n stmt = getStatement(conn, \"select count(orderid) \\\"buyOrderCount\\\"from orderejb o where (o.account_accountid in \"\n + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')) AND \" + \" (o.orderType='buy')\");\n\n rs = stmt.executeQuery();\n rs.next();\n int buyOrderCount = rs.getInt(\"buyOrderCount\");\n runStatsData.setBuyOrderCount(buyOrderCount);\n stmt.close();\n rs.close();\n\n // count orders by type for trade users\n stmt = getStatement(conn, \"select count(orderid) \\\"sellOrderCount\\\"from orderejb o where (o.account_accountid in \"\n + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')) AND \" + \" (o.orderType='sell')\");\n\n rs = stmt.executeQuery();\n rs.next();\n int sellOrderCount = rs.getInt(\"sellOrderCount\");\n runStatsData.setSellOrderCount(sellOrderCount);\n stmt.close();\n rs.close();\n\n // Delete cancelled orders\n stmt = getStatement(conn, \"delete from orderejb where orderStatus='cancelled'\");\n int cancelledOrderCount = stmt.executeUpdate();\n runStatsData.setCancelledOrderCount(cancelledOrderCount);\n stmt.close();\n rs.close();\n\n // count open orders by type for trade users\n stmt = getStatement(conn, \"select count(orderid) \\\"openOrderCount\\\"from orderejb o where (o.account_accountid in \"\n + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')) AND \" + \" (o.orderStatus='open')\");\n\n rs = stmt.executeQuery();\n rs.next();\n int openOrderCount = rs.getInt(\"openOrderCount\");\n runStatsData.setOpenOrderCount(openOrderCount);\n\n stmt.close();\n rs.close();\n // Delete orders for holding which have been purchased and sold\n stmt = getStatement(conn, \"delete from orderejb where holding_holdingid is null\");\n int deletedOrderCount = stmt.executeUpdate();\n runStatsData.setDeletedOrderCount(deletedOrderCount);\n stmt.close();\n rs.close();\n\n conn.commit();\n\n System.out.println(\"TradeDirect:reset Run stats data\\n\\n\" + runStatsData);\n } catch (Exception e) {\n Log.error(e, \"Failed to reset Trade\");\n conn.rollback();\n throw e;\n } finally {\n conn.close();\n }\n return runStatsData;\n\n }", + "start_line": 244, + "end_line": 430, + "code_start_line": 244, "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "is_implicit": false, "is_constructor": false, @@ -74930,8 +73251,8 @@ "method_name": "reset", "comment": { "content": " Clear MDB Statistics", - "start_line": 246, - "end_line": 246, + "start_line": 245, + "end_line": 245, "start_column": 5, "end_column": 27, "is_javadoc": false @@ -74949,9 +73270,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 247, + "start_line": 246, "start_column": 5, - "end_line": 247, + "end_line": 246, "end_column": 34 }, { @@ -74970,9 +73291,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 247, + "start_line": 246, "start_column": 5, - "end_line": 247, + "end_line": 246, "end_column": 26 }, { @@ -74991,34 +73312,11 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 254, + "start_line": 253, "start_column": 14, - "end_line": 254, + "end_line": 253, "end_column": 39 }, - { - "method_name": "setAutoCommit", - "comment": null, - "receiver_expr": "conn", - "receiver_type": "java.sql.Connection", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setAutoCommit(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": 255, - "start_column": 7, - "end_line": 255, - "end_column": 31 - }, { "method_name": "getStatement", "comment": null, @@ -75038,9 +73336,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 261, + "start_line": 259, "start_column": 18, - "end_line": 261, + "end_line": 259, "end_column": 59 }, { @@ -75059,9 +73357,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 262, + "start_line": 260, "start_column": 11, - "end_line": 262, + "end_line": 260, "end_column": 30 }, { @@ -75080,9 +73378,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 263, + "start_line": 261, "start_column": 11, - "end_line": 263, + "end_line": 261, "end_column": 22 }, { @@ -75104,9 +73402,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 264, + "start_line": 262, "start_column": 18, - "end_line": 264, + "end_line": 262, "end_column": 61 }, { @@ -75125,9 +73423,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 265, + "start_line": 263, "start_column": 11, - "end_line": 265, + "end_line": 263, "end_column": 30 }, { @@ -75146,9 +73444,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 266, + "start_line": 264, "start_column": 11, - "end_line": 266, + "end_line": 264, "end_column": 22 }, { @@ -75170,9 +73468,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 267, + "start_line": 265, "start_column": 18, - "end_line": 267, + "end_line": 265, "end_column": 68 }, { @@ -75191,9 +73489,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 268, + "start_line": 266, "start_column": 11, - "end_line": 268, + "end_line": 266, "end_column": 30 }, { @@ -75212,9 +73510,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 269, + "start_line": 267, "start_column": 11, - "end_line": 269, + "end_line": 267, "end_column": 22 }, { @@ -75236,9 +73534,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 270, + "start_line": 268, "start_column": 18, - "end_line": 270, + "end_line": 268, "end_column": 61 }, { @@ -75257,9 +73555,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 271, + "start_line": 269, "start_column": 11, - "end_line": 271, + "end_line": 269, "end_column": 30 }, { @@ -75278,9 +73576,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 272, + "start_line": 270, "start_column": 11, - "end_line": 272, + "end_line": 270, "end_column": 22 }, { @@ -75302,9 +73600,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 273, + "start_line": 271, "start_column": 18, - "end_line": 273, + "end_line": 271, "end_column": 59 }, { @@ -75323,9 +73621,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 274, + "start_line": 272, "start_column": 11, - "end_line": 274, + "end_line": 272, "end_column": 30 }, { @@ -75344,17 +73642,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 275, + "start_line": 273, "start_column": 11, - "end_line": 275, + "end_line": 273, "end_column": 22 }, { "method_name": "commit", "comment": { "content": " stmt.close();", - "start_line": 284, - "end_line": 284, + "start_line": 282, + "end_line": 282, "start_column": 11, "end_column": 26, "is_javadoc": false @@ -75372,9 +73670,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 285, + "start_line": 283, "start_column": 11, - "end_line": 285, + "end_line": 283, "end_column": 23 }, { @@ -75396,9 +73694,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 287, + "start_line": 285, "start_column": 11, - "end_line": 287, + "end_line": 285, "end_column": 123 }, { @@ -75420,9 +73718,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 292, + "start_line": 290, "start_column": 14, - "end_line": 292, + "end_line": 290, "end_column": 100 }, { @@ -75441,9 +73739,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 293, + "start_line": 291, "start_column": 7, - "end_line": 293, + "end_line": 291, "end_column": 26 }, { @@ -75462,9 +73760,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 294, + "start_line": 292, "start_column": 7, - "end_line": 294, + "end_line": 292, "end_column": 18 }, { @@ -75486,9 +73784,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 298, + "start_line": 296, "start_column": 14, - "end_line": 298, + "end_line": 296, "end_column": 89 }, { @@ -75507,9 +73805,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 299, + "start_line": 297, "start_column": 7, - "end_line": 299, + "end_line": 297, "end_column": 26 }, { @@ -75528,9 +73826,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 300, + "start_line": 298, "start_column": 7, - "end_line": 300, + "end_line": 298, "end_column": 18 }, { @@ -75552,9 +73850,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 302, + "start_line": 300, "start_column": 14, - "end_line": 302, + "end_line": 300, "end_column": 154 }, { @@ -75573,9 +73871,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 303, + "start_line": 301, "start_column": 7, - "end_line": 303, + "end_line": 301, "end_column": 26 }, { @@ -75594,9 +73892,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 304, + "start_line": 302, "start_column": 7, - "end_line": 304, + "end_line": 302, "end_column": 18 }, { @@ -75618,9 +73916,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 306, + "start_line": 304, "start_column": 14, - "end_line": 307, + "end_line": 305, "end_column": 134 }, { @@ -75639,9 +73937,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 308, + "start_line": 306, "start_column": 7, - "end_line": 308, + "end_line": 306, "end_column": 26 }, { @@ -75660,9 +73958,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 309, + "start_line": 307, "start_column": 7, - "end_line": 309, + "end_line": 307, "end_column": 18 }, { @@ -75684,9 +73982,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 311, + "start_line": 309, "start_column": 14, - "end_line": 311, + "end_line": 309, "end_column": 90 }, { @@ -75705,9 +74003,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 312, + "start_line": 310, "start_column": 26, - "end_line": 312, + "end_line": 310, "end_column": 45 }, { @@ -75728,9 +74026,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 313, + "start_line": 311, "start_column": 7, - "end_line": 313, + "end_line": 311, "end_column": 48 }, { @@ -75749,9 +74047,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 314, + "start_line": 312, "start_column": 7, - "end_line": 314, + "end_line": 312, "end_column": 18 }, { @@ -75773,9 +74071,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, + "start_line": 315, "start_column": 14, - "end_line": 317, + "end_line": 315, "end_column": 134 }, { @@ -75794,9 +74092,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, + "start_line": 316, "start_column": 12, - "end_line": 318, + "end_line": 316, "end_column": 30 }, { @@ -75815,9 +74113,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 319, + "start_line": 317, "start_column": 7, - "end_line": 319, + "end_line": 317, "end_column": 15 }, { @@ -75838,9 +74136,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, + "start_line": 318, "start_column": 28, - "end_line": 320, + "end_line": 318, "end_column": 54 }, { @@ -75861,9 +74159,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 321, + "start_line": 319, "start_column": 7, - "end_line": 321, + "end_line": 319, "end_column": 52 }, { @@ -75882,9 +74180,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 322, + "start_line": 320, "start_column": 7, - "end_line": 322, + "end_line": 320, "end_column": 18 }, { @@ -75903,9 +74201,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 324, + "start_line": 322, "start_column": 7, - "end_line": 324, + "end_line": 322, "end_column": 16 }, { @@ -75927,9 +74225,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 326, + "start_line": 324, "start_column": 14, - "end_line": 326, + "end_line": 324, "end_column": 120 }, { @@ -75948,9 +74246,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 327, + "start_line": 325, "start_column": 12, - "end_line": 327, + "end_line": 325, "end_column": 30 }, { @@ -75969,9 +74267,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 328, + "start_line": 326, "start_column": 7, - "end_line": 328, + "end_line": 326, "end_column": 15 }, { @@ -75992,9 +74290,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 329, + "start_line": 327, "start_column": 29, - "end_line": 329, + "end_line": 327, "end_column": 56 }, { @@ -76015,9 +74313,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 330, + "start_line": 328, "start_column": 7, - "end_line": 330, + "end_line": 328, "end_column": 54 }, { @@ -76036,9 +74334,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 331, + "start_line": 329, "start_column": 7, - "end_line": 331, + "end_line": 329, "end_column": 18 }, { @@ -76060,9 +74358,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 334, + "start_line": 332, "start_column": 14, - "end_line": 335, + "end_line": 333, "end_column": 151 }, { @@ -76081,9 +74379,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 336, + "start_line": 334, "start_column": 12, - "end_line": 336, + "end_line": 334, "end_column": 30 }, { @@ -76102,9 +74400,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 337, + "start_line": 335, "start_column": 7, - "end_line": 337, + "end_line": 335, "end_column": 15 }, { @@ -76125,9 +74423,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 338, + "start_line": 336, "start_column": 27, - "end_line": 338, + "end_line": 336, "end_column": 52 }, { @@ -76148,9 +74446,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 339, + "start_line": 337, "start_column": 28, - "end_line": 339, + "end_line": 337, "end_column": 54 }, { @@ -76171,9 +74469,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 340, + "start_line": 338, "start_column": 7, - "end_line": 340, + "end_line": 338, "end_column": 50 }, { @@ -76194,9 +74492,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 341, + "start_line": 339, "start_column": 7, - "end_line": 341, + "end_line": 339, "end_column": 52 }, { @@ -76215,9 +74513,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 342, + "start_line": 340, "start_column": 7, - "end_line": 342, + "end_line": 340, "end_column": 18 }, { @@ -76236,9 +74534,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 344, + "start_line": 342, "start_column": 7, - "end_line": 344, + "end_line": 342, "end_column": 16 }, { @@ -76260,9 +74558,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 347, + "start_line": 345, "start_column": 14, - "end_line": 347, + "end_line": 345, "end_column": 117 }, { @@ -76281,9 +74579,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 348, + "start_line": 346, "start_column": 7, - "end_line": 348, + "end_line": 346, "end_column": 26 }, { @@ -76302,9 +74600,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 349, + "start_line": 347, "start_column": 7, - "end_line": 349, + "end_line": 347, "end_column": 18 }, { @@ -76326,9 +74624,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 352, + "start_line": 350, "start_column": 14, - "end_line": 353, + "end_line": 351, "end_column": 87 }, { @@ -76347,9 +74645,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 355, + "start_line": 353, "start_column": 12, - "end_line": 355, + "end_line": 353, "end_column": 30 }, { @@ -76368,9 +74666,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 356, + "start_line": 354, "start_column": 7, - "end_line": 356, + "end_line": 354, "end_column": 15 }, { @@ -76391,9 +74689,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 357, + "start_line": 355, "start_column": 26, - "end_line": 357, + "end_line": 355, "end_column": 50 }, { @@ -76414,9 +74712,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 358, + "start_line": 356, "start_column": 7, - "end_line": 358, + "end_line": 356, "end_column": 48 }, { @@ -76435,9 +74733,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 359, + "start_line": 357, "start_column": 7, - "end_line": 359, + "end_line": 357, "end_column": 18 }, { @@ -76456,9 +74754,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 360, + "start_line": 358, "start_column": 7, - "end_line": 360, + "end_line": 358, "end_column": 16 }, { @@ -76480,9 +74778,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 363, + "start_line": 361, "start_column": 14, - "end_line": 364, + "end_line": 362, "end_column": 87 }, { @@ -76501,9 +74799,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 366, + "start_line": 364, "start_column": 12, - "end_line": 366, + "end_line": 364, "end_column": 30 }, { @@ -76522,9 +74820,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 367, + "start_line": 365, "start_column": 7, - "end_line": 367, + "end_line": 365, "end_column": 15 }, { @@ -76545,9 +74843,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 368, + "start_line": 366, "start_column": 24, - "end_line": 368, + "end_line": 366, "end_column": 46 }, { @@ -76568,9 +74866,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 369, + "start_line": 367, "start_column": 7, - "end_line": 369, + "end_line": 367, "end_column": 44 }, { @@ -76589,9 +74887,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 370, + "start_line": 368, "start_column": 7, - "end_line": 370, + "end_line": 368, "end_column": 18 }, { @@ -76610,9 +74908,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 371, + "start_line": 369, "start_column": 7, - "end_line": 371, + "end_line": 369, "end_column": 16 }, { @@ -76634,9 +74932,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 374, + "start_line": 372, "start_column": 14, - "end_line": 375, + "end_line": 373, "end_column": 118 }, { @@ -76655,9 +74953,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 377, + "start_line": 375, "start_column": 12, - "end_line": 377, + "end_line": 375, "end_column": 30 }, { @@ -76676,9 +74974,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 378, + "start_line": 376, "start_column": 7, - "end_line": 378, + "end_line": 376, "end_column": 15 }, { @@ -76699,9 +74997,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 379, + "start_line": 377, "start_column": 27, - "end_line": 379, + "end_line": 377, "end_column": 52 }, { @@ -76722,9 +75020,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 380, + "start_line": 378, "start_column": 7, - "end_line": 380, + "end_line": 378, "end_column": 50 }, { @@ -76743,9 +75041,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 381, + "start_line": 379, "start_column": 7, - "end_line": 381, + "end_line": 379, "end_column": 18 }, { @@ -76764,9 +75062,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 382, + "start_line": 380, "start_column": 7, - "end_line": 382, + "end_line": 380, "end_column": 16 }, { @@ -76788,9 +75086,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 385, + "start_line": 383, "start_column": 14, - "end_line": 386, + "end_line": 384, "end_column": 119 }, { @@ -76809,9 +75107,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 388, + "start_line": 386, "start_column": 12, - "end_line": 388, + "end_line": 386, "end_column": 30 }, { @@ -76830,9 +75128,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 389, + "start_line": 387, "start_column": 7, - "end_line": 389, + "end_line": 387, "end_column": 15 }, { @@ -76853,9 +75151,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 390, + "start_line": 388, "start_column": 28, - "end_line": 390, + "end_line": 388, "end_column": 54 }, { @@ -76876,9 +75174,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 391, + "start_line": 389, "start_column": 7, - "end_line": 391, + "end_line": 389, "end_column": 52 }, { @@ -76897,9 +75195,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 392, + "start_line": 390, "start_column": 7, - "end_line": 392, + "end_line": 390, "end_column": 18 }, { @@ -76918,9 +75216,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 393, + "start_line": 391, "start_column": 7, - "end_line": 393, + "end_line": 391, "end_column": 16 }, { @@ -76942,9 +75240,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 396, + "start_line": 394, "start_column": 14, - "end_line": 396, + "end_line": 394, "end_column": 85 }, { @@ -76963,9 +75261,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 397, + "start_line": 395, "start_column": 33, - "end_line": 397, + "end_line": 395, "end_column": 52 }, { @@ -76986,10 +75284,164 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, + "start_line": 396, + "start_column": 7, + "end_line": 396, + "end_column": 62 + }, + { + "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": 397, + "start_column": 7, + "end_line": 397, + "end_column": 18 + }, + { + "method_name": "close", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "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": 398, "start_column": 7, "end_line": 398, - "end_column": 62 + "end_column": 16 + }, + { + "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": 401, + "start_column": 14, + "end_line": 402, + "end_column": 121 + }, + { + "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": 404, + "start_column": 12, + "end_line": 404, + "end_column": 30 + }, + { + "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": 405, + "start_column": 7, + "end_line": 405, + "end_column": 15 + }, + { + "method_name": "getInt", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "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": 406, + "start_column": 28, + "end_line": 406, + "end_column": 54 + }, + { + "method_name": "setOpenOrderCount", + "comment": null, + "receiver_expr": "runStatsData", + "receiver_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "argument_types": [ + "" + ], + "return_type": "", + "callee_signature": "setOpenOrderCount(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": 407, + "start_column": 7, + "end_line": 407, + "end_column": 52 }, { "method_name": "close", @@ -77007,9 +75459,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 399, + "start_line": 409, "start_column": 7, - "end_line": 399, + "end_line": 409, "end_column": 18 }, { @@ -77028,9 +75480,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 400, + "start_line": 410, "start_column": 7, - "end_line": 400, + "end_line": 410, "end_column": 16 }, { @@ -77052,163 +75504,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 403, - "start_column": 14, - "end_line": 404, - "end_column": 121 - }, - { - "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": 406, - "start_column": 12, - "end_line": 406, - "end_column": 30 - }, - { - "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": 407, - "start_column": 7, - "end_line": 407, - "end_column": 15 - }, - { - "method_name": "getInt", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "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": 408, - "start_column": 28, - "end_line": 408, - "end_column": 54 - }, - { - "method_name": "setOpenOrderCount", - "comment": null, - "receiver_expr": "runStatsData", - "receiver_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setOpenOrderCount(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": 409, - "start_column": 7, - "end_line": 409, - "end_column": 52 - }, - { - "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": 411, - "start_column": 7, - "end_line": 411, - "end_column": 18 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "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": 412, - "start_column": 7, - "end_line": 412, - "end_column": 16 - }, - { - "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": 414, "start_column": 14, - "end_line": 414, + "end_line": 412, "end_column": 87 }, { @@ -77227,9 +75525,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 415, + "start_line": 413, "start_column": 31, - "end_line": 415, + "end_line": 413, "end_column": 50 }, { @@ -77250,9 +75548,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 416, + "start_line": 414, "start_column": 7, - "end_line": 416, + "end_line": 414, "end_column": 58 }, { @@ -77271,9 +75569,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 417, + "start_line": 415, "start_column": 7, - "end_line": 417, + "end_line": 415, "end_column": 18 }, { @@ -77292,9 +75590,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 418, + "start_line": 416, "start_column": 7, - "end_line": 418, + "end_line": 416, "end_column": 16 }, { @@ -77313,9 +75611,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 420, + "start_line": 418, "start_column": 7, - "end_line": 420, + "end_line": 418, "end_column": 19 }, { @@ -77336,9 +75634,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 422, + "start_line": 420, "start_column": 7, - "end_line": 422, + "end_line": 420, "end_column": 79 }, { @@ -77360,9 +75658,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 424, + "start_line": 422, "start_column": 7, - "end_line": 424, + "end_line": 422, "end_column": 43 }, { @@ -77381,9 +75679,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 425, + "start_line": 423, "start_column": 7, - "end_line": 425, + "end_line": 423, "end_column": 21 }, { @@ -77402,9 +75700,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 428, + "start_line": 426, "start_column": 7, - "end_line": 428, + "end_line": 426, "end_column": 18 }, { @@ -77423,9 +75721,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 250, + "start_line": 249, "start_column": 37, - "end_line": 250, + "end_line": 249, "end_column": 58 } ], @@ -77442,9 +75740,9 @@ "name": "runStatsData", "type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "initializer": "new RunStatsDataBean()", - "start_line": 250, + "start_line": 249, "start_column": 22, - "end_line": 250, + "end_line": 249, "end_column": 58 }, { @@ -77459,9 +75757,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 251, + "start_line": 250, "start_column": 16, - "end_line": 251, + "end_line": 250, "end_column": 26 }, { @@ -77476,9 +75774,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "null", - "start_line": 256, + "start_line": 254, "start_column": 25, - "end_line": 256, + "end_line": 254, "end_column": 35 }, { @@ -77493,9 +75791,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "null", - "start_line": 257, + "start_line": 255, "start_column": 17, - "end_line": 257, + "end_line": 255, "end_column": 25 }, { @@ -77510,9 +75808,9 @@ "name": "newUserCount", "type": "int", "initializer": "stmt.executeUpdate()", - "start_line": 312, + "start_line": 310, "start_column": 11, - "end_line": 312, + "end_line": 310, "end_column": 45 }, { @@ -77527,9 +75825,9 @@ "name": "tradeUserCount", "type": "int", "initializer": "rs.getInt(\"tradeUserCount\")", - "start_line": 320, + "start_line": 318, "start_column": 11, - "end_line": 320, + "end_line": 318, "end_column": 54 }, { @@ -77544,9 +75842,9 @@ "name": "tradeStockCount", "type": "int", "initializer": "rs.getInt(\"tradeStockCount\")", - "start_line": 329, + "start_line": 327, "start_column": 11, - "end_line": 329, + "end_line": 327, "end_column": 56 }, { @@ -77561,9 +75859,9 @@ "name": "sumLoginCount", "type": "int", "initializer": "rs.getInt(\"sumLoginCount\")", - "start_line": 338, + "start_line": 336, "start_column": 11, - "end_line": 338, + "end_line": 336, "end_column": 52 }, { @@ -77578,9 +75876,9 @@ "name": "sumLogoutCount", "type": "int", "initializer": "rs.getInt(\"sumLogoutCount\")", - "start_line": 339, + "start_line": 337, "start_column": 11, - "end_line": 339, + "end_line": 337, "end_column": 54 }, { @@ -77595,9 +75893,9 @@ "name": "holdingCount", "type": "int", "initializer": "rs.getInt(\"holdingCount\")", - "start_line": 357, + "start_line": 355, "start_column": 11, - "end_line": 357, + "end_line": 355, "end_column": 50 }, { @@ -77612,9 +75910,9 @@ "name": "orderCount", "type": "int", "initializer": "rs.getInt(\"orderCount\")", - "start_line": 368, + "start_line": 366, "start_column": 11, - "end_line": 368, + "end_line": 366, "end_column": 46 }, { @@ -77629,9 +75927,9 @@ "name": "buyOrderCount", "type": "int", "initializer": "rs.getInt(\"buyOrderCount\")", - "start_line": 379, + "start_line": 377, "start_column": 11, - "end_line": 379, + "end_line": 377, "end_column": 52 }, { @@ -77646,9 +75944,9 @@ "name": "sellOrderCount", "type": "int", "initializer": "rs.getInt(\"sellOrderCount\")", - "start_line": 390, + "start_line": 388, "start_column": 11, - "end_line": 390, + "end_line": 388, "end_column": 54 }, { @@ -77663,9 +75961,9 @@ "name": "cancelledOrderCount", "type": "int", "initializer": "stmt.executeUpdate()", - "start_line": 397, + "start_line": 395, "start_column": 11, - "end_line": 397, + "end_line": 395, "end_column": 52 }, { @@ -77680,9 +75978,9 @@ "name": "openOrderCount", "type": "int", "initializer": "rs.getInt(\"openOrderCount\")", - "start_line": 408, + "start_line": 406, "start_column": 11, - "end_line": 408, + "end_line": 406, "end_column": 54 }, { @@ -77697,9 +75995,9 @@ "name": "deletedOrderCount", "type": "int", "initializer": "stmt.executeUpdate()", - "start_line": 415, + "start_line": 413, "start_column": 11, - "end_line": 415, + "end_line": 413, "end_column": 50 } ], @@ -77709,29 +76007,29 @@ "is_entrypoint": false }, "recreateDBTables(Object[], java.io.PrintWriter)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "signature": "recreateDBTables(Object[], java.io.PrintWriter)", "comments": [ { "content": " Clear MDB Statistics", - "start_line": 212, - "end_line": 212, + "start_line": 211, + "end_line": 211, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " commit(conn);", - "start_line": 224, - "end_line": 224, + "start_line": 223, + "end_line": 223, "start_column": 11, "end_column": 26, "is_javadoc": false }, { "content": " Ignore DROP statements as tables won't always exist.", - "start_line": 226, - "end_line": 226, + "start_line": 225, + "end_line": 225, "start_column": 11, "end_column": 65, "is_javadoc": false @@ -77751,8 +76049,8 @@ "name": "sqlBuffer", "annotations": [], "modifiers": [], - "start_line": 211, - "end_line": 211, + "start_line": 210, + "end_line": 210, "start_column": 36, "end_column": 53 }, @@ -77761,15 +76059,16 @@ "name": "out", "annotations": [], "modifiers": [], - "start_line": 211, - "end_line": 211, + "start_line": 210, + "end_line": 210, "start_column": 56, "end_column": 78 } ], - "code": "{\n // Clear MDB Statistics\n MDBStats.getInstance().reset();\n Connection conn = null;\n boolean success = false;\n try {\n conn = datasource.getConnection();\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 conn.commit();\n success = true;\n } catch (Exception e) {\n Log.error(e, \"TradeDirect:recreateDBTables() -- Error dropping and recreating the database tables\");\n } finally {\n conn.close();\n }\n return success;\n}", - "start_line": 211, - "end_line": 242, + "code": "{\n // Clear MDB Statistics\n MDBStats.getInstance().reset();\n\n Connection conn = null;\n boolean success = false;\n try {\n conn = datasource.getConnection();\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 conn.commit();\n success = true;\n } catch (Exception e) {\n Log.error(e, \"TradeDirect:recreateDBTables() -- Error dropping and recreating the database tables\");\n } finally {\n conn.close();\n }\n return success;\n }", + "start_line": 210, + "end_line": 241, + "code_start_line": 210, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -77786,8 +76085,8 @@ "method_name": "reset", "comment": { "content": " Clear MDB Statistics", - "start_line": 212, - "end_line": 212, + "start_line": 211, + "end_line": 211, "start_column": 5, "end_column": 27, "is_javadoc": false @@ -77805,9 +76104,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 213, + "start_line": 212, "start_column": 5, - "end_line": 213, + "end_line": 212, "end_column": 34 }, { @@ -77826,9 +76125,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 213, + "start_line": 212, "start_column": 5, - "end_line": 213, + "end_line": 212, "end_column": 26 }, { @@ -77847,9 +76146,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 218, + "start_line": 217, "start_column": 14, - "end_line": 218, + "end_line": 217, "end_column": 39 }, { @@ -77868,9 +76167,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 219, + "start_line": 218, "start_column": 24, - "end_line": 219, + "end_line": 218, "end_column": 45 }, { @@ -77891,9 +76190,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 223, + "start_line": 222, "start_column": 11, - "end_line": 223, + "end_line": 222, "end_column": 51 }, { @@ -77914,9 +76213,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 227, + "start_line": 226, "start_column": 15, - "end_line": 227, + "end_line": 226, "end_column": 54 }, { @@ -77938,9 +76237,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 228, + "start_line": 227, "start_column": 13, - "end_line": 228, + "end_line": 227, "end_column": 129 }, { @@ -77961,9 +76260,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 229, + "start_line": 228, "start_column": 13, - "end_line": 229, + "end_line": 228, "end_column": 144 }, { @@ -77982,9 +76281,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 233, + "start_line": 232, "start_column": 7, - "end_line": 233, + "end_line": 232, "end_column": 18 }, { @@ -78003,9 +76302,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 234, + "start_line": 233, "start_column": 7, - "end_line": 234, + "end_line": 233, "end_column": 19 }, { @@ -78027,9 +76326,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 237, + "start_line": 236, "start_column": 7, - "end_line": 237, + "end_line": 236, "end_column": 105 }, { @@ -78048,9 +76347,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 239, + "start_line": 238, "start_column": 7, - "end_line": 239, + "end_line": 238, "end_column": 18 } ], @@ -78067,9 +76366,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 215, + "start_line": 214, "start_column": 16, - "end_line": 215, + "end_line": 214, "end_column": 26 }, { @@ -78084,9 +76383,9 @@ "name": "success", "type": "boolean", "initializer": "false", - "start_line": 216, + "start_line": 215, "start_column": 13, - "end_line": 216, + "end_line": 215, "end_column": 27 }, { @@ -78101,9 +76400,9 @@ "name": "stmt", "type": "java.sql.Statement", "initializer": "conn.createStatement()", - "start_line": 219, + "start_line": 218, "start_column": 17, - "end_line": 219, + "end_line": 218, "end_column": 45 }, { @@ -78118,9 +76417,9 @@ "name": "bufferLength", "type": "int", "initializer": "sqlBuffer.length", - "start_line": 220, + "start_line": 219, "start_column": 11, - "end_line": 220, + "end_line": 219, "end_column": 41 }, { @@ -78135,9 +76434,9 @@ "name": "i", "type": "int", "initializer": "0", - "start_line": 221, + "start_line": 220, "start_column": 16, - "end_line": 221, + "end_line": 220, "end_column": 20 } ], @@ -78147,7 +76446,7 @@ "is_entrypoint": false }, "checkDBProductName()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "signature": "checkDBProductName()", "comments": [], "annotations": [], @@ -78159,9 +76458,10 @@ ], "declaration": "public String checkDBProductName() throws Exception", "parameters": [], - "code": "{\n Connection conn = null;\n String dbProductName = null;\n try {\n conn = datasource.getConnection();\n DatabaseMetaData dbmd = conn.getMetaData();\n dbProductName = dbmd.getDatabaseProductName();\n } catch (SQLException e) {\n Log.error(e, \"TradeDirect:checkDBProductName() -- Error checking the Daytrader Database Product Name\");\n } finally {\n conn.close();\n }\n return dbProductName;\n}", - "start_line": 65, - "end_line": 80, + "code": "{\n Connection conn = null;\n String dbProductName = null;\n\n try {\n\n conn = datasource.getConnection();\n DatabaseMetaData dbmd = conn.getMetaData();\n dbProductName = dbmd.getDatabaseProductName();\n } catch (SQLException e) {\n Log.error(e, \"TradeDirect:checkDBProductName() -- Error checking the Daytrader Database Product Name\");\n } finally {\n conn.close();\n }\n return dbProductName;\n }", + "start_line": 64, + "end_line": 79, + "code_start_line": 64, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -78190,9 +76490,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 71, + "start_line": 70, "start_column": 14, - "end_line": 71, + "end_line": 70, "end_column": 39 }, { @@ -78211,9 +76511,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 72, + "start_line": 71, "start_column": 31, - "end_line": 72, + "end_line": 71, "end_column": 48 }, { @@ -78232,9 +76532,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 73, + "start_line": 72, "start_column": 23, - "end_line": 73, + "end_line": 72, "end_column": 51 }, { @@ -78256,9 +76556,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 75, + "start_line": 74, "start_column": 7, - "end_line": 75, + "end_line": 74, "end_column": 108 }, { @@ -78277,9 +76577,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 77, + "start_line": 76, "start_column": 7, - "end_line": 77, + "end_line": 76, "end_column": 18 } ], @@ -78296,9 +76596,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 66, + "start_line": 65, "start_column": 16, - "end_line": 66, + "end_line": 65, "end_column": 26 }, { @@ -78313,9 +76613,9 @@ "name": "dbProductName", "type": "java.lang.String", "initializer": "null", - "start_line": 67, + "start_line": 66, "start_column": 12, - "end_line": 67, + "end_line": 66, "end_column": 31 }, { @@ -78330,9 +76630,9 @@ "name": "dbmd", "type": "java.sql.DatabaseMetaData", "initializer": "conn.getMetaData()", - "start_line": 72, + "start_line": 71, "start_column": 24, - "end_line": 72, + "end_line": 71, "end_column": 48 } ], @@ -78342,37 +76642,37 @@ "is_entrypoint": false }, "parseDDLToBuffer(InputStream)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "signature": "parseDDLToBuffer(InputStream)", "comments": [ { "content": "initial capacity 30 assuming we have 30 ddl-sql statements to read", - "start_line": 440, - "end_line": 440, + "start_line": 438, + "end_line": 438, "start_column": 62, "end_column": 129, "is_javadoc": false }, { "content": " Empty lines or lines starting with \"#\" are ignored", - "start_line": 448, - "end_line": 448, + "start_line": 446, + "end_line": 446, "start_column": 56, "end_column": 108, "is_javadoc": false }, { "content": " reached end of sql statement", - "start_line": 451, - "end_line": 451, + "start_line": 449, + "end_line": 449, "start_column": 34, "end_column": 64, "is_javadoc": false }, { "content": "remove the semicolon", - "start_line": 452, - "end_line": 452, + "start_line": 450, + "end_line": 450, "start_column": 42, "end_column": 63, "is_javadoc": false @@ -78392,15 +76692,16 @@ "name": "ddlFile", "annotations": [], "modifiers": [], - "start_line": 438, - "end_line": 438, + "start_line": 436, + "end_line": 436, "start_column": 36, "end_column": 54 } ], - "code": "{\n BufferedReader br = null;\n //initial capacity 30 assuming we have 30 ddl-sql statements to read\n ArrayList sqlBuffer = new ArrayList(30);\n try {\n br = new BufferedReader(new InputStreamReader(ddlFile));\n String s;\n String sql = new String();\n while ((s = br.readLine()) != null) {\n s = s.trim();\n if (// Empty lines or lines starting with \"#\" are ignored\n (s.length() != 0) && (s.charAt(0) != '#')) {\n sql = sql + \" \" + s;\n if (s.endsWith(\";\")) {\n // reached end of sql statement\n //remove the semicolon\n sql = sql.replace(';', ' ');\n sqlBuffer.add(sql);\n sql = \"\";\n }\n }\n }\n } catch (IOException ex) {\n Log.error(\"TradeBuildDB:parseDDLToBuffer Exeception during open/read of File: \" + ddlFile, ex);\n throw ex;\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException ex) {\n Log.error(\"TradeBuildDB:parseDDLToBuffer Failed to close BufferedReader\", ex);\n }\n }\n }\n return sqlBuffer.toArray();\n}", - "start_line": 438, - "end_line": 471, + "code": "{\n BufferedReader br = null;\n ArrayList sqlBuffer = new ArrayList(30); //initial capacity 30 assuming we have 30 ddl-sql statements to read\n\n try {\n br = new BufferedReader(new InputStreamReader(ddlFile));\n String s;\n String sql = new String();\n while ((s = br.readLine()) != null) {\n s = s.trim();\n if ((s.length() != 0) && (s.charAt(0) != '#')) // Empty lines or lines starting with \"#\" are ignored\n {\n sql = sql + \" \" + s;\n if (s.endsWith(\";\")) { // reached end of sql statement\n sql = sql.replace(';', ' '); //remove the semicolon\n sqlBuffer.add(sql);\n sql = \"\";\n }\n }\n }\n } catch (IOException ex) {\n Log.error(\"TradeBuildDB:parseDDLToBuffer Exeception during open/read of File: \" + ddlFile, ex);\n throw ex;\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException ex) {\n Log.error(\"TradeBuildDB:parseDDLToBuffer Failed to close BufferedReader\", ex);\n }\n }\n }\n return sqlBuffer.toArray();\n }", + "start_line": 436, + "end_line": 469, + "code_start_line": 436, "return_type": "java.lang.Object[]", "is_implicit": false, "is_constructor": false, @@ -78427,9 +76728,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 446, + "start_line": 444, "start_column": 19, - "end_line": 446, + "end_line": 444, "end_column": 31 }, { @@ -78448,9 +76749,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 447, + "start_line": 445, "start_column": 13, - "end_line": 447, + "end_line": 445, "end_column": 20 }, { @@ -78469,9 +76770,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 448, + "start_line": 446, "start_column": 14, - "end_line": 448, + "end_line": 446, "end_column": 23 }, { @@ -78492,9 +76793,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 448, + "start_line": 446, "start_column": 35, - "end_line": 448, + "end_line": 446, "end_column": 45 }, { @@ -78515,9 +76816,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, + "start_line": 449, "start_column": 15, - "end_line": 451, + "end_line": 449, "end_column": 29 }, { @@ -78539,9 +76840,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 452, + "start_line": 450, "start_column": 19, - "end_line": 452, + "end_line": 450, "end_column": 39 }, { @@ -78562,9 +76863,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 453, + "start_line": 451, "start_column": 13, - "end_line": 453, + "end_line": 451, "end_column": 30 }, { @@ -78586,9 +76887,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 459, + "start_line": 457, "start_column": 7, - "end_line": 459, + "end_line": 457, "end_column": 100 }, { @@ -78607,9 +76908,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 464, + "start_line": 462, "start_column": 11, - "end_line": 464, + "end_line": 462, "end_column": 20 }, { @@ -78631,9 +76932,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 466, + "start_line": 464, "start_column": 11, - "end_line": 466, + "end_line": 464, "end_column": 87 }, { @@ -78652,9 +76953,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 470, + "start_line": 468, "start_column": 12, - "end_line": 470, + "end_line": 468, "end_column": 30 }, { @@ -78675,9 +76976,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 440, + "start_line": 438, "start_column": 35, - "end_line": 440, + "end_line": 438, "end_column": 59 }, { @@ -78698,9 +76999,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 443, + "start_line": 441, "start_column": 12, - "end_line": 443, + "end_line": 441, "end_column": 61 }, { @@ -78721,9 +77022,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 443, + "start_line": 441, "start_column": 31, - "end_line": 443, + "end_line": 441, "end_column": 60 }, { @@ -78742,9 +77043,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 445, + "start_line": 443, "start_column": 20, - "end_line": 445, + "end_line": 443, "end_column": 31 } ], @@ -78761,9 +77062,9 @@ "name": "br", "type": "java.io.BufferedReader", "initializer": "null", - "start_line": 439, + "start_line": 437, "start_column": 20, - "end_line": 439, + "end_line": 437, "end_column": 28 }, { @@ -78778,9 +77079,9 @@ "name": "sqlBuffer", "type": "java.util.ArrayList", "initializer": "new ArrayList(30)", - "start_line": 440, + "start_line": 438, "start_column": 23, - "end_line": 440, + "end_line": 438, "end_column": 59 }, { @@ -78795,9 +77096,9 @@ "name": "s", "type": "java.lang.String", "initializer": "", - "start_line": 444, + "start_line": 442, "start_column": 14, - "end_line": 444, + "end_line": 442, "end_column": 14 }, { @@ -78812,9 +77113,9 @@ "name": "sql", "type": "java.lang.String", "initializer": "new String()", - "start_line": 445, + "start_line": 443, "start_column": 14, - "end_line": 445, + "end_line": 443, "end_column": 31 } ], @@ -78824,141 +77125,141 @@ "is_entrypoint": false }, "buildDB(java.io.PrintWriter, InputStream)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "signature": "buildDB(java.io.PrintWriter, InputStream)", "comments": [ { "content": " end of createDBTables", - "start_line": 129, - "end_line": 129, + "start_line": 128, + "end_line": 128, "start_column": 7, "end_column": 30, "is_javadoc": false }, { "content": " Give up gracefully after 10 errors", - "start_line": 88, - "end_line": 88, + "start_line": 87, + "end_line": 87, "start_column": 25, "end_column": 61, "is_javadoc": false }, { "content": " TradeStatistics.statisticsEnabled=false; // disable statistics", - "start_line": 90, - "end_line": 90, + "start_line": 89, + "end_line": 89, "start_column": 5, "end_column": 71, "is_javadoc": false }, { "content": "out.println(\"
TradeBuildDB: **** warPath= \"+warPath+\" ****
\");", - "start_line": 95, - "end_line": 95, + "start_line": 94, + "end_line": 94, "start_column": 7, "end_column": 84, "is_javadoc": false }, { "content": "parse the DDL file and fill the SQL commands into a buffer", - "start_line": 101, - "end_line": 101, + "start_line": 100, + "end_line": 100, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": " send the sql commands buffer to drop and recreate the Daytrader tables", - "start_line": 114, - "end_line": 114, + "start_line": 113, + "end_line": 113, "start_column": 7, "end_column": 79, "is_javadoc": false }, { "content": "Attempt to delete all of the Trade users and Trade Quotes first", - "start_line": 132, - "end_line": 132, + "start_line": 131, + "end_line": 131, "start_column": 5, "end_column": 69, "is_javadoc": false }, { "content": "reset for user registrations", - "start_line": 161, - "end_line": 161, + "start_line": 160, + "end_line": 160, "start_column": 21, "end_column": 50, "is_javadoc": false }, { "content": " Registration is a formal operation in Trade 2.", - "start_line": 163, - "end_line": 163, + "start_line": 162, + "end_line": 162, "start_column": 5, "end_column": 53, "is_javadoc": false }, { "content": " uid:0 starts with a cool million.", - "start_line": 172, - "end_line": 172, + "start_line": 171, + "end_line": 171, "start_column": 35, "end_column": 70, "is_javadoc": false }, { "content": " end-if", - "start_line": 197, - "end_line": 197, + "start_line": 196, + "end_line": 196, "start_column": 11, "end_column": 19, "is_javadoc": false }, { "content": " end-if", - "start_line": 180, - "end_line": 180, + "start_line": 179, + "end_line": 179, "start_column": 13, "end_column": 21, "is_javadoc": false }, { "content": " end-if", - "start_line": 193, - "end_line": 193, + "start_line": 192, + "end_line": 192, "start_column": 13, "end_column": 21, "is_javadoc": false }, { "content": " 0-MAX_HOLDING (inclusive), avg holdings per user = (MAX-0)/2", - "start_line": 182, - "end_line": 182, + "start_line": 181, + "end_line": 181, "start_column": 81, "end_column": 143, "is_javadoc": false }, { "content": " end-for", - "start_line": 189, - "end_line": 189, + "start_line": 188, + "end_line": 188, "start_column": 13, "end_column": 22, "is_javadoc": false }, { "content": " end-for", - "start_line": 207, - "end_line": 207, + "start_line": 206, + "end_line": 206, "start_column": 7, "end_column": 16, "is_javadoc": false }, { "content": "\n * Re-create the DayTrader db tables and populate them OR just populate a DayTrader DB, logging to the provided output stream\n ", - "start_line": 83, - "end_line": 85, + "start_line": 82, + "end_line": 84, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -78978,8 +77279,8 @@ "name": "out", "annotations": [], "modifiers": [], - "start_line": 86, - "end_line": 86, + "start_line": 85, + "end_line": 85, "start_column": 23, "end_column": 45 }, @@ -78988,15 +77289,16 @@ "name": "ddlFile", "annotations": [], "modifiers": [], - "start_line": 86, - "end_line": 86, + "start_line": 85, + "end_line": 85, "start_column": 48, "end_column": 66 } ], - "code": "{\n String symbol, companyName;\n // Give up gracefully after 10 errors\n int errorCount = 0;\n // TradeStatistics.statisticsEnabled=false; // disable statistics\n out.println(\"
TradeBuildDB: Building DayTrader Database...
This operation will take several minutes. Please wait...\");\n out.println(\"\");\n if (ddlFile != null) {\n //out.println(\"
TradeBuildDB: **** warPath= \"+warPath+\" ****
\");\n boolean success = false;\n Object[] sqlBuffer = null;\n //parse the DDL file and fill the SQL commands into a buffer\n try {\n sqlBuffer = parseDDLToBuffer(ddlFile);\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to parse DDL file\");\n out.println(\"
TradeBuildDB: **** Unable to parse DDL file for the specified database ****
\");\n return;\n }\n if ((sqlBuffer == null) || (sqlBuffer.length == 0)) {\n out.println(\"
TradeBuildDB: **** Parsing DDL file returned empty buffer, please check that a valid DB specific DDL file is available and retry ****
\");\n return;\n }\n // send the sql commands buffer to drop and recreate the Daytrader tables\n out.println(\"
TradeBuildDB: **** Dropping and Recreating the DayTrader tables... ****
\");\n try {\n success = recreateDBTables(sqlBuffer, out);\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing\");\n out.println(\"TradeBuildDB: Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing\");\n return;\n }\n if (!success) {\n out.println(\"
TradeBuildDB: **** Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing ****
\");\n return;\n }\n out.println(\"
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.


\");\n return;\n }\n // end of createDBTables\n out.println(\"
TradeBuildDB: **** Creating \" + TradeConfig.getMAX_QUOTES() + \" Quotes ****
\");\n //Attempt to delete all of the Trade users and Trade Quotes first\n try {\n resetTrade(true);\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to delete Trade users (uid:0, uid:1, ...) and Trade Quotes (s:0, s:1, ...)\");\n }\n for (int i = 0; i < TradeConfig.getMAX_QUOTES(); i++) {\n symbol = \"s:\" + i;\n companyName = \"S\" + i + \" Incorporated\";\n try {\n ts.createQuote(symbol, companyName, new java.math.BigDecimal(TradeConfig.rndPrice()));\n if (i % 10 == 0) {\n out.print(\".....\" + symbol);\n if (i % 100 == 0) {\n out.println(\" -
\");\n out.flush();\n }\n }\n } catch (Exception e) {\n if (errorCount++ >= 10) {\n String error = \"Populate Trade DB aborting after 10 create quote errors. Check the EJB datasource configuration. Check the log for details

Exception is:
\" + e.toString();\n Log.error(e, error);\n throw e;\n }\n }\n }\n out.println(\"
\");\n out.println(\"
**** Registering \" + TradeConfig.getMAX_USERS() + \" Users **** \");\n //reset for user registrations\n errorCount = 0;\n // Registration is a formal operation in Trade 2.\n for (int i = 0; i < TradeConfig.getMAX_USERS(); i++) {\n String userID = \"uid:\" + i;\n String fullname = TradeConfig.rndFullName();\n String email = TradeConfig.rndEmail(userID);\n String address = TradeConfig.rndAddress();\n String creditcard = TradeConfig.rndCreditCard();\n double initialBalance = (double) (TradeConfig.rndInt(100000)) + 200000;\n if (i == 0) {\n // uid:0 starts with a cool million.\n initialBalance = 1000000;\n }\n try {\n AccountDataBean accountData = ts.register(userID, \"xxx\", fullname, address, email, creditcard, new BigDecimal(initialBalance));\n if (accountData != null) {\n if (i % 50 == 0) {\n out.print(\"
Account# \" + accountData.getAccountID() + \" userID=\" + userID);\n }\n // end-if\n // 0-MAX_HOLDING (inclusive), avg holdings per user = (MAX-0)/2\n int holdings = TradeConfig.rndInt(TradeConfig.getMAX_HOLDINGS() + 1);\n double quantity = 0;\n for (int j = 0; j < holdings; j++) {\n symbol = TradeConfig.rndSymbol();\n quantity = TradeConfig.rndQuantity();\n ts.buy(userID, symbol, quantity, TradeConfig.getOrderProcessingMode());\n }\n // end-for\n if (i % 50 == 0) {\n out.println(\" has \" + holdings + \" holdings.\");\n out.flush();\n }\n // end-if\n } else {\n out.println(\"
UID \" + userID + \" already registered.
\");\n out.flush();\n }\n // end-if\n } catch (Exception e) {\n if (errorCount++ >= 10) {\n String error = \"Populate Trade DB aborting after 10 user registration errors. Check the log for details.

Exception is:
\" + e.toString();\n Log.error(e, error);\n throw e;\n }\n }\n }\n // end-for\n out.println(\"\");\n}", - "start_line": 86, - "end_line": 209, + "code": "{\n String symbol, companyName;\n int errorCount = 0; // Give up gracefully after 10 errors\n\n // TradeStatistics.statisticsEnabled=false; // disable statistics\n out.println(\"
TradeBuildDB: Building DayTrader Database...
This operation will take several minutes. Please wait...\");\n out.println(\"\");\n\n if (ddlFile != null) {\n //out.println(\"
TradeBuildDB: **** warPath= \"+warPath+\" ****
\");\n\n boolean success = false;\n\n Object[] sqlBuffer = null;\n\n //parse the DDL file and fill the SQL commands into a buffer\n try {\n sqlBuffer = parseDDLToBuffer(ddlFile);\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to parse DDL file\");\n out.println(\"
TradeBuildDB: **** Unable to parse DDL file for the specified database ****
\");\n return;\n }\n if ((sqlBuffer == null) || (sqlBuffer.length == 0)) {\n out.println(\"
TradeBuildDB: **** Parsing DDL file returned empty buffer, please check that a valid DB specific DDL file is available and retry ****
\");\n return;\n }\n\n // send the sql commands buffer to drop and recreate the Daytrader tables\n out.println(\"
TradeBuildDB: **** Dropping and Recreating the DayTrader tables... ****
\");\n try {\n success = recreateDBTables(sqlBuffer, out);\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing\");\n out.println(\"TradeBuildDB: Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing\");\n return;\n }\n if (!success) {\n out.println(\"
TradeBuildDB: **** Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing ****
\");\n return;\n }\n out.println(\"
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.


\");\n return;\n } // end of createDBTables\n\n out.println(\"
TradeBuildDB: **** Creating \" + TradeConfig.getMAX_QUOTES() + \" Quotes ****
\");\n //Attempt to delete all of the Trade users and Trade Quotes first\n try {\n resetTrade(true);\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to delete Trade users (uid:0, uid:1, ...) and Trade Quotes (s:0, s:1, ...)\");\n }\n for (int i = 0; i < TradeConfig.getMAX_QUOTES(); i++) {\n symbol = \"s:\" + i;\n companyName = \"S\" + i + \" Incorporated\";\n try {\n ts.createQuote(symbol, companyName, new java.math.BigDecimal(TradeConfig.rndPrice()));\n if (i % 10 == 0) {\n out.print(\".....\" + symbol);\n if (i % 100 == 0) {\n out.println(\" -
\");\n out.flush();\n }\n }\n } catch (Exception e) {\n if (errorCount++ >= 10) {\n String error = \"Populate Trade DB aborting after 10 create quote errors. Check the EJB datasource configuration. Check the log for details

Exception is:
\"\n + e.toString();\n Log.error(e, error);\n throw e;\n }\n }\n }\n out.println(\"
\");\n out.println(\"
**** Registering \" + TradeConfig.getMAX_USERS() + \" Users **** \");\n errorCount = 0; //reset for user registrations\n\n // Registration is a formal operation in Trade 2.\n for (int i = 0; i < TradeConfig.getMAX_USERS(); i++) {\n String userID = \"uid:\" + i;\n String fullname = TradeConfig.rndFullName();\n String email = TradeConfig.rndEmail(userID);\n String address = TradeConfig.rndAddress();\n String creditcard = TradeConfig.rndCreditCard();\n double initialBalance = (double) (TradeConfig.rndInt(100000)) + 200000;\n if (i == 0) {\n initialBalance = 1000000; // uid:0 starts with a cool million.\n }\n try {\n AccountDataBean accountData = ts.register(userID, \"xxx\", fullname, address, email, creditcard, new BigDecimal(initialBalance));\n\n if (accountData != null) {\n if (i % 50 == 0) {\n out.print(\"
Account# \" + accountData.getAccountID() + \" userID=\" + userID);\n } // end-if\n\n int holdings = TradeConfig.rndInt(TradeConfig.getMAX_HOLDINGS() + 1); // 0-MAX_HOLDING (inclusive), avg holdings per user = (MAX-0)/2\n double quantity = 0;\n\n for (int j = 0; j < holdings; j++) {\n symbol = TradeConfig.rndSymbol();\n quantity = TradeConfig.rndQuantity();\n ts.buy(userID, symbol, quantity, TradeConfig.getOrderProcessingMode());\n } // end-for\n if (i % 50 == 0) {\n out.println(\" has \" + holdings + \" holdings.\");\n out.flush();\n } // end-if\n } else {\n out.println(\"
UID \" + userID + \" already registered.
\");\n out.flush();\n } // end-if\n\n } catch (Exception e) {\n if (errorCount++ >= 10) {\n String error = \"Populate Trade DB aborting after 10 user registration errors. Check the log for details.

Exception is:
\"\n + e.toString();\n Log.error(e, error);\n throw e;\n }\n }\n } // end-for\n out.println(\"\");\n }", + "start_line": 85, + "end_line": 208, + "code_start_line": 85, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -79013,8 +77315,8 @@ "method_name": "println", "comment": { "content": " TradeStatistics.statisticsEnabled=false; // disable statistics", - "start_line": 90, - "end_line": 90, + "start_line": 89, + "end_line": 89, "start_column": 5, "end_column": 71, "is_javadoc": false @@ -79034,9 +77336,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, + "start_line": 90, "start_column": 5, - "end_line": 91, + "end_line": 90, "end_column": 151 }, { @@ -79057,9 +77359,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 92, + "start_line": 91, "start_column": 5, - "end_line": 92, + "end_line": 91, "end_column": 25 }, { @@ -79080,9 +77382,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 103, + "start_line": 102, "start_column": 21, - "end_line": 103, + "end_line": 102, "end_column": 45 }, { @@ -79104,9 +77406,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 105, + "start_line": 104, "start_column": 9, - "end_line": 105, + "end_line": 104, "end_column": 62 }, { @@ -79127,9 +77429,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, + "start_line": 105, "start_column": 9, - "end_line": 106, + "end_line": 105, "end_column": 114 }, { @@ -79150,17 +77452,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 110, + "start_line": 109, "start_column": 9, - "end_line": 110, + "end_line": 109, "end_column": 172 }, { "method_name": "println", "comment": { "content": " send the sql commands buffer to drop and recreate the Daytrader tables", - "start_line": 114, - "end_line": 114, + "start_line": 113, + "end_line": 113, "start_column": 7, "end_column": 79, "is_javadoc": false @@ -79180,9 +77482,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 115, + "start_line": 114, "start_column": 7, - "end_line": 115, + "end_line": 114, "end_column": 101 }, { @@ -79204,9 +77506,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 117, + "start_line": 116, "start_column": 19, - "end_line": 117, + "end_line": 116, "end_column": 50 }, { @@ -79228,9 +77530,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, + "start_line": 118, "start_column": 9, - "end_line": 119, + "end_line": 118, "end_column": 142 }, { @@ -79251,9 +77553,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 120, + "start_line": 119, "start_column": 9, - "end_line": 120, + "end_line": 119, "end_column": 141 }, { @@ -79274,9 +77576,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, + "start_line": 123, "start_column": 9, - "end_line": 124, + "end_line": 123, "end_column": 167 }, { @@ -79297,9 +77599,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 127, + "start_line": 126, "start_column": 7, - "end_line": 127, + "end_line": 126, "end_column": 287 }, { @@ -79320,9 +77622,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, + "start_line": 130, "start_column": 5, - "end_line": 131, + "end_line": 130, "end_column": 103 }, { @@ -79341,9 +77643,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, + "start_line": 130, "start_column": 54, - "end_line": 131, + "end_line": 130, "end_column": 80 }, { @@ -79364,9 +77666,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 134, + "start_line": 133, "start_column": 7, - "end_line": 134, + "end_line": 133, "end_column": 22 }, { @@ -79388,9 +77690,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 136, + "start_line": 135, "start_column": 7, - "end_line": 136, + "end_line": 135, "end_column": 117 }, { @@ -79409,9 +77711,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 138, + "start_line": 137, "start_column": 25, - "end_line": 138, + "end_line": 137, "end_column": 51 }, { @@ -79434,9 +77736,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 141, "start_column": 9, - "end_line": 142, + "end_line": 141, "end_column": 93 }, { @@ -79455,9 +77757,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 141, "start_column": 70, - "end_line": 142, + "end_line": 141, "end_column": 91 }, { @@ -79478,9 +77780,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 144, + "start_line": 143, "start_column": 11, - "end_line": 144, + "end_line": 143, "end_column": 37 }, { @@ -79501,9 +77803,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 146, + "start_line": 145, "start_column": 13, - "end_line": 146, + "end_line": 145, "end_column": 33 }, { @@ -79522,9 +77824,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 147, + "start_line": 146, "start_column": 13, - "end_line": 147, + "end_line": 146, "end_column": 23 }, { @@ -79543,9 +77845,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 153, + "start_line": 152, "start_column": 17, - "end_line": 153, + "end_line": 152, "end_column": 28 }, { @@ -79567,9 +77869,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 154, + "start_line": 153, "start_column": 11, - "end_line": 154, + "end_line": 153, "end_column": 29 }, { @@ -79590,9 +77892,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 159, + "start_line": 158, "start_column": 5, - "end_line": 159, + "end_line": 158, "end_column": 23 }, { @@ -79613,9 +77915,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 160, + "start_line": 159, "start_column": 5, - "end_line": 160, + "end_line": 159, "end_column": 86 }, { @@ -79634,9 +77936,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 160, + "start_line": 159, "start_column": 43, - "end_line": 160, + "end_line": 159, "end_column": 68 }, { @@ -79655,9 +77957,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 164, + "start_line": 163, "start_column": 25, - "end_line": 164, + "end_line": 163, "end_column": 50 }, { @@ -79676,9 +77978,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 166, + "start_line": 165, "start_column": 25, - "end_line": 166, + "end_line": 165, "end_column": 49 }, { @@ -79699,9 +78001,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 167, + "start_line": 166, "start_column": 22, - "end_line": 167, + "end_line": 166, "end_column": 49 }, { @@ -79720,9 +78022,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 168, + "start_line": 167, "start_column": 24, - "end_line": 168, + "end_line": 167, "end_column": 47 }, { @@ -79741,9 +78043,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 169, + "start_line": 168, "start_column": 27, - "end_line": 169, + "end_line": 168, "end_column": 53 }, { @@ -79764,9 +78066,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 170, + "start_line": 169, "start_column": 41, - "end_line": 170, + "end_line": 169, "end_column": 66 }, { @@ -79793,9 +78095,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 175, + "start_line": 174, "start_column": 39, - "end_line": 175, + "end_line": 174, "end_column": 134 }, { @@ -79816,9 +78118,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 179, + "start_line": 178, "start_column": 13, - "end_line": 179, + "end_line": 178, "end_column": 89 }, { @@ -79837,9 +78139,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 179, + "start_line": 178, "start_column": 41, - "end_line": 179, + "end_line": 178, "end_column": 66 }, { @@ -79860,9 +78162,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 182, + "start_line": 181, "start_column": 26, - "end_line": 182, + "end_line": 181, "end_column": 78 }, { @@ -79881,9 +78183,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 182, + "start_line": 181, "start_column": 45, - "end_line": 182, + "end_line": 181, "end_column": 73 }, { @@ -79902,9 +78204,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 186, + "start_line": 185, "start_column": 22, - "end_line": 186, + "end_line": 185, "end_column": 44 }, { @@ -79923,9 +78225,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 187, + "start_line": 186, "start_column": 24, - "end_line": 187, + "end_line": 186, "end_column": 48 }, { @@ -79949,9 +78251,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 188, + "start_line": 187, "start_column": 13, - "end_line": 188, + "end_line": 187, "end_column": 82 }, { @@ -79970,9 +78272,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 188, + "start_line": 187, "start_column": 46, - "end_line": 188, + "end_line": 187, "end_column": 81 }, { @@ -79993,9 +78295,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 191, + "start_line": 190, "start_column": 13, - "end_line": 191, + "end_line": 190, "end_column": 58 }, { @@ -80014,9 +78316,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 192, + "start_line": 191, "start_column": 13, - "end_line": 192, + "end_line": 191, "end_column": 23 }, { @@ -80037,9 +78339,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 195, + "start_line": 194, "start_column": 11, - "end_line": 195, + "end_line": 194, "end_column": 72 }, { @@ -80058,9 +78360,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 196, + "start_line": 195, "start_column": 11, - "end_line": 196, + "end_line": 195, "end_column": 21 }, { @@ -80079,9 +78381,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 202, + "start_line": 201, "start_column": 17, - "end_line": 202, + "end_line": 201, "end_column": 28 }, { @@ -80103,17 +78405,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 203, + "start_line": 202, "start_column": 11, - "end_line": 203, + "end_line": 202, "end_column": 29 }, { "method_name": "println", "comment": { "content": " end-for", - "start_line": 207, - "end_line": 207, + "start_line": 206, + "end_line": 206, "start_column": 7, "end_column": 16, "is_javadoc": false @@ -80133,9 +78435,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 208, + "start_line": 207, "start_column": 5, - "end_line": 208, + "end_line": 207, "end_column": 26 }, { @@ -80156,9 +78458,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 141, "start_column": 45, - "end_line": 142, + "end_line": 141, "end_column": 92 }, { @@ -80179,9 +78481,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 175, + "start_line": 174, "start_column": 104, - "end_line": 175, + "end_line": 174, "end_column": 133 } ], @@ -80198,9 +78500,9 @@ "name": "symbol", "type": "java.lang.String", "initializer": "", - "start_line": 87, + "start_line": 86, "start_column": 12, - "end_line": 87, + "end_line": 86, "end_column": 17 }, { @@ -80215,9 +78517,9 @@ "name": "companyName", "type": "java.lang.String", "initializer": "", - "start_line": 87, + "start_line": 86, "start_column": 20, - "end_line": 87, + "end_line": 86, "end_column": 30 }, { @@ -80232,9 +78534,9 @@ "name": "errorCount", "type": "int", "initializer": "0", - "start_line": 88, + "start_line": 87, "start_column": 9, - "end_line": 88, + "end_line": 87, "end_column": 22 }, { @@ -80249,9 +78551,9 @@ "name": "success", "type": "boolean", "initializer": "false", - "start_line": 97, + "start_line": 96, "start_column": 15, - "end_line": 97, + "end_line": 96, "end_column": 29 }, { @@ -80266,9 +78568,9 @@ "name": "sqlBuffer", "type": "java.lang.Object[]", "initializer": "null", - "start_line": 99, + "start_line": 98, "start_column": 16, - "end_line": 99, + "end_line": 98, "end_column": 31 }, { @@ -80283,9 +78585,9 @@ "name": "i", "type": "int", "initializer": "0", - "start_line": 138, + "start_line": 137, "start_column": 14, - "end_line": 138, + "end_line": 137, "end_column": 18 }, { @@ -80300,9 +78602,9 @@ "name": "error", "type": "java.lang.String", "initializer": "\"Populate Trade DB aborting after 10 create quote errors. Check the EJB datasource configuration. Check the log for details

Exception is:
\" + e.toString()", - "start_line": 152, + "start_line": 151, "start_column": 18, - "end_line": 153, + "end_line": 152, "end_column": 28 }, { @@ -80317,9 +78619,9 @@ "name": "i", "type": "int", "initializer": "0", - "start_line": 164, + "start_line": 163, "start_column": 14, - "end_line": 164, + "end_line": 163, "end_column": 18 }, { @@ -80334,9 +78636,9 @@ "name": "userID", "type": "java.lang.String", "initializer": "\"uid:\" + i", - "start_line": 165, + "start_line": 164, "start_column": 14, - "end_line": 165, + "end_line": 164, "end_column": 32 }, { @@ -80351,9 +78653,9 @@ "name": "fullname", "type": "java.lang.String", "initializer": "TradeConfig.rndFullName()", - "start_line": 166, + "start_line": 165, "start_column": 14, - "end_line": 166, + "end_line": 165, "end_column": 49 }, { @@ -80368,9 +78670,9 @@ "name": "email", "type": "java.lang.String", "initializer": "TradeConfig.rndEmail(userID)", - "start_line": 167, + "start_line": 166, "start_column": 14, - "end_line": 167, + "end_line": 166, "end_column": 49 }, { @@ -80385,9 +78687,9 @@ "name": "address", "type": "java.lang.String", "initializer": "TradeConfig.rndAddress()", - "start_line": 168, + "start_line": 167, "start_column": 14, - "end_line": 168, + "end_line": 167, "end_column": 47 }, { @@ -80402,9 +78704,9 @@ "name": "creditcard", "type": "java.lang.String", "initializer": "TradeConfig.rndCreditCard()", - "start_line": 169, + "start_line": 168, "start_column": 14, - "end_line": 169, + "end_line": 168, "end_column": 53 }, { @@ -80419,9 +78721,9 @@ "name": "initialBalance", "type": "double", "initializer": "(double) (TradeConfig.rndInt(100000)) + 200000", - "start_line": 170, + "start_line": 169, "start_column": 14, - "end_line": 170, + "end_line": 169, "end_column": 76 }, { @@ -80436,9 +78738,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "ts.register(userID, \"xxx\", fullname, address, email, creditcard, new BigDecimal(initialBalance))", - "start_line": 175, + "start_line": 174, "start_column": 25, - "end_line": 175, + "end_line": 174, "end_column": 134 }, { @@ -80453,9 +78755,9 @@ "name": "holdings", "type": "int", "initializer": "TradeConfig.rndInt(TradeConfig.getMAX_HOLDINGS() + 1)", - "start_line": 182, + "start_line": 181, "start_column": 15, - "end_line": 182, + "end_line": 181, "end_column": 78 }, { @@ -80470,9 +78772,9 @@ "name": "quantity", "type": "double", "initializer": "0", - "start_line": 183, + "start_line": 182, "start_column": 18, - "end_line": 183, + "end_line": 182, "end_column": 29 }, { @@ -80487,9 +78789,9 @@ "name": "j", "type": "int", "initializer": "0", - "start_line": 185, + "start_line": 184, "start_column": 20, - "end_line": 185, + "end_line": 184, "end_column": 24 }, { @@ -80504,9 +78806,9 @@ "name": "error", "type": "java.lang.String", "initializer": "\"Populate Trade DB aborting after 10 user registration errors. Check the log for details.

Exception is:
\" + e.toString()", - "start_line": 201, + "start_line": 200, "start_column": 18, - "end_line": 202, + "end_line": 201, "end_column": 28 } ], @@ -80516,7 +78818,7 @@ "is_entrypoint": false }, "getStatement(Connection, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.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/TradeDirectDBUtils.java", "signature": "getStatement(Connection, String)", "comments": [], "annotations": [], @@ -80533,8 +78835,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 434, - "end_line": 434, + "start_line": 432, + "end_line": 432, "start_column": 42, "end_column": 56 }, @@ -80543,15 +78845,16 @@ "name": "sql", "annotations": [], "modifiers": [], - "start_line": 434, - "end_line": 434, + "start_line": 432, + "end_line": 432, "start_column": 59, "end_column": 68 } ], - "code": "{\n return conn.prepareStatement(sql);\n}", - "start_line": 434, - "end_line": 436, + "code": "{\n return conn.prepareStatement(sql);\n }", + "start_line": 432, + "end_line": 434, + "code_start_line": 432, "return_type": "java.sql.PreparedStatement", "is_implicit": false, "is_constructor": false, @@ -80576,9 +78879,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 435, + "start_line": 433, "start_column": 12, - "end_line": 435, + "end_line": 433, "end_column": 37 } ], @@ -80602,7 +78905,7 @@ "name": null, "type": "javax.sql.DataSource", "start_line": 57, - "end_line": 59, + "end_line": 58, "variables": [ "datasource" ], @@ -80624,8 +78927,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "start_line": 61, - "end_line": 63, + "start_line": 60, + "end_line": 62, "variables": [ "ts" ], @@ -80644,8 +78947,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.entities", "comments": [ { @@ -80899,7 +79202,7 @@ "nested_type_declarations": [], "callable_declarations": { "getQuantity()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuantity()", "comments": [], "annotations": [], @@ -80909,9 +79212,10 @@ "thrown_exceptions": [], "declaration": "public double getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "code": "{\n return quantity;\n }", "start_line": 132, "end_line": 134, + "code_start_line": 132, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -80927,7 +79231,7 @@ "is_entrypoint": false }, "getQuoteID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuoteID()", "comments": [], "annotations": [], @@ -80937,9 +79241,10 @@ "thrown_exceptions": [], "declaration": "public String getQuoteID()", "parameters": [], - "code": "{\n if (quote != null) {\n return quote.getSymbol();\n }\n return quoteID;\n}", + "code": "{\n if (quote != null) {\n return quote.getSymbol();\n }\n return quoteID;\n }", "start_line": 156, "end_line": 161, + "code_start_line": 156, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -80978,7 +79283,7 @@ "is_entrypoint": false }, "getQuote()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getQuote()", "comments": [], "annotations": [], @@ -80988,9 +79293,10 @@ "thrown_exceptions": [], "declaration": "public QuoteDataBean getQuote()", "parameters": [], - "code": "{\n return quote;\n}", + "code": "{\n return quote;\n }", "start_line": 175, "end_line": 177, + "code_start_line": 175, "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, @@ -81006,7 +79312,7 @@ "is_entrypoint": false }, "setPurchasePrice(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)", "comments": [], "annotations": [], @@ -81027,9 +79333,10 @@ "end_column": 57 } ], - "code": "{\n this.purchasePrice = purchasePrice;\n}", + "code": "{\n this.purchasePrice = purchasePrice;\n }", "start_line": 144, "end_line": 146, + "code_start_line": 144, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -81047,7 +79354,7 @@ "is_entrypoint": false }, "equals(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)", "comments": [], "annotations": [ @@ -81070,9 +79377,10 @@ "end_column": 39 } ], - "code": "{\n if (!(object instanceof HoldingDataBean)) {\n return false;\n }\n HoldingDataBean other = (HoldingDataBean) object;\n if (this.holdingID != other.holdingID && (this.holdingID == null || !this.holdingID.equals(other.holdingID))) {\n return false;\n }\n return true;\n}", + "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": false, @@ -81133,7 +79441,7 @@ "is_entrypoint": false }, "getPurchaseDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -81143,9 +79451,10 @@ "thrown_exceptions": [], "declaration": "public Date getPurchaseDate()", "parameters": [], - "code": "{\n return purchaseDate;\n}", + "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, @@ -81161,7 +79470,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "toString()", "comments": [], "annotations": [ @@ -81173,9 +79482,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return \"\\n\\tHolding Data for holding: \" + getHoldingID() + \"\\n\\t\\t quantity:\" + getQuantity() + \"\\n\\t\\t purchasePrice:\" + getPurchasePrice() + \"\\n\\t\\t purchaseDate:\" + getPurchaseDate() + \"\\n\\t\\t quoteID:\" + getQuoteID();\n}", + "code": "{\n return \"\\n\\tHolding Data for holding: \" + getHoldingID() + \"\\n\\t\\t quantity:\" + getQuantity() + \"\\n\\t\\t purchasePrice:\" + getPurchasePrice()\n + \"\\n\\t\\t purchaseDate:\" + getPurchaseDate() + \"\\n\\t\\t quoteID:\" + getQuoteID();\n }", "start_line": 109, "end_line": 113, + "code_start_line": 110, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -81295,7 +79605,7 @@ "is_entrypoint": false }, "setAccount(AccountDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)", "comments": [], "annotations": [], @@ -81316,9 +79626,10 @@ "end_column": 50 } ], - "code": "{\n this.account = account;\n}", + "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, @@ -81336,7 +79647,7 @@ "is_entrypoint": false }, "getRandomInstance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "getRandomInstance()", "comments": [ { @@ -81396,9 +79707,10 @@ "thrown_exceptions": [], "declaration": "public static HoldingDataBean getRandomInstance()", "parameters": [], - "code": "{\n return new // holdingID\n HoldingDataBean(// holdingID\n new Integer(TradeConfig.rndInt(100000)), // quantity\n TradeConfig.rndQuantity(), // purchasePrice\n TradeConfig.rndBigDecimal(1000.0f), // purchaseDate\n new java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE)), // symbol\n TradeConfig.rndSymbol());\n}", + "code": "{\n return new HoldingDataBean(new Integer(TradeConfig.rndInt(100000)), // holdingID\n TradeConfig.rndQuantity(), // quantity\n TradeConfig.rndBigDecimal(1000.0f), // purchasePrice\n new java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE)), // purchaseDate\n TradeConfig.rndSymbol() // symbol\n );\n }", "start_line": 100, "end_line": 107, + "code_start_line": 100, "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, @@ -81613,7 +79925,7 @@ "is_entrypoint": false }, "(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)", "comments": [], "annotations": [], @@ -81674,9 +79986,10 @@ "end_column": 133 } ], - "code": "{\n setQuantity(quantity);\n setPurchasePrice(purchasePrice);\n setPurchaseDate(purchaseDate);\n setAccount(account);\n setQuote(quote);\n}", + "code": "{\n setQuantity(quantity);\n setPurchasePrice(purchasePrice);\n setPurchaseDate(purchaseDate);\n setAccount(account);\n setQuote(quote);\n }", "start_line": 92, "end_line": 98, + "code_start_line": 92, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -81812,7 +80125,7 @@ "is_entrypoint": false }, "setPurchaseDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)", "comments": [], "annotations": [], @@ -81833,9 +80146,10 @@ "end_column": 49 } ], - "code": "{\n this.purchaseDate = purchaseDate;\n}", + "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, @@ -81853,7 +80167,7 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": "hashCode()", "comments": [], "annotations": [ @@ -81865,9 +80179,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n int hash = 0;\n hash += (this.holdingID != null ? this.holdingID.hashCode() : 0);\n return hash;\n}", + "code": "{\n int hash = 0;\n hash += (this.holdingID != null ? this.holdingID.hashCode() : 0);\n return hash;\n }", "start_line": 183, "end_line": 188, + "code_start_line": 184, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -81925,7 +80240,7 @@ "is_entrypoint": false }, "setQuoteID(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)", "comments": [], "annotations": [], @@ -81946,9 +80261,10 @@ "end_column": 41 } ], - "code": "{\n this.quoteID = quoteID;\n}", + "code": "{\n this.quoteID = quoteID;\n }", "start_line": 163, "end_line": 165, + "code_start_line": 163, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -81966,7 +80282,7 @@ "is_entrypoint": false }, "print()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -81976,9 +80292,10 @@ "thrown_exceptions": [], "declaration": "public void print()", "parameters": [], - "code": "{\n Log.log(this.toString());\n}", + "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, @@ -82037,7 +80354,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()", "comments": [], "annotations": [], @@ -82047,9 +80364,10 @@ "thrown_exceptions": [], "declaration": "public HoldingDataBean()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 81, "end_line": 82, + "code_start_line": 81, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -82063,7 +80381,7 @@ "is_entrypoint": false }, "(Integer, double, BigDecimal, Date, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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)", "comments": [], "annotations": [], @@ -82124,9 +80442,10 @@ "end_column": 122 } ], - "code": "{\n setHoldingID(holdingID);\n setQuantity(quantity);\n setPurchasePrice(purchasePrice);\n setPurchaseDate(purchaseDate);\n setQuoteID(quoteID);\n}", + "code": "{\n setHoldingID(holdingID);\n setQuantity(quantity);\n setPurchasePrice(purchasePrice);\n setPurchaseDate(purchaseDate);\n setQuoteID(quoteID);\n }", "start_line": 84, "end_line": 90, + "code_start_line": 84, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -82262,7 +80581,7 @@ "is_entrypoint": false }, "setQuote(QuoteDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -82283,9 +80602,10 @@ "end_column": 44 } ], - "code": "{\n this.quote = quote;\n}", + "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, @@ -82303,7 +80623,7 @@ "is_entrypoint": false }, "getHoldingID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -82313,9 +80633,10 @@ "thrown_exceptions": [], "declaration": "public Integer getHoldingID()", "parameters": [], - "code": "{\n return holdingID;\n}", + "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, @@ -82331,7 +80652,7 @@ "is_entrypoint": false }, "setQuantity(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -82352,9 +80673,10 @@ "end_column": 43 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -82370,7 +80692,7 @@ "is_entrypoint": false }, "setHoldingID(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -82391,9 +80713,10 @@ "end_column": 46 } ], - "code": "{\n this.holdingID = holdingID;\n}", + "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, @@ -82411,7 +80734,7 @@ "is_entrypoint": false }, "getPurchasePrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -82421,9 +80744,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getPurchasePrice()", "parameters": [], - "code": "{\n return purchasePrice;\n}", + "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, @@ -82439,7 +80763,7 @@ "is_entrypoint": false }, "toHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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": [], @@ -82449,9 +80773,10 @@ "thrown_exceptions": [], "declaration": "public String toHTML()", "parameters": [], - "code": "{\n return \"
Holding Data for holding: \" + getHoldingID() + \"\" + \"
  • quantity:\" + getQuantity() + \"
  • \" + \"
  • purchasePrice:\" + getPurchasePrice() + \"
  • \" + \"
  • purchaseDate:\" + getPurchaseDate() + \"
  • \" + \"
  • quoteID:\" + getQuoteID() + \"
  • \";\n}", + "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, @@ -82571,7 +80896,7 @@ "is_entrypoint": false }, "getAccount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "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()", "comments": [], "annotations": [], @@ -82581,9 +80906,10 @@ "thrown_exceptions": [], "declaration": "public AccountDataBean getAccount()", "parameters": [], - "code": "{\n return account;\n}", + "code": "{\n return account;\n }", "start_line": 167, "end_line": 169, + "code_start_line": 167, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -82803,368 +81129,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/PrimFilter.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/PrimFilter.java", - "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", - "comments": [ - { - "content": "\n * @see Filter#init(FilterConfig)\n ", - "start_line": 35, - "end_line": 37, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\n * @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)\n ", - "start_line": 45, - "end_line": 47, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " wrapper ", - "start_line": 57, - "end_line": 57, - "start_column": 29, - "end_column": 41, - "is_javadoc": false - }, - { - "content": "\n * @see Filter#destroy()\n ", - "start_line": 60, - "end_line": 62, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\n * (C) Copyright IBM Corporation 2015, 2022.\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", - "javax.servlet.Filter", - "javax.servlet.FilterChain", - "javax.servlet.FilterConfig", - "javax.servlet.ServletException", - "javax.servlet.ServletRequest", - "javax.servlet.ServletResponse", - "javax.servlet.annotation.WebFilter", - "com.ibm.websphere.samples.daytrader.interfaces.Trace", - "com.ibm.websphere.samples.daytrader.util.Diagnostics" - ], - "type_declarations": { - "com.ibm.websphere.samples.daytrader.web.servlet.PrimFilter": { - "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": "\n * @see Filter#init(FilterConfig)\n ", - "start_line": 35, - "end_line": 37, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\n * @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)\n ", - "start_line": 45, - "end_line": 47, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " wrapper ", - "start_line": 57, - "end_line": 57, - "start_column": 29, - "end_column": 41, - "is_javadoc": false - }, - { - "content": "\n * @see Filter#destroy()\n ", - "start_line": 60, - "end_line": 62, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "implements_list": [ - "javax.servlet.Filter" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@WebFilter(filterName = \"PrimFilter\", urlPatterns = \"/drive/*\")", - "@Trace" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/PrimFilter.java", - "signature": "destroy()", - "comments": [ - { - "content": "\n * @see Filter#destroy()\n ", - "start_line": 60, - "end_line": 62, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void destroy()", - "parameters": [], - "code": "{\n this.filterConfig = null;\n}", - "start_line": 63, - "end_line": 66, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.servlet.FilterConfig" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.servlet.PrimFilter.filterConfig" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "init(FilterConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/PrimFilter.java", - "signature": "init(FilterConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(FilterConfig filterConfig) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.FilterConfig", - "name": "filterConfig", - "annotations": [], - "modifiers": [], - "start_line": 41, - "end_line": 41, - "start_column": 20, - "end_column": 44 - } - ], - "code": "{\n this.filterConfig = filterConfig;\n}", - "start_line": 40, - "end_line": 43, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.servlet.FilterConfig" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.servlet.PrimFilter.filterConfig" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doFilter(ServletRequest, ServletResponse, FilterChain)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/PrimFilter.java", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "comments": [ - { - "content": " wrapper ", - "start_line": 57, - "end_line": 57, - "start_column": 29, - "end_column": 41, - "is_javadoc": false - }, - { - "content": "\n * @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)\n ", - "start_line": 45, - "end_line": 47, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.io.IOException", - "javax.servlet.ServletException" - ], - "declaration": "public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException, ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 49, - "end_line": 49, - "start_column": 24, - "end_column": 41 - }, - { - "type": "javax.servlet.ServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 49, - "end_line": 49, - "start_column": 44, - "end_column": 63 - }, - { - "type": "javax.servlet.FilterChain", - "name": "chain", - "annotations": [], - "modifiers": [], - "start_line": 49, - "end_line": 49, - "start_column": 66, - "end_column": 82 - } - ], - "code": "{\n if (filterConfig == null) {\n return;\n }\n Diagnostics.checkDiagnostics();\n chain.doFilter(req, resp);\n}", - "start_line": 48, - "end_line": 58, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.servlet.PrimFilter.filterConfig" - ], - "call_sites": [ - { - "method_name": "checkDiagnostics", - "comment": null, - "receiver_expr": "Diagnostics", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Diagnostics", - "argument_types": [], - "return_type": "", - "callee_signature": "checkDiagnostics()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 55, - "start_column": 5, - "end_line": 55, - "end_column": 34 - }, - { - "method_name": "doFilter", - "comment": null, - "receiver_expr": "chain", - "receiver_type": "javax.servlet.FilterChain", - "argument_types": [ - "javax.servlet.ServletRequest", - "javax.servlet.ServletResponse" - ], - "return_type": "", - "callee_signature": "doFilter(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": 57, - "start_column": 5, - "end_line": 57, - "end_column": 42 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": "\n * @see Filter#init(FilterConfig)\n ", - "start_line": 35, - "end_line": 37, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "name": null, - "type": "javax.servlet.FilterConfig", - "start_line": 38, - "end_line": 38, - "variables": [ - "filterConfig" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": true - } - }, - "is_modified": false - }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -84315,7 +82281,7 @@ "nested_type_declarations": [], "callable_declarations": { "rndFloat(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFloat(int)", "comments": [], "annotations": [], @@ -84337,9 +82303,10 @@ "end_column": 36 } ], - "code": "{\n return (new Float(random() * i)).floatValue();\n}", + "code": "{\n return (new Float(random() * i)).floatValue();\n }", "start_line": 330, "end_line": 332, + "code_start_line": 330, "return_type": "float", "is_implicit": false, "is_constructor": false, @@ -84419,7 +82386,7 @@ "is_entrypoint": false }, "getAccessMode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getAccessMode()", "comments": [], "annotations": [], @@ -84430,9 +82397,10 @@ "thrown_exceptions": [], "declaration": "public static int getAccessMode()", "parameters": [], - "code": "{\n return accessMode;\n}", + "code": "{\n return accessMode;\n }", "start_line": 725, "end_line": 727, + "code_start_line": 725, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -84448,7 +82416,7 @@ "is_entrypoint": false }, "getMarketSummaryInterval()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMarketSummaryInterval()", "comments": [], "annotations": [], @@ -84459,9 +82427,10 @@ "thrown_exceptions": [], "declaration": "public static int getMarketSummaryInterval()", "parameters": [], - "code": "{\n return TradeConfig.marketSummaryInterval;\n}", + "code": "{\n return TradeConfig.marketSummaryInterval;\n }", "start_line": 701, "end_line": 703, + "code_start_line": 701, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -84477,7 +82446,7 @@ "is_entrypoint": false }, "getRunTimeModeNames()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getRunTimeModeNames()", "comments": [ { @@ -84497,9 +82466,10 @@ "thrown_exceptions": [], "declaration": "public static java.lang.String[] getRunTimeModeNames()", "parameters": [], - "code": "{\n return runTimeModeNames;\n}", + "code": "{\n return runTimeModeNames;\n }", "start_line": 217, "end_line": 219, + "code_start_line": 217, "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, @@ -84515,7 +82485,7 @@ "is_entrypoint": false }, "getPrimIterations()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPrimIterations()", "comments": [], "annotations": [], @@ -84526,9 +82496,10 @@ "thrown_exceptions": [], "declaration": "public static int getPrimIterations()", "parameters": [], - "code": "{\n return primIterations;\n}", + "code": "{\n return primIterations;\n }", "start_line": 673, "end_line": 675, + "code_start_line": 673, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -84544,7 +82515,7 @@ "is_entrypoint": false }, "rndAddress()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndAddress()", "comments": [], "annotations": [], @@ -84555,9 +82526,10 @@ "thrown_exceptions": [], "declaration": "public static String rndAddress()", "parameters": [], - "code": "{\n return rndInt(1000) + \" Oak St.\";\n}", + "code": "{\n return rndInt(1000) + \" Oak St.\";\n }", "start_line": 305, "end_line": 307, + "code_start_line": 305, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -84595,7 +82567,7 @@ "is_entrypoint": false }, "getHostname()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getHostname()", "comments": [ { @@ -84615,9 +82587,10 @@ "thrown_exceptions": [], "declaration": "private static String getHostname()", "parameters": [], - "code": "{\n try {\n if (hostName == null) {\n hostName = java.net.InetAddress.getLocalHost().getHostName();\n // Strip of fully qualifed domain if necessary\n try {\n hostName = hostName.substring(0, hostName.indexOf('.'));\n } catch (Exception e) {\n }\n }\n } catch (Exception e) {\n Log.error(\"Exception getting local host name using 'localhost' - \", e);\n hostName = \"localhost\";\n }\n return hostName;\n}", + "code": "{\n try {\n if (hostName == null) {\n hostName = java.net.InetAddress.getLocalHost().getHostName();\n // Strip of fully qualifed domain if necessary\n try {\n hostName = hostName.substring(0, hostName.indexOf('.'));\n } catch (Exception e) {\n }\n }\n } catch (Exception e) {\n Log.error(\"Exception getting local host name using 'localhost' - \", e);\n hostName = \"localhost\";\n }\n return hostName;\n }", "start_line": 185, "end_line": 200, + "code_start_line": 185, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -84750,7 +82723,7 @@ "is_entrypoint": false }, "incrementScenarioCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "incrementScenarioCount()", "comments": [], "annotations": [], @@ -84762,9 +82735,10 @@ "thrown_exceptions": [], "declaration": "public static synchronized void incrementScenarioCount()", "parameters": [], - "code": "{\n scenarioCount++;\n}", + "code": "{\n scenarioCount++;\n }", "start_line": 629, "end_line": 631, + "code_start_line": 629, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -84780,7 +82754,7 @@ "is_entrypoint": false }, "setRunTimeMode(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setRunTimeMode(int)", "comments": [], "annotations": [], @@ -84802,9 +82776,10 @@ "end_column": 45 } ], - "code": "{\n runTimeMode = value;\n}", + "code": "{\n runTimeMode = value;\n }", "start_line": 705, "end_line": 707, + "code_start_line": 705, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -84820,7 +82795,7 @@ "is_entrypoint": false }, "setJDBCDriverNeedsGlobalTransation(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setJDBCDriverNeedsGlobalTransation(boolean)", "comments": [ { @@ -84851,9 +82826,10 @@ "end_column": 98 } ], - "code": "{\n JDBCDriverNeedsGlobalTransation = JDBCDriverNeedsGlobalTransationVal;\n}", + "code": "{\n JDBCDriverNeedsGlobalTransation = JDBCDriverNeedsGlobalTransationVal;\n }", "start_line": 650, "end_line": 652, + "code_start_line": 650, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -84869,7 +82845,7 @@ "is_entrypoint": false }, "setDisplayOrderAlerts(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setDisplayOrderAlerts(boolean)", "comments": [], "annotations": [], @@ -84891,9 +82867,10 @@ "end_column": 56 } ], - "code": "{\n displayOrderAlerts = value;\n}", + "code": "{\n displayOrderAlerts = value;\n }", "start_line": 737, "end_line": 739, + "code_start_line": 737, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -84909,7 +82886,7 @@ "is_entrypoint": false }, "rndFullName()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndFullName()", "comments": [], "annotations": [], @@ -84920,9 +82897,10 @@ "thrown_exceptions": [], "declaration": "public static String rndFullName()", "parameters": [], - "code": "{\n return \"first:\" + rndInt(1000) + \" last:\" + rndInt(5000);\n}", + "code": "{\n return \"first:\" + rndInt(1000) + \" last:\" + rndInt(5000);\n }", "start_line": 322, "end_line": 324, + "code_start_line": 322, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -84983,7 +82961,7 @@ "is_entrypoint": false }, "getScenarioMixes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getScenarioMixes()", "comments": [ { @@ -85003,9 +82981,10 @@ "thrown_exceptions": [], "declaration": "public static int[][] getScenarioMixes()", "parameters": [], - "code": "{\n return scenarioMixes;\n}", + "code": "{\n return scenarioMixes;\n }", "start_line": 548, "end_line": 550, + "code_start_line": 548, "return_type": "int[][]", "is_implicit": false, "is_constructor": false, @@ -85021,7 +83000,7 @@ "is_entrypoint": false }, "getMAX_USERS()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_USERS()", "comments": [ { @@ -85041,9 +83020,10 @@ "thrown_exceptions": [], "declaration": "public static int getMAX_USERS()", "parameters": [], - "code": "{\n return MAX_USERS;\n}", + "code": "{\n return MAX_USERS;\n }", "start_line": 557, "end_line": 559, + "code_start_line": 557, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -85059,7 +83039,7 @@ "is_entrypoint": false }, "setMAX_HOLDINGS(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_HOLDINGS(int)", "comments": [ { @@ -85090,9 +83070,10 @@ "end_column": 53 } ], - "code": "{\n MAX_HOLDINGS = mAX_HOLDINGS;\n}", + "code": "{\n MAX_HOLDINGS = mAX_HOLDINGS;\n }", "start_line": 606, "end_line": 608, + "code_start_line": 606, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85108,7 +83089,7 @@ "is_entrypoint": false }, "setMarketSummaryInterval(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMarketSummaryInterval(int)", "comments": [], "annotations": [], @@ -85130,9 +83111,10 @@ "end_column": 57 } ], - "code": "{\n TradeConfig.marketSummaryInterval = seconds;\n}", + "code": "{\n TradeConfig.marketSummaryInterval = seconds;\n }", "start_line": 697, "end_line": 699, + "code_start_line": 697, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85148,7 +83130,7 @@ "is_entrypoint": false }, "getMAX_QUOTES()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_QUOTES()", "comments": [ { @@ -85168,9 +83150,10 @@ "thrown_exceptions": [], "declaration": "public static int getMAX_QUOTES()", "parameters": [], - "code": "{\n return MAX_QUOTES;\n}", + "code": "{\n return MAX_QUOTES;\n }", "start_line": 577, "end_line": 579, + "code_start_line": 577, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -85186,7 +83169,7 @@ "is_entrypoint": false }, "rndQuantity()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndQuantity()", "comments": [], "annotations": [], @@ -85197,9 +83180,10 @@ "thrown_exceptions": [], "declaration": "public static float rndQuantity()", "parameters": [], - "code": "{\n return ((new Integer(rndInt(200))).floatValue()) + 1.0f;\n}", + "code": "{\n return ((new Integer(rndInt(200))).floatValue()) + 1.0f;\n }", "start_line": 373, "end_line": 375, + "code_start_line": 373, "return_type": "float", "is_implicit": false, "is_constructor": false, @@ -85281,7 +83265,7 @@ "is_entrypoint": false }, "getLongRun()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getLongRun()", "comments": [], "annotations": [], @@ -85292,9 +83276,10 @@ "thrown_exceptions": [], "declaration": "public static boolean getLongRun()", "parameters": [], - "code": "{\n return longRun;\n}", + "code": "{\n return longRun;\n }", "start_line": 681, "end_line": 683, + "code_start_line": 681, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -85310,7 +83295,7 @@ "is_entrypoint": false }, "setPublishQuotePriceChange(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPublishQuotePriceChange(boolean)", "comments": [], "annotations": [], @@ -85332,9 +83317,10 @@ "end_column": 79 } ], - "code": "{\n TradeConfig.publishQuotePriceChange = publishQuotePriceChange;\n}", + "code": "{\n TradeConfig.publishQuotePriceChange = publishQuotePriceChange;\n }", "start_line": 689, "end_line": 691, + "code_start_line": 689, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85350,7 +83336,7 @@ "is_entrypoint": false }, "setListQuotePriceChangeFrequency(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setListQuotePriceChangeFrequency(int)", "comments": [], "annotations": [], @@ -85372,9 +83358,10 @@ "end_column": 63 } ], - "code": "{\n listQuotePriceChangeFrequency = value;\n}", + "code": "{\n listQuotePriceChangeFrequency = value;\n }", "start_line": 745, "end_line": 747, + "code_start_line": 745, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85390,7 +83377,7 @@ "is_entrypoint": false }, "getNextUserIDFromDeck()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getNextUserIDFromDeck()", "comments": [], "annotations": [], @@ -85402,9 +83389,10 @@ "thrown_exceptions": [], "declaration": "private static synchronized String getNextUserIDFromDeck()", "parameters": [], - "code": "{\n int numUsers = getMAX_USERS();\n if (deck == null) {\n deck = new ArrayList(numUsers);\n for (int i = 0; i < numUsers; i++) {\n deck.add(i, new Integer(i));\n }\n java.util.Collections.shuffle(deck, r0);\n }\n if (card >= numUsers) {\n card = 0;\n }\n return \"uid:\" + deck.get(card++);\n}", + "code": "{\n int numUsers = getMAX_USERS();\n if (deck == null) {\n deck = new ArrayList(numUsers);\n for (int i = 0; i < numUsers; i++) {\n deck.add(i, new Integer(i));\n }\n java.util.Collections.shuffle(deck, r0);\n }\n if (card >= numUsers) {\n card = 0;\n }\n return \"uid:\" + deck.get(card++);\n\n }", "start_line": 404, "end_line": 418, + "code_start_line": 404, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -85599,7 +83587,7 @@ "is_entrypoint": false }, "setOrderProcessingMode(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setOrderProcessingMode(int)", "comments": [], "annotations": [], @@ -85621,9 +83609,10 @@ "end_column": 53 } ], - "code": "{\n orderProcessingMode = value;\n}", + "code": "{\n orderProcessingMode = value;\n }", "start_line": 713, "end_line": 715, + "code_start_line": 713, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85639,7 +83628,7 @@ "is_entrypoint": false }, "setMAX_USERS(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_USERS(int)", "comments": [ { @@ -85678,9 +83667,10 @@ "end_column": 47 } ], - "code": "{\n MAX_USERS = mAX_USERS;\n // reset the card deck for selecting users\n deck = null;\n}", + "code": "{\n MAX_USERS = mAX_USERS;\n deck = null; // reset the card deck for selecting users\n }", "start_line": 567, "end_line": 570, + "code_start_line": 567, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85697,7 +83687,7 @@ "is_entrypoint": false }, "getDisplayOrderAlerts()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getDisplayOrderAlerts()", "comments": [], "annotations": [], @@ -85708,9 +83698,10 @@ "thrown_exceptions": [], "declaration": "public static boolean getDisplayOrderAlerts()", "parameters": [], - "code": "{\n return displayOrderAlerts;\n}", + "code": "{\n return displayOrderAlerts;\n }", "start_line": 741, "end_line": 743, + "code_start_line": 741, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -85726,7 +83717,7 @@ "is_entrypoint": false }, "getListQuotePriceChangeFrequency()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getListQuotePriceChangeFrequency()", "comments": [], "annotations": [], @@ -85737,9 +83728,10 @@ "thrown_exceptions": [], "declaration": "public static int getListQuotePriceChangeFrequency()", "parameters": [], - "code": "{\n return listQuotePriceChangeFrequency;\n}", + "code": "{\n return listQuotePriceChangeFrequency;\n }", "start_line": 749, "end_line": 751, + "code_start_line": 749, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -85755,7 +83747,7 @@ "is_entrypoint": false }, "setUpdateQuotePrices(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setUpdateQuotePrices(boolean)", "comments": [ { @@ -85786,9 +83778,10 @@ "end_column": 67 } ], - "code": "{\n TradeConfig.updateQuotePrices = updateQuotePrices;\n}", + "code": "{\n TradeConfig.updateQuotePrices = updateQuotePrices;\n }", "start_line": 669, "end_line": 671, + "code_start_line": 669, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85804,7 +83797,7 @@ "is_entrypoint": false }, "setAccessMode(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setAccessMode(int)", "comments": [], "annotations": [], @@ -85826,9 +83819,10 @@ "end_column": 44 } ], - "code": "{\n accessMode = value;\n}", + "code": "{\n accessMode = value;\n }", "start_line": 721, "end_line": 723, + "code_start_line": 721, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85844,7 +83838,7 @@ "is_entrypoint": false }, "incrementSellDeficit()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "incrementSellDeficit()", "comments": [ { @@ -85865,9 +83859,10 @@ "thrown_exceptions": [], "declaration": "public static synchronized void incrementSellDeficit()", "parameters": [], - "code": "{\n sellDeficit++;\n}", + "code": "{\n sellDeficit++;\n }", "start_line": 285, "end_line": 287, + "code_start_line": 285, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -85883,7 +83878,7 @@ "is_entrypoint": false }, "getJDBCDriverNeedsGlobalTransation()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getJDBCDriverNeedsGlobalTransation()", "comments": [ { @@ -85903,9 +83898,10 @@ "thrown_exceptions": [], "declaration": "public static boolean getJDBCDriverNeedsGlobalTransation()", "parameters": [], - "code": "{\n return JDBCDriverNeedsGlobalTransation;\n}", + "code": "{\n return JDBCDriverNeedsGlobalTransation;\n }", "start_line": 640, "end_line": 642, + "code_start_line": 640, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -85921,7 +83917,7 @@ "is_entrypoint": false }, "rndNewUserID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndNewUserID()", "comments": [ { @@ -85942,9 +83938,10 @@ "thrown_exceptions": [], "declaration": "public static synchronized String rndNewUserID()", "parameters": [], - "code": "{\n return newUserPrefix + getHostname() + System.currentTimeMillis() + count++;\n}", + "code": "{\n\n return newUserPrefix + getHostname() + System.currentTimeMillis() + count++;\n }", "start_line": 345, "end_line": 348, + "code_start_line": 345, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -86004,7 +84001,7 @@ "is_entrypoint": false }, "rndPrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndPrice()", "comments": [], "annotations": [], @@ -86015,9 +84012,10 @@ "thrown_exceptions": [], "declaration": "public static float rndPrice()", "parameters": [], - "code": "{\n return ((new Integer(rndInt(200))).floatValue()) + 1.0f;\n}", + "code": "{\n return ((new Integer(rndInt(200))).floatValue()) + 1.0f;\n }", "start_line": 350, "end_line": 352, + "code_start_line": 350, "return_type": "float", "is_implicit": false, "is_constructor": false, @@ -86099,7 +84097,7 @@ "is_entrypoint": false }, "getMAX_HOLDINGS()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getMAX_HOLDINGS()", "comments": [ { @@ -86119,9 +84117,10 @@ "thrown_exceptions": [], "declaration": "public static int getMAX_HOLDINGS()", "parameters": [], - "code": "{\n return MAX_HOLDINGS;\n}", + "code": "{\n return MAX_HOLDINGS;\n }", "start_line": 596, "end_line": 598, + "code_start_line": 596, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -86137,7 +84136,7 @@ "is_entrypoint": false }, "getOrderFee(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": [], @@ -86159,9 +84158,10 @@ "end_column": 55 } ], - "code": "{\n if ((orderType.compareToIgnoreCase(\"BUY\") == 0) || (orderType.compareToIgnoreCase(\"SELL\") == 0)) {\n return orderFee;\n }\n return cashFee;\n}", + "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, @@ -86225,7 +84225,7 @@ "is_entrypoint": false }, "getScenarioAction(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)", "comments": [ { @@ -86280,9 +84280,10 @@ "end_column": 54 } ], - "code": "{\n // 0 to 99 = 100\n int r = rndInt(100);\n int i = 0;\n int sum = scenarioMixes[0][i];\n while (sum <= r) {\n i++;\n sum += scenarioMixes[0][i];\n }\n incrementScenarioCount();\n /*\n * In TradeScenarioServlet, if a sell action is selected, but the users\n * portfolio is empty, a buy is executed instead and sellDefecit is\n * incremented. This allows the number of buy/sell operations to stay in\n * sync w/ the given Trade mix.\n */\n if ((!newUser) && (actions[i] == 'b')) {\n synchronized (TradeConfig.class) {\n if (sellDeficit > 0) {\n sellDeficit--;\n return 's';\n // Special case for TradeScenarioServlet to note this is a\n // buy switched to a sell to fix sellDeficit\n }\n }\n }\n return actions[i];\n}", + "code": "{\n int r = rndInt(100); // 0 to 99 = 100\n int i = 0;\n int sum = scenarioMixes[0][i];\n while (sum <= r) {\n i++;\n sum += scenarioMixes[0][i];\n }\n\n incrementScenarioCount();\n\n /*\n * In TradeScenarioServlet, if a sell action is selected, but the users\n * portfolio is empty, a buy is executed instead and sellDefecit is\n * incremented. This allows the number of buy/sell operations to stay in\n * sync w/ the given Trade mix.\n */\n\n if ((!newUser) && (actions[i] == 'b')) {\n synchronized (TradeConfig.class) {\n if (sellDeficit > 0) {\n sellDeficit--;\n return 's';\n // Special case for TradeScenarioServlet to note this is a\n // buy switched to a sell to fix sellDeficit\n }\n }\n }\n\n return actions[i];\n }", "start_line": 228, "end_line": 258, + "code_start_line": 228, "return_type": "char", "is_implicit": false, "is_constructor": false, @@ -86397,7 +84398,7 @@ "is_entrypoint": false }, "setPrimIterations(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setPrimIterations(int)", "comments": [], "annotations": [], @@ -86419,9 +84420,10 @@ "end_column": 47 } ], - "code": "{\n primIterations = iter;\n}", + "code": "{\n primIterations = iter;\n }", "start_line": 677, "end_line": 679, + "code_start_line": 677, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -86437,7 +84439,7 @@ "is_entrypoint": false }, "nextUserID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "nextUserID()", "comments": [], "annotations": [], @@ -86448,9 +84450,10 @@ "thrown_exceptions": [], "declaration": "public static String nextUserID()", "parameters": [], - "code": "{\n String userID;\n synchronized (userID_count_semaphore) {\n userID = \"uid:\" + userID_count;\n userID_count++;\n if (userID_count % MAX_USERS == 0) {\n userID_count = 0;\n }\n }\n return userID;\n}", + "code": "{\n String userID;\n synchronized (userID_count_semaphore) {\n userID = \"uid:\" + userID_count;\n userID_count++;\n if (userID_count % MAX_USERS == 0) {\n userID_count = 0;\n }\n }\n return userID;\n }", "start_line": 289, "end_line": 299, + "code_start_line": 289, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -86488,7 +84491,7 @@ "is_entrypoint": false }, "getPage(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPage(int)", "comments": [], "annotations": [], @@ -86510,9 +84513,10 @@ "end_column": 45 } ], - "code": "{\n return webUI[webInterface][pageNumber];\n}", + "code": "{\n return webUI[webInterface][pageNumber];\n }", "start_line": 207, "end_line": 209, + "code_start_line": 207, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -86529,7 +84533,7 @@ "is_entrypoint": false }, "setMAX_QUOTES(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setMAX_QUOTES(int)", "comments": [ { @@ -86560,9 +84564,10 @@ "end_column": 49 } ], - "code": "{\n MAX_QUOTES = mAX_QUOTES;\n}", + "code": "{\n MAX_QUOTES = mAX_QUOTES;\n }", "start_line": 587, "end_line": 589, + "code_start_line": 587, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -86578,7 +84583,7 @@ "is_entrypoint": false }, "getWebInterfaceNames()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getWebInterfaceNames()", "comments": [ { @@ -86598,9 +84603,10 @@ "thrown_exceptions": [], "declaration": "public static String[] getWebInterfaceNames()", "parameters": [], - "code": "{\n return webInterfaceNames;\n}", + "code": "{\n return webInterfaceNames;\n }", "start_line": 530, "end_line": 532, + "code_start_line": 530, "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, @@ -86616,7 +84622,7 @@ "is_entrypoint": false }, "getUpdateQuotePrices()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getUpdateQuotePrices()", "comments": [ { @@ -86636,9 +84642,10 @@ "thrown_exceptions": [], "declaration": "public static boolean getUpdateQuotePrices()", "parameters": [], - "code": "{\n return updateQuotePrices;\n}", + "code": "{\n return updateQuotePrices;\n }", "start_line": 659, "end_line": 661, + "code_start_line": 659, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -86654,7 +84661,7 @@ "is_entrypoint": false }, "rndBoolean()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "rndBoolean()", "comments": [], "annotations": [], @@ -86665,9 +84672,10 @@ "thrown_exceptions": [], "declaration": "public static boolean rndBoolean()", "parameters": [], - "code": "{\n return randomNumberGenerator.nextBoolean();\n}", + "code": "{\n return randomNumberGenerator.nextBoolean();\n }", "start_line": 338, "end_line": 340, + "code_start_line": 338, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -86705,7 +84713,7 @@ "is_entrypoint": false }, "setScenarioCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)", "comments": [ { @@ -86736,9 +84744,10 @@ "end_column": 55 } ], - "code": "{\n TradeConfig.scenarioCount = scenarioCount;\n}", + "code": "{\n TradeConfig.scenarioCount = scenarioCount;\n }", "start_line": 625, "end_line": 627, + "code_start_line": 625, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -86754,7 +84763,7 @@ "is_entrypoint": false }, "getPublishQuotePriceChange()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "getPublishQuotePriceChange()", "comments": [], "annotations": [], @@ -86765,9 +84774,10 @@ "thrown_exceptions": [], "declaration": "public static boolean getPublishQuotePriceChange()", "parameters": [], - "code": "{\n return publishQuotePriceChange;\n}", + "code": "{\n return publishQuotePriceChange;\n }", "start_line": 693, "end_line": 695, + "code_start_line": 693, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -86783,7 +84793,7 @@ "is_entrypoint": false }, "setLongRun(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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": "setLongRun(boolean)", "comments": [], "annotations": [], @@ -86805,9 +84815,10 @@ "end_column": 47 } ], - "code": "{\n TradeConfig.longRun = longRun;\n}", + "code": "{\n TradeConfig.longRun = longRun;\n }", "start_line": 685, "end_line": 687, + "code_start_line": 685, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -86823,7 +84834,7 @@ "is_entrypoint": false }, "setConfigParam(String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "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)", "comments": [ { @@ -86960,9 +84971,10 @@ "end_column": 61 } ], - "code": "{\n Log.log(\"TradeConfig setting parameter: \" + parm + \"=\" + value);\n // Compare the parm value to valid TradeConfig parameters that can be\n // set\n // by servlet initialization\n // First check the proposed new parm and value - if empty or null ignore\n // it\n if (parm == null) {\n return;\n }\n parm = parm.trim();\n if (parm.length() <= 0) {\n return;\n }\n if (value == null) {\n return;\n }\n value = value.trim();\n if (parm.equalsIgnoreCase(\"orderProcessingMode\")) {\n try {\n for (int i = 0; i < orderProcessingModeNames.length; i++) {\n if (value.equalsIgnoreCase(orderProcessingModeNames[i])) {\n orderProcessingMode = i;\n break;\n }\n }\n } catch (Exception e) {\n Log.error(\"TradeConfig.setConfigParm(..): minor exception caught\" + \"trying to set orderProcessingMode to \" + value + \"reverting to current value: \" + orderProcessingModeNames[orderProcessingMode], e);\n }\n // If the value is bad, simply revert to current\n } else if (parm.equalsIgnoreCase(\"accessMode\")) {\n try {\n for (int i = 0; i < accessModeNames.length; i++) {\n if (value.equalsIgnoreCase(accessModeNames[i])) {\n accessMode = i;\n break;\n }\n }\n } catch (Exception e) {\n Log.error(\"TradeConfig.setConfigParm(..): minor exception caught\" + \"trying to set accessMode to \" + value + \"reverting to current value: \" + accessModeNames[accessMode], e);\n }\n } else if (parm.equalsIgnoreCase(\"WebInterface\")) {\n try {\n for (int i = 0; i < webInterfaceNames.length; i++) {\n if (value.equalsIgnoreCase(webInterfaceNames[i])) {\n webInterface = i;\n break;\n }\n }\n } catch (Exception e) {\n Log.error(\"TradeConfig.setConfigParm(..): minor exception caught\" + \"trying to set WebInterface to \" + value + \"reverting to current value: \" + webInterfaceNames[webInterface], e);\n }\n // If the value is bad, simply revert to current\n } else if (parm.equalsIgnoreCase(\"maxUsers\")) {\n try {\n MAX_USERS = Integer.parseInt(value);\n } catch (Exception e) {\n Log.error(\"TradeConfig.setConfigParm(..): minor exception caught\" + \"Setting maxusers, error parsing string to int:\" + value + \"revering to current value: \" + MAX_USERS, e);\n }\n // On error, revert to saved\n } else if (parm.equalsIgnoreCase(\"maxQuotes\")) {\n try {\n MAX_QUOTES = Integer.parseInt(value);\n } catch (Exception e) {\n // >>rjm\n Log.error(\"TradeConfig.setConfigParm(...) minor exception caught\" + \"Setting max_quotes, error parsing string to int \" + value + \"reverting to current value: \" + MAX_QUOTES, e);\n // <>rjm\n Log.error(\"TradeConfig.setConfigParm(...) minor exception caught\" + \"Setting max_quotes, error parsing string to int \" + value\n + \"reverting to current value: \" + MAX_QUOTES, e);\n // <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
    \" + \"\");\n } catch (Exception e) {\n Log.error(e, \"ExplicitGC.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n ServletOutputStream out = res.getOutputStream();\n hitCount++;\n long totalMemory = Runtime.getRuntime().totalMemory();\n\n long maxMemoryBeforeGC = Runtime.getRuntime().maxMemory();\n long freeMemoryBeforeGC = Runtime.getRuntime().freeMemory();\n long startTime = System.currentTimeMillis();\n\n System.gc(); // Invoke the GC.\n\n long endTime = System.currentTimeMillis();\n long maxMemoryAfterGC = Runtime.getRuntime().maxMemory();\n long freeMemoryAfterGC = Runtime.getRuntime().freeMemory();\n\n out.println(\"ExplicitGC\"\n + \"

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

    Hit Count: \"\n + hitCount\n + \"
    \"\n + \"\"\n + \"\"\n + \"
    Total Memory\"\n + totalMemory\n + \"
    \"\n + \"\"\n + \"\"\n + \"\"\n + \"\"\n + \"\"\n + \"\"\n + \"\"\n + \"\"\n + \"\"\n + \"
    \"\n + \"Statistics before GC
    \"\n + \"Max Memory\"\n + maxMemoryBeforeGC\n + \"
    \"\n + \"Free Memory\"\n + freeMemoryBeforeGC\n + \"
    \"\n + \"Used Memory\"\n + (totalMemory - freeMemoryBeforeGC)\n + \"
    Statistics after GC
    \"\n + \"Max Memory\"\n + maxMemoryAfterGC\n + \"
    \"\n + \"Free Memory\"\n + freeMemoryAfterGC\n + \"
    \"\n + \"Used Memory\"\n + (totalMemory - freeMemoryAfterGC)\n + \"
    \"\n + \"Total Time in GC\"\n + Float.toString((endTime - startTime) / 1000)\n + \"s
    \" + \"\");\n } catch (Exception e) {\n Log.error(e, \"ExplicitGC.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 66, "end_line": 133, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -91863,8 +89896,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.entities", "comments": [ { @@ -92148,7 +90181,7 @@ "nested_type_declarations": [], "callable_declarations": { "getCreditCard()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()", "comments": [], "annotations": [], @@ -92158,9 +90191,10 @@ "thrown_exceptions": [], "declaration": "public String getCreditCard()", "parameters": [], - "code": "{\n return creditCard;\n}", + "code": "{\n return creditCard;\n }", "start_line": 147, "end_line": 149, + "code_start_line": 147, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -92176,7 +90210,7 @@ "is_entrypoint": false }, "equals(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)", "comments": [], "annotations": [ @@ -92199,9 +90233,10 @@ "end_column": 39 } ], - "code": "{\n if (!(object instanceof AccountProfileDataBean)) {\n return false;\n }\n AccountProfileDataBean other = (AccountProfileDataBean) object;\n if (this.userID != other.userID && (this.userID == null || !this.userID.equals(other.userID))) {\n return false;\n }\n return true;\n}", + "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, @@ -92262,7 +90297,7 @@ "is_entrypoint": false }, "setEmail(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)", "comments": [], "annotations": [], @@ -92283,9 +90318,10 @@ "end_column": 37 } ], - "code": "{\n this.email = email;\n}", + "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, @@ -92303,7 +90339,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "toString()", "comments": [], "annotations": [ @@ -92315,9 +90351,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return \"\\n\\tAccount Profile Data for userID:\" + getUserID() + \"\\n\\t\\t passwd:\" + getPassword() + \"\\n\\t\\t fullName:\" + getFullName() + \"\\n\\t\\t address:\" + getAddress() + \"\\n\\t\\t email:\" + getEmail() + \"\\n\\t\\t creditCard:\" + getCreditCard();\n}", + "code": "{\n return \"\\n\\tAccount Profile Data for userID:\" + getUserID() + \"\\n\\t\\t passwd:\" + getPassword() + \"\\n\\t\\t fullName:\" + getFullName()\n + \"\\n\\t\\t address:\" + getAddress() + \"\\n\\t\\t email:\" + getEmail() + \"\\n\\t\\t creditCard:\" + getCreditCard();\n }", "start_line": 91, "end_line": 95, + "code_start_line": 92, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -92458,7 +90495,7 @@ "is_entrypoint": false }, "setAccount(AccountDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": [], @@ -92479,9 +90516,10 @@ "end_column": 50 } ], - "code": "{\n this.account = account;\n}", + "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, @@ -92499,7 +90537,7 @@ "is_entrypoint": false }, "getRandomInstance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()", "comments": [ { @@ -92567,9 +90605,10 @@ "thrown_exceptions": [], "declaration": "public static AccountProfileDataBean getRandomInstance()", "parameters": [], - "code": "{\n return new // userID\n AccountProfileDataBean(// userID\n TradeConfig.rndUserID(), // passwd\n TradeConfig.rndUserID(), // fullname\n TradeConfig.rndFullName(), // address\n TradeConfig.rndAddress(), // email\n TradeConfig.rndEmail(TradeConfig.rndUserID()), // creditCard\n TradeConfig.rndCreditCard());\n}", + "code": "{\n return new AccountProfileDataBean(TradeConfig.rndUserID(), // userID\n TradeConfig.rndUserID(), // passwd\n TradeConfig.rndFullName(), // fullname\n TradeConfig.rndAddress(), // address\n TradeConfig.rndEmail(TradeConfig.rndUserID()), // email\n TradeConfig.rndCreditCard() // creditCard\n );\n }", "start_line": 81, "end_line": 89, + "code_start_line": 81, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, @@ -92768,7 +90807,7 @@ "is_entrypoint": false }, "setUserID(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)", "comments": [], "annotations": [], @@ -92789,9 +90828,10 @@ "end_column": 39 } ], - "code": "{\n this.userID = userID;\n}", + "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, @@ -92809,7 +90849,7 @@ "is_entrypoint": false }, "getEmail()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getEmail()", "comments": [], "annotations": [], @@ -92819,9 +90859,10 @@ "thrown_exceptions": [], "declaration": "public String getEmail()", "parameters": [], - "code": "{\n return email;\n}", + "code": "{\n return email;\n }", "start_line": 139, "end_line": 141, + "code_start_line": 139, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -92837,7 +90878,7 @@ "is_entrypoint": false }, "getUserID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getUserID()", "comments": [], "annotations": [], @@ -92847,9 +90888,10 @@ "thrown_exceptions": [], "declaration": "public String getUserID()", "parameters": [], - "code": "{\n return userID;\n}", + "code": "{\n return userID;\n }", "start_line": 107, "end_line": 109, + "code_start_line": 107, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -92865,7 +90907,7 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "hashCode()", "comments": [], "annotations": [ @@ -92877,9 +90919,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n int hash = 0;\n hash += (this.userID != null ? this.userID.hashCode() : 0);\n return hash;\n}", + "code": "{\n int hash = 0;\n hash += (this.userID != null ? this.userID.hashCode() : 0);\n return hash;\n }", "start_line": 163, "end_line": 168, + "code_start_line": 164, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -92937,7 +90980,7 @@ "is_entrypoint": false }, "setFullName(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": [], @@ -92958,9 +91001,10 @@ "end_column": 43 } ], - "code": "{\n this.fullName = fullName;\n}", + "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, @@ -92978,7 +91022,7 @@ "is_entrypoint": false }, "getAddress()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()", "comments": [], "annotations": [], @@ -92988,9 +91032,10 @@ "thrown_exceptions": [], "declaration": "public String getAddress()", "parameters": [], - "code": "{\n return address;\n}", + "code": "{\n return address;\n }", "start_line": 131, "end_line": 133, + "code_start_line": 131, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -93006,7 +91051,7 @@ "is_entrypoint": false }, "print()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "print()", "comments": [], "annotations": [], @@ -93016,9 +91061,10 @@ "thrown_exceptions": [], "declaration": "public void print()", "parameters": [], - "code": "{\n Log.log(this.toString());\n}", + "code": "{\n Log.log(this.toString());\n }", "start_line": 103, "end_line": 105, + "code_start_line": 103, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -93077,7 +91123,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()", "comments": [], "annotations": [], @@ -93087,9 +91133,10 @@ "thrown_exceptions": [], "declaration": "public AccountProfileDataBean()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 69, "end_line": 70, + "code_start_line": 69, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -93103,7 +91150,7 @@ "is_entrypoint": false }, "getPassword()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getPassword()", "comments": [], "annotations": [], @@ -93113,9 +91160,10 @@ "thrown_exceptions": [], "declaration": "public String getPassword()", "parameters": [], - "code": "{\n return passwd;\n}", + "code": "{\n return passwd;\n }", "start_line": 115, "end_line": 117, + "code_start_line": 115, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -93131,7 +91179,7 @@ "is_entrypoint": false }, "setCreditCard(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)", "comments": [], "annotations": [], @@ -93152,9 +91200,10 @@ "end_column": 47 } ], - "code": "{\n this.creditCard = creditCard;\n}", + "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, @@ -93172,7 +91221,7 @@ "is_entrypoint": false }, "(String, String, String, String, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": [], @@ -93243,9 +91292,10 @@ "end_column": 130 } ], - "code": "{\n setUserID(userID);\n setPassword(password);\n setFullName(fullName);\n setAddress(address);\n setEmail(email);\n setCreditCard(creditCard);\n}", + "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, @@ -93404,7 +91454,7 @@ "is_entrypoint": false }, "toHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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()", "comments": [], "annotations": [], @@ -93414,9 +91464,10 @@ "thrown_exceptions": [], "declaration": "public String toHTML()", "parameters": [], - "code": "{\n return \"
    Account Profile Data for userID: \" + getUserID() + \"\" + \"
  • passwd:\" + getPassword() + \"
  • \" + \"
  • fullName:\" + getFullName() + \"
  • \" + \"
  • address:\" + getAddress() + \"
  • \" + \"
  • email:\" + getEmail() + \"
  • \" + \"
  • creditCard:\" + getCreditCard() + \"
  • \";\n}", + "code": "{\n return \"
    Account Profile Data for userID: \" + getUserID() + \"\" + \"
  • passwd:\" + getPassword() + \"
  • \" + \"
  • fullName:\"\n + getFullName() + \"
  • \" + \"
  • address:\" + getAddress() + \"
  • \" + \"
  • email:\" + getEmail() + \"
  • \" + \"
  • creditCard:\"\n + getCreditCard() + \"
  • \";\n }", "start_line": 97, "end_line": 101, + "code_start_line": 97, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -93557,7 +91608,7 @@ "is_entrypoint": false }, "setPassword(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)", "comments": [], "annotations": [], @@ -93578,9 +91629,10 @@ "end_column": 43 } ], - "code": "{\n this.passwd = password;\n}", + "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, @@ -93598,7 +91650,7 @@ "is_entrypoint": false }, "getFullName()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getFullName()", "comments": [], "annotations": [], @@ -93608,9 +91660,10 @@ "thrown_exceptions": [], "declaration": "public String getFullName()", "parameters": [], - "code": "{\n return fullName;\n}", + "code": "{\n return fullName;\n }", "start_line": 123, "end_line": 125, + "code_start_line": 123, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -93626,7 +91679,7 @@ "is_entrypoint": false }, "setAddress(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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)", "comments": [], "annotations": [], @@ -93647,9 +91700,10 @@ "end_column": 41 } ], - "code": "{\n this.address = address;\n}", + "code": "{\n this.address = address;\n }", "start_line": 135, "end_line": 137, + "code_start_line": 135, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -93667,7 +91721,7 @@ "is_entrypoint": false }, "getAccount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "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": "getAccount()", "comments": [], "annotations": [], @@ -93677,9 +91731,10 @@ "thrown_exceptions": [], "declaration": "public AccountDataBean getAccount()", "parameters": [], - "code": "{\n return account;\n}", + "code": "{\n return account;\n }", "start_line": 155, "end_line": 157, + "code_start_line": 155, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -93896,8 +91951,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -94027,7 +92082,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.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/PingServlet30Async.java", "signature": "init(ServletConfig)", "comments": [ { @@ -94061,9 +92116,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -94146,7 +92202,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.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/PingServlet30Async.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -94191,9 +92247,10 @@ "end_column": 70 } ], - "code": "{\n res.setContentType(\"text/html\");\n AsyncContext ac = req.startAsync();\n StringBuilder sb = new StringBuilder();\n ServletInputStream input = req.getInputStream();\n byte[] b = new byte[1024];\n int len = -1;\n while ((len = input.read(b)) != -1) {\n String data = new String(b, 0, len);\n sb.append(data);\n }\n ServletOutputStream output = res.getOutputStream();\n output.println(\"Ping Servlet 3.0 Async\" + \"

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

    Hit Count: \" + ++hitCount + \"
    Data Received: \" + sb.toString() + \"\");\n ac.complete();\n}", + "code": "{\n res.setContentType(\"text/html\");\n \n AsyncContext ac = req.startAsync();\n StringBuilder sb = new StringBuilder();\n \n ServletInputStream input = req.getInputStream();\n byte[] b = new byte[1024];\n int len = -1;\n while ((len = input.read(b)) != -1) {\n String data = new String(b, 0, len);\n sb.append(data);\n }\n\n ServletOutputStream output = res.getOutputStream();\n \n output.println(\"Ping Servlet 3.0 Async\"\n + \"

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

    Hit Count: \" + ++hitCount + \"
    Data Received: \"+ sb.toString() + \"\");\n \n ac.complete();\n }", "start_line": 55, "end_line": 78, + "code_start_line": 56, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -94580,7 +92637,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.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/PingServlet30Async.java", "signature": "getServletInfo()", "comments": [ { @@ -94601,9 +92658,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", "start_line": 100, "end_line": 103, + "code_start_line": 101, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -94617,7 +92675,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.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/PingServlet30Async.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -94662,9 +92720,10 @@ "end_column": 69 } ], - "code": "{\n doPost(req, res);\n}", + "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, @@ -94780,8 +92839,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -94931,7 +92990,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -94956,9 +93015,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -95041,7 +93101,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -95077,9 +93137,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 59, "end_line": 62, + "code_start_line": 60, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -95118,7 +93179,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -95130,9 +93191,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n}", + "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, @@ -95146,7 +93208,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.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/ejb3/PingServlet2Session.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -95223,9 +93285,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n // use a stringbuffer to avoid concatenation of Strings\n StringBuffer output = new StringBuffer(100);\n output.append(\"PingServlet2SessionLocal\" + \"
    PingServlet2SessionLocal
    \" + \"\" + \"Tests the basis path from a Servlet to a Session Bean.\");\n try {\n try {\n // create three random numbers\n double rnd1 = Math.random() * 1000000;\n double rnd2 = Math.random() * 1000000;\n // use a function to do some work.\n double increase = 0.0;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n increase = tradeSLSBLocal.investmentReturn(rnd1, rnd2);\n }\n // write out the output\n output.append(\"
    initTime: \" + initTime);\n output.append(\"
    Hit Count: \" + hitCount++);\n output.append(\"
    Investment Return Information

    investment: \" + rnd1);\n output.append(\"
    current Value: \" + rnd2);\n output.append(\"
    investment return \" + increase + \"
    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(\"PingServlet2Session.doGet(...):exception calling trade.investmentReturn \");\n throw e;\n }\n }// this is where I actually handle the exceptions\n catch (Exception e) {\n Log.error(e, \"PingServlet2Session.doGet(...): error\");\n res.sendError(500, \"PingServlet2Session.doGet(...): error, \" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n // use a stringbuffer to avoid concatenation of Strings\n StringBuffer output = new StringBuffer(100);\n output.append(\"PingServlet2SessionLocal\"\n + \"
    PingServlet2SessionLocal
    \" + \"\"\n + \"Tests the basis path from a Servlet to a Session Bean.\");\n\n try {\n\n try {\n // create three random numbers\n double rnd1 = Math.random() * 1000000;\n double rnd2 = Math.random() * 1000000;\n\n // use a function to do some work.\n double increase = 0.0;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n increase = tradeSLSBLocal.investmentReturn(rnd1, rnd2);\n }\n\n // write out the output\n output.append(\"
    initTime: \" + initTime);\n output.append(\"
    Hit Count: \" + hitCount++);\n output.append(\"
    Investment Return Information

    investment: \" + rnd1);\n output.append(\"
    current Value: \" + rnd2);\n output.append(\"
    investment return \" + increase + \"
    \");\n out.println(output.toString());\n\n } catch (Exception e) {\n Log.error(\"PingServlet2Session.doGet(...):exception calling trade.investmentReturn \");\n throw e;\n }\n } // this is where I actually handle the exceptions\n catch (Exception e) {\n Log.error(e, \"PingServlet2Session.doGet(...): error\");\n res.sendError(500, \"PingServlet2Session.doGet(...): error, \" + e.toString());\n\n }\n }", "start_line": 64, "end_line": 107, + "code_start_line": 65, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -95903,8 +93966,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -96095,7 +94158,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "signature": "init(ServletConfig)", "comments": [ { @@ -96145,9 +94208,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n // hitCount = 0;\n // initTime = new java.util.Date().toString();\n}", + "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, @@ -96185,7 +94249,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -96230,9 +94294,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 65, "end_line": 68, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -96271,7 +94336,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "signature": "getServletInfo()", "comments": [ { @@ -96292,9 +94357,10 @@ "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}", + "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, @@ -96308,7 +94374,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.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/PingJDBCRead2JSP.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -96369,9 +94435,10 @@ "end_column": 69 } ], - "code": "{\n String symbol = null;\n QuoteDataBean quoteData = null;\n ServletContext ctx = getServletConfig().getServletContext();\n try {\n symbol = TradeConfig.rndSymbol();\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n quoteData = trade.getQuote(symbol);\n }\n req.setAttribute(\"quoteData\", quoteData);\n // req.setAttribute(\"hitCount\", hitCount);\n // req.setAttribute(\"initTime\", initTime);\n ctx.getRequestDispatcher(\"/quoteDataPrimitive.jsp\").include(req, res);\n } catch (Exception e) {\n Log.error(e, \"PingJDBCRead2JPS -- error getting quote for symbol\", symbol);\n res.sendError(500, \"PingJDBCRead2JSP Exception caught: \" + e.toString());\n }\n}", + "code": "{\n String symbol = null;\n QuoteDataBean quoteData = null;\n ServletContext ctx = getServletConfig().getServletContext();\n\n try {\n \n symbol = TradeConfig.rndSymbol();\n\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n quoteData = trade.getQuote(symbol);\n }\n\n req.setAttribute(\"quoteData\", quoteData);\n // req.setAttribute(\"hitCount\", hitCount);\n // req.setAttribute(\"initTime\", initTime);\n\n ctx.getRequestDispatcher(\"/quoteDataPrimitive.jsp\").include(req, res);\n } catch (Exception e) {\n Log.error(e, \"PingJDBCRead2JPS -- error getting quote for symbol\", symbol);\n res.sendError(500, \"PingJDBCRead2JSP Exception caught: \" + e.toString());\n }\n\n }", "start_line": 79, "end_line": 104, + "code_start_line": 80, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -96781,8 +94848,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/Hit.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/Hit.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/Hit.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/cdi/Hit.java", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -96828,8 +94895,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.beanval", "comments": [ { @@ -96907,7 +94974,7 @@ "nested_type_declarations": [], "callable_declarations": { "getHitCount(LocalDateTime)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.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/beanval/CDIMethodConstraintBean.java", "signature": "getHitCount(LocalDateTime)", "comments": [], "annotations": [ @@ -96933,9 +95000,10 @@ "end_column": 66 } ], - "code": "{\n list.add(++hitCount);\n return hitCount;\n}", + "code": "{\n list.add(++hitCount);\n return hitCount;\n }", "start_line": 36, "end_line": 40, + "code_start_line": 37, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -96976,7 +95044,7 @@ "is_entrypoint": false }, "hitList()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.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/beanval/CDIMethodConstraintBean.java", "signature": "hitList()", "comments": [], "annotations": [ @@ -96988,9 +95056,10 @@ "thrown_exceptions": [], "declaration": "public List<@Min(1) Integer> hitList()", "parameters": [], - "code": "{\n return list;\n}", + "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, @@ -97059,8 +95128,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -97234,7 +95303,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.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/PingJSONPStreaming.java", "signature": "init(ServletConfig)", "comments": [ { @@ -97268,9 +95337,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -97353,7 +95423,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.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/PingJSONPStreaming.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -97398,9 +95468,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 61, "end_line": 64, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -97439,7 +95510,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.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/PingJSONPStreaming.java", "signature": "getServletInfo()", "comments": [ { @@ -97460,9 +95531,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n}", + "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, @@ -97476,7 +95548,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.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/PingJSONPStreaming.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -97537,9 +95609,10 @@ "end_column": 69 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n ServletOutputStream out = res.getOutputStream();\n hitCount++;\n // JSON generate\n StringWriter sw = new StringWriter();\n JsonGenerator generator = Json.createGenerator(sw);\n generator.writeStartObject();\n generator.write(\"initTime\", initTime);\n generator.write(\"hitCount\", hitCount);\n generator.writeEnd();\n generator.flush();\n String generatedJSON = sw.toString();\n StringBuffer parsedJSON = new StringBuffer();\n // JSON parse\n JsonParser parser = Json.createParser(new StringReader(generatedJSON));\n while (parser.hasNext()) {\n JsonParser.Event event = parser.next();\n switch(event) {\n case START_ARRAY:\n case END_ARRAY:\n case START_OBJECT:\n case END_OBJECT:\n case VALUE_FALSE:\n case VALUE_NULL:\n case VALUE_TRUE:\n break;\n case KEY_NAME:\n parsedJSON.append(parser.getString() + \":\");\n break;\n case VALUE_STRING:\n case VALUE_NUMBER:\n parsedJSON.append(parser.getString() + \" \");\n break;\n }\n }\n out.println(\"Ping JSONP\" + \"

    Ping JSONP
    Generated JSON: \" + generatedJSON + \"
    Parsed JSON: \" + parsedJSON + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingJSONP.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n ServletOutputStream out = res.getOutputStream();\n \n hitCount++;\n \n // JSON generate\n StringWriter sw = new StringWriter();\n JsonGenerator generator = Json.createGenerator(sw);\n \n generator.writeStartObject();\n generator.write(\"initTime\",initTime);\n generator.write(\"hitCount\", hitCount);\n generator.writeEnd();\n generator.flush();\n \n String generatedJSON = sw.toString();\n StringBuffer parsedJSON = new StringBuffer(); \n \n // JSON parse\n JsonParser parser = Json.createParser(new StringReader(generatedJSON));\n while (parser.hasNext()) {\n JsonParser.Event event = parser.next();\n switch(event) {\n case START_ARRAY:\n case END_ARRAY:\n case START_OBJECT:\n case END_OBJECT:\n case VALUE_FALSE:\n case VALUE_NULL:\n case VALUE_TRUE:\n break;\n case KEY_NAME:\n parsedJSON.append(parser.getString() + \":\");\n break;\n case VALUE_STRING:\n case VALUE_NUMBER:\n parsedJSON.append(parser.getString() + \" \");\n break;\n }\n }\n \n out.println(\"Ping JSONP\"\n + \"

    Ping JSONP
    Generated JSON: \" + generatedJSON + \"
    Parsed JSON: \" + parsedJSON + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingJSONP.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 75, "end_line": 127, + "code_start_line": 76, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -98271,8 +96344,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -98452,7 +96525,7 @@ "nested_type_declarations": [], "callable_declarations": { "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.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/PingServlet2PDF.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -98497,9 +96570,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 54, "end_line": 57, + "code_start_line": 55, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -98538,7 +96612,7 @@ "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.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/PingServlet2PDF.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -98615,9 +96689,10 @@ "end_column": 69 } ], - "code": "{\n PingBean ab;\n BufferedInputStream bis = null;\n BufferedOutputStream bos = null;\n try {\n ab = new PingBean();\n hitCount++;\n ab.setMsg(\"Hit Count: \" + hitCount);\n req.setAttribute(\"ab\", ab);\n ServletOutputStream out = res.getOutputStream();\n // MIME type for pdf doc\n res.setContentType(\"application/pdf\");\n // Open an InputStream to the PDF document\n String fileURL = \"http://localhost:9080/daytrader/WAS_V7_64-bit_performance.pdf\";\n URL url = new URL(fileURL);\n URLConnection conn = url.openConnection();\n bis = new BufferedInputStream(conn.getInputStream());\n // Transfer the InputStream (PDF Document) to OutputStream (servlet)\n bos = new BufferedOutputStream(out);\n byte[] buff = new byte[BUFFER_SIZE];\n int bytesRead;\n // Simple read/write loop.\n while (-1 != (bytesRead = bis.read(buff, 0, buff.length))) {\n bos.write(buff, 0, bytesRead);\n }\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Jsp.doGet(...): request error\");\n res.sendError(500, \"PingServlet2Jsp.doGet(...): request error\" + ex.toString());\n } finally {\n if (bis != null) {\n bis.close();\n }\n if (bos != null) {\n bos.close();\n }\n }\n}", + "code": "{\n PingBean ab;\n BufferedInputStream bis = null;\n BufferedOutputStream bos = null;\n try {\n ab = new PingBean();\n hitCount++;\n ab.setMsg(\"Hit Count: \" + hitCount);\n req.setAttribute(\"ab\", ab);\n\n ServletOutputStream out = res.getOutputStream();\n\n // MIME type for pdf doc\n res.setContentType(\"application/pdf\");\n\n // Open an InputStream to the PDF document\n String fileURL = \"http://localhost:9080/daytrader/WAS_V7_64-bit_performance.pdf\";\n URL url = new URL(fileURL);\n URLConnection conn = url.openConnection();\n bis = new BufferedInputStream(conn.getInputStream());\n\n // Transfer the InputStream (PDF Document) to OutputStream (servlet)\n bos = new BufferedOutputStream(out);\n byte[] buff = new byte[BUFFER_SIZE];\n int bytesRead;\n // Simple read/write loop.\n while (-1 != (bytesRead = bis.read(buff, 0, buff.length))) {\n bos.write(buff, 0, bytesRead);\n }\n\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Jsp.doGet(...): request error\");\n res.sendError(500, \"PingServlet2Jsp.doGet(...): request error\" + ex.toString());\n\n }\n\n finally {\n if (bis != null) {\n bis.close();\n }\n if (bos != null) {\n bos.close();\n }\n }\n\n }", "start_line": 68, "end_line": 114, + "code_start_line": 69, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -99267,8 +97342,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -99689,7 +97764,7 @@ "nested_type_declarations": [], "callable_declarations": { "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -99762,6 +97837,7 @@ "code": "", "start_line": 70, "end_line": 71, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, @@ -99775,7 +97851,7 @@ "is_entrypoint": false }, "getMarketSummary()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": "getMarketSummary()", "comments": [ { @@ -99797,6 +97873,7 @@ "code": "", "start_line": 53, "end_line": 53, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "is_implicit": false, "is_constructor": false, @@ -99810,7 +97887,7 @@ "is_entrypoint": false }, "investmentReturn(double, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": "investmentReturn(double, double)", "comments": [], "annotations": [], @@ -99844,6 +97921,7 @@ "code": "", "start_line": 335, "end_line": 335, + "code_start_line": -1, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -99857,7 +97935,7 @@ "is_entrypoint": false }, "getAllQuotes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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()", "comments": [ { @@ -99879,6 +97957,7 @@ "code": "", "start_line": 223, "end_line": 223, + "code_start_line": -1, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -99892,7 +97971,7 @@ "is_entrypoint": false }, "register(String, String, String, String, String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -99985,6 +98064,7 @@ "code": "", "start_line": 327, "end_line": 328, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -99998,7 +98078,7 @@ "is_entrypoint": false }, "getHoldings(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100031,6 +98111,7 @@ "code": "", "start_line": 244, "end_line": 244, + "code_start_line": -1, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -100044,7 +98125,7 @@ "is_entrypoint": false }, "login(String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": [ { @@ -100087,6 +98168,7 @@ "code": "", "start_line": 294, "end_line": 294, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -100100,7 +98182,7 @@ "is_entrypoint": false }, "setInSession(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": "setInSession(boolean)", "comments": [], "annotations": [], @@ -100122,6 +98204,7 @@ "code": "", "start_line": 337, "end_line": 337, + "code_start_line": -1, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -100135,7 +98218,7 @@ "is_entrypoint": false }, "completeOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100178,6 +98261,7 @@ "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, @@ -100191,7 +98275,7 @@ "is_entrypoint": false }, "updateQuotePriceVolume(String, BigDecimal, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100244,6 +98328,7 @@ "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, @@ -100257,7 +98342,7 @@ "is_entrypoint": false }, "cancelOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100300,6 +98385,7 @@ "code": "", "start_line": 161, "end_line": 161, + "code_start_line": -1, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -100313,7 +98399,7 @@ "is_entrypoint": false }, "getOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": [ { @@ -100346,6 +98432,7 @@ "code": "", "start_line": 181, "end_line": 181, + "code_start_line": -1, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -100359,7 +98446,7 @@ "is_entrypoint": false }, "getQuote(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": [ { @@ -100392,6 +98479,7 @@ "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, @@ -100405,7 +98493,7 @@ "is_entrypoint": false }, "createQuote(String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": [ { @@ -100458,6 +98546,7 @@ "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, @@ -100471,7 +98560,7 @@ "is_entrypoint": false }, "updateAccountProfile(AccountProfileDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": [ { @@ -100504,6 +98593,7 @@ "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, @@ -100517,7 +98607,7 @@ "is_entrypoint": false }, "queueOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100560,6 +98650,7 @@ "code": "", "start_line": 118, "end_line": 118, + "code_start_line": -1, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -100573,7 +98664,7 @@ "is_entrypoint": false }, "getAccountData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100606,6 +98697,7 @@ "code": "", "start_line": 262, "end_line": 262, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -100619,7 +98711,7 @@ "is_entrypoint": false }, "getAccountProfileData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100652,6 +98744,7 @@ "code": "", "start_line": 272, "end_line": 272, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, @@ -100665,7 +98758,7 @@ "is_entrypoint": false }, "pingTwoPhase(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [], "annotations": [], @@ -100689,6 +98782,7 @@ "code": "", "start_line": 333, "end_line": 333, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, @@ -100702,7 +98796,7 @@ "is_entrypoint": false }, "orderCompleted(String, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100745,6 +98839,7 @@ "code": "", "start_line": 172, "end_line": 172, + "code_start_line": -1, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -100758,7 +98853,7 @@ "is_entrypoint": false }, "logout(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": [], @@ -100782,6 +98877,7 @@ "code": "", "start_line": 304, "end_line": 304, + "code_start_line": -1, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -100795,7 +98891,7 @@ "is_entrypoint": false }, "getImpl()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": "getImpl()", "comments": [], "annotations": [], @@ -100806,6 +98902,7 @@ "code": "", "start_line": 331, "end_line": 331, + "code_start_line": -1, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -100819,7 +98916,7 @@ "is_entrypoint": false }, "buy(String, String, double, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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": [], "annotations": [], @@ -100873,6 +98970,7 @@ "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, @@ -100886,7 +98984,7 @@ "is_entrypoint": false }, "sell(String, Integer, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100939,6 +99037,7 @@ "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, @@ -100952,7 +99051,7 @@ "is_entrypoint": false }, "getHolding(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -100985,6 +99084,7 @@ "code": "", "start_line": 253, "end_line": 253, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, @@ -100998,7 +99098,7 @@ "is_entrypoint": false }, "completeOrderAsync(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -101041,6 +99141,7 @@ "code": "", "start_line": 149, "end_line": 149, + "code_start_line": -1, "return_type": "java.util.concurrent.Future", "is_implicit": false, "is_constructor": false, @@ -101054,7 +99155,7 @@ "is_entrypoint": false }, "getClosedOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "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)", "comments": [ { @@ -101087,6 +99188,7 @@ "code": "", "start_line": 191, "end_line": 191, + "code_start_line": -1, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -101109,8 +99211,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBIFace.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBIFace.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBIFace.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/cdi/PingEJBIFace.java", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -101161,7 +99263,7 @@ "nested_type_declarations": [], "callable_declarations": { "getMsg()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBIFace.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/cdi/PingEJBIFace.java", "signature": "getMsg()", "comments": [], "annotations": [], @@ -101174,6 +99276,7 @@ "code": "", "start_line": 23, "end_line": 23, + "code_start_line": -1, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -101196,8 +99299,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", + "/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": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", "comments": [ { @@ -101231,7 +99334,7 @@ "nested_type_declarations": [], "callable_declarations": { "getValue()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "signature": "getValue()", "comments": [], "annotations": [], @@ -101241,9 +99344,10 @@ "thrown_exceptions": [], "declaration": "public String getValue()", "parameters": [], - "code": "{\n return value;\n}", + "code": "{\n return value;\n }", "start_line": 31, "end_line": 33, + "code_start_line": 31, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -101259,7 +99363,7 @@ "is_entrypoint": false }, "getKey()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "signature": "getKey()", "comments": [], "annotations": [], @@ -101269,9 +99373,10 @@ "thrown_exceptions": [], "declaration": "public String getKey()", "parameters": [], - "code": "{\n return key;\n}", + "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, @@ -101287,7 +99392,7 @@ "is_entrypoint": false }, "setValue(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "signature": "setValue(String)", "comments": [], "annotations": [], @@ -101308,9 +99413,10 @@ "end_column": 37 } ], - "code": "{\n this.value = value;\n}", + "code": "{\n this.value = value;\n }", "start_line": 35, "end_line": 37, + "code_start_line": 35, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -101328,7 +99434,7 @@ "is_entrypoint": false }, "setKey(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.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/JsonMessage.java", "signature": "setKey(String)", "comments": [], "annotations": [], @@ -101349,9 +99455,10 @@ "end_column": 33 } ], - "code": "{\n this.key = key;\n}", + "code": "{\n this.key = key;\n }", "start_line": 27, "end_line": 29, + "code_start_line": 27, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -101421,8 +99528,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -101466,7 +99573,7 @@ "nested_type_declarations": [], "callable_declarations": { "hello()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.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/cdi/PingCDIBean.java", "signature": "hello()", "comments": [], "annotations": [], @@ -101476,9 +99583,10 @@ "thrown_exceptions": [], "declaration": "public int hello()", "parameters": [], - "code": "{\n return ++helloHitCount;\n}", + "code": "{\n return ++helloHitCount;\n }", "start_line": 35, "end_line": 37, + "code_start_line": 35, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -101494,7 +99602,7 @@ "is_entrypoint": false }, "getBeanMangerViaCDICurrent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.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/cdi/PingCDIBean.java", "signature": "getBeanMangerViaCDICurrent()", "comments": [], "annotations": [], @@ -101506,9 +99614,10 @@ ], "declaration": "public int getBeanMangerViaCDICurrent() throws Exception", "parameters": [], - "code": "{\n BeanManager beanManager = CDI.current().getBeanManager();\n Set> beans = beanManager.getBeans(Object.class);\n if (beans.size() > 0) {\n return ++getBeanManagerHitCountSPI;\n }\n return 0;\n}", + "code": "{\n BeanManager beanManager = CDI.current().getBeanManager();\n Set> beans = beanManager.getBeans(Object.class);\n\n if (beans.size() > 0) {\n return ++getBeanManagerHitCountSPI;\n }\n return 0;\n\n }", "start_line": 49, "end_line": 58, + "code_start_line": 49, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -101649,7 +99758,7 @@ "is_entrypoint": false }, "getBeanMangerViaJNDI()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.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/cdi/PingCDIBean.java", "signature": "getBeanMangerViaJNDI()", "comments": [], "annotations": [], @@ -101661,9 +99770,10 @@ ], "declaration": "public int getBeanMangerViaJNDI() throws Exception", "parameters": [], - "code": "{\n BeanManager beanManager = (BeanManager) new InitialContext().lookup(\"java:comp/BeanManager\");\n Set> beans = beanManager.getBeans(Object.class);\n if (beans.size() > 0) {\n return ++getBeanManagerHitCountJNDI;\n }\n return 0;\n}", + "code": "{\n BeanManager beanManager = (BeanManager) new InitialContext().lookup(\"java:comp/BeanManager\");\n Set> beans = beanManager.getBeans(Object.class);\n if (beans.size() > 0) {\n return ++getBeanManagerHitCountJNDI;\n }\n return 0;\n\n }", "start_line": 39, "end_line": 47, + "code_start_line": 39, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -101882,8 +99992,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.impl.ejb3", "comments": [ { @@ -101926,7 +100036,7 @@ "nested_type_declarations": [], "callable_declarations": { "submitOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.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/ejb3/AsyncScheduledOrderSubmitter.java", "signature": "submitOrder(Integer, boolean)", "comments": [], "annotations": [], @@ -101957,9 +100067,10 @@ "end_column": 64 } ], - "code": "{\n asyncOrder.setProperties(orderID, twoPhase);\n return mes.schedule(asyncOrder, 500, TimeUnit.MILLISECONDS);\n}", + "code": "{\n asyncOrder.setProperties(orderID,twoPhase);\n return mes.schedule(asyncOrder,500,TimeUnit.MILLISECONDS);\n }", "start_line": 37, "end_line": 40, + "code_start_line": 37, "return_type": "java.util.concurrent.Future", "is_implicit": false, "is_constructor": false, @@ -102085,8 +100196,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -102287,7 +100398,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.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/PingServlet.java", "signature": "init(ServletConfig)", "comments": [ { @@ -102321,9 +100432,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -102406,7 +100518,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.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/PingServlet.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -102451,9 +100563,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 53, "end_line": 56, + "code_start_line": 54, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -102492,7 +100605,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.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/PingServlet.java", "signature": "getServletInfo()", "comments": [ { @@ -102513,9 +100626,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "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, @@ -102529,7 +100643,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.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/PingServlet.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -102614,9 +100728,10 @@ "end_column": 69 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n // The following 2 lines are the difference between PingServlet and\n // PingServletWriter\n // the latter uses a PrintWriter for output versus a binary output\n // stream.\n ServletOutputStream out = res.getOutputStream();\n // java.io.PrintWriter out = res.getWriter();\n hitCount++;\n out.println(\"Ping Servlet\" + \"

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

    Hit Count: \" + hitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n // The following 2 lines are the difference between PingServlet and\n // PingServletWriter\n // the latter uses a PrintWriter for output versus a binary output\n // stream.\n ServletOutputStream out = res.getOutputStream();\n // java.io.PrintWriter out = res.getWriter();\n hitCount++;\n out.println(\"Ping Servlet\"\n + \"

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

    Hit Count: \" + hitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 67, "end_line": 87, + "code_start_line": 68, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -102867,8 +100982,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -103035,7 +101150,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -103060,9 +101175,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -103145,7 +101261,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -103181,9 +101297,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 61, "end_line": 64, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -103222,7 +101339,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -103234,9 +101351,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n}", + "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, @@ -103250,7 +101368,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.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/ejb3/PingServlet2MDBTopic.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -103327,9 +101445,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n // use a stringbuffer to avoid concatenation of Strings\n StringBuffer output = new StringBuffer(100);\n output.append(\"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.\");\n // we only want to look up the JMS resources once\n try {\n Connection conn = topicConnectionFactory.createConnection();\n try {\n TextMessage message = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n /*Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);\n try {\n MessageProducer producer = sess.createProducer(tradeStreamerTopic);\n message = sess.createTextMessage();\n\n String command = \"ping\";\n message.setStringProperty(\"command\", command);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for topic java:comp/env/jms/TradeStreamerTopic sent from PingServlet2MDBTopic at \" + new java.util.Date());\n\n producer.send(message);\n } finally {\n sess.close();\n }*/\n JMSContext context = topicConnectionFactory.createContext();\n message = context.createTextMessage();\n message.setStringProperty(\"command\", \"ping\");\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for topic java:comp/env/jms/TradeStreamerTopic sent from PingServlet2MDBTopic at \" + new java.util.Date());\n context.createProducer().send(tradeStreamerTopic, message);\n }\n // write out the output\n output.append(\"
    initTime: \").append(initTime);\n output.append(\"
    Hit Count: \").append(hitCount++);\n output.append(\"
    Posted Text message to java:comp/env/jms/TradeStreamerTopic topic\");\n output.append(\"
    Message: \").append(message);\n output.append(\"

    Message text: \").append(message.getText());\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(\"PingServlet2MDBTopic.doGet(...):exception posting message to TradeStreamerTopic topic\");\n throw e;\n } finally {\n conn.close();\n }\n }// this is where I actually handle the exceptions\n catch (Exception e) {\n Log.error(e, \"PingServlet2MDBTopic.doGet(...): error\");\n res.sendError(500, \"PingServlet2MDBTopic.doGet(...): error, \" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n // use a stringbuffer to avoid concatenation of Strings\n StringBuffer output = new StringBuffer(100);\n output.append(\"PingServlet2MDBTopic\"\n + \"
    PingServlet2MDBTopic
    \" + \"\"\n + \"Tests the basic operation of a servlet posting a message to an EJB MDB (and other subscribers) through a JMS Topic.
    \"\n + \"Note: Not intended for performance testing.\");\n\n // we only want to look up the JMS resources once\n try {\n\n Connection conn = topicConnectionFactory.createConnection();\n\n try {\n TextMessage message = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n /*Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);\n try {\n MessageProducer producer = sess.createProducer(tradeStreamerTopic);\n message = sess.createTextMessage();\n\n String command = \"ping\";\n message.setStringProperty(\"command\", command);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for topic java:comp/env/jms/TradeStreamerTopic sent from PingServlet2MDBTopic at \" + new java.util.Date());\n\n producer.send(message);\n } finally {\n sess.close();\n }*/\n \t\n \tJMSContext context = topicConnectionFactory.createContext();\n \t\t\n \t\tmessage = context.createTextMessage();\n\n \t\tmessage.setStringProperty(\"command\", \"ping\");\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for topic java:comp/env/jms/TradeStreamerTopic sent from PingServlet2MDBTopic at \" + new java.util.Date());\n \t\t\n \t\tcontext.createProducer().send(tradeStreamerTopic, message);\n }\n\n // write out the output\n output.append(\"
    initTime: \").append(initTime);\n output.append(\"
    Hit Count: \").append(hitCount++);\n output.append(\"
    Posted Text message to java:comp/env/jms/TradeStreamerTopic topic\");\n output.append(\"
    Message: \").append(message);\n output.append(\"

    Message text: \").append(message.getText());\n output.append(\"

    \");\n out.println(output.toString());\n\n } catch (Exception e) {\n Log.error(\"PingServlet2MDBTopic.doGet(...):exception posting message to TradeStreamerTopic topic\");\n throw e;\n } finally {\n conn.close();\n }\n } // this is where I actually handle the exceptions\n catch (Exception e) {\n Log.error(e, \"PingServlet2MDBTopic.doGet(...): error\");\n res.sendError(500, \"PingServlet2MDBTopic.doGet(...): error, \" + e.toString());\n\n }\n }", "start_line": 66, "end_line": 134, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -104345,8 +102464,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -104441,7 +102560,7 @@ "nested_type_declarations": [], "callable_declarations": { "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.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/PingServlet2Servlet.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -104486,9 +102605,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 52, "end_line": 55, + "code_start_line": 53, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -104527,7 +102647,7 @@ "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.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/PingServlet2Servlet.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -104572,9 +102692,10 @@ "end_column": 69 } ], - "code": "{\n PingBean ab;\n try {\n ab = new PingBean();\n hitCount++;\n ab.setMsg(\"Hit Count: \" + hitCount);\n req.setAttribute(\"ab\", ab);\n getServletConfig().getServletContext().getRequestDispatcher(\"/servlet/PingServlet2ServletRcv\").forward(req, res);\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Servlet.doGet(...): general exception\");\n res.sendError(500, \"PingServlet2Servlet.doGet(...): general exception\" + ex.toString());\n }\n}", + "code": "{\n PingBean ab;\n try {\n ab = new PingBean();\n hitCount++;\n ab.setMsg(\"Hit Count: \" + hitCount);\n req.setAttribute(\"ab\", ab);\n\n getServletConfig().getServletContext().getRequestDispatcher(\"/servlet/PingServlet2ServletRcv\").forward(req, res);\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Servlet.doGet(...): general exception\");\n res.sendError(500, \"PingServlet2Servlet.doGet(...): general exception\" + ex.toString());\n\n }\n }", "start_line": 66, "end_line": 81, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -104892,8 +103013,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.impl.ejb3", "comments": [ { @@ -104939,7 +103060,7 @@ "nested_type_declarations": [], "callable_declarations": { "run()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "signature": "run()", "comments": [], "annotations": [ @@ -104951,9 +103072,10 @@ "thrown_exceptions": [], "declaration": "public void run()", "parameters": [], - "code": "{\n try {\n tradeService.completeOrder(orderID, twoPhase);\n } catch (Exception e) {\n e.printStackTrace();\n }\n}", + "code": "{\n\n\n try { \n tradeService.completeOrder(orderID, twoPhase); \n\n } catch (Exception e) {\n\n e.printStackTrace();\n }\n }", "start_line": 47, "end_line": 58, + "code_start_line": 48, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -105017,7 +103139,7 @@ "is_entrypoint": false }, "setProperties(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "signature": "setProperties(Integer, boolean)", "comments": [], "annotations": [], @@ -105048,9 +103170,10 @@ "end_column": 61 } ], - "code": "{\n this.orderID = orderID;\n this.twoPhase = twoPhase;\n}", + "code": "{\n this.orderID = orderID;\n this.twoPhase = twoPhase;\n }", "start_line": 42, "end_line": 45, + "code_start_line": 42, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -105069,7 +103192,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.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/ejb3/AsyncScheduledOrder.java", "signature": "AsyncScheduledOrder(Instance)", "comments": [], "annotations": [ @@ -105094,9 +103217,10 @@ "end_column": 66 } ], - "code": "{\n tradeService = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "code": "{\n tradeService = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", "start_line": 37, "end_line": 40, + "code_start_line": 38, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -105289,8 +103413,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -105443,7 +103567,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.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/PingServletSetContentLength.java", "signature": "init(ServletConfig)", "comments": [ { @@ -105477,9 +103601,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n}", + "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, @@ -105517,7 +103642,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.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/PingServletSetContentLength.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -105562,9 +103687,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 51, "end_line": 54, + "code_start_line": 52, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -105603,7 +103729,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.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/PingServletSetContentLength.java", "signature": "getServletInfo()", "comments": [ { @@ -105624,9 +103750,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet, with \" + \"contentLength set by contentLength parameter.\";\n}", + "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, @@ -105640,7 +103767,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.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/PingServletSetContentLength.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -105701,9 +103828,10 @@ "end_column": 69 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n String lengthParam = req.getParameter(\"contentLength\");\n Integer length;\n if (lengthParam == null) {\n length = 0;\n } else {\n length = Integer.parseInt(lengthParam);\n }\n ServletOutputStream out = res.getOutputStream();\n // Add characters (a's) to the SOS to equal the requested length\n // 167 is the smallest length possible.\n int i = 0;\n String buffer = \"\";\n while (i + 167 < length) {\n buffer = buffer + \"a\";\n i++;\n }\n out.println(\"Ping Servlet\" + \"

    Ping Servlet
    \" + buffer + \"
    \");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n String lengthParam = req.getParameter(\"contentLength\");\n Integer length;\n\n if (lengthParam == null) {\n length = 0;\n } else {\n length = Integer.parseInt(lengthParam);\n }\n\n ServletOutputStream out = res.getOutputStream();\n\n // Add characters (a's) to the SOS to equal the requested length\n // 167 is the smallest length possible.\n \n int i = 0;\n String buffer = \"\";\n\n while (i + 167 < length) {\n buffer = buffer + \"a\";\n i++;\n }\n\n out.println(\"Ping Servlet\"\n + \"

    Ping Servlet
    \" + buffer\n + \"
    \");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 65, "end_line": 99, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -106023,8 +104151,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.jaxrs", "comments": [ { @@ -106080,7 +104208,7 @@ "nested_type_declarations": [], "callable_declarations": { "getQuotes(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)", "comments": [], "annotations": [], @@ -106101,9 +104229,10 @@ "end_column": 54 } ], - "code": "{\n ArrayList quoteDataBeans = new ArrayList();\n try {\n String[] symbolsSplit = symbols.split(\",\");\n for (String symbol : symbolsSplit) {\n QuoteDataBean quoteData = tradeService.getQuote(symbol);\n quoteDataBeans.add(quoteData);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return (List) quoteDataBeans;\n}", + "code": "{\n ArrayList quoteDataBeans = new ArrayList();\n\n try {\n String[] symbolsSplit = symbols.split(\",\");\n for (String symbol: symbolsSplit) {\n QuoteDataBean quoteData = tradeService.getQuote(symbol);\n quoteDataBeans.add(quoteData);\n } \n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return (List)quoteDataBeans;\n }", "start_line": 68, "end_line": 82, + "code_start_line": 68, "return_type": "java.util.List", "is_implicit": false, "is_constructor": false, @@ -106304,7 +104433,7 @@ "is_entrypoint": false }, "quotesGet(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)", "comments": [], "annotations": [ @@ -106331,9 +104460,10 @@ "end_column": 75 } ], - "code": "{\n return getQuotes(symbols);\n}", + "code": "{\n return getQuotes(symbols);\n }", "start_line": 54, "end_line": 59, + "code_start_line": 57, "return_type": "java.util.List", "is_implicit": false, "is_constructor": false, @@ -106371,7 +104501,7 @@ "is_entrypoint": true }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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": [], @@ -106381,9 +104511,10 @@ "thrown_exceptions": [], "declaration": "public QuoteResource()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 46, "end_line": 47, + "code_start_line": 46, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -106397,7 +104528,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)", "comments": [], "annotations": [ @@ -106422,9 +104553,10 @@ "end_column": 60 } ], - "code": "{\n tradeService = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "code": "{\n tradeService = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", "start_line": 49, "end_line": 52, + "code_start_line": 50, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -106550,7 +104682,7 @@ "is_entrypoint": false }, "quotesPost(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "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)", "comments": [], "annotations": [ @@ -106577,9 +104709,10 @@ "end_column": 76 } ], - "code": "{\n return getQuotes(symbols);\n}", + "code": "{\n return getQuotes(symbols);\n }", "start_line": 61, "end_line": 66, + "code_start_line": 64, "return_type": "java.util.List", "is_implicit": false, "is_constructor": false, @@ -106648,8 +104781,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingInterceptor.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingInterceptor.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -106744,7 +104877,7 @@ "nested_type_declarations": [], "callable_declarations": { "methodInterceptor(InvocationContext)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingInterceptor.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/cdi/PingInterceptor.java", "signature": "methodInterceptor(InvocationContext)", "comments": [ { @@ -106778,9 +104911,10 @@ "end_column": 55 } ], - "code": "{\n //noop\n return ctx.proceed();\n}", + "code": "{\n\n //noop\n return ctx.proceed();\n }", "start_line": 36, "end_line": 41, + "code_start_line": 37, "return_type": "java.lang.Object", "is_implicit": false, "is_constructor": false, @@ -106856,8 +104990,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -106988,7 +105122,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.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/PingManagedExecutor.java", "signature": "init(ServletConfig)", "comments": [ { @@ -107022,9 +105156,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -107107,7 +105242,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.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/PingManagedExecutor.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -107152,9 +105287,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 50, "end_line": 53, + "code_start_line": 51, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -107193,7 +105329,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.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/PingManagedExecutor.java", "signature": "getServletInfo()", "comments": [ { @@ -107214,9 +105350,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Tests a ManagedExecutor\";\n}", + "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, @@ -107230,7 +105367,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.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/PingManagedExecutor.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -107283,9 +105420,10 @@ "end_column": 69 } ], - "code": "{\n final AsyncContext asyncContext = req.startAsync();\n final ServletOutputStream out = res.getOutputStream();\n try {\n res.setContentType(\"text/html\");\n out.println(\"Ping ManagedExecutor\" + \"

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

    \");\n // Runnable task\n mes.submit(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 });\n } catch (Exception e) {\n e.printStackTrace();\n }\n}", + "code": "{\n\n \tfinal AsyncContext asyncContext = req.startAsync();\n final ServletOutputStream out = res.getOutputStream();\n \t\n \ttry {\n \t\tres.setContentType(\"text/html\");\n \t\t \t\t\n \t\tout.println(\"Ping ManagedExecutor\"\n + \"

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

    \");\n \t\t \t\t \t\t \t\n \t\t// Runnable task\n \t\tmes.submit(new Runnable() {\n \t\t\t@Override\n \t\t\tpublic void run() {\n \t\t\t\ttry {\n\t\t\t\t\t\tout.println(\"HitCount: \" + ++hitCount +\"
    \");\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n \t\t\t\tasyncContext.complete();\n \t\t\t}\n \t\t}); \t\t \t\t\n \t\t\n \t\t\t \n \t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} \n }", "start_line": 64, "end_line": 94, + "code_start_line": 65, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -107510,7 +105648,7 @@ "receiver_type": "java.lang.Runnable", "argument_types": [], "return_type": "java.lang.Runnable", - "callee_signature": "Anonymous-e674a27a-4f72-4dac-b590-b331056cd5af()", + "callee_signature": "Anonymous-c4f908eb-db77-401e-9327-a9ccc5d3aa01()", "is_public": false, "is_protected": false, "is_private": false, @@ -107667,8 +105805,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -107844,7 +105982,7 @@ "nested_type_declarations": [], "callable_declarations": { "getWebInterfaceList()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getWebInterfaceList()", "comments": [], "annotations": [], @@ -107854,9 +105992,10 @@ "thrown_exceptions": [], "declaration": "public String[] getWebInterfaceList()", "parameters": [], - "code": "{\n return webInterfaceList;\n}", + "code": "{\n return webInterfaceList;\n }", "start_line": 319, "end_line": 321, + "code_start_line": 319, "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, @@ -107872,7 +106011,7 @@ "is_entrypoint": false }, "getResult()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getResult()", "comments": [], "annotations": [], @@ -107882,9 +106021,10 @@ "thrown_exceptions": [], "declaration": "public String getResult()", "parameters": [], - "code": "{\n return result;\n}", + "code": "{\n return result;\n }", "start_line": 327, "end_line": 329, + "code_start_line": 327, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -107900,7 +106040,7 @@ "is_entrypoint": false }, "getRuntimeModeList()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getRuntimeModeList()", "comments": [], "annotations": [], @@ -107910,9 +106050,10 @@ "thrown_exceptions": [], "declaration": "public String[] getRuntimeModeList()", "parameters": [], - "code": "{\n return runtimeModeList;\n}", + "code": "{\n return runtimeModeList;\n }", "start_line": 291, "end_line": 293, + "code_start_line": 291, "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, @@ -107928,7 +106069,7 @@ "is_entrypoint": false }, "getMarketSummaryInterval()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getMarketSummaryInterval()", "comments": [], "annotations": [], @@ -107938,9 +106079,10 @@ "thrown_exceptions": [], "declaration": "public int getMarketSummaryInterval()", "parameters": [], - "code": "{\n return marketSummaryInterval;\n}", + "code": "{\n return marketSummaryInterval;\n }", "start_line": 246, "end_line": 248, + "code_start_line": 246, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -107956,7 +106098,7 @@ "is_entrypoint": false }, "setWebInterfaceList(String[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setWebInterfaceList(String[])", "comments": [], "annotations": [], @@ -107977,9 +106119,10 @@ "end_column": 59 } ], - "code": "{\n this.webInterfaceList = webInterfaceList;\n}", + "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, @@ -107995,7 +106138,7 @@ "is_entrypoint": false }, "getRuntimeMode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getRuntimeMode()", "comments": [], "annotations": [], @@ -108005,9 +106148,10 @@ "thrown_exceptions": [], "declaration": "public String getRuntimeMode()", "parameters": [], - "code": "{\n return runtimeMode;\n}", + "code": "{\n return runtimeMode;\n }", "start_line": 209, "end_line": 211, + "code_start_line": 209, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -108023,7 +106167,7 @@ "is_entrypoint": false }, "setPrimIterations(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setPrimIterations(int)", "comments": [], "annotations": [], @@ -108044,9 +106188,10 @@ "end_column": 50 } ], - "code": "{\n this.primIterations = primIterations;\n}", + "code": "{\n this.primIterations = primIterations;\n }", "start_line": 250, "end_line": 252, + "code_start_line": 250, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -108062,7 +106207,7 @@ "is_entrypoint": false }, "getPrimIterations()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getPrimIterations()", "comments": [], "annotations": [], @@ -108072,9 +106217,10 @@ "thrown_exceptions": [], "declaration": "public int getPrimIterations()", "parameters": [], - "code": "{\n return primIterations;\n}", + "code": "{\n return primIterations;\n }", "start_line": 254, "end_line": 256, + "code_start_line": 254, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -108090,7 +106236,7 @@ "is_entrypoint": false }, "getMaxUsers()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getMaxUsers()", "comments": [], "annotations": [], @@ -108100,9 +106246,10 @@ "thrown_exceptions": [], "declaration": "public int getMaxUsers()", "parameters": [], - "code": "{\n return maxUsers;\n}", + "code": "{\n return maxUsers;\n }", "start_line": 230, "end_line": 232, + "code_start_line": 230, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -108118,7 +106265,7 @@ "is_entrypoint": false }, "isLongRun()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "isLongRun()", "comments": [], "annotations": [], @@ -108128,9 +106275,10 @@ "thrown_exceptions": [], "declaration": "public boolean isLongRun()", "parameters": [], - "code": "{\n return longRun;\n}", + "code": "{\n return longRun;\n }", "start_line": 287, "end_line": 289, + "code_start_line": 287, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -108146,7 +106294,7 @@ "is_entrypoint": false }, "isPublishQuotePriceChange()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "isPublishQuotePriceChange()", "comments": [], "annotations": [], @@ -108156,9 +106304,10 @@ "thrown_exceptions": [], "declaration": "public boolean isPublishQuotePriceChange()", "parameters": [], - "code": "{\n return publishQuotePriceChange;\n}", + "code": "{\n return publishQuotePriceChange;\n }", "start_line": 262, "end_line": 264, + "code_start_line": 262, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -108174,7 +106323,7 @@ "is_entrypoint": false }, "getOrderProcessingModeList()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getOrderProcessingModeList()", "comments": [], "annotations": [], @@ -108184,9 +106333,10 @@ "thrown_exceptions": [], "declaration": "public String[] getOrderProcessingModeList()", "parameters": [], - "code": "{\n return orderProcessingModeList;\n}", + "code": "{\n return orderProcessingModeList;\n }", "start_line": 303, "end_line": 305, + "code_start_line": 303, "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, @@ -108202,7 +106352,7 @@ "is_entrypoint": false }, "getMaxQuotes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getMaxQuotes()", "comments": [], "annotations": [], @@ -108212,9 +106362,10 @@ "thrown_exceptions": [], "declaration": "public int getMaxQuotes()", "parameters": [], - "code": "{\n return maxQuotes;\n}", + "code": "{\n return maxQuotes;\n }", "start_line": 238, "end_line": 240, + "code_start_line": 238, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -108230,7 +106381,7 @@ "is_entrypoint": false }, "setOrderProcessingModeList(String[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setOrderProcessingModeList(String[])", "comments": [], "annotations": [], @@ -108251,9 +106402,10 @@ "end_column": 73 } ], - "code": "{\n this.orderProcessingModeList = orderProcessingModeList;\n}", + "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, @@ -108269,7 +106421,7 @@ "is_entrypoint": false }, "setWebInterface(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setWebInterface(String)", "comments": [], "annotations": [], @@ -108290,9 +106442,10 @@ "end_column": 49 } ], - "code": "{\n this.webInterface = webInterface;\n}", + "code": "{\n this.webInterface = webInterface;\n }", "start_line": 307, "end_line": 309, + "code_start_line": 307, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -108310,7 +106463,7 @@ "is_entrypoint": false }, "setLongRun(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setLongRun(boolean)", "comments": [], "annotations": [], @@ -108331,9 +106484,10 @@ "end_column": 40 } ], - "code": "{\n this.longRun = longRun;\n}", + "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, @@ -108349,7 +106503,7 @@ "is_entrypoint": false }, "setResult(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setResult(String)", "comments": [], "annotations": [], @@ -108370,9 +106524,10 @@ "end_column": 37 } ], - "code": "{\n this.result = result;\n}", + "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, @@ -108390,7 +106545,7 @@ "is_entrypoint": false }, "setMaxUsers(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setMaxUsers(int)", "comments": [], "annotations": [], @@ -108411,9 +106566,10 @@ "end_column": 38 } ], - "code": "{\n this.maxUsers = maxUsers;\n}", + "code": "{\n this.maxUsers = maxUsers;\n }", "start_line": 226, "end_line": 228, + "code_start_line": 226, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -108429,7 +106585,7 @@ "is_entrypoint": false }, "setDisplayOrderAlerts(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setDisplayOrderAlerts(boolean)", "comments": [], "annotations": [], @@ -108450,9 +106606,10 @@ "end_column": 62 } ], - "code": "{\n this.displayOrderAlerts = displayOrderAlerts;\n}", + "code": "{\n this.displayOrderAlerts = displayOrderAlerts;\n }", "start_line": 274, "end_line": 276, + "code_start_line": 274, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -108468,7 +106625,7 @@ "is_entrypoint": false }, "setMarketSummaryInterval(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setMarketSummaryInterval(int)", "comments": [], "annotations": [], @@ -108489,9 +106646,10 @@ "end_column": 64 } ], - "code": "{\n this.marketSummaryInterval = marketSummaryInterval;\n}", + "code": "{\n this.marketSummaryInterval = marketSummaryInterval;\n }", "start_line": 242, "end_line": 244, + "code_start_line": 242, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -108507,7 +106665,7 @@ "is_entrypoint": false }, "getWebInterface()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getWebInterface()", "comments": [], "annotations": [], @@ -108517,9 +106675,10 @@ "thrown_exceptions": [], "declaration": "public String getWebInterface()", "parameters": [], - "code": "{\n return webInterface;\n}", + "code": "{\n return webInterface;\n }", "start_line": 311, "end_line": 313, + "code_start_line": 311, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -108535,7 +106694,7 @@ "is_entrypoint": false }, "resetTrade()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "resetTrade()", "comments": [], "annotations": [], @@ -108545,9 +106704,10 @@ "thrown_exceptions": [], "declaration": "public String resetTrade()", "parameters": [], - "code": "{\n RunStatsDataBean runStatsData = new RunStatsDataBean();\n TradeConfig currentConfig = new TradeConfig();\n HttpSession session = (HttpSession) context.getSession(true);\n try {\n runStatsData = dbUtils.resetTrade(false);\n session.setAttribute(\"runStatsData\", runStatsData);\n session.setAttribute(\"tradeConfig\", currentConfig);\n result += \"Trade Reset completed successfully\";\n } catch (Exception e) {\n result += \"Trade Reset Error - see log for details\";\n session.setAttribute(\"result\", result);\n Log.error(e, result);\n }\n return \"stats\";\n}", + "code": "{\n RunStatsDataBean runStatsData = new RunStatsDataBean();\n TradeConfig currentConfig = new TradeConfig();\n HttpSession session = (HttpSession) context.getSession(true); \n\n\n try { \n runStatsData = dbUtils.resetTrade(false);\n session.setAttribute(\"runStatsData\", runStatsData);\n session.setAttribute(\"tradeConfig\", currentConfig);\n result += \"Trade Reset completed successfully\";\n\n } catch (Exception e) {\n result += \"Trade Reset Error - see log for details\";\n session.setAttribute(\"result\", result);\n Log.error(e, result);\n }\n\n return \"stats\";\n }", "start_line": 123, "end_line": 142, + "code_start_line": 123, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -108806,7 +106966,7 @@ "is_entrypoint": false }, "updateConfig()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "updateConfig()", "comments": [ { @@ -108833,9 +106993,10 @@ "thrown_exceptions": [], "declaration": "public void updateConfig()", "parameters": [], - "code": "{\n String currentConfigStr = \"\\n\\n########## Trade configuration update. Current config:\\n\\n\";\n currentConfigStr += \"\\t\\tRunTimeMode:\\t\\t\\t\" + TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()] + \"\\n\";\n String orderProcessingModeStr = this.orderProcessingMode;\n if (orderProcessingModeStr != null) {\n try {\n for (int i = 0; i < orderProcessingModeList.length; i++) {\n if (orderProcessingModeStr.equals(orderProcessingModeList[i])) {\n TradeConfig.setOrderProcessingMode(i);\n }\n }\n } catch (Exception e) {\n Log.error(e, \"TradeConfigJSF.updateConfig(..): minor exception caught\", \"trying to set orderProcessing to \" + orderProcessingModeStr, \"reverting to current value\");\n }\n // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tOrderProcessingMode:\\t\\t\" + TradeConfig.getOrderProcessingModeNames()[TradeConfig.getOrderProcessingMode()] + \"\\n\";\n String webInterfaceStr = webInterface;\n if (webInterfaceStr != null) {\n try {\n for (int i = 0; i < webInterfaceList.length; i++) {\n if (webInterfaceStr.equals(webInterfaceList[i])) {\n TradeConfig.setWebInterface(i);\n }\n }\n } catch (Exception e) {\n Log.error(e, \"TradeConfigJSF.updateConfig(..): minor exception caught\", \"trying to set WebInterface to \" + webInterfaceStr, \"reverting to current value\");\n }\n // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tWeb Interface:\\t\\t\\t\" + TradeConfig.getWebInterfaceNames()[TradeConfig.getWebInterface()] + \"\\n\";\n TradeConfig.setMAX_USERS(maxUsers);\n TradeConfig.setMAX_QUOTES(maxQuotes);\n currentConfigStr += \"\\t\\tTrade Users:\\t\\t\\t\" + TradeConfig.getMAX_USERS() + \"\\n\";\n currentConfigStr += \"\\t\\tTrade Quotes:\\t\\t\\t\" + TradeConfig.getMAX_QUOTES() + \"\\n\";\n TradeConfig.setMarketSummaryInterval(marketSummaryInterval);\n currentConfigStr += \"\\t\\tMarket Summary Interval:\\t\" + TradeConfig.getMarketSummaryInterval() + \"\\n\";\n TradeConfig.setPrimIterations(primIterations);\n currentConfigStr += \"\\t\\tPrimitive Iterations:\\t\\t\" + TradeConfig.getPrimIterations() + \"\\n\";\n TradeConfig.setPublishQuotePriceChange(publishQuotePriceChange);\n currentConfigStr += \"\\t\\tTradeStreamer MDB Enabled:\\t\" + TradeConfig.getPublishQuotePriceChange() + \"\\n\";\n TradeConfig.setListQuotePriceChangeFrequency(listQuotePriceChangeFrequency);\n currentConfigStr += \"\\t\\t% of trades on Websocket:\\t\" + TradeConfig.getListQuotePriceChangeFrequency() + \"\\n\";\n TradeConfig.setLongRun(longRun);\n currentConfigStr += \"\\t\\tLong Run Enabled:\\t\\t\" + TradeConfig.getLongRun() + \"\\n\";\n TradeConfig.setDisplayOrderAlerts(displayOrderAlerts);\n currentConfigStr += \"\\t\\tDisplay Order Alerts:\\t\\t\" + TradeConfig.getDisplayOrderAlerts() + \"\\n\";\n System.out.println(currentConfigStr);\n setResult(\"DayTrader Configuration Updated\");\n}", + "code": "{\n String currentConfigStr = \"\\n\\n########## Trade configuration update. Current config:\\n\\n\"; \n\n currentConfigStr += \"\\t\\tRunTimeMode:\\t\\t\\t\" + TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()] + \"\\n\";\n\n String orderProcessingModeStr = this.orderProcessingMode;\n if (orderProcessingModeStr != null) {\n try {\n for (int i = 0; i < orderProcessingModeList.length; i++) {\n if (orderProcessingModeStr.equals(orderProcessingModeList[i])) {\n TradeConfig.setOrderProcessingMode(i);\n }\n }\n } catch (Exception e) {\n Log.error(e, \"TradeConfigJSF.updateConfig(..): minor exception caught\", \"trying to set orderProcessing to \" + orderProcessingModeStr,\n \"reverting to current value\");\n\n } // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tOrderProcessingMode:\\t\\t\" + TradeConfig.getOrderProcessingModeNames()[TradeConfig.getOrderProcessingMode()] + \"\\n\";\n\n String webInterfaceStr = webInterface;\n if (webInterfaceStr != null) {\n try {\n for (int i = 0; i < webInterfaceList.length; i++) {\n if (webInterfaceStr.equals(webInterfaceList[i])) {\n TradeConfig.setWebInterface(i);\n }\n }\n } catch (Exception e) {\n Log.error(e, \"TradeConfigJSF.updateConfig(..): minor exception caught\", \"trying to set WebInterface to \" + webInterfaceStr,\n \"reverting to current value\");\n\n } // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tWeb Interface:\\t\\t\\t\" + TradeConfig.getWebInterfaceNames()[TradeConfig.getWebInterface()] + \"\\n\";\n\n TradeConfig.setMAX_USERS(maxUsers);\n TradeConfig.setMAX_QUOTES(maxQuotes);\n\n currentConfigStr += \"\\t\\tTrade Users:\\t\\t\\t\" + TradeConfig.getMAX_USERS() + \"\\n\";\n currentConfigStr += \"\\t\\tTrade Quotes:\\t\\t\\t\" + TradeConfig.getMAX_QUOTES() + \"\\n\";\n\n TradeConfig.setMarketSummaryInterval(marketSummaryInterval);\n\n currentConfigStr += \"\\t\\tMarket Summary Interval:\\t\" + TradeConfig.getMarketSummaryInterval() + \"\\n\";\n\n TradeConfig.setPrimIterations(primIterations);\n\n currentConfigStr += \"\\t\\tPrimitive Iterations:\\t\\t\" + TradeConfig.getPrimIterations() + \"\\n\";\n\n TradeConfig.setPublishQuotePriceChange(publishQuotePriceChange);\n currentConfigStr += \"\\t\\tTradeStreamer MDB Enabled:\\t\" + TradeConfig.getPublishQuotePriceChange() + \"\\n\";\n\n TradeConfig.setListQuotePriceChangeFrequency(listQuotePriceChangeFrequency);\n currentConfigStr += \"\\t\\t% of trades on Websocket:\\t\" + TradeConfig.getListQuotePriceChangeFrequency() + \"\\n\";\n\n TradeConfig.setLongRun(longRun);\n currentConfigStr += \"\\t\\tLong Run Enabled:\\t\\t\" + TradeConfig.getLongRun() + \"\\n\";\n\n TradeConfig.setDisplayOrderAlerts(displayOrderAlerts);\n currentConfigStr += \"\\t\\tDisplay Order Alerts:\\t\\t\" + TradeConfig.getDisplayOrderAlerts() + \"\\n\";\n\n System.out.println(currentConfigStr);\n setResult(\"DayTrader Configuration Updated\");\n }", "start_line": 56, "end_line": 121, + "code_start_line": 56, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -109622,7 +107783,7 @@ "is_entrypoint": false }, "setPublishQuotePriceChange(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setPublishQuotePriceChange(boolean)", "comments": [], "annotations": [], @@ -109643,9 +107804,10 @@ "end_column": 72 } ], - "code": "{\n this.publishQuotePriceChange = publishQuotePriceChange;\n}", + "code": "{\n this.publishQuotePriceChange = publishQuotePriceChange;\n }", "start_line": 258, "end_line": 260, + "code_start_line": 258, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -109661,7 +107823,7 @@ "is_entrypoint": false }, "getOrderProcessingMode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getOrderProcessingMode()", "comments": [], "annotations": [], @@ -109671,9 +107833,10 @@ "thrown_exceptions": [], "declaration": "public String getOrderProcessingMode()", "parameters": [], - "code": "{\n return orderProcessingMode;\n}", + "code": "{\n return orderProcessingMode;\n }", "start_line": 221, "end_line": 223, + "code_start_line": 221, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -109689,7 +107852,7 @@ "is_entrypoint": false }, "setListQuotePriceChangeFrequency(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setListQuotePriceChangeFrequency(int)", "comments": [], "annotations": [], @@ -109710,9 +107873,10 @@ "end_column": 80 } ], - "code": "{\n this.listQuotePriceChangeFrequency = listQuotePriceChangeFrequency;\n}", + "code": "{\n this.listQuotePriceChangeFrequency = listQuotePriceChangeFrequency;\n }", "start_line": 266, "end_line": 268, + "code_start_line": 266, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -109728,7 +107892,7 @@ "is_entrypoint": false }, "setRuntimeModeList(String[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setRuntimeModeList(String[])", "comments": [], "annotations": [], @@ -109749,9 +107913,10 @@ "end_column": 57 } ], - "code": "{\n this.runtimeModeList = runtimeModeList;\n}", + "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, @@ -109767,7 +107932,7 @@ "is_entrypoint": false }, "isDisplayOrderAlerts()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "isDisplayOrderAlerts()", "comments": [], "annotations": [], @@ -109777,9 +107942,10 @@ "thrown_exceptions": [], "declaration": "public boolean isDisplayOrderAlerts()", "parameters": [], - "code": "{\n return displayOrderAlerts;\n}", + "code": "{\n return displayOrderAlerts;\n }", "start_line": 278, "end_line": 280, + "code_start_line": 278, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -109795,7 +107961,7 @@ "is_entrypoint": false }, "getListQuotePriceChangeFrequency()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "getListQuotePriceChangeFrequency()", "comments": [], "annotations": [], @@ -109805,9 +107971,10 @@ "thrown_exceptions": [], "declaration": "public int getListQuotePriceChangeFrequency()", "parameters": [], - "code": "{\n return listQuotePriceChangeFrequency;\n}", + "code": "{\n return listQuotePriceChangeFrequency;\n }", "start_line": 270, "end_line": 272, + "code_start_line": 270, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -109823,7 +107990,7 @@ "is_entrypoint": false }, "setRuntimeMode(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setRuntimeMode(String)", "comments": [], "annotations": [], @@ -109844,9 +108011,10 @@ "end_column": 47 } ], - "code": "{\n this.runtimeMode = runtimeMode;\n}", + "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, @@ -109864,7 +108032,7 @@ "is_entrypoint": false }, "setmaxQuotes(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setmaxQuotes(int)", "comments": [], "annotations": [], @@ -109885,9 +108053,10 @@ "end_column": 40 } ], - "code": "{\n this.maxQuotes = maxQuotes;\n}", + "code": "{\n this.maxQuotes = maxQuotes;\n }", "start_line": 234, "end_line": 236, + "code_start_line": 234, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -109903,7 +108072,7 @@ "is_entrypoint": false }, "populateDatabase()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "populateDatabase()", "comments": [], "annotations": [], @@ -109913,9 +108082,10 @@ "thrown_exceptions": [], "declaration": "public String populateDatabase()", "parameters": [], - "code": "{\n try {\n dbUtils.buildDB(new java.io.PrintWriter(System.out), null);\n } catch (Exception e) {\n e.printStackTrace();\n }\n result = \"TradeBuildDB: **** DayTrader Database Built - \" + TradeConfig.getMAX_USERS() + \" users created, \" + TradeConfig.getMAX_QUOTES() + \" quotes created. ****
    \";\n result += \"TradeBuildDB: **** Check System.Out for any errors. ****
    \";\n return \"database\";\n}", + "code": "{\n\n try {\n dbUtils.buildDB(new java.io.PrintWriter(System.out), null);\n } catch (Exception e) {\n e.printStackTrace();\n } \n\n result = \"TradeBuildDB: **** DayTrader Database Built - \" + TradeConfig.getMAX_USERS() + \" users created, \" + TradeConfig.getMAX_QUOTES()\n + \" quotes created. ****
    \";\n result += \"TradeBuildDB: **** Check System.Out for any errors. ****
    \";\n\n return \"database\";\n }", "start_line": 144, "end_line": 157, + "code_start_line": 144, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -110046,7 +108216,7 @@ "is_entrypoint": false }, "buildDatabaseTables()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "buildDatabaseTables()", "comments": [ { @@ -110105,9 +108275,10 @@ "thrown_exceptions": [], "declaration": "public String buildDatabaseTables()", "parameters": [], - "code": "{\n try {\n String dbProductName = null;\n try {\n dbProductName = dbUtils.checkDBProductName();\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to check DB Product name\");\n }\n if (dbProductName == null) {\n result += \"TradeBuildDB: **** Unable to check DB Product name, please check Database/AppServer configuration and retry ****
    \";\n return \"database\";\n }\n String ddlFile = null;\n //Locate DDL file for the specified database\n try {\n result = result + \"TradeBuildDB: **** Database Product detected: \" + dbProductName + \" ****
    \";\n if (dbProductName.startsWith(\"DB2/\")) {\n // if db is DB2\n ddlFile = \"/dbscripts/db2/Table.ddl\";\n } else if (dbProductName.startsWith(\"Apache Derby\")) {\n //if db is Derby\n ddlFile = \"/dbscripts/derby/Table.ddl\";\n } else if (dbProductName.startsWith(\"Oracle\")) {\n // if the Db is Oracle\n ddlFile = \"/dbscripts/oracle/Table.ddl\";\n } else {\n // Unsupported \"Other\" Database\n ddlFile = \"/dbscripts/other/Table.ddl\";\n result = result + \"TradeBuildDB: **** This Database is unsupported/untested use at your own risk ****
    \";\n }\n result = result + \"TradeBuildDB: **** The DDL file at path\" + ddlFile + \" will be used ****
    \";\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to locate DDL file for the specified database\");\n result = result + \"TradeBuildDB: **** Unable to locate DDL file for the specified database ****
    \";\n return \"database\";\n }\n dbUtils.buildDB(new java.io.PrintWriter(System.out), context.getResourceAsStream(ddlFile));\n result = result + \"TradeBuildDB: **** DayTrader Database Created, Check System.Out for any errors. ****
    \";\n } catch (Exception e) {\n e.printStackTrace();\n }\n // Go to configure.xhtml\n return \"database\";\n}", + "code": "{\n try {\n String dbProductName = null;\n try {\n dbProductName = dbUtils.checkDBProductName();\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to check DB Product name\");\n }\n if (dbProductName == null) {\n result += \"TradeBuildDB: **** Unable to check DB Product name, please check Database/AppServer configuration and retry ****
    \";\n return \"database\";\n }\n\n String ddlFile = null;\n //Locate DDL file for the specified database\n try {\n result = result + \"TradeBuildDB: **** Database Product detected: \" + dbProductName + \" ****
    \";\n if (dbProductName.startsWith(\"DB2/\")) { // if db is DB2\n ddlFile = \"/dbscripts/db2/Table.ddl\";\n } else if (dbProductName.startsWith(\"Apache Derby\")) { //if db is Derby\n ddlFile = \"/dbscripts/derby/Table.ddl\";\n } else if (dbProductName.startsWith(\"Oracle\")) { // if the Db is Oracle\n ddlFile = \"/dbscripts/oracle/Table.ddl\";\n } else { // Unsupported \"Other\" Database\n ddlFile = \"/dbscripts/other/Table.ddl\";\n result = result + \"TradeBuildDB: **** This Database is unsupported/untested use at your own risk ****
    \";\n }\n\n result = result + \"TradeBuildDB: **** The DDL file at path\" + ddlFile + \" will be used ****
    \";\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to locate DDL file for the specified database\");\n result = result + \"TradeBuildDB: **** Unable to locate DDL file for the specified database ****
    \";\n return \"database\";\n }\n\n dbUtils.buildDB(new java.io.PrintWriter(System.out), context.getResourceAsStream(ddlFile));\n\n result = result + \"TradeBuildDB: **** DayTrader Database Created, Check System.Out for any errors. ****
    \";\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n // Go to configure.xhtml\n return \"database\";\n }", "start_line": 159, "end_line": 204, + "code_start_line": 159, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -110394,7 +108565,7 @@ "is_entrypoint": false }, "setOrderProcessingMode(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.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/jsf/TradeConfigJSF.java", "signature": "setOrderProcessingMode(String)", "comments": [], "annotations": [], @@ -110415,9 +108586,10 @@ "end_column": 63 } ], - "code": "{\n this.orderProcessingMode = orderProcessingMode;\n}", + "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, @@ -110804,8 +108976,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -111032,7 +109204,7 @@ "nested_type_declarations": [], "callable_declarations": { "getMin()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "getMin()", "comments": [ { @@ -111051,9 +109223,10 @@ "thrown_exceptions": [], "declaration": "public double getMin()", "parameters": [], - "code": "{\n return min;\n}", + "code": "{\n return min;\n }", "start_line": 52, "end_line": 54, + "code_start_line": 52, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -111069,7 +109242,7 @@ "is_entrypoint": false }, "setCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "setCount(int)", "comments": [ { @@ -111099,9 +109272,10 @@ "end_column": 34 } ], - "code": "{\n this.count = count;\n}", + "code": "{\n this.count = count;\n }", "start_line": 62, "end_line": 64, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -111117,7 +109291,7 @@ "is_entrypoint": false }, "getMax()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "getMax()", "comments": [ { @@ -111136,9 +109310,10 @@ "thrown_exceptions": [], "declaration": "public double getMax()", "parameters": [], - "code": "{\n return max;\n}", + "code": "{\n return max;\n }", "start_line": 43, "end_line": 45, + "code_start_line": 43, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -111154,7 +109329,7 @@ "is_entrypoint": false }, "getMinSecs()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "getMinSecs()", "comments": [ { @@ -111173,9 +109348,10 @@ "thrown_exceptions": [], "declaration": "public double getMinSecs()", "parameters": [], - "code": "{\n return min / 1000.0;\n}", + "code": "{\n return min / 1000.0;\n }", "start_line": 119, "end_line": 121, + "code_start_line": 119, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -111191,7 +109367,7 @@ "is_entrypoint": false }, "getAvgSecs()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "getAvgSecs()", "comments": [ { @@ -111210,9 +109386,10 @@ "thrown_exceptions": [], "declaration": "public double getAvgSecs()", "parameters": [], - "code": "{\n double avg = getTotalTime() / getCount();\n return avg / 1000.0;\n}", + "code": "{\n\n double avg = getTotalTime() / getCount();\n return avg / 1000.0;\n }", "start_line": 128, "end_line": 132, + "code_start_line": 128, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -111287,7 +109464,7 @@ "is_entrypoint": false }, "setMax(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "setMax(double)", "comments": [ { @@ -111317,9 +109494,10 @@ "end_column": 33 } ], - "code": "{\n this.max = max;\n}", + "code": "{\n this.max = max;\n }", "start_line": 72, "end_line": 74, + "code_start_line": 72, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -111335,7 +109513,7 @@ "is_entrypoint": false }, "setMin(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "setMin(double)", "comments": [ { @@ -111365,9 +109543,10 @@ "end_column": 33 } ], - "code": "{\n this.min = min;\n}", + "code": "{\n this.min = min;\n }", "start_line": 82, "end_line": 84, + "code_start_line": 82, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -111383,7 +109562,7 @@ "is_entrypoint": false }, "getTotalTime()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "getTotalTime()", "comments": [ { @@ -111402,9 +109581,10 @@ "thrown_exceptions": [], "declaration": "public double getTotalTime()", "parameters": [], - "code": "{\n return totalTime;\n}", + "code": "{\n return totalTime;\n }", "start_line": 91, "end_line": 93, + "code_start_line": 91, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -111420,7 +109600,7 @@ "is_entrypoint": false }, "setTotalTime(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "setTotalTime(double)", "comments": [ { @@ -111450,9 +109630,10 @@ "end_column": 45 } ], - "code": "{\n this.totalTime = totalTime;\n}", + "code": "{\n this.totalTime = totalTime;\n }", "start_line": 101, "end_line": 103, + "code_start_line": 101, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -111468,7 +109649,7 @@ "is_entrypoint": false }, "getCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "getCount()", "comments": [ { @@ -111487,9 +109668,10 @@ "thrown_exceptions": [], "declaration": "public int getCount()", "parameters": [], - "code": "{\n return count;\n}", + "code": "{\n return count;\n }", "start_line": 34, "end_line": 36, + "code_start_line": 34, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -111505,7 +109687,7 @@ "is_entrypoint": false }, "getMaxSecs()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", + "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", "signature": "getMaxSecs()", "comments": [ { @@ -111524,9 +109706,10 @@ "thrown_exceptions": [], "declaration": "public double getMaxSecs()", "parameters": [], - "code": "{\n return max / 1000.0;\n}", + "code": "{\n return max / 1000.0;\n }", "start_line": 110, "end_line": 112, + "code_start_line": 110, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -111596,8 +109779,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -111684,7 +109867,7 @@ ], "callable_declarations": { "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -111724,9 +109907,10 @@ "end_column": 83 } ], - "code": "{\n Log.trace(\"PingUpgradeServlet:doPost\");\n if (\"echo\".equals(req.getHeader(\"Upgrade\"))) {\n Log.trace(\"PingUpgradeServlet:doPost -- found echo, doing upgrade\");\n res.setStatus(101);\n res.setHeader(\"Upgrade\", \"echo\");\n res.setHeader(\"Connection\", \"Upgrade\");\n req.upgrade(Handler.class);\n } else {\n Log.trace(\"PingUpgradeServlet:doPost -- did not find echo, no upgrade\");\n res.getWriter().println(\"No upgrade: \" + req.getHeader(\"Upgrade\"));\n }\n}", + "code": "{\n\n\n Log.trace(\"PingUpgradeServlet:doPost\");\n\n\n if (\"echo\".equals(req.getHeader(\"Upgrade\"))) {\n\n\n Log.trace(\"PingUpgradeServlet:doPost -- found echo, doing upgrade\");\n\n\n res.setStatus(101);\n res.setHeader(\"Upgrade\", \"echo\");\n res.setHeader(\"Connection\", \"Upgrade\");\n\n req.upgrade(Handler.class); \n\n } else {\n\n\n Log.trace(\"PingUpgradeServlet:doPost -- did not find echo, no upgrade\");\n\n\n res.getWriter().println(\"No upgrade: \" + req.getHeader(\"Upgrade\"));\n }\n }", "start_line": 44, "end_line": 71, + "code_start_line": 45, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -112017,7 +110201,7 @@ "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -112057,9 +110241,10 @@ "end_column": 82 } ], - "code": "{\n doPost(req, res);\n}", + "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, @@ -112151,7 +110336,7 @@ "nested_type_declarations": [], "callable_declarations": { "onAllDataRead()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "onAllDataRead()", "comments": [], "annotations": [ @@ -112165,9 +110350,10 @@ ], "declaration": "public void onAllDataRead() throws IOException", "parameters": [], - "code": "{\n closeConnection();\n}", + "code": "{\n closeConnection();\n }", "start_line": 147, "end_line": 150, + "code_start_line": 148, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -112203,7 +110389,7 @@ "is_entrypoint": false }, "onDataAvailable()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "onDataAvailable()", "comments": [], "annotations": [ @@ -112217,9 +110403,10 @@ ], "declaration": "public void onDataAvailable() throws IOException", "parameters": [], - "code": "{\n Log.trace(\"PingUpgradeServlet$Listener.onDataAvailable() called\");\n byte[] data = new byte[1024];\n int len = -1;\n while (input.isReady() && (len = input.read(data)) != -1) {\n String dataRead = new String(data, 0, len);\n Log.trace(\"PingUpgradeServlet$Listener.onDataAvailable() -- Adding data to queue -->\" + dataRead + \"<--\");\n output.println(dataRead);\n output.flush();\n }\n closeConnection();\n}", + "code": "{\n\n Log.trace(\"PingUpgradeServlet$Listener.onDataAvailable() called\");\n\n byte[] data = new byte[1024];\n int len = -1;\n\n while (input.isReady() && (len = input.read(data)) != -1) {\n String dataRead = new String(data, 0, len);\n\n Log.trace(\"PingUpgradeServlet$Listener.onDataAvailable() -- Adding data to queue -->\" + dataRead + \"<--\");\n\n output.println(dataRead);\n output.flush();\n }\n\n closeConnection();\n }", "start_line": 117, "end_line": 135, + "code_start_line": 118, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -112471,7 +110658,7 @@ "is_entrypoint": false }, "closeConnection()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "closeConnection()", "comments": [], "annotations": [], @@ -112481,9 +110668,10 @@ "thrown_exceptions": [], "declaration": "private void closeConnection()", "parameters": [], - "code": "{\n try {\n connection.close();\n } catch (Exception e) {\n Log.error(e.toString());\n }\n}", + "code": "{\n try {\n connection.close();\n } catch (Exception e) {\n\n Log.error(e.toString());\n }\n }", "start_line": 137, "end_line": 144, + "code_start_line": 137, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -112565,7 +110753,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "onError(Throwable)", "comments": [], "annotations": [ @@ -112590,9 +110778,10 @@ "end_column": 41 } ], - "code": "{\n closeConnection();\n}", + "code": "{\n closeConnection();\n }", "start_line": 152, "end_line": 155, + "code_start_line": 153, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -112628,7 +110817,7 @@ "is_entrypoint": false }, "(WebConnection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "Listener(WebConnection)", "comments": [], "annotations": [], @@ -112653,9 +110842,10 @@ "end_column": 51 } ], - "code": "{\n this.connection = connection;\n this.input = connection.getInputStream();\n this.output = connection.getOutputStream();\n}", + "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, @@ -112831,7 +111021,7 @@ "nested_type_declarations": [], "callable_declarations": { "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "destroy()", "comments": [], "annotations": [ @@ -112843,9 +111033,10 @@ "thrown_exceptions": [], "declaration": "public void destroy()", "parameters": [], - "code": "{\n Log.trace(\"PingUpgradeServlet$Handler.destroy() -- Destroying Handler\");\n}", + "code": "{ \n Log.trace(\"PingUpgradeServlet$Handler.destroy() -- Destroying Handler\");\n }", "start_line": 100, "end_line": 103, + "code_start_line": 101, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -112883,7 +111074,7 @@ "is_entrypoint": false }, "init(WebConnection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.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/PingUpgradeServlet.java", "signature": "init(WebConnection)", "comments": [ { @@ -112925,9 +111116,10 @@ "end_column": 43 } ], - "code": "{\n Listener listener = null;\n try {\n listener = new Listener(wc);\n } catch (IOException e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n try {\n Log.trace(\"PingUpgradeServlet$Handler.init() -- Initializing Handler\");\n // flush headers if any\n wc.getOutputStream().flush();\n wc.getInputStream().setReadListener(listener);\n } catch (IOException e) {\n throw new IllegalArgumentException(e);\n }\n}", + "code": "{\n Listener listener = null;\n try {\n listener = new Listener(wc);\n\n } catch (IOException e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n\n try {\n\n Log.trace(\"PingUpgradeServlet$Handler.init() -- Initializing Handler\");\n\n\n // flush headers if any\n wc.getOutputStream().flush();\n wc.getInputStream().setReadListener(listener);\n\n } catch (IOException e) {\n throw new IllegalArgumentException(e);\n }\n }", "start_line": 75, "end_line": 98, + "code_start_line": 76, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -113161,8 +111353,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.impl.direct", "comments": [ { @@ -113204,7 +111396,7 @@ "nested_type_declarations": [], "callable_declarations": { "submitOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.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/AsyncOrderSubmitter.java", "signature": "submitOrder(Integer, boolean)", "comments": [], "annotations": [], @@ -113235,9 +111427,10 @@ "end_column": 64 } ], - "code": "{\n asyncOrder.setProperties(orderID, twoPhase);\n return mes.submit(asyncOrder);\n}", + "code": "{\n asyncOrder.setProperties(orderID,twoPhase);\n return mes.submit(asyncOrder);\n }", "start_line": 36, "end_line": 39, + "code_start_line": 36, "return_type": "java.util.concurrent.Future", "is_implicit": false, "is_constructor": false, @@ -113358,8 +111551,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/HitAsync.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/HitAsync.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/HitAsync.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/cdi/HitAsync.java", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -113405,8 +111598,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", "comments": [ { @@ -114197,7 +112390,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "signature": "init(ServletConfig)", "comments": [ { @@ -114231,9 +112424,10 @@ "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}", + "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, @@ -114436,7 +112630,7 @@ "is_entrypoint": false }, "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { @@ -114481,9 +112675,10 @@ "end_column": 116 } ], - "code": "{\n performTask(request, response);\n}", + "code": "{\n performTask(request, response);\n }", "start_line": 81, "end_line": 84, + "code_start_line": 82, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -114522,7 +112717,7 @@ "is_entrypoint": true }, "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { @@ -114567,9 +112762,10 @@ "end_column": 117 } ], - "code": "{\n performTask(request, response);\n}", + "code": "{\n performTask(request, response);\n }", "start_line": 94, "end_line": 97, + "code_start_line": 95, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -114608,7 +112804,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "signature": "getServletInfo()", "comments": [ { @@ -114629,9 +112825,10 @@ "thrown_exceptions": [], "declaration": "public java.lang.String getServletInfo()", "parameters": [], - "code": "{\n return \"TradeScenarioServlet emulates a population of web users\";\n}", + "code": "{\n return \"TradeScenarioServlet emulates a population of web users\";\n }", "start_line": 68, "end_line": 71, + "code_start_line": 69, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -114645,7 +112842,7 @@ "is_entrypoint": false }, "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.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/servlet/TradeScenarioServlet.java", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -115000,9 +113197,10 @@ "end_column": 76 } ], - "code": "{\n // Scenario generator for Trade2\n char action = ' ';\n String userID = null;\n // String to create full dispatch path to TradeAppServlet w/ request\n // Parameters\n // Dispatch Path to TradeAppServlet\n String dispPath = null;\n resp.setContentType(\"text/html\");\n String scenarioAction = req.getParameter(\"action\");\n if ((scenarioAction != null) && (scenarioAction.length() >= 1)) {\n action = scenarioAction.charAt(0);\n if (action == 'n') {\n // null;\n try {\n // resp.setContentType(\"text/html\");\n PrintWriter out = new PrintWriter(resp.getOutputStream());\n out.println(\"TradeScenarioServletHello\");\n out.close();\n return;\n } catch (Exception e) {\n Log.error(\"trade_client.TradeScenarioServlet.service(...)\" + \"error creating printwriter from responce.getOutputStream\", e);\n resp.sendError(500, \"trade_client.TradeScenarioServlet.service(...): erorr creating and writing to PrintStream created from response.getOutputStream()\");\n }\n // end of catch\n }\n // end of action=='n'\n }\n ServletContext ctx = null;\n HttpSession session = null;\n try {\n ctx = getServletConfig().getServletContext();\n // These operations require the user to be logged in. Verify the\n // user and if not logged in\n // change the operation to a login\n session = req.getSession(true);\n userID = (String) session.getAttribute(\"uidBean\");\n } catch (Exception e) {\n Log.error(\"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);\n userID = null;\n action = 'l';\n }\n if (userID == null) {\n // change to login\n action = 'l';\n TradeConfig.incrementScenarioCount();\n } else if (action == ' ') {\n // action is not specified perform a random operation according to\n // current mix\n // Tell getScenarioAction if we are an original user or a registered\n // user\n // -- sellDeficits should only be compensated for with original\n // users.\n action = TradeConfig.getScenarioAction(userID.startsWith(TradeConfig.newUserPrefix));\n }\n switch(action) {\n case // quote\n 'q':\n dispPath = tasPathPrefix + \"quotes&symbols=\" + TradeConfig.rndSymbols();\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case // account\n 'a':\n dispPath = tasPathPrefix + \"account\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case // update account profile\n 'u':\n dispPath = tasPathPrefix + \"account\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n String fullName = \"rnd\" + System.currentTimeMillis();\n String address = \"rndAddress\";\n String password = \"xxx\";\n String email = \"rndEmail\";\n String creditcard = \"rndCC\";\n dispPath = tasPathPrefix + \"update_profile&fullname=\" + fullName + \"&password=\" + password + \"&cpassword=\" + password + \"&address=\" + address + \"&email=\" + email + \"&creditcard=\" + creditcard;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case // home\n 'h':\n dispPath = tasPathPrefix + \"home\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case // login\n 'l':\n userID = TradeConfig.getUserID();\n String password2 = \"xxx\";\n dispPath = tasPathPrefix + \"login&inScenario=true&uid=\" + userID + \"&passwd=\" + password2;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n // login is successful if the userID is written to the HTTP session\n if (session.getAttribute(\"uidBean\") == null) {\n System.out.println(\"TradeScenario login failed. Reset DB between runs\");\n }\n break;\n case // logout\n 'o':\n dispPath = tasPathPrefix + \"logout\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case // portfolio\n 'p':\n dispPath = tasPathPrefix + \"portfolio\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case // register\n 'r':\n // Logout the current user to become a new user\n // see note in TradeServletAction\n req.setAttribute(\"TSS-RecreateSessionInLogout\", Boolean.TRUE);\n dispPath = tasPathPrefix + \"logout\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n userID = TradeConfig.rndNewUserID();\n String passwd = \"yyy\";\n fullName = TradeConfig.rndFullName();\n creditcard = TradeConfig.rndCreditCard();\n String money = TradeConfig.rndBalance();\n email = TradeConfig.rndEmail(userID);\n String smail = TradeConfig.rndAddress();\n dispPath = tasPathPrefix + \"register&Full Name=\" + fullName + \"&snail mail=\" + smail + \"&email=\" + email + \"&user id=\" + userID + \"&passwd=\" + passwd + \"&confirm passwd=\" + passwd + \"&money=\" + money + \"&Credit Card Number=\" + creditcard;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case // sell\n 's':\n dispPath = tasPathPrefix + \"portfolioNoEdge\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n Collection holdings = (Collection) req.getAttribute(\"holdingDataBeans\");\n int numHoldings = holdings.size();\n if (numHoldings > 0) {\n // sell first available security out of holding\n Iterator it = holdings.iterator();\n boolean foundHoldingToSell = false;\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n if (!(holdingData.getPurchaseDate().equals(new java.util.Date(0)))) {\n Integer holdingID = holdingData.getHoldingID();\n dispPath = tasPathPrefix + \"sell&holdingID=\" + holdingID;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n foundHoldingToSell = true;\n break;\n }\n }\n if (foundHoldingToSell) {\n break;\n }\n Log.trace(\"TradeScenario: No holding to sell -switch to buy -- userID = \" + userID + \" Collection count = \" + numHoldings);\n }\n // At this point: A TradeScenario Sell was requested with No Stocks\n // in Portfolio\n // This can happen when a new registered user happens to request a\n // sell before a buy\n // In this case, fall through and perform a buy instead\n /*\n * Trade 2.037: Added sell_deficit counter to maintain correct\n * buy/sell mix. When a users portfolio is reduced to 0 holdings, a\n * buy is requested instead of a sell. This throws off the buy/sell\n * mix by 1. This results in unwanted holding table growth To fix\n * this we increment a sell deficit counter to maintain the correct\n * ratio in getScenarioAction The 'z' action from getScenario\n * denotes that this is a sell action that was switched from a buy\n * to reduce a sellDeficit\n */\n if (userID.startsWith(TradeConfig.newUserPrefix) == false) {\n TradeConfig.incrementSellDeficit();\n }\n case // buy\n 'b':\n String symbol = TradeConfig.rndSymbol();\n String amount = TradeConfig.rndQuantity() + \"\";\n dispPath = tasPathPrefix + \"quotes&symbols=\" + symbol;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n dispPath = tasPathPrefix + \"buy&quantity=\" + amount + \"&symbol=\" + symbol;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n }\n // end of switch statement\n}", + "code": "{\n\n // Scenario generator for Trade2\n char action = ' ';\n String userID = null;\n\n // String to create full dispatch path to TradeAppServlet w/ request\n // Parameters\n String dispPath = null; // Dispatch Path to TradeAppServlet\n\n resp.setContentType(\"text/html\");\n\n String scenarioAction = req.getParameter(\"action\");\n if ((scenarioAction != null) && (scenarioAction.length() >= 1)) {\n action = scenarioAction.charAt(0);\n if (action == 'n') { // null;\n try {\n // resp.setContentType(\"text/html\");\n PrintWriter out = new PrintWriter(resp.getOutputStream());\n out.println(\"TradeScenarioServletHello\");\n out.close();\n return;\n\n } catch (Exception e) {\n Log.error(\"trade_client.TradeScenarioServlet.service(...)\" + \"error creating printwriter from responce.getOutputStream\", e);\n\n resp.sendError(500,\n \"trade_client.TradeScenarioServlet.service(...): erorr creating and writing to PrintStream created from response.getOutputStream()\");\n } // end of catch\n\n } // end of action=='n'\n }\n\n ServletContext ctx = null;\n HttpSession session = null;\n try {\n ctx = getServletConfig().getServletContext();\n // These operations require the user to be logged in. Verify the\n // user and if not logged in\n // change the operation to a login\n session = req.getSession(true);\n userID = (String) session.getAttribute(\"uidBean\");\n } catch (Exception e) {\n Log.error(\"trade_client.TradeScenarioServlet.service(...): performing \" + scenarioAction\n + \"error getting ServletContext,HttpSession, or UserID from session\" + \"will make scenarioAction a login and try to recover from there\", e);\n userID = null;\n action = 'l';\n }\n\n if (userID == null) {\n action = 'l'; // change to login\n TradeConfig.incrementScenarioCount();\n } else if (action == ' ') {\n // action is not specified perform a random operation according to\n // current mix\n // Tell getScenarioAction if we are an original user or a registered\n // user\n // -- sellDeficits should only be compensated for with original\n // users.\n action = TradeConfig.getScenarioAction(userID.startsWith(TradeConfig.newUserPrefix));\n }\n switch (action) {\n\n case 'q': // quote\n dispPath = tasPathPrefix + \"quotes&symbols=\" + TradeConfig.rndSymbols();\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case 'a': // account\n dispPath = tasPathPrefix + \"account\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case 'u': // update account profile\n dispPath = tasPathPrefix + \"account\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n\n String fullName = \"rnd\" + System.currentTimeMillis();\n String address = \"rndAddress\";\n String password = \"xxx\";\n String email = \"rndEmail\";\n String creditcard = \"rndCC\";\n dispPath = tasPathPrefix + \"update_profile&fullname=\" + fullName + \"&password=\" + password + \"&cpassword=\" + password + \"&address=\" + address\n + \"&email=\" + email + \"&creditcard=\" + creditcard;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case 'h': // home\n dispPath = tasPathPrefix + \"home\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case 'l': // login\n userID = TradeConfig.getUserID();\n String password2 = \"xxx\";\n dispPath = tasPathPrefix + \"login&inScenario=true&uid=\" + userID + \"&passwd=\" + password2;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n\n // login is successful if the userID is written to the HTTP session\n if (session.getAttribute(\"uidBean\") == null) {\n System.out.println(\"TradeScenario login failed. Reset DB between runs\");\n }\n break;\n case 'o': // logout\n dispPath = tasPathPrefix + \"logout\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case 'p': // portfolio\n dispPath = tasPathPrefix + \"portfolio\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case 'r': // register\n // Logout the current user to become a new user\n // see note in TradeServletAction\n req.setAttribute(\"TSS-RecreateSessionInLogout\", Boolean.TRUE);\n dispPath = tasPathPrefix + \"logout\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n\n userID = TradeConfig.rndNewUserID();\n String passwd = \"yyy\";\n fullName = TradeConfig.rndFullName();\n creditcard = TradeConfig.rndCreditCard();\n String money = TradeConfig.rndBalance();\n email = TradeConfig.rndEmail(userID);\n String smail = TradeConfig.rndAddress();\n dispPath = tasPathPrefix + \"register&Full Name=\" + fullName + \"&snail mail=\" + smail + \"&email=\" + email + \"&user id=\" + userID + \"&passwd=\"\n + passwd + \"&confirm passwd=\" + passwd + \"&money=\" + money + \"&Credit Card Number=\" + creditcard;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n case 's': // sell\n dispPath = tasPathPrefix + \"portfolioNoEdge\";\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n\n Collection holdings = (Collection) req.getAttribute(\"holdingDataBeans\");\n int numHoldings = holdings.size();\n if (numHoldings > 0) {\n // sell first available security out of holding\n\n Iterator it = holdings.iterator();\n boolean foundHoldingToSell = false;\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n if (!(holdingData.getPurchaseDate().equals(new java.util.Date(0)))) {\n Integer holdingID = holdingData.getHoldingID();\n\n dispPath = tasPathPrefix + \"sell&holdingID=\" + holdingID;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n foundHoldingToSell = true;\n break;\n }\n }\n if (foundHoldingToSell) {\n break;\n }\n\n Log.trace(\"TradeScenario: No holding to sell -switch to buy -- userID = \" + userID + \" Collection count = \" + numHoldings);\n \n\n }\n // At this point: A TradeScenario Sell was requested with No Stocks\n // in Portfolio\n // This can happen when a new registered user happens to request a\n // sell before a buy\n // In this case, fall through and perform a buy instead\n\n /*\n * Trade 2.037: Added sell_deficit counter to maintain correct\n * buy/sell mix. When a users portfolio is reduced to 0 holdings, a\n * buy is requested instead of a sell. This throws off the buy/sell\n * mix by 1. This results in unwanted holding table growth To fix\n * this we increment a sell deficit counter to maintain the correct\n * ratio in getScenarioAction The 'z' action from getScenario\n * denotes that this is a sell action that was switched from a buy\n * to reduce a sellDeficit\n */\n if (userID.startsWith(TradeConfig.newUserPrefix) == false) {\n TradeConfig.incrementSellDeficit();\n }\n case 'b': // buy\n String symbol = TradeConfig.rndSymbol();\n String amount = TradeConfig.rndQuantity() + \"\";\n\n dispPath = tasPathPrefix + \"quotes&symbols=\" + symbol;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n\n dispPath = tasPathPrefix + \"buy&quantity=\" + amount + \"&symbol=\" + symbol;\n ctx.getRequestDispatcher(dispPath).include(req, resp);\n break;\n } // end of switch statement\n }", "start_line": 107, "end_line": 292, + "code_start_line": 107, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -117074,7 +115272,7 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 56, - "is_entrypoint": false + "is_entrypoint": true } }, "field_declarations": [ @@ -117133,8 +115331,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.beanval", "comments": [ { @@ -117248,7 +115446,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "signature": "init(ServletConfig)", "comments": [ { @@ -117282,9 +115480,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n}", + "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, @@ -117345,7 +115544,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -117390,9 +115589,10 @@ "end_column": 68 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 48, "end_line": 51, + "code_start_line": 49, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -117431,7 +115631,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "signature": "getServletInfo()", "comments": [ { @@ -117452,9 +115652,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "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, @@ -117468,7 +115669,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.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/beanval/PingServletBeanValSimple2.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -117513,9 +115714,10 @@ "end_column": 67 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n SimpleBean2 simpleBean2 = new SimpleBean2();\n simpleBean2.checkInjectionValidation();\n ServletOutputStream out = res.getOutputStream();\n int currentHitCount = ++hitCount;\n out.println(\"Ping Servlet Bean Validation Simple\" + \"

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

    Hit Count: \" + currentHitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try { \n res.setContentType(\"text/html\");\n\n SimpleBean2 simpleBean2 = new SimpleBean2();\n simpleBean2.checkInjectionValidation();\n\n ServletOutputStream out = res.getOutputStream();\n\n int currentHitCount = ++hitCount;\n out.println(\"Ping Servlet Bean Validation Simple\"\n + \"

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

    Hit Count: \" + currentHitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 62, "end_line": 81, + "code_start_line": 63, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -117843,8 +116045,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -118029,7 +116231,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "signature": "init(ServletConfig)", "comments": [ { @@ -118071,9 +116273,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n // hitCount = 0;\n // initTime = new java.util.Date().toString();\n}", + "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, @@ -118111,7 +116314,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -118147,9 +116350,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 56, "end_line": 59, + "code_start_line": 57, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -118188,7 +116392,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -118200,9 +116404,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB to JSP path\";\n}", + "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, @@ -118216,7 +116421,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.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/ejb3/PingServlet2Session2Entity2JSP.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -118293,9 +116498,10 @@ "end_column": 69 } ], - "code": "{\n String symbol = null;\n QuoteDataBean quoteData = null;\n ServletContext ctx = getServletConfig().getServletContext();\n try {\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n symbol = TradeConfig.rndSymbol();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n quoteData = tradeSLSBLocal.getQuote(symbol);\n }\n req.setAttribute(\"quoteData\", quoteData);\n // req.setAttribute(\"hitCount\", hitCount);\n // req.setAttribute(\"initTime\", initTime);\n ctx.getRequestDispatcher(\"/quoteDataPrimitive.jsp\").include(req, res);\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2Session2Entity2JSP.goGet(...): exception getting QuoteData through Trade\");\n throw ne;\n }\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2Entity2JSP.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n}", + "code": "{\n String symbol = null;\n QuoteDataBean quoteData = null;\n ServletContext ctx = getServletConfig().getServletContext();\n\n try {\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n symbol = TradeConfig.rndSymbol();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n quoteData = tradeSLSBLocal.getQuote(symbol);\n }\n\n req.setAttribute(\"quoteData\", quoteData);\n // req.setAttribute(\"hitCount\", hitCount);\n // req.setAttribute(\"initTime\", initTime);\n\n ctx.getRequestDispatcher(\"/quoteDataPrimitive.jsp\").include(req, res);\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2Session2Entity2JSP.goGet(...): exception getting QuoteData through Trade\");\n throw ne;\n }\n\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2Entity2JSP.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n }", "start_line": 61, "end_line": 92, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -118730,8 +116936,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.entities", "comments": [ { @@ -119109,7 +117315,7 @@ "nested_type_declarations": [], "callable_declarations": { "getRandomInstance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getRandomInstance()", "comments": [ { @@ -119193,9 +117399,10 @@ "thrown_exceptions": [], "declaration": "public static QuoteDataBean getRandomInstance()", "parameters": [], - "code": "{\n return new // symbol\n QuoteDataBean(// symbol\n TradeConfig.rndSymbol(), // Company Name\n TradeConfig.rndSymbol() + \" Incorporated\", // volume\n TradeConfig.rndFloat(100000), // price\n TradeConfig.rndBigDecimal(1000.0f), // open1\n TradeConfig.rndBigDecimal(1000.0f), // low\n TradeConfig.rndBigDecimal(1000.0f), // high\n TradeConfig.rndBigDecimal(1000.0f), // volume\n TradeConfig.rndFloat(100000));\n}", + "code": "{\n return new QuoteDataBean(TradeConfig.rndSymbol(), // symbol\n TradeConfig.rndSymbol() + \" Incorporated\", // Company Name\n TradeConfig.rndFloat(100000), // volume\n TradeConfig.rndBigDecimal(1000.0f), // price\n TradeConfig.rndBigDecimal(1000.0f), // open1\n TradeConfig.rndBigDecimal(1000.0f), // low\n TradeConfig.rndBigDecimal(1000.0f), // high\n TradeConfig.rndFloat(100000) // volume\n );\n }", "start_line": 96, "end_line": 106, + "code_start_line": 96, "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, @@ -119427,7 +117634,7 @@ "is_entrypoint": false }, "setSymbol(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)", "comments": [], "annotations": [], @@ -119448,9 +117655,10 @@ "end_column": 39 } ], - "code": "{\n this.symbol = symbol;\n}", + "code": "{\n this.symbol = symbol;\n }", "start_line": 134, "end_line": 136, + "code_start_line": 134, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -119468,7 +117676,7 @@ "is_entrypoint": false }, "setHigh(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": [], @@ -119489,9 +117697,10 @@ "end_column": 39 } ], - "code": "{\n this.high = high;\n}", + "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, @@ -119509,7 +117718,7 @@ "is_entrypoint": false }, "getCompanyName()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()", "comments": [], "annotations": [], @@ -119519,9 +117728,10 @@ "thrown_exceptions": [], "declaration": "public String getCompanyName()", "parameters": [], - "code": "{\n return companyName;\n}", + "code": "{\n return companyName;\n }", "start_line": 138, "end_line": 140, + "code_start_line": 138, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -119537,7 +117747,7 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "hashCode()", "comments": [], "annotations": [ @@ -119549,9 +117759,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n int hash = 0;\n hash += (this.symbol != null ? this.symbol.hashCode() : 0);\n return hash;\n}", + "code": "{\n int hash = 0;\n hash += (this.symbol != null ? this.symbol.hashCode() : 0);\n return hash;\n }", "start_line": 194, "end_line": 199, + "code_start_line": 195, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -119609,7 +117820,7 @@ "is_entrypoint": false }, "setVolume(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "setVolume(double)", "comments": [], "annotations": [], @@ -119630,9 +117841,10 @@ "end_column": 39 } ], - "code": "{\n this.volume = volume;\n}", + "code": "{\n this.volume = volume;\n }", "start_line": 190, "end_line": 192, + "code_start_line": 190, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -119648,7 +117860,7 @@ "is_entrypoint": false }, "(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": [], @@ -119669,9 +117881,10 @@ "end_column": 38 } ], - "code": "{\n setSymbol(symbol);\n}", + "code": "{\n setSymbol(symbol);\n }", "start_line": 109, "end_line": 111, + "code_start_line": 109, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -119711,7 +117924,7 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()", "comments": [], "annotations": [], @@ -119721,9 +117934,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getPrice()", "parameters": [], - "code": "{\n return price;\n}", + "code": "{\n return price;\n }", "start_line": 146, "end_line": 148, + "code_start_line": 146, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -119739,7 +117953,7 @@ "is_entrypoint": false }, "print()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "print()", "comments": [], "annotations": [], @@ -119749,9 +117963,10 @@ "thrown_exceptions": [], "declaration": "public void print()", "parameters": [], - "code": "{\n Log.log(this.toString());\n}", + "code": "{\n Log.log(this.toString());\n }", "start_line": 126, "end_line": 128, + "code_start_line": 126, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -119810,7 +118025,7 @@ "is_entrypoint": false }, "setOpen(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)", "comments": [], "annotations": [], @@ -119831,9 +118046,10 @@ "end_column": 39 } ], - "code": "{\n this.open1 = open;\n}", + "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, @@ -119851,7 +118067,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()", "comments": [], "annotations": [], @@ -119861,9 +118077,10 @@ "thrown_exceptions": [], "declaration": "public QuoteDataBean()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 82, "end_line": 83, + "code_start_line": 82, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -119877,7 +118094,7 @@ "is_entrypoint": false }, "setChange(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "setChange(double)", "comments": [], "annotations": [], @@ -119898,9 +118115,10 @@ "end_column": 39 } ], - "code": "{\n this.change1 = change;\n}", + "code": "{\n this.change1 = change;\n }", "start_line": 182, "end_line": 184, + "code_start_line": 182, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -119916,7 +118134,7 @@ "is_entrypoint": false }, "toHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toHTML()", "comments": [], "annotations": [], @@ -119926,9 +118144,10 @@ "thrown_exceptions": [], "declaration": "public String toHTML()", "parameters": [], - "code": "{\n return \"
    Quote Data for: \" + getSymbol() + \"
  • companyName: \" + getCompanyName() + \"
  • \" + \"
  • volume: \" + getVolume() + \"
  • \" + \"
  • price: \" + getPrice() + \"
  • \" + \"
  • open1: \" + getOpen() + \"
  • \" + \"
  • low: \" + getLow() + \"
  • \" + \"
  • high: \" + getHigh() + \"
  • \" + \"
  • change1: \" + getChange() + \"
  • \";\n}", + "code": "{\n return \"
    Quote Data for: \" + getSymbol() + \"
  • companyName: \" + getCompanyName() + \"
  • \" + \"
  • volume: \" + getVolume() + \"
  • \"\n + \"
  • price: \" + getPrice() + \"
  • \" + \"
  • open1: \" + getOpen() + \"
  • \" + \"
  • low: \" + getLow() + \"
  • \"\n + \"
  • high: \" + getHigh() + \"
  • \" + \"
  • change1: \" + getChange() + \"
  • \";\n }", "start_line": 120, "end_line": 124, + "code_start_line": 120, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -120111,7 +118330,7 @@ "is_entrypoint": false }, "getOpen()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getOpen()", "comments": [], "annotations": [], @@ -120121,9 +118340,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOpen()", "parameters": [], - "code": "{\n return open1;\n}", + "code": "{\n return open1;\n }", "start_line": 154, "end_line": 156, + "code_start_line": 154, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -120139,7 +118359,7 @@ "is_entrypoint": false }, "getLow()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()", "comments": [], "annotations": [], @@ -120149,9 +118369,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getLow()", "parameters": [], - "code": "{\n return low;\n}", + "code": "{\n return low;\n }", "start_line": 162, "end_line": 164, + "code_start_line": 162, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -120167,7 +118388,7 @@ "is_entrypoint": false }, "getChange()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getChange()", "comments": [], "annotations": [], @@ -120177,9 +118398,10 @@ "thrown_exceptions": [], "declaration": "public double getChange()", "parameters": [], - "code": "{\n return change1;\n}", + "code": "{\n return change1;\n }", "start_line": 178, "end_line": 180, + "code_start_line": 178, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -120195,7 +118417,7 @@ "is_entrypoint": false }, "getHigh()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "getHigh()", "comments": [], "annotations": [], @@ -120205,9 +118427,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getHigh()", "parameters": [], - "code": "{\n return high;\n}", + "code": "{\n return high;\n }", "start_line": 170, "end_line": 172, + "code_start_line": 170, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -120223,7 +118446,7 @@ "is_entrypoint": false }, "setPrice(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": [], @@ -120244,9 +118467,10 @@ "end_column": 41 } ], - "code": "{\n this.price = price;\n}", + "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, @@ -120264,7 +118488,7 @@ "is_entrypoint": false }, "equals(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": [ @@ -120287,9 +118511,10 @@ "end_column": 39 } ], - "code": "{\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}", + "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, @@ -120350,7 +118575,7 @@ "is_entrypoint": false }, "getSymbol()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()", "comments": [], "annotations": [], @@ -120360,9 +118585,10 @@ "thrown_exceptions": [], "declaration": "public String getSymbol()", "parameters": [], - "code": "{\n return symbol;\n}", + "code": "{\n return symbol;\n }", "start_line": 130, "end_line": 132, + "code_start_line": 130, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -120378,7 +118604,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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": "toString()", "comments": [], "annotations": [ @@ -120390,9 +118616,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return \"\\n\\tQuote Data for: \" + getSymbol() + \"\\n\\t\\t companyName: \" + getCompanyName() + \"\\n\\t\\t volume: \" + getVolume() + \"\\n\\t\\t price: \" + getPrice() + \"\\n\\t\\t open1: \" + getOpen() + \"\\n\\t\\t low: \" + getLow() + \"\\n\\t\\t high: \" + getHigh() + \"\\n\\t\\t change1: \" + getChange();\n}", + "code": "{\n return \"\\n\\tQuote Data for: \" + getSymbol() + \"\\n\\t\\t companyName: \" + getCompanyName() + \"\\n\\t\\t volume: \" + getVolume() + \"\\n\\t\\t price: \"\n + getPrice() + \"\\n\\t\\t open1: \" + getOpen() + \"\\n\\t\\t low: \" + getLow() + \"\\n\\t\\t high: \" + getHigh()\n + \"\\n\\t\\t change1: \" + getChange();\n }", "start_line": 113, "end_line": 118, + "code_start_line": 114, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -120575,7 +118802,7 @@ "is_entrypoint": false }, "setLow(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)", "comments": [], "annotations": [], @@ -120596,9 +118823,10 @@ "end_column": 37 } ], - "code": "{\n this.low = low;\n}", + "code": "{\n this.low = low;\n }", "start_line": 166, "end_line": 168, + "code_start_line": 166, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -120616,7 +118844,7 @@ "is_entrypoint": false }, "(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)", "comments": [], "annotations": [], @@ -120707,9 +118935,10 @@ "end_column": 156 } ], - "code": "{\n setSymbol(symbol);\n setCompanyName(companyName);\n setVolume(volume);\n setPrice(price);\n setOpen(open);\n setLow(low);\n setHigh(high);\n setChange(change);\n}", + "code": "{\n setSymbol(symbol);\n setCompanyName(companyName);\n setVolume(volume);\n setPrice(price);\n setOpen(open);\n setLow(low);\n setHigh(high);\n setChange(change);\n }", "start_line": 85, "end_line": 94, + "code_start_line": 85, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -120915,7 +119144,7 @@ "is_entrypoint": false }, "setCompanyName(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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)", "comments": [], "annotations": [], @@ -120936,9 +119165,10 @@ "end_column": 49 } ], - "code": "{\n this.companyName = companyName;\n}", + "code": "{\n this.companyName = companyName;\n }", "start_line": 142, "end_line": 144, + "code_start_line": 142, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -120956,7 +119186,7 @@ "is_entrypoint": false }, "getVolume()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "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()", "comments": [], "annotations": [], @@ -120966,9 +119196,10 @@ "thrown_exceptions": [], "declaration": "public double getVolume()", "parameters": [], - "code": "{\n return volume;\n}", + "code": "{\n return volume;\n }", "start_line": 186, "end_line": 188, + "code_start_line": 186, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -121210,8 +119441,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.http2", "comments": [ { @@ -121285,7 +119516,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.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/http2/PingServletPush.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -121310,9 +119541,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -121395,7 +119627,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.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/http2/PingServletPush.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -121440,9 +119672,10 @@ "end_column": 71 } ], - "code": "{\n try {\n PushBuilder pushBuilder = req.newPushBuilder();\n if (pushBuilder != null) {\n pushBuilder.path(\"images/graph.gif\").push();\n } else {\n Log.error(\"HTTP/2 not enabled or Push not supported\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n try (PrintWriter respWriter = resp.getWriter()) {\n hitCount++;\n //System.out.println(\"Sending hit count: \" + hitCount);\n respWriter.write(\"Ping Servlet HTTP/2\" + \"

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

    Hit Count: \" + hitCount + \"
    \" + \"\" + \"\");\n }\n}", + "code": "{\n\n try {\n PushBuilder pushBuilder = req.newPushBuilder();\n if (pushBuilder != null) {\n pushBuilder\n .path(\"images/graph.gif\")\n .push();\n\n } else {\n Log.error(\"HTTP/2 not enabled or Push not supported\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n try(PrintWriter respWriter = resp.getWriter();){\n hitCount++;\n //System.out.println(\"Sending hit count: \" + hitCount);\n respWriter.write(\"Ping Servlet HTTP/2\"\n + \"

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

    Hit Count: \" + hitCount + \"
    \" +\n \"\" + \n \"\");\n }\n }", "start_line": 39, "end_line": 65, + "code_start_line": 40, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -121735,8 +119968,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -121856,7 +120089,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.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/PingServlet2JNDI.java", "signature": "init(ServletConfig)", "comments": [ { @@ -121890,9 +120123,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -121975,7 +120209,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.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/PingServlet2JNDI.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -122020,9 +120254,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 51, "end_line": 54, + "code_start_line": 52, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -122061,7 +120296,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.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/PingServlet2JNDI.java", "signature": "getServletInfo()", "comments": [ { @@ -122082,9 +120317,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic JNDI look up of a JDBC DataSource\";\n}", + "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, @@ -122098,7 +120334,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.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/PingServlet2JNDI.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -122143,9 +120379,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n StringBuffer output = new StringBuffer(100);\n try {\n output.append(\"Ping JNDI -- lookup of JDBC DataSource\" + \"
    Ping JNDI -- lookup of JDBC DataSource
    Init time : \" + initTime);\n hitCount++;\n output.append(\"
    Hit Count: \" + hitCount);\n output.append(\"
    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2JNDI -- error look up of a JDBC DataSource\");\n res.sendError(500, \"PingServlet2JNDI Exception caught: \" + e.toString());\n }\n}", + "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n\n StringBuffer output = new StringBuffer(100);\n\n try {\n output.append(\"Ping JNDI -- lookup of JDBC DataSource\"\n + \"
    Ping JNDI -- lookup of JDBC DataSource
    Init time : \"\n + initTime);\n hitCount++;\n output.append(\"
    Hit Count: \" + hitCount);\n output.append(\"
    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2JNDI -- error look up of a JDBC DataSource\");\n res.sendError(500, \"PingServlet2JNDI Exception caught: \" + e.toString());\n }\n\n }", "start_line": 65, "end_line": 85, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -122527,8 +120764,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -122580,7 +120817,7 @@ "nested_type_declarations": [], "callable_declarations": { "getOrderData()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "signature": "getOrderData()", "comments": [], "annotations": [], @@ -122590,9 +120827,10 @@ "thrown_exceptions": [], "declaration": "public OrderData getOrderData()", "parameters": [], - "code": "{\n return orderData;\n}", + "code": "{\n return orderData;\n }", "start_line": 103, "end_line": 105, + "code_start_line": 103, "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "is_implicit": false, "is_constructor": false, @@ -122608,7 +120846,7 @@ "is_entrypoint": false }, "getAllOrder()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "signature": "getAllOrder()", "comments": [], "annotations": [], @@ -122618,9 +120856,10 @@ "thrown_exceptions": [], "declaration": "public void getAllOrder()", "parameters": [], - "code": "{\n try {\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n ArrayList orderDataBeans = (TradeConfig.getLongRun() ? new ArrayList() : (ArrayList) tradeAction.getOrders(userID));\n OrderData[] orders = new OrderData[orderDataBeans.size()];\n int count = 0;\n for (Object order : orderDataBeans) {\n OrderData r = new OrderData(((OrderDataBean) order).getOrderID(), ((OrderDataBean) order).getOrderStatus(), ((OrderDataBean) order).getOpenDate(), ((OrderDataBean) order).getCompletionDate(), ((OrderDataBean) order).getOrderFee(), ((OrderDataBean) order).getOrderType(), ((OrderDataBean) order).getQuantity(), ((OrderDataBean) order).getSymbol());\n r.setPrice(((OrderDataBean) order).getPrice());\n r.setTotal(r.getPrice().multiply(new BigDecimal(r.getQuantity())));\n orders[count] = r;\n count++;\n }\n setAllOrders(orders);\n } catch (Exception e) {\n e.printStackTrace();\n }\n}", + "code": "{\n try {\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n\n ArrayList orderDataBeans = (TradeConfig.getLongRun() ? new ArrayList() : (ArrayList) tradeAction.getOrders(userID));\n OrderData[] orders = new OrderData[orderDataBeans.size()];\n\n int count = 0;\n\n for (Object order : orderDataBeans) {\n OrderData r = new OrderData(((OrderDataBean) order).getOrderID(), ((OrderDataBean) order).getOrderStatus(),\n ((OrderDataBean) order).getOpenDate(), ((OrderDataBean) order).getCompletionDate(), ((OrderDataBean) order).getOrderFee(),\n ((OrderDataBean) order).getOrderType(), ((OrderDataBean) order).getQuantity(), ((OrderDataBean) order).getSymbol());\n r.setPrice(((OrderDataBean) order).getPrice());\n r.setTotal(r.getPrice().multiply(new BigDecimal(r.getQuantity())));\n orders[count] = r;\n count++;\n }\n\n setAllOrders(orders);\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }", "start_line": 52, "end_line": 77, + "code_start_line": 52, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -123293,7 +121532,7 @@ "is_entrypoint": false }, "getOrder()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "signature": "getOrder()", "comments": [], "annotations": [ @@ -123305,9 +121544,10 @@ "thrown_exceptions": [], "declaration": "public void getOrder()", "parameters": [], - "code": "{\n HttpSession session = (HttpSession) context.getSession(true);\n OrderData order = (OrderData) session.getAttribute(\"orderData\");\n if (order != null) {\n setOrderData(order);\n }\n}", + "code": "{\n\n\n HttpSession session = (HttpSession) context.getSession(true);\n OrderData order = (OrderData) session.getAttribute(\"orderData\");\n\n if (order != null) {\n setOrderData(order);\n }\n }", "start_line": 79, "end_line": 89, + "code_start_line": 80, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -123431,7 +121671,7 @@ "is_entrypoint": true }, "getAllOrders()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "signature": "getAllOrders()", "comments": [], "annotations": [], @@ -123441,9 +121681,10 @@ "thrown_exceptions": [], "declaration": "public OrderData[] getAllOrders()", "parameters": [], - "code": "{\n return allOrders;\n}", + "code": "{\n return allOrders;\n }", "start_line": 95, "end_line": 97, + "code_start_line": 95, "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData[]", "is_implicit": false, "is_constructor": false, @@ -123459,7 +121700,7 @@ "is_entrypoint": false }, "setAllOrders(OrderData[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "signature": "setAllOrders(OrderData[])", "comments": [], "annotations": [], @@ -123480,9 +121721,10 @@ "end_column": 48 } ], - "code": "{\n this.allOrders = allOrders;\n}", + "code": "{\n this.allOrders = allOrders;\n }", "start_line": 91, "end_line": 93, + "code_start_line": 91, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -123498,7 +121740,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "signature": "OrderDataJSF(Instance)", "comments": [], "annotations": [ @@ -123523,9 +121765,10 @@ "end_column": 59 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", "start_line": 47, "end_line": 50, + "code_start_line": 48, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -123651,7 +121894,7 @@ "is_entrypoint": false }, "setOrderData(OrderData)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.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/jsf/OrderDataJSF.java", "signature": "setOrderData(OrderData)", "comments": [], "annotations": [], @@ -123672,9 +121915,10 @@ "end_column": 46 } ], - "code": "{\n this.orderData = orderData;\n}", + "code": "{\n this.orderData = orderData;\n }", "start_line": 99, "end_line": 101, + "code_start_line": 99, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -123788,8 +122032,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeJDBC.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeJDBC.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeJDBC.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeJDBC.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -123838,8 +122082,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", "comments": [ { @@ -123974,7 +122218,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -123999,9 +122243,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n}", + "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, @@ -124039,7 +122284,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -124084,9 +122329,10 @@ "end_column": 79 } ], - "code": "{\n performTask(request, response);\n}", + "code": "{\n performTask(request, response);\n }", "start_line": 74, "end_line": 77, + "code_start_line": 75, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -124125,7 +122371,7 @@ "is_entrypoint": true }, "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -124184,9 +122430,10 @@ "end_column": 76 } ], - "code": "{\n try {\n Log.debug(\"Enter TestServlet doGet\");\n //TradeDirect tradeDirect = new TradeDirect();\n for (int i = 0; i < 10; i++) {\n tradeAction.createQuote(\"s:\" + i, \"Company \" + i, new BigDecimal(i * 1.1));\n }\n /*\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 */\n } catch (Exception e) {\n Log.error(\"TestServletException\", e);\n }\n}", + "code": "{\n try {\n Log.debug(\"Enter TestServlet doGet\");\n //TradeDirect tradeDirect = new TradeDirect();\n for (int i = 0; i < 10; i++) {\n tradeAction.createQuote(\"s:\" + i, \"Company \" + i, new BigDecimal(i * 1.1));\n }\n /*\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 */\n } catch (Exception e) {\n Log.error(\"TestServletException\", e);\n }\n }", "start_line": 87, "end_line": 121, + "code_start_line": 87, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -124313,10 +122560,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 3, - "is_entrypoint": false + "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -124361,9 +122608,10 @@ "end_column": 78 } ], - "code": "{\n performTask(request, response);\n}", + "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, @@ -124402,7 +122650,7 @@ "is_entrypoint": true }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.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/servlet/TestServlet.java", "signature": "TestServlet(Instance)", "comments": [], "annotations": [ @@ -124427,9 +122675,10 @@ "end_column": 60 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "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, @@ -124609,8 +122858,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -125124,7 +123373,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "signature": "init(ServletConfig)", "comments": [ { @@ -125158,9 +123407,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -125243,7 +123493,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -125288,9 +123538,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 56, "end_line": 59, + "code_start_line": 57, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -125329,7 +123580,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "signature": "getServletInfo()", "comments": [ { @@ -125350,9 +123601,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"HTTP Session Object: Tests management of a large custom session class\";\n}", + "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, @@ -125366,7 +123618,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.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/PingSession3.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -125603,9 +123855,10 @@ "end_column": 78 } ], - "code": "{\n PrintWriter out = response.getWriter();\n // Using a StringBuffer to output all at once.\n StringBuffer outputBuffer = new StringBuffer();\n HttpSession session = null;\n PingSession3Object[] sessionData;\n response.setContentType(\"text/html\");\n // this is a general try/catch block. The catch block at the end of this\n // will forward the responce\n // to an error page if there is an exception\n try {\n try {\n session = request.getSession(true);\n } catch (Exception e) {\n Log.error(e, \"PingSession3.doGet(...): error getting session\");\n // rethrow the exception for handling in one place.\n throw e;\n }\n // Each PingSession3Object in the PingSession3Object array is 1K in\n // size\n // NUM_OBJECTS sets the size of the array to allocate and thus set\n // the size in KBytes of the session object\n // NUM_OBJECTS can be initialized by the servlet\n // Here we check for the request parameter to change the size and\n // invalidate the session if it exists\n // NOTE: Current user sessions will remain the same (i.e. when\n // NUM_OBJECTS is changed, all user thread must be restarted\n // for the change to fully take effect\n String num_objects;\n if ((num_objects = request.getParameter(\"num_objects\")) != null) {\n // validate input\n try {\n int x = Integer.parseInt(num_objects);\n if (x > 0) {\n NUM_OBJECTS = x;\n }\n } catch (Exception e) {\n Log.error(e, \"PingSession3.doGet(...): input should be an integer, input=\" + num_objects);\n }\n // revert to current value on exception\n outputBuffer.append(\" Session object size set to \" + NUM_OBJECTS + \"K bytes \");\n if (session != null) {\n session.invalidate();\n }\n out.print(outputBuffer.toString());\n out.close();\n return;\n }\n // Get the session data value\n sessionData = (PingSession3Object[]) session.getAttribute(\"sessiontest.sessionData\");\n if (sessionData == null) {\n sessionData = new PingSession3Object[NUM_OBJECTS];\n for (int i = 0; i < NUM_OBJECTS; i++) {\n sessionData[i] = new PingSession3Object();\n }\n }\n session.setAttribute(\"sessiontest.sessionData\", sessionData);\n // Each PingSession3Object is about 1024 bits, there are 8 bits in a\n // byte.\n int num_bytes = (NUM_OBJECTS * 1024) / 8;\n response.setHeader(\"SessionTrackingTest-largeSessionData\", num_bytes + \"bytes\");\n outputBuffer.append(\"Session Large Data Test

    HTTP Session Test 3: Large Data
    Init time: \").append(initTime).append(\"

    \");\n hitCount++;\n outputBuffer.append(\"Hit Count: \").append(hitCount).append(\"
    Session object updated. Session Object size = \" + num_bytes + \" bytes
    \");\n // output the Buffer to the printWriter.\n out.println(outputBuffer.toString());\n } catch (Exception e) {\n // log the excecption\n Log.error(e, \"PingSession3.doGet(..l.): error.\");\n // set the server responce to 500 and forward to the web app defined\n // error page\n response.sendError(500, \"PingSession3.doGet(...): error. \" + e.toString());\n }\n}", + "code": "{\n\n PrintWriter out = response.getWriter();\n // Using a StringBuffer to output all at once.\n StringBuffer outputBuffer = new StringBuffer();\n HttpSession session = null;\n PingSession3Object[] sessionData;\n response.setContentType(\"text/html\");\n\n // this is a general try/catch block. The catch block at the end of this\n // will forward the responce\n // to an error page if there is an exception\n try {\n\n try {\n session = request.getSession(true);\n } catch (Exception e) {\n Log.error(e, \"PingSession3.doGet(...): error getting session\");\n // rethrow the exception for handling in one place.\n throw e;\n\n }\n // Each PingSession3Object in the PingSession3Object array is 1K in\n // size\n // NUM_OBJECTS sets the size of the array to allocate and thus set\n // the size in KBytes of the session object\n // NUM_OBJECTS can be initialized by the servlet\n // Here we check for the request parameter to change the size and\n // invalidate the session if it exists\n // NOTE: Current user sessions will remain the same (i.e. when\n // NUM_OBJECTS is changed, all user thread must be restarted\n // for the change to fully take effect\n\n String num_objects;\n if ((num_objects = request.getParameter(\"num_objects\")) != null) {\n // validate input\n try {\n int x = Integer.parseInt(num_objects);\n if (x > 0) {\n NUM_OBJECTS = x;\n }\n } catch (Exception e) {\n Log.error(e, \"PingSession3.doGet(...): input should be an integer, input=\" + num_objects);\n } // revert to current value on exception\n\n outputBuffer.append(\" Session object size set to \" + NUM_OBJECTS + \"K bytes \");\n if (session != null) {\n session.invalidate();\n }\n out.print(outputBuffer.toString());\n out.close();\n return;\n }\n\n // Get the session data value\n sessionData = (PingSession3Object[]) session.getAttribute(\"sessiontest.sessionData\");\n if (sessionData == null) {\n sessionData = new PingSession3Object[NUM_OBJECTS];\n for (int i = 0; i < NUM_OBJECTS; i++) {\n sessionData[i] = new PingSession3Object();\n }\n }\n\n session.setAttribute(\"sessiontest.sessionData\", sessionData);\n\n // Each PingSession3Object is about 1024 bits, there are 8 bits in a\n // byte.\n int num_bytes = (NUM_OBJECTS * 1024) / 8;\n response.setHeader(\"SessionTrackingTest-largeSessionData\", num_bytes + \"bytes\");\n\n outputBuffer\n .append(\"Session Large Data Test

    HTTP Session Test 3: Large Data
    Init time: \")\n .append(initTime).append(\"

    \");\n hitCount++;\n outputBuffer.append(\"Hit Count: \").append(hitCount)\n .append(\"
    Session object updated. Session Object size = \" + num_bytes + \" bytes
    \");\n // output the Buffer to the printWriter.\n out.println(outputBuffer.toString());\n\n } catch (Exception e) {\n // log the excecption\n Log.error(e, \"PingSession3.doGet(..l.): error.\");\n // set the server responce to 500 and forward to the web app defined\n // error page\n response.sendError(500, \"PingSession3.doGet(...): error. \" + e.toString());\n }\n }", "start_line": 70, "end_line": 157, + "code_start_line": 71, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -126520,8 +124773,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", + "/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": [ { @@ -126703,7 +124956,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "init(ServletConfig)", "comments": [ { @@ -126737,9 +124990,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -126822,7 +125076,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -126867,9 +125121,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "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, @@ -126908,7 +125163,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "getServletInfo()", "comments": [ { @@ -126929,9 +125184,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic JDBC Write using a prepared statment makes use of TradeJDBC code.\";\n}", + "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, @@ -126945,7 +125201,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -127014,9 +125270,10 @@ "end_column": 69 } ], - "code": "{\n String symbol = null;\n BigDecimal newPrice;\n StringBuffer output = new StringBuffer(100);\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n try {\n // get a random symbol to update and a random price.\n symbol = TradeConfig.rndSymbol();\n newPrice = TradeConfig.getRandomPriceChangeFactor();\n // update the price of our symbol\n QuoteDataBean quoteData = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n quoteData = trade.updateQuotePriceVolumeInt(symbol, newPrice, 100.0, false);\n }\n // write the output\n output.append(\"Ping JDBC Write w/ Prepared Stmt.\" + \"
    Ping JDBC Write w/ Prep Stmt:
    Init time : \" + initTime);\n hitCount++;\n output.append(\"
    Hit Count: \" + hitCount);\n output.append(\"
    Update Information
    \");\n output.append(\"
    \" + quoteData.toHTML() + \"
    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingJDBCWrite -- error updating quote for symbol\", symbol);\n res.sendError(500, \"PingJDBCWrite Exception caught: \" + e.toString());\n }\n}", + "code": "{\n\n String symbol = null;\n BigDecimal newPrice;\n StringBuffer output = new StringBuffer(100);\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n\n try {\n // get a random symbol to update and a random price.\n symbol = TradeConfig.rndSymbol();\n newPrice = TradeConfig.getRandomPriceChangeFactor();\n\n \n // update the price of our symbol\n QuoteDataBean quoteData = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n quoteData = trade.updateQuotePriceVolumeInt(symbol, newPrice, 100.0, false);\n }\n\n // write the output\n output.append(\"Ping JDBC Write w/ Prepared Stmt.\"\n + \"
    Ping JDBC Write w/ Prep Stmt:
    Init time : \"\n + initTime);\n hitCount++;\n output.append(\"
    Hit Count: \" + hitCount);\n output.append(\"
    Update Information
    \");\n output.append(\"
    \" + quoteData.toHTML() + \"
    \");\n out.println(output.toString());\n\n } catch (Exception e) {\n Log.error(e, \"PingJDBCWrite -- error updating quote for symbol\", symbol);\n res.sendError(500, \"PingJDBCWrite Exception caught: \" + e.toString());\n }\n }", "start_line": 65, "end_line": 101, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -127650,8 +125907,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", "comments": [ { @@ -127993,7 +126250,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "signature": "init(ServletConfig)", "comments": [ { @@ -128027,9 +126284,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n}", + "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, @@ -128067,7 +126325,7 @@ "is_entrypoint": false }, "service(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "signature": "service(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -128144,9 +126402,10 @@ "end_column": 70 } ], - "code": "{\n String action = null;\n String result = \"\";\n resp.setContentType(\"text/html\");\n try {\n action = req.getParameter(\"action\");\n if (action == null) {\n doConfigDisplay(req, resp, result + \"
    Current DayTrader Configuration:
    \");\n return;\n } else if (action.equals(\"updateConfig\")) {\n doConfigUpdate(req, resp);\n result = \"
    DayTrader Configuration Updated
    \";\n } else if (action.equals(\"resetTrade\")) {\n doResetTrade(req, resp, \"\");\n return;\n } else if (action.equals(\"buildDB\")) {\n resp.setContentType(\"text/html\");\n dbUtils.buildDB(resp.getWriter(), null);\n result = \"DayTrader Database Built - \" + TradeConfig.getMAX_USERS() + \"users created\";\n } else if (action.equals(\"buildDBTables\")) {\n resp.setContentType(\"text/html\");\n String dbProductName = null;\n try {\n dbProductName = dbUtils.checkDBProductName();\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to check DB Product name\");\n }\n if (dbProductName == null) {\n resp.getWriter().println(\"
    TradeBuildDB: **** Unable to check DB Product name, please check Database/AppServer configuration and retry ****
    \");\n return;\n }\n String ddlFile = null;\n //Locate DDL file for the specified database\n try {\n resp.getWriter().println(\"
    TradeBuildDB: **** Database Product detected: \" + dbProductName + \" ****
    \");\n if (dbProductName.startsWith(\"DB2/\")) {\n // if db is DB2\n ddlFile = \"/dbscripts/db2/Table.ddl\";\n } else if (dbProductName.startsWith(\"Apache Derby\")) {\n //if db is Derby\n ddlFile = \"/dbscripts/derby/Table.ddl\";\n } else if (dbProductName.startsWith(\"Oracle\")) {\n // if the Db is Oracle\n ddlFile = \"/dbscripts/oracle/Table.ddl\";\n } else {\n // Unsupported \"Other\" Database\n ddlFile = \"/dbscripts/other/Table.ddl\";\n resp.getWriter().println(\"
    TradeBuildDB: **** This Database is unsupported/untested use at your own risk ****
    \");\n }\n resp.getWriter().println(\"
    TradeBuildDB: **** The DDL file at path \" + ddlFile + \" will be used ****
    \");\n resp.getWriter().flush();\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to locate DDL file for the specified database\");\n resp.getWriter().println(\"
    TradeBuildDB: **** Unable to locate DDL file for the specified database ****
    \");\n return;\n }\n dbUtils.buildDB(resp.getWriter(), getServletContext().getResourceAsStream(ddlFile));\n }\n doConfigDisplay(req, resp, result + \"Current DayTrader Configuration:\");\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet.service(...)\", \"Exception trying to perform action=\" + action);\n resp.sendError(500, \"TradeConfigServlet.service(...)\" + \"Exception trying to perform action=\" + action + \"\\nException details: \" + e.toString());\n }\n}", + "code": "{\n\n String action = null;\n String result = \"\";\n\n resp.setContentType(\"text/html\");\n try {\n action = req.getParameter(\"action\");\n if (action == null) {\n doConfigDisplay(req, resp, result + \"
    Current DayTrader Configuration:
    \");\n return;\n } else if (action.equals(\"updateConfig\")) {\n doConfigUpdate(req, resp);\n result = \"
    DayTrader Configuration Updated
    \";\n } else if (action.equals(\"resetTrade\")) {\n doResetTrade(req, resp, \"\");\n return;\n } else if (action.equals(\"buildDB\")) {\n resp.setContentType(\"text/html\");\n dbUtils.buildDB(resp.getWriter(), null);\n result = \"DayTrader Database Built - \" + TradeConfig.getMAX_USERS() + \"users created\";\n } else if (action.equals(\"buildDBTables\")) {\n\n resp.setContentType(\"text/html\");\n\n String dbProductName = null;\n try {\n dbProductName = dbUtils.checkDBProductName();\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to check DB Product name\");\n }\n if (dbProductName == null) {\n resp.getWriter().println(\n \"
    TradeBuildDB: **** Unable to check DB Product name, please check Database/AppServer configuration and retry ****
    \");\n return;\n }\n\n String ddlFile = null;\n //Locate DDL file for the specified database\n try {\n resp.getWriter().println(\"
    TradeBuildDB: **** Database Product detected: \" + dbProductName + \" ****
    \");\n if (dbProductName.startsWith(\"DB2/\")) {// if db is DB2\n ddlFile = \"/dbscripts/db2/Table.ddl\";\n } else if (dbProductName.startsWith(\"Apache Derby\")) { //if db is Derby\n ddlFile = \"/dbscripts/derby/Table.ddl\";\n } else if (dbProductName.startsWith(\"Oracle\")) { // if the Db is Oracle\n ddlFile = \"/dbscripts/oracle/Table.ddl\";\n } else {// Unsupported \"Other\" Database\n ddlFile = \"/dbscripts/other/Table.ddl\";\n resp.getWriter().println(\"
    TradeBuildDB: **** This Database is unsupported/untested use at your own risk ****
    \");\n }\n\n resp.getWriter().println(\"
    TradeBuildDB: **** The DDL file at path \" + ddlFile + \" will be used ****
    \");\n resp.getWriter().flush();\n } catch (Exception e) {\n Log.error(e, \"TradeBuildDB: Unable to locate DDL file for the specified database\");\n resp.getWriter().println(\"
    TradeBuildDB: **** Unable to locate DDL file for the specified database ****
    \");\n return;\n }\n\n dbUtils.buildDB(resp.getWriter(), getServletContext().getResourceAsStream(ddlFile));\n\n }\n doConfigDisplay(req, resp, result + \"Current DayTrader Configuration:\");\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet.service(...)\", \"Exception trying to perform action=\" + action);\n\n resp.sendError(500, \"TradeConfigServlet.service(...)\" + \"Exception trying to perform action=\" + action + \"\\nException details: \" + e.toString());\n\n }\n }", "start_line": 220, "end_line": 291, + "code_start_line": 221, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -129142,7 +127401,7 @@ "is_entrypoint": true }, "doResetTrade(HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", "comments": [], "annotations": [], @@ -129183,9 +127442,10 @@ "end_column": 84 } ], - "code": "{\n RunStatsDataBean runStatsData = new RunStatsDataBean();\n TradeConfig currentConfig = new TradeConfig();\n try {\n runStatsData = dbUtils.resetTrade(false);\n req.setAttribute(\"runStatsData\", runStatsData);\n req.setAttribute(\"tradeConfig\", currentConfig);\n results += \"Trade Reset completed successfully\";\n req.setAttribute(\"status\", results);\n } catch (Exception e) {\n results += \"Trade Reset Error - see log for details\";\n Log.error(e, results);\n throw e;\n }\n getServletConfig().getServletContext().getRequestDispatcher(TradeConfig.getPage(TradeConfig.STATS_PAGE)).include(req, resp);\n}", + "code": "{\n RunStatsDataBean runStatsData = new RunStatsDataBean();\n TradeConfig currentConfig = new TradeConfig();\n\n try {\n runStatsData = dbUtils.resetTrade(false);\n\n req.setAttribute(\"runStatsData\", runStatsData);\n req.setAttribute(\"tradeConfig\", currentConfig);\n results += \"Trade Reset completed successfully\";\n req.setAttribute(\"status\", results);\n\n } catch (Exception e) {\n results += \"Trade Reset Error - see log for details\";\n Log.error(e, results);\n throw e;\n }\n getServletConfig().getServletContext().getRequestDispatcher(TradeConfig.getPage(TradeConfig.STATS_PAGE)).include(req, resp);\n\n }", "start_line": 73, "end_line": 92, + "code_start_line": 73, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -129511,10 +127771,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 2, - "is_entrypoint": false + "is_entrypoint": true }, "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", "comments": [ { @@ -129564,9 +127824,10 @@ "end_column": 87 } ], - "code": "{\n TradeConfig currentConfig = new TradeConfig();\n req.setAttribute(\"tradeConfig\", currentConfig);\n req.setAttribute(\"status\", results);\n getServletConfig().getServletContext().getRequestDispatcher(TradeConfig.getPage(TradeConfig.CONFIG_PAGE)).include(req, resp);\n}", + "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, @@ -129781,10 +128042,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "doConfigUpdate(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.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/servlet/TradeConfigServlet.java", "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -129896,9 +128157,10 @@ "end_column": 70 } ], - "code": "{\n String currentConfigStr = \"\\n\\n########## Trade configuration update. Current config:\\n\\n\";\n currentConfigStr += \"\\t\\tRuntimeMode:\\t\\t\" + TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()] + \"\\n\";\n String orderProcessingModeStr = req.getParameter(\"OrderProcessingMode\");\n if (orderProcessingModeStr != null) {\n try {\n int i = Integer.parseInt(orderProcessingModeStr);\n if (//Input validation\n (i >= 0) && (i < TradeConfig.getOrderProcessingModeNames().length))\n TradeConfig.setOrderProcessingMode(i);\n } catch (Exception e) {\n //>>rjm\n Log.error(e, \"TradeConfigServlet.doConfigUpdate(..): minor exception caught\", \"trying to set orderProcessing to \" + orderProcessingModeStr, \"reverting to current value\");\n }\n // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tOrderProcessingMode:\\t\\t\" + TradeConfig.getOrderProcessingModeNames()[TradeConfig.getOrderProcessingMode()] + \"\\n\";\n String webInterfaceStr = req.getParameter(\"WebInterface\");\n if (webInterfaceStr != null) {\n try {\n int i = Integer.parseInt(webInterfaceStr);\n if (//Input validation\n (i >= 0) && (i < TradeConfig.getWebInterfaceNames().length))\n TradeConfig.setWebInterface(i);\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet.doConfigUpdate(..): minor exception caught\", \"trying to set WebInterface to \" + webInterfaceStr, \"reverting to current value\");\n }\n // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tWeb Interface:\\t\\t\\t\" + TradeConfig.getWebInterfaceNames()[TradeConfig.getWebInterface()] + \"\\n\";\n String parm = req.getParameter(\"MaxUsers\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setMAX_USERS(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet.doConfigUpdate(..): minor exception caught\", \"Setting maxusers, probably error parsing string to int:\" + parm, \"revertying to current value: \" + TradeConfig.getMAX_USERS());\n }\n //On error, revert to saved\n }\n parm = req.getParameter(\"MaxQuotes\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setMAX_QUOTES(Integer.parseInt(parm));\n } catch (Exception e) {\n //>>rjm\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set max_quotes, error on parsing int \" + parm, \"reverting to current value \" + TradeConfig.getMAX_QUOTES());\n //< 0)) {\n try {\n TradeConfig.setMarketSummaryInterval(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set marketSummaryInterval, error on parsing int \" + parm, \"reverting to current value \" + TradeConfig.getMarketSummaryInterval());\n }\n }\n currentConfigStr += \"\\t\\tMarket Summary Interval:\\t\" + TradeConfig.getMarketSummaryInterval() + \"\\n\";\n parm = req.getParameter(\"primIterations\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setPrimIterations(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set primIterations, error on parsing int \" + parm, \"reverting to current value \" + TradeConfig.getPrimIterations());\n }\n }\n currentConfigStr += \"\\t\\tPrimitive Iterations:\\t\\t\" + TradeConfig.getPrimIterations() + \"\\n\";\n String enablePublishQuotePriceChange = req.getParameter(\"EnablePublishQuotePriceChange\");\n if (enablePublishQuotePriceChange != null)\n TradeConfig.setPublishQuotePriceChange(true);\n else\n TradeConfig.setPublishQuotePriceChange(false);\n currentConfigStr += \"\\t\\tTradeStreamer MDB Enabled:\\t\" + TradeConfig.getPublishQuotePriceChange() + \"\\n\";\n parm = req.getParameter(\"ListQuotePriceChangeFrequency\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setListQuotePriceChangeFrequency(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set percentSentToWebSocket, error on parsing int \" + parm, \"reverting to current value \" + TradeConfig.getListQuotePriceChangeFrequency());\n }\n }\n currentConfigStr += \"\\t\\t% of trades on Websocket:\\t\" + TradeConfig.getListQuotePriceChangeFrequency() + \"\\n\";\n String enableLongRun = req.getParameter(\"EnableLongRun\");\n if (enableLongRun != null)\n TradeConfig.setLongRun(true);\n else\n TradeConfig.setLongRun(false);\n currentConfigStr += \"\\t\\tLong Run Enabled:\\t\\t\" + TradeConfig.getLongRun() + \"\\n\";\n String displayOrderAlerts = req.getParameter(\"DisplayOrderAlerts\");\n if (displayOrderAlerts != null)\n TradeConfig.setDisplayOrderAlerts(true);\n else\n TradeConfig.setDisplayOrderAlerts(false);\n currentConfigStr += \"\\t\\tDisplay Order Alerts:\\t\\t\" + TradeConfig.getDisplayOrderAlerts() + \"\\n\";\n System.out.println(currentConfigStr);\n}", + "code": "{\n String currentConfigStr = \"\\n\\n########## Trade configuration update. Current config:\\n\\n\";\n\n currentConfigStr += \"\\t\\tRuntimeMode:\\t\\t\" + TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()] + \"\\n\";\n \n String orderProcessingModeStr = req.getParameter(\"OrderProcessingMode\");\n if (orderProcessingModeStr != null) {\n try {\n int i = Integer.parseInt(orderProcessingModeStr);\n if ((i >= 0) && (i < TradeConfig.getOrderProcessingModeNames().length)) //Input validation\n TradeConfig.setOrderProcessingMode(i);\n } catch (Exception e) {\n //>>rjm\n Log.error(e, \"TradeConfigServlet.doConfigUpdate(..): minor exception caught\", \"trying to set orderProcessing to \" + orderProcessingModeStr,\n \"reverting to current value\");\n\n } // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tOrderProcessingMode:\\t\\t\" + TradeConfig.getOrderProcessingModeNames()[TradeConfig.getOrderProcessingMode()] + \"\\n\";\n\n String webInterfaceStr = req.getParameter(\"WebInterface\");\n if (webInterfaceStr != null) {\n try {\n int i = Integer.parseInt(webInterfaceStr);\n if ((i >= 0) && (i < TradeConfig.getWebInterfaceNames().length)) //Input validation\n TradeConfig.setWebInterface(i);\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet.doConfigUpdate(..): minor exception caught\", \"trying to set WebInterface to \" + webInterfaceStr,\n \"reverting to current value\");\n\n } // If the value is bad, simply revert to current\n }\n currentConfigStr += \"\\t\\tWeb Interface:\\t\\t\\t\" + TradeConfig.getWebInterfaceNames()[TradeConfig.getWebInterface()] + \"\\n\";\n\n String parm = req.getParameter(\"MaxUsers\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setMAX_USERS(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet.doConfigUpdate(..): minor exception caught\", \"Setting maxusers, probably error parsing string to int:\" + parm,\n \"revertying to current value: \" + TradeConfig.getMAX_USERS());\n\n } //On error, revert to saved\n }\n parm = req.getParameter(\"MaxQuotes\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setMAX_QUOTES(Integer.parseInt(parm));\n } catch (Exception e) {\n //>>rjm\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set max_quotes, error on parsing int \" + parm,\n \"reverting to current value \" + TradeConfig.getMAX_QUOTES());\n //< 0)) {\n try {\n TradeConfig.setMarketSummaryInterval(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set marketSummaryInterval, error on parsing int \" + parm,\n \"reverting to current value \" + TradeConfig.getMarketSummaryInterval());\n\n }\n }\n currentConfigStr += \"\\t\\tMarket Summary Interval:\\t\" + TradeConfig.getMarketSummaryInterval() + \"\\n\";\n\n parm = req.getParameter(\"primIterations\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setPrimIterations(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set primIterations, error on parsing int \" + parm,\n \"reverting to current value \" + TradeConfig.getPrimIterations());\n\n }\n }\n currentConfigStr += \"\\t\\tPrimitive Iterations:\\t\\t\" + TradeConfig.getPrimIterations() + \"\\n\";\n\n String enablePublishQuotePriceChange = req.getParameter(\"EnablePublishQuotePriceChange\");\n\n if (enablePublishQuotePriceChange != null)\n TradeConfig.setPublishQuotePriceChange(true);\n else\n TradeConfig.setPublishQuotePriceChange(false);\n currentConfigStr += \"\\t\\tTradeStreamer MDB Enabled:\\t\" + TradeConfig.getPublishQuotePriceChange() + \"\\n\";\n\n parm = req.getParameter(\"ListQuotePriceChangeFrequency\");\n if ((parm != null) && (parm.length() > 0)) {\n try {\n TradeConfig.setListQuotePriceChangeFrequency(Integer.parseInt(parm));\n } catch (Exception e) {\n Log.error(e, \"TradeConfigServlet: minor exception caught\", \"trying to set percentSentToWebSocket, error on parsing int \" + parm,\n \"reverting to current value \" + TradeConfig.getListQuotePriceChangeFrequency());\n\n }\n }\n currentConfigStr += \"\\t\\t% of trades on Websocket:\\t\" + TradeConfig.getListQuotePriceChangeFrequency() + \"\\n\";\n\n String enableLongRun = req.getParameter(\"EnableLongRun\");\n\n if (enableLongRun != null)\n TradeConfig.setLongRun(true);\n else\n TradeConfig.setLongRun(false);\n currentConfigStr += \"\\t\\tLong Run Enabled:\\t\\t\" + TradeConfig.getLongRun() + \"\\n\";\n\n String displayOrderAlerts = req.getParameter(\"DisplayOrderAlerts\");\n\n if (displayOrderAlerts != null)\n TradeConfig.setDisplayOrderAlerts(true);\n else\n TradeConfig.setDisplayOrderAlerts(false);\n currentConfigStr += \"\\t\\tDisplay Order Alerts:\\t\\t\" + TradeConfig.getDisplayOrderAlerts() + \"\\n\";\n\n System.out.println(currentConfigStr);\n }", "start_line": 98, "end_line": 218, + "code_start_line": 98, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -131525,7 +129787,7 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 27, - "is_entrypoint": false + "is_entrypoint": true } }, "field_declarations": [ @@ -131584,8 +129846,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "/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": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", "comments": [ { @@ -131627,7 +129889,7 @@ "nested_type_declarations": [], "callable_declarations": { "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.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/JsonEncoder.java", "signature": "destroy()", "comments": [], "annotations": [ @@ -131639,9 +129901,10 @@ "thrown_exceptions": [], "declaration": "public void destroy()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 26, "end_line": 28, + "code_start_line": 27, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -131655,7 +129918,7 @@ "is_entrypoint": false }, "encode(JsonMessage)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.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/JsonEncoder.java", "signature": "encode(JsonMessage)", "comments": [], "annotations": [ @@ -131680,9 +129943,10 @@ "end_column": 44 } ], - "code": "{\n JsonObject jsonObject = Json.createObjectBuilder().add(\"key\", message.getKey()).add(\"value\", message.getValue()).build();\n return jsonObject.toString();\n}", + "code": "{\n \n JsonObject jsonObject = Json.createObjectBuilder()\n .add(\"key\", message.getKey())\n .add(\"value\", message.getValue()).build();\n\n return jsonObject.toString();\n }", "start_line": 34, "end_line": 42, + "code_start_line": 35, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -131870,7 +130134,7 @@ "is_entrypoint": false }, "init(EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.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/JsonEncoder.java", "signature": "init(EndpointConfig)", "comments": [], "annotations": [ @@ -131893,9 +130157,10 @@ "end_column": 38 } ], - "code": "{\n}", + "code": "{\n }", "start_line": 30, "end_line": 32, + "code_start_line": 31, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -131918,8 +130183,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.beans", "comments": [ { @@ -132402,7 +130667,7 @@ "nested_type_declarations": [], "callable_declarations": { "getOpenTSIA()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getOpenTSIA()", "comments": [ { @@ -132421,9 +130686,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOpenTSIA()", "parameters": [], - "code": "{\n return openTSIA;\n}", + "code": "{\n return openTSIA;\n }", "start_line": 197, "end_line": 199, + "code_start_line": 197, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -132439,7 +130705,7 @@ "is_entrypoint": false }, "getGainPercent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()", "comments": [], "annotations": [], @@ -132449,9 +130715,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getGainPercent()", "parameters": [], - "code": "{\n if (gainPercent == null) {\n gainPercent = FinancialUtils.computeGainPercent(getTSIA(), getOpenTSIA());\n }\n return gainPercent;\n}", + "code": "{\n if (gainPercent == null) {\n gainPercent = FinancialUtils.computeGainPercent(getTSIA(), getOpenTSIA());\n }\n return gainPercent;\n }", "start_line": 166, "end_line": 171, + "code_start_line": 166, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -132534,7 +130801,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toString()", "comments": [], "annotations": [ @@ -132546,9 +130813,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n String ret = \"\\n\\tMarket Summary at: \" + getSummaryDate() + \"\\n\\t\\t TSIA:\" + getTSIA() + \"\\n\\t\\t openTSIA:\" + getOpenTSIA() + \"\\n\\t\\t gain:\" + getGainPercent() + \"\\n\\t\\t volume:\" + getVolume();\n if ((getTopGainers() == null) || (getTopLosers() == null)) {\n return ret;\n }\n ret += \"\\n\\t\\t Current Top Gainers:\";\n Iterator it = getTopGainers().iterator();\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"\\n\\t\\t\\t\" + quoteData.toString());\n }\n ret += \"\\n\\t\\t Current Top Losers:\";\n it = getTopLosers().iterator();\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"\\n\\t\\t\\t\" + quoteData.toString());\n }\n return ret;\n}", + "code": "{\n String ret = \"\\n\\tMarket Summary at: \" + getSummaryDate() + \"\\n\\t\\t TSIA:\" + getTSIA() + \"\\n\\t\\t openTSIA:\" + getOpenTSIA()\n + \"\\n\\t\\t gain:\" + getGainPercent() + \"\\n\\t\\t volume:\" + getVolume();\n\n if ((getTopGainers() == null) || (getTopLosers() == null)) {\n return ret;\n }\n ret += \"\\n\\t\\t Current Top Gainers:\";\n Iterator it = getTopGainers().iterator();\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"\\n\\t\\t\\t\" + quoteData.toString());\n }\n ret += \"\\n\\t\\t Current Top Losers:\";\n it = getTopLosers().iterator();\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"\\n\\t\\t\\t\" + quoteData.toString());\n }\n return ret;\n }", "start_line": 85, "end_line": 106, + "code_start_line": 86, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -132993,7 +131261,7 @@ "is_entrypoint": false }, "getRandomInstance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getRandomInstance()", "comments": [], "annotations": [], @@ -133004,9 +131272,10 @@ "thrown_exceptions": [], "declaration": "public static MarketSummaryDataBean getRandomInstance()", "parameters": [], - "code": "{\n Collection gain = new ArrayList();\n Collection lose = new ArrayList();\n for (int ii = 0; ii < 5; ii++) {\n QuoteDataBean quote1 = QuoteDataBean.getRandomInstance();\n QuoteDataBean quote2 = QuoteDataBean.getRandomInstance();\n gain.add(quote1);\n lose.add(quote2);\n }\n return new MarketSummaryDataBean(TradeConfig.rndBigDecimal(1000000.0f), TradeConfig.rndBigDecimal(1000000.0f), TradeConfig.rndQuantity(), gain, lose);\n}", + "code": "{\n Collection gain = new ArrayList();\n Collection lose = new ArrayList();\n\n for (int ii = 0; ii < 5; ii++) {\n QuoteDataBean quote1 = QuoteDataBean.getRandomInstance();\n QuoteDataBean quote2 = QuoteDataBean.getRandomInstance();\n\n gain.add(quote1);\n lose.add(quote2);\n }\n\n return new MarketSummaryDataBean(TradeConfig.rndBigDecimal(1000000.0f), TradeConfig.rndBigDecimal(1000000.0f), TradeConfig.rndQuantity(), gain, lose);\n }", "start_line": 70, "end_line": 83, + "code_start_line": 70, "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "is_implicit": false, "is_constructor": false, @@ -133334,7 +131603,7 @@ "is_entrypoint": false }, "setOpenTSIA(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)", "comments": [ { @@ -133364,9 +131633,10 @@ "end_column": 47 } ], - "code": "{\n this.openTSIA = openTSIA;\n}", + "code": "{\n this.openTSIA = openTSIA;\n }", "start_line": 207, "end_line": 209, + "code_start_line": 207, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -133384,7 +131654,7 @@ "is_entrypoint": false }, "setTSIA(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)", "comments": [ { @@ -133414,9 +131684,10 @@ "end_column": 39 } ], - "code": "{\n TSIA = tSIA;\n}", + "code": "{\n TSIA = tSIA;\n }", "start_line": 188, "end_line": 190, + "code_start_line": 188, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -133432,7 +131703,7 @@ "is_entrypoint": false }, "setVolume(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "setVolume(double)", "comments": [ { @@ -133462,9 +131733,10 @@ "end_column": 39 } ], - "code": "{\n this.volume = volume;\n}", + "code": "{\n this.volume = volume;\n }", "start_line": 226, "end_line": 228, + "code_start_line": 226, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -133480,7 +131752,7 @@ "is_entrypoint": false }, "setTopLosers(Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)", "comments": [ { @@ -133510,9 +131782,10 @@ "end_column": 64 } ], - "code": "{\n this.topLosers = topLosers;\n}", + "code": "{\n this.topLosers = topLosers;\n }", "start_line": 264, "end_line": 266, + "code_start_line": 264, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -133530,7 +131803,7 @@ "is_entrypoint": false }, "getSummaryDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getSummaryDate()", "comments": [ { @@ -133549,9 +131822,10 @@ "thrown_exceptions": [], "declaration": "public Date getSummaryDate()", "parameters": [], - "code": "{\n return summaryDate;\n}", + "code": "{\n return summaryDate;\n }", "start_line": 273, "end_line": 275, + "code_start_line": 273, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, @@ -133567,7 +131841,7 @@ "is_entrypoint": false }, "setSummaryDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": [ { @@ -133597,9 +131871,10 @@ "end_column": 47 } ], - "code": "{\n this.summaryDate = summaryDate;\n}", + "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, @@ -133617,7 +131892,7 @@ "is_entrypoint": false }, "print()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()", "comments": [], "annotations": [], @@ -133627,9 +131902,10 @@ "thrown_exceptions": [], "declaration": "public void print()", "parameters": [], - "code": "{\n Log.log(this.toString());\n}", + "code": "{\n Log.log(this.toString());\n }", "start_line": 162, "end_line": 164, + "code_start_line": 162, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -133688,7 +131964,7 @@ "is_entrypoint": false }, "getTSIA()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTSIA()", "comments": [ { @@ -133707,9 +131983,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getTSIA()", "parameters": [], - "code": "{\n return TSIA;\n}", + "code": "{\n return TSIA;\n }", "start_line": 178, "end_line": 180, + "code_start_line": 178, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -133725,7 +132002,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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()", "comments": [], "annotations": [], @@ -133735,9 +132012,10 @@ "thrown_exceptions": [], "declaration": "public MarketSummaryDataBean()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 55, "end_line": 56, + "code_start_line": 55, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -133751,7 +132029,7 @@ "is_entrypoint": false }, "getVolume()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getVolume()", "comments": [ { @@ -133770,9 +132048,10 @@ "thrown_exceptions": [], "declaration": "public double getVolume()", "parameters": [], - "code": "{\n return volume;\n}", + "code": "{\n return volume;\n }", "start_line": 216, "end_line": 218, + "code_start_line": 216, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -133788,7 +132067,7 @@ "is_entrypoint": false }, "(BigDecimal, BigDecimal, double, Collection, Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)", "comments": [ { @@ -133898,9 +132177,10 @@ "end_column": 159 } ], - "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}", + "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": true, @@ -134170,7 +132450,7 @@ "is_entrypoint": false }, "getTopGainers()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopGainers()", "comments": [ { @@ -134189,9 +132469,10 @@ "thrown_exceptions": [], "declaration": "public Collection getTopGainers()", "parameters": [], - "code": "{\n return topGainers;\n}", + "code": "{\n return topGainers;\n }", "start_line": 235, "end_line": 237, + "code_start_line": 235, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -134207,7 +132488,7 @@ "is_entrypoint": false }, "getTopLosers()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "getTopLosers()", "comments": [ { @@ -134226,9 +132507,10 @@ "thrown_exceptions": [], "declaration": "public Collection getTopLosers()", "parameters": [], - "code": "{\n return topLosers;\n}", + "code": "{\n return topLosers;\n }", "start_line": 254, "end_line": 256, + "code_start_line": 254, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -134244,7 +132526,7 @@ "is_entrypoint": false }, "toHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toHTML()", "comments": [], "annotations": [], @@ -134254,9 +132536,10 @@ "thrown_exceptions": [], "declaration": "public String toHTML()", "parameters": [], - "code": "{\n String ret = \"
    Market Summary at: \" + getSummaryDate() + \"
  • TSIA:\" + getTSIA() + \"
  • \" + \"
  • openTSIA:\" + getOpenTSIA() + \"
  • \" + \"
  • volume:\" + getVolume() + \"
  • \";\n if ((getTopGainers() == null) || (getTopLosers() == null)) {\n return ret;\n }\n ret += \"
    Current Top Gainers:\";\n Iterator it = getTopGainers().iterator();\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"
  • \" + quoteData.toString() + \"
  • \");\n }\n ret += \"
    Current Top Losers:\";\n it = getTopLosers().iterator();\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"
  • \" + quoteData.toString() + \"
  • \");\n }\n return ret;\n}", + "code": "{\n String ret = \"
    Market Summary at: \" + getSummaryDate() + \"
  • TSIA:\" + getTSIA() + \"
  • \" + \"
  • openTSIA:\" + getOpenTSIA() + \"
  • \"\n + \"
  • volume:\" + getVolume() + \"
  • \";\n if ((getTopGainers() == null) || (getTopLosers() == null)) {\n return ret;\n }\n ret += \"
    Current Top Gainers:\";\n Iterator it = getTopGainers().iterator();\n\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"
  • \" + quoteData.toString() + \"
  • \");\n }\n ret += \"
    Current Top Losers:\";\n it = getTopLosers().iterator();\n while (it.hasNext()) {\n QuoteDataBean quoteData = it.next();\n ret += (\"
  • \" + quoteData.toString() + \"
  • \");\n }\n return ret;\n }", "start_line": 108, "end_line": 128, + "code_start_line": 108, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -134680,7 +132963,7 @@ "is_entrypoint": false }, "toJSON()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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": "toJSON()", "comments": [], "annotations": [], @@ -134690,9 +132973,10 @@ "thrown_exceptions": [], "declaration": "public JsonObject toJSON()", "parameters": [], - "code": "{\n JsonObjectBuilder jObjectBuilder = Json.createObjectBuilder();\n int i = 1;\n for (Iterator iterator = topGainers.iterator(); iterator.hasNext(); ) {\n QuoteDataBean quote = iterator.next();\n jObjectBuilder.add(\"gainer\" + i + \"_stock\", quote.getSymbol());\n jObjectBuilder.add(\"gainer\" + i + \"_price\", \"$\" + quote.getPrice());\n jObjectBuilder.add(\"gainer\" + i + \"_change\", quote.getChange());\n i++;\n }\n i = 1;\n for (Iterator iterator = topLosers.iterator(); iterator.hasNext(); ) {\n QuoteDataBean quote = iterator.next();\n jObjectBuilder.add(\"loser\" + i + \"_stock\", quote.getSymbol());\n jObjectBuilder.add(\"loser\" + i + \"_price\", \"$\" + quote.getPrice());\n jObjectBuilder.add(\"loser\" + i + \"_change\", quote.getChange());\n i++;\n }\n jObjectBuilder.add(\"tsia\", TSIA);\n jObjectBuilder.add(\"volume\", volume);\n jObjectBuilder.add(\"date\", summaryDate.toString());\n return jObjectBuilder.build();\n}", + "code": "{\n \n JsonObjectBuilder jObjectBuilder = Json.createObjectBuilder();\n \n int i = 1;\n for (Iterator iterator = topGainers.iterator(); iterator.hasNext();) {\n QuoteDataBean quote = iterator.next();\n\n jObjectBuilder.add(\"gainer\" + i + \"_stock\",quote.getSymbol());\n jObjectBuilder.add(\"gainer\" + i + \"_price\",\"$\" + quote.getPrice());\n jObjectBuilder.add(\"gainer\" + i + \"_change\",quote.getChange());\n i++;\n }\n\n i = 1;\n for (Iterator iterator = topLosers.iterator(); iterator.hasNext();) {\n QuoteDataBean quote = iterator.next();\n\n jObjectBuilder.add(\"loser\" + i + \"_stock\",quote.getSymbol());\n jObjectBuilder.add(\"loser\" + i + \"_price\",\"$\" + quote.getPrice());\n jObjectBuilder.add(\"loser\" + i + \"_change\",quote.getChange());\n i++;\n }\n\n jObjectBuilder.add(\"tsia\", TSIA);\n jObjectBuilder.add(\"volume\",volume);\n jObjectBuilder.add(\"date\", summaryDate.toString());\n\n return jObjectBuilder.build();\n \n }", "start_line": 130, "end_line": 160, + "code_start_line": 130, "return_type": "javax.json.JsonObject", "is_implicit": false, "is_constructor": false, @@ -135351,7 +133635,7 @@ "is_entrypoint": false }, "setTopGainers(Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "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)", "comments": [ { @@ -135381,9 +133665,10 @@ "end_column": 66 } ], - "code": "{\n this.topGainers = topGainers;\n}", + "code": "{\n this.topGainers = topGainers;\n }", "start_line": 245, "end_line": 247, + "code_start_line": 245, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -135581,8 +133866,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletSimple.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletSimple.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.http2", "comments": [ { @@ -135646,7 +133931,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletSimple.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/http2/PingServletSimple.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -135671,9 +133956,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -135756,7 +134042,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletSimple.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/http2/PingServletSimple.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -135801,9 +134087,10 @@ "end_column": 71 } ], - "code": "{\n try (PrintWriter respWriter = resp.getWriter()) {\n hitCount++;\n //System.out.println(\"Sending hit count: \" + hitCount);\n respWriter.write(\"Ping Servlet HTTP/2\" + \"

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

    Hit Count: \" + hitCount + \"
    \" + \"\" + \"\");\n }\n}", + "code": "{\n\n try(PrintWriter respWriter = resp.getWriter();){\n hitCount++;\n //System.out.println(\"Sending hit count: \" + hitCount);\n respWriter.write(\"Ping Servlet HTTP/2\"\n + \"

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

    Hit Count: \" + hitCount + \"
    \" +\n \"\" + \n \"\");\n }\n }", "start_line": 35, "end_line": 47, + "code_start_line": 36, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -135969,8 +134256,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3Object.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3Object.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -136297,7 +134584,7 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3Object.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/PingSession3Object.java", "signature": "PingSession3Object()", "comments": [], "annotations": [], @@ -136305,9 +134592,10 @@ "thrown_exceptions": [], "declaration": "PingSession3Object()", "parameters": [], - "code": "{\n int index;\n byte b = 0x8;\n for (index = 0; index < 16; index++) {\n byteVal[index] = (byte) (b + 2);\n }\n char c = 'a';\n for (index = 0; index < 8; index++) {\n charVal[index] = (char) (c + 2);\n }\n a = 1;\n b = 2;\n c = 3;\n d = 5;\n e = (float) 7.0;\n f = (float) 11.0;\n g = (float) 13.0;\n h = (float) 17.0;\n i = 19.0;\n j = 23.0;\n}", + "code": "{\n int index;\n byte b = 0x8;\n for (index = 0; index < 16; index++) {\n byteVal[index] = (byte) (b + 2);\n }\n\n char c = 'a';\n for (index = 0; index < 8; index++) {\n charVal[index] = (char) (c + 2);\n }\n\n a = 1;\n b = 2;\n c = 3;\n d = 5;\n e = (float) 7.0;\n f = (float) 11.0;\n g = (float) 13.0;\n h = (float) 17.0;\n i = 19.0;\n j = 23.0;\n }", "start_line": 49, "end_line": 71, + "code_start_line": 49, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -136559,46 +134847,38 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.mdb", "comments": [ { - "content": "For Glassfish/Payara - take jms/ off of the destination name", + "content": "For Glassfish - take jms/ off of the destination name", "start_line": 36, "end_line": 36, "start_column": 1, - "end_column": 62, - "is_javadoc": false - }, - { - "content": "@ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"TradeStreamerTopic\"),", - "start_line": 43, - "end_line": 43, - "start_column": 5, - "end_column": 100, + "end_column": 55, "is_javadoc": false }, { "content": " Creates a new instance of TradeSteamerMDB ", - "start_line": 55, - "end_line": 55, + "start_line": 54, + "end_line": 54, "start_column": 3, "end_column": 50, "is_javadoc": true }, { "content": " JMS onMessage should handle all exceptions", - "start_line": 116, - "end_line": 116, + "start_line": 115, + "end_line": 115, "start_column": 7, "end_column": 51, "is_javadoc": false }, { "content": "UPDATE - Not rolling back for now -- so error messages are not redelivered", - "start_line": 118, - "end_line": 118, + "start_line": 117, + "end_line": 117, "start_column": 7, "end_column": 82, "is_javadoc": false @@ -136641,34 +134921,26 @@ "is_local_class": false, "extends_list": [], "comments": [ - { - "content": "@ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"TradeStreamerTopic\"),", - "start_line": 43, - "end_line": 43, - "start_column": 5, - "end_column": 100, - "is_javadoc": false - }, { "content": " Creates a new instance of TradeSteamerMDB ", - "start_line": 55, - "end_line": 55, + "start_line": 54, + "end_line": 54, "start_column": 3, "end_column": 50, "is_javadoc": true }, { "content": " JMS onMessage should handle all exceptions", - "start_line": 116, - "end_line": 116, + "start_line": 115, + "end_line": 115, "start_column": 7, "end_column": 51, "is_javadoc": false }, { "content": "UPDATE - Not rolling back for now -- so error messages are not redelivered", - "start_line": 118, - "end_line": 118, + "start_line": 117, + "end_line": 117, "start_column": 7, "end_column": 82, "is_javadoc": false @@ -136683,20 +134955,20 @@ "annotations": [ "@TransactionAttribute(TransactionAttributeType.REQUIRED)", "@TransactionManagement(TransactionManagementType.CONTAINER)", - "@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = \"acknowledgeMode\", propertyValue = \"Auto-acknowledge\"), @ActivationConfigProperty(propertyName = \"destinationType\", propertyValue = \"javax.jms.Topic\"), @ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"jms/TradeStreamerTopic\"), //@ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"TradeStreamerTopic\"),\n@ActivationConfigProperty(propertyName = \"subscriptionDurability\", propertyValue = \"NonDurable\") })", + "@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = \"acknowledgeMode\", propertyValue = \"Auto-acknowledge\"), @ActivationConfigProperty(propertyName = \"destinationType\", propertyValue = \"javax.jms.Topic\"), @ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"jms/TradeStreamerTopic\"), @ActivationConfigProperty(propertyName = \"subscriptionDurability\", propertyValue = \"NonDurable\") })", "@Trace" ], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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": 55, - "end_line": 55, + "start_line": 54, + "end_line": 54, "start_column": 3, "end_column": 50, "is_javadoc": true @@ -136709,9 +134981,10 @@ "thrown_exceptions": [], "declaration": "public DTStreamer3MDB()", "parameters": [], - "code": "{\n Log.trace(\"DTStreamer3MDB:DTStreamer3MDB()\");\n if (statInterval <= 0) {\n statInterval = 10000;\n }\n mdbStats = MDBStats.getInstance();\n}", - "start_line": 56, - "end_line": 63, + "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, @@ -136739,9 +135012,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 57, + "start_line": 56, "start_column": 5, - "end_line": 57, + "end_line": 56, "end_column": 48 }, { @@ -136760,9 +135033,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 62, + "start_line": 61, "start_column": 16, - "end_line": 62, + "end_line": 61, "end_column": 37 } ], @@ -136773,21 +135046,21 @@ "is_entrypoint": false }, "onMessage(Message)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "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)", "comments": [ { "content": " JMS onMessage should handle all exceptions", - "start_line": 116, - "end_line": 116, + "start_line": 115, + "end_line": 115, "start_column": 7, "end_column": 51, "is_javadoc": false }, { "content": "UPDATE - Not rolling back for now -- so error messages are not redelivered", - "start_line": 118, - "end_line": 118, + "start_line": 117, + "end_line": 117, "start_column": 7, "end_column": 82, "is_javadoc": false @@ -136807,15 +135080,16 @@ "name": "message", "annotations": [], "modifiers": [], - "start_line": 66, - "end_line": 66, + "start_line": 65, + "end_line": 65, "start_column": 25, "end_column": 39 } ], - "code": "{\n try {\n Log.trace(\"DTStreamer3MDB:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"command-->\" + message.getStringProperty(\"command\") + \"<--\");\n String command = message.getStringProperty(\"command\");\n if (command == null) {\n Log.debug(\"DTStreamer3MDB:onMessage -- received message with null command. Message-->\" + message);\n return;\n }\n if (command.equalsIgnoreCase(\"updateQuote\")) {\n Log.trace(\"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\"));\n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n TimerStat currentStats = mdbStats.addTiming(\"DTStreamer3MDB:udpateQuote\", publishTime, receiveTime);\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTStreamer3MDB: \" + statInterval + \" prices updated:\" + \" Total message count = \" + currentStats.getCount() + \" Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs());\n }\n } else if (command.equalsIgnoreCase(\"ping\")) {\n Log.trace(\"DTStreamer3MDB:onMessage received ping command -- message: \" + ((TextMessage) message).getText());\n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n TimerStat currentStats = mdbStats.addTiming(\"DTStreamer3MDB:ping\", publishTime, receiveTime);\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTStreamer3MDB: received \" + statInterval + \" ping messages.\" + \" Total message count = \" + currentStats.getCount() + \" Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs());\n }\n } else {\n Log.error(\"DTStreamer3MDB:onMessage - unknown message request command-->\" + command + \"<-- message=\" + ((TextMessage) message).getText());\n }\n } catch (Throwable t) {\n // JMS onMessage should handle all exceptions\n Log.error(\"DTStreamer3MDB: Exception\", t);\n //UPDATE - Not rolling back for now -- so error messages are not redelivered\n mdc.setRollbackOnly();\n }\n}", - "start_line": 65, - "end_line": 121, + "code": "{\n\n try {\n Log.trace(\"DTStreamer3MDB:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"command-->\"\n + message.getStringProperty(\"command\") + \"<--\");\n \n String command = message.getStringProperty(\"command\");\n if (command == null) {\n Log.debug(\"DTStreamer3MDB:onMessage -- received message with null command. Message-->\" + message);\n return;\n }\n if (command.equalsIgnoreCase(\"updateQuote\")) {\n Log.trace(\"DTStreamer3MDB:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"\\n\\t symbol = \"\n + message.getStringProperty(\"symbol\") + \"\\n\\t current price =\" + message.getStringProperty(\"price\") + \"\\n\\t old price =\"\n + message.getStringProperty(\"oldPrice\"));\n \n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n\n TimerStat currentStats = mdbStats.addTiming(\"DTStreamer3MDB:udpateQuote\", publishTime, receiveTime);\n\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTStreamer3MDB: \" + statInterval + \" prices updated:\" +\n \" Total message count = \" + currentStats.getCount() +\n \" Time (in seconds):\" +\n \" min: \" +currentStats.getMinSecs()+\n \" max: \" +currentStats.getMaxSecs()+\n \" avg: \" +currentStats.getAvgSecs() );\n }\n } else if (command.equalsIgnoreCase(\"ping\")) {\n Log.trace(\"DTStreamer3MDB:onMessage received ping command -- message: \" + ((TextMessage) message).getText());\n \n\n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n\n TimerStat currentStats = mdbStats.addTiming(\"DTStreamer3MDB:ping\", publishTime, receiveTime);\n\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTStreamer3MDB: received \" + statInterval + \" ping messages.\" +\n \" Total message count = \" + currentStats.getCount() +\n \" Time (in seconds):\" +\n \" min: \" +currentStats.getMinSecs()+\n \" max: \" +currentStats.getMaxSecs()+\n \" avg: \" +currentStats.getAvgSecs());\n }\n } else {\n Log.error(\"DTStreamer3MDB:onMessage - unknown message request command-->\" + command + \"<-- message=\" + ((TextMessage) message).getText());\n }\n } catch (Throwable t) {\n // JMS onMessage should handle all exceptions\n Log.error(\"DTStreamer3MDB: Exception\", t);\n //UPDATE - Not rolling back for now -- so error messages are not redelivered\n mdc.setRollbackOnly();\n }\n }", + "start_line": 64, + "end_line": 120, + "code_start_line": 65, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -136847,9 +135121,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 69, + "start_line": 68, "start_column": 7, - "end_line": 70, + "end_line": 69, "end_column": 57 }, { @@ -136868,9 +135142,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 69, + "start_line": 68, "start_column": 70, - "end_line": 69, + "end_line": 68, "end_column": 102 }, { @@ -136891,9 +135165,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 70, + "start_line": 69, "start_column": 13, - "end_line": 70, + "end_line": 69, "end_column": 48 }, { @@ -136914,9 +135188,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 72, + "start_line": 71, "start_column": 24, - "end_line": 72, + "end_line": 71, "end_column": 59 }, { @@ -136937,9 +135211,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, + "start_line": 73, "start_column": 9, - "end_line": 74, + "end_line": 73, "end_column": 105 }, { @@ -136960,9 +135234,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 77, + "start_line": 76, "start_column": 11, - "end_line": 77, + "end_line": 76, "end_column": 49 }, { @@ -136983,9 +135257,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 78, + "start_line": 77, "start_column": 9, - "end_line": 80, + "end_line": 79, "end_column": 54 }, { @@ -137004,9 +135278,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 78, + "start_line": 77, "start_column": 72, - "end_line": 78, + "end_line": 77, "end_column": 104 }, { @@ -137027,9 +135301,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 79, + "start_line": 78, "start_column": 17, - "end_line": 79, + "end_line": 78, "end_column": 51 }, { @@ -137050,9 +135324,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 79, + "start_line": 78, "start_column": 80, - "end_line": 79, + "end_line": 78, "end_column": 113 }, { @@ -137073,9 +135347,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 80, + "start_line": 79, "start_column": 17, - "end_line": 80, + "end_line": 79, "end_column": 53 }, { @@ -137096,9 +135370,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 82, + "start_line": 81, "start_column": 28, - "end_line": 82, + "end_line": 81, "end_column": 65 }, { @@ -137117,9 +135391,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 83, + "start_line": 82, "start_column": 28, - "end_line": 83, + "end_line": 82, "end_column": 53 }, { @@ -137142,9 +135416,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 85, + "start_line": 84, "start_column": 34, - "end_line": 85, + "end_line": 84, "end_column": 107 }, { @@ -137163,9 +135437,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 87, + "start_line": 86, "start_column": 14, - "end_line": 87, + "end_line": 86, "end_column": 36 }, { @@ -137186,9 +135460,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 88, + "start_line": 87, "start_column": 11, - "end_line": 93, + "end_line": 92, "end_column": 51 }, { @@ -137207,9 +135481,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 89, + "start_line": 88, "start_column": 43, - "end_line": 89, + "end_line": 88, "end_column": 65 }, { @@ -137228,9 +135502,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, + "start_line": 90, "start_column": 25, - "end_line": 91, + "end_line": 90, "end_column": 49 }, { @@ -137249,9 +135523,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 92, + "start_line": 91, "start_column": 25, - "end_line": 92, + "end_line": 91, "end_column": 49 }, { @@ -137270,9 +135544,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 93, + "start_line": 92, "start_column": 25, - "end_line": 93, + "end_line": 92, "end_column": 49 }, { @@ -137293,9 +135567,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, + "start_line": 94, "start_column": 18, - "end_line": 95, + "end_line": 94, "end_column": 49 }, { @@ -137316,9 +135590,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, + "start_line": 95, "start_column": 9, - "end_line": 96, + "end_line": 95, "end_column": 117 }, { @@ -137337,9 +135611,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, + "start_line": 95, "start_column": 84, - "end_line": 96, + "end_line": 95, "end_column": 116 }, { @@ -137360,9 +135634,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 99, + "start_line": 98, "start_column": 28, - "end_line": 99, + "end_line": 98, "end_column": 65 }, { @@ -137381,9 +135655,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, + "start_line": 99, "start_column": 28, - "end_line": 100, + "end_line": 99, "end_column": 53 }, { @@ -137406,9 +135680,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 102, + "start_line": 101, "start_column": 34, - "end_line": 102, + "end_line": 101, "end_column": 100 }, { @@ -137427,9 +135701,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 104, + "start_line": 103, "start_column": 14, - "end_line": 104, + "end_line": 103, "end_column": 36 }, { @@ -137450,9 +135724,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 105, + "start_line": 104, "start_column": 11, - "end_line": 110, + "end_line": 109, "end_column": 50 }, { @@ -137471,9 +135745,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, + "start_line": 105, "start_column": 43, - "end_line": 106, + "end_line": 105, "end_column": 65 }, { @@ -137492,9 +135766,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, + "start_line": 107, "start_column": 25, - "end_line": 108, + "end_line": 107, "end_column": 49 }, { @@ -137513,9 +135787,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 109, + "start_line": 108, "start_column": 25, - "end_line": 109, + "end_line": 108, "end_column": 49 }, { @@ -137534,9 +135808,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 110, + "start_line": 109, "start_column": 25, - "end_line": 110, + "end_line": 109, "end_column": 49 }, { @@ -137557,9 +135831,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 113, + "start_line": 112, "start_column": 9, - "end_line": 113, + "end_line": 112, "end_column": 145 }, { @@ -137578,17 +135852,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 113, + "start_line": 112, "start_column": 112, - "end_line": 113, + "end_line": 112, "end_column": 144 }, { "method_name": "error", "comment": { "content": " JMS onMessage should handle all exceptions", - "start_line": 116, - "end_line": 116, + "start_line": 115, + "end_line": 115, "start_column": 7, "end_column": 51, "is_javadoc": false @@ -137609,17 +135883,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 117, + "start_line": 116, "start_column": 7, - "end_line": 117, + "end_line": 116, "end_column": 47 }, { "method_name": "setRollbackOnly", "comment": { "content": "UPDATE - Not rolling back for now -- so error messages are not redelivered", - "start_line": 118, - "end_line": 118, + "start_line": 117, + "end_line": 117, "start_column": 7, "end_column": 82, "is_javadoc": false @@ -137637,9 +135911,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, + "start_line": 118, "start_column": 7, - "end_line": 119, + "end_line": 118, "end_column": 27 } ], @@ -137656,9 +135930,9 @@ "name": "command", "type": "java.lang.String", "initializer": "message.getStringProperty(\"command\")", - "start_line": 72, + "start_line": 71, "start_column": 14, - "end_line": 72, + "end_line": 71, "end_column": 59 }, { @@ -137673,9 +135947,9 @@ "name": "publishTime", "type": "long", "initializer": "message.getLongProperty(\"publishTime\")", - "start_line": 82, + "start_line": 81, "start_column": 14, - "end_line": 82, + "end_line": 81, "end_column": 65 }, { @@ -137690,9 +135964,9 @@ "name": "receiveTime", "type": "long", "initializer": "System.currentTimeMillis()", - "start_line": 83, + "start_line": 82, "start_column": 14, - "end_line": 83, + "end_line": 82, "end_column": 53 }, { @@ -137707,9 +135981,9 @@ "name": "currentStats", "type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "initializer": "mdbStats.addTiming(\"DTStreamer3MDB:udpateQuote\", publishTime, receiveTime)", - "start_line": 85, + "start_line": 84, "start_column": 19, - "end_line": 85, + "end_line": 84, "end_column": 107 }, { @@ -137724,9 +135998,9 @@ "name": "publishTime", "type": "long", "initializer": "message.getLongProperty(\"publishTime\")", - "start_line": 99, + "start_line": 98, "start_column": 14, - "end_line": 99, + "end_line": 98, "end_column": 65 }, { @@ -137741,9 +136015,9 @@ "name": "receiveTime", "type": "long", "initializer": "System.currentTimeMillis()", - "start_line": 100, + "start_line": 99, "start_column": 14, - "end_line": 100, + "end_line": 99, "end_column": 53 }, { @@ -137758,9 +136032,9 @@ "name": "currentStats", "type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "initializer": "mdbStats.addTiming(\"DTStreamer3MDB:ping\", publishTime, receiveTime)", - "start_line": 102, + "start_line": 101, "start_column": 19, - "end_line": 102, + "end_line": 101, "end_column": 100 } ], @@ -137782,8 +136056,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "start_line": 48, - "end_line": 48, + "start_line": 47, + "end_line": 47, "variables": [ "mdbStats" ], @@ -137804,8 +136078,8 @@ }, "name": null, "type": "int", - "start_line": 49, - "end_line": 49, + "start_line": 48, + "end_line": 48, "variables": [ "statInterval" ], @@ -137825,8 +136099,8 @@ }, "name": null, "type": "javax.ejb.MessageDrivenContext", - "start_line": 51, - "end_line": 52, + "start_line": 50, + "end_line": 51, "variables": [ "mdc" ], @@ -137846,8 +136120,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingInterceptorBinding.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingInterceptorBinding.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingInterceptorBinding.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/cdi/PingInterceptorBinding.java", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -137910,8 +136184,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/MarketSummaryUpdate.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/MarketSummaryUpdate.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/MarketSummaryUpdate.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/MarketSummaryUpdate.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -137957,8 +136231,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeEJB.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeEJB.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeEJB.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeEJB.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -138007,8 +136281,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.impl.direct", "comments": [ { @@ -138070,7 +136344,7 @@ "nested_type_declarations": [], "callable_declarations": { "run()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.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/AsyncOrder.java", "signature": "run()", "comments": [ { @@ -138091,9 +136365,10 @@ "thrown_exceptions": [], "declaration": "public void run()", "parameters": [], - "code": "{\n try {\n ut.begin();\n tradeService.completeOrder(orderID, twoPhase);\n ut.commit();\n } catch (Exception e) {\n try {\n ut.rollback();\n } catch (Exception e1) {\n try {\n throw new Exception(e1);\n } catch (Exception e2) {\n e2.printStackTrace();\n }\n }\n try {\n throw new Exception(e);\n } catch (Exception e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n }\n}", + "code": "{\n \n \n try { \n ut.begin();\n tradeService.completeOrder(orderID, twoPhase); \n ut.commit();\n } catch (Exception e) {\n \n try {\n ut.rollback();\n } catch (Exception e1) {\n try {\n throw new Exception(e1);\n } catch (Exception e2) {\n e2.printStackTrace();\n }\n } \n try {\n throw new Exception(e);\n } catch (Exception e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n } \n }", "start_line": 44, "end_line": 70, + "code_start_line": 45, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -138295,7 +136570,7 @@ "is_entrypoint": false }, "setProperties(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.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/AsyncOrder.java", "signature": "setProperties(Integer, boolean)", "comments": [], "annotations": [], @@ -138326,9 +136601,10 @@ "end_column": 61 } ], - "code": "{\n this.orderID = orderID;\n this.twoPhase = twoPhase;\n}", + "code": "{\n this.orderID = orderID;\n this.twoPhase = twoPhase;\n }", "start_line": 39, "end_line": 42, + "code_start_line": 39, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -138438,8 +136714,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -138516,7 +136792,7 @@ "nested_type_declarations": [], "callable_declarations": { "onClose(Session, CloseReason)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "signature": "onClose(Session, CloseReason)", "comments": [], "annotations": [ @@ -138549,9 +136825,10 @@ "end_column": 59 } ], - "code": "{\n}", + "code": "{\n \n }", "start_line": 111, "end_line": 114, + "code_start_line": 112, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -138565,7 +136842,7 @@ "is_entrypoint": false }, "ping(JsonMessage)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "signature": "ping(JsonMessage)", "comments": [], "annotations": [ @@ -138590,9 +136867,10 @@ "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}", + "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, @@ -138762,7 +137040,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "signature": "onError(Throwable)", "comments": [], "annotations": [ @@ -138785,9 +137063,10 @@ "end_column": 35 } ], - "code": "{\n t.printStackTrace();\n}", + "code": "{\n t.printStackTrace();\n }", "start_line": 106, "end_line": 109, + "code_start_line": 107, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -138823,7 +137102,7 @@ "is_entrypoint": false }, "onOpen(Session, EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.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/PingWebSocketJson.java", "signature": "onOpen(Session, EndpointConfig)", "comments": [ { @@ -138867,9 +137146,10 @@ "end_column": 63 } ], - "code": "{\n currentSession = session;\n sentHitCount = 0;\n receivedHitCount = 0;\n InitialContext context;\n ManagedThreadFactory mtf = null;\n try {\n context = new InitialContext();\n mtf = (ManagedThreadFactory) context.lookup(\"java:comp/DefaultManagedThreadFactory\");\n } catch (NamingException e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n Thread thread = mtf.newThread(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 });\n thread.start();\n}", + "code": "{\n currentSession = session;\n sentHitCount = 0;\n receivedHitCount = 0;\n \n \n InitialContext context;\n ManagedThreadFactory mtf = null;\n \n try {\n context = new InitialContext();\n mtf = (ManagedThreadFactory) context.lookup(\"java:comp/DefaultManagedThreadFactory\");\n \n } catch (NamingException e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n \n Thread thread = mtf.newThread(new Runnable() {\n\n @Override\n public void run() {\n \n try {\n \n Thread.sleep(500);\n \n while (currentSession.isOpen()) {\n sentHitCount++;\n \n JsonMessage response = new JsonMessage();\n response.setKey(\"sentHitCount\");\n response.setValue(sentHitCount.toString());\n currentSession.getAsyncRemote().sendObject(response);\n\n Thread.sleep(100);\n }\n \n \n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n \n });\n \n thread.start();\n \n }", "start_line": 46, "end_line": 95, + "code_start_line": 47, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -139207,7 +137487,7 @@ "receiver_type": "java.lang.Runnable", "argument_types": [], "return_type": "java.lang.Runnable", - "callee_signature": "Anonymous-c924d451-f12c-4430-97d4-6750658378ca()", + "callee_signature": "Anonymous-7341251b-dfba-485b-8f29-c2b0eef53621()", "is_public": false, "is_protected": false, "is_private": false, @@ -139392,8 +137672,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "package_name": "com.ibm.websphere.samples.daytrader.impl.ejb3", "comments": [ { @@ -139404,234 +137684,202 @@ "end_column": 56, "is_javadoc": false }, - { - "content": "@Resource(name = \"java:/jms/QueueConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 76, - "end_line": 76, - "start_column": 5, - "end_column": 137, - "is_javadoc": false - }, - { - "content": "@Resource(name = \"java:/jms/TopicConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 80, - "end_line": 80, - "start_column": 5, - "end_column": 137, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeStreamerTopic\")", - "start_line": 84, - "end_line": 84, - "start_column": 5, - "end_column": 56, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeBrokerQueue\")", - "start_line": 88, - "end_line": 88, - "start_column": 5, - "end_column": 54, - "is_javadoc": false - }, { "content": " this buy order", - "start_line": 122, - "end_line": 122, + "start_line": 119, + "end_line": 119, "start_column": 13, "end_column": 29, "is_javadoc": false }, { "content": " The holding will be created by", - "start_line": 121, - "end_line": 121, + "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": 126, - "end_line": 126, + "start_line": 123, + "end_line": 123, "start_column": 13, "end_column": 71, "is_javadoc": false }, { "content": " On exception - cancel the order ", - "start_line": 143, - "end_line": 143, + "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": 144, - "end_line": 144, + "start_line": 141, + "end_line": 141, "start_column": 13, "end_column": 54, "is_javadoc": false }, { "content": " if (order != null) order.cancel();", - "start_line": 145, - "end_line": 145, + "start_line": 142, + "end_line": 142, "start_column": 13, "end_column": 49, "is_javadoc": false }, { "content": " UPDATE the holding purchase data to signify this holding is", - "start_line": 177, - "end_line": 177, + "start_line": 174, + "end_line": 174, "start_column": 13, "end_column": 74, "is_javadoc": false }, { "content": " \"inflight\" to be sold", - "start_line": 178, - "end_line": 178, + "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": 179, - "end_line": 179, + "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": 182, - "end_line": 182, + "start_line": 179, + "end_line": 179, "start_column": 13, "end_column": 71, "is_javadoc": false }, { "content": " if (order != null) order.cancel();", - "start_line": 200, - "end_line": 200, + "start_line": 197, + "end_line": 197, "start_column": 13, "end_column": 49, "is_javadoc": false }, { "content": " UPDATE - handle all exceptions like:", - "start_line": 201, - "end_line": 201, + "start_line": 198, + "end_line": 198, "start_column": 13, "end_column": 51, "is_javadoc": false }, { "content": " 2 phase", - "start_line": 209, - "end_line": 209, + "start_line": 206, + "end_line": 206, "start_column": 9, "end_column": 18, "is_javadoc": false }, { "content": " pass the exception", - "start_line": 222, - "end_line": 222, + "start_line": 219, + "end_line": 219, "start_column": 54, "end_column": 74, "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": 248, - "end_line": 251, + "start_line": 245, + "end_line": 248, "start_column": 13, "end_column": 15, "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": 261, - "end_line": 264, + "start_line": 258, + "end_line": 261, "start_column": 13, "end_column": 15, "is_javadoc": false }, { "content": "throw new EJBException(\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\");", - "start_line": 268, - "end_line": 268, + "start_line": 265, + "end_line": 265, "start_column": 17, "end_column": 144, "is_javadoc": false }, { "content": " I want to do a CriteriaUpdate here, but there are issues with JBoss/Hibernate ", - "start_line": 312, - "end_line": 312, + "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": 329, - "end_line": 329, + "start_line": 326, + "end_line": 326, "start_column": 13, "end_column": 66, "is_javadoc": false }, { "content": " TODO: Investigate ConncurrentModification Exceptions", - "start_line": 332, - "end_line": 332, + "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": 334, - "end_line": 334, + "start_line": 331, + "end_line": 331, "start_column": 21, "end_column": 74, "is_javadoc": false }, { "content": " Added to populate transient field for account", - "start_line": 437, - "end_line": 437, + "start_line": 434, + "end_line": 434, "start_column": 9, "end_column": 56, "is_javadoc": false }, { "content": " Check to see if a profile with the desired userID already exists", - "start_line": 491, - "end_line": 491, + "start_line": 488, + "end_line": 488, "start_column": 9, "end_column": 75, "is_javadoc": false }, { "content": " pass the exception", - "start_line": 536, - "end_line": 536, + "start_line": 533, + "end_line": 533, "start_column": 57, "end_column": 77, "is_javadoc": false }, { "content": " Get a Quote and send a JMS message in a 2-phase commit", - "start_line": 572, - "end_line": 572, + "start_line": 569, + "end_line": 569, "start_column": 13, "end_column": 69, "is_javadoc": false @@ -139713,7 +137961,7 @@ "nested_type_declarations": [], "callable_declarations": { "compare(QuoteDataBean, QuoteDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "compare(QuoteDataBean, QuoteDataBean)", "comments": [], "annotations": [ @@ -139730,8 +137978,8 @@ "name": "quote1", "annotations": [], "modifiers": [], - "start_line": 602, - "end_line": 602, + "start_line": 587, + "end_line": 587, "start_column": 28, "end_column": 47 }, @@ -139740,15 +137988,16 @@ "name": "quote2", "annotations": [], "modifiers": [], - "start_line": 602, - "end_line": 602, + "start_line": 587, + "end_line": 587, "start_column": 50, "end_column": 69 } ], - "code": "{\n double change1 = quote1.getChange();\n double change2 = quote2.getChange();\n return new Double(change2).compareTo(change1);\n}", - "start_line": 601, - "end_line": 606, + "code": "{\n double change1 = quote1.getChange();\n double change2 = quote2.getChange();\n return new Double(change2).compareTo(change1);\n }", + "start_line": 586, + "end_line": 591, + "code_start_line": 587, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -139771,9 +138020,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 603, + "start_line": 588, "start_column": 30, - "end_line": 603, + "end_line": 588, "end_column": 47 }, { @@ -139792,9 +138041,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 604, + "start_line": 589, "start_column": 30, - "end_line": 604, + "end_line": 589, "end_column": 47 }, { @@ -139815,9 +138064,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 605, + "start_line": 590, "start_column": 20, - "end_line": 605, + "end_line": 590, "end_column": 57 }, { @@ -139838,9 +138087,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 605, + "start_line": 590, "start_column": 20, - "end_line": 605, + "end_line": 590, "end_column": 38 } ], @@ -139857,9 +138106,9 @@ "name": "change1", "type": "double", "initializer": "quote1.getChange()", - "start_line": 603, + "start_line": 588, "start_column": 20, - "end_line": 603, + "end_line": 588, "end_column": 47 }, { @@ -139874,9 +138123,9 @@ "name": "change2", "type": "double", "initializer": "quote2.getChange()", - "start_line": 604, + "start_line": 589, "start_column": 20, - "end_line": 604, + "end_line": 589, "end_column": 47 } ], @@ -139911,234 +138160,202 @@ "end_column": 56, "is_javadoc": false }, - { - "content": "@Resource(name = \"java:/jms/QueueConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 76, - "end_line": 76, - "start_column": 5, - "end_column": 137, - "is_javadoc": false - }, - { - "content": "@Resource(name = \"java:/jms/TopicConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 80, - "end_line": 80, - "start_column": 5, - "end_column": 137, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeStreamerTopic\")", - "start_line": 84, - "end_line": 84, - "start_column": 5, - "end_column": 56, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeBrokerQueue\")", - "start_line": 88, - "end_line": 88, - "start_column": 5, - "end_column": 54, - "is_javadoc": false - }, { "content": " this buy order", - "start_line": 122, - "end_line": 122, + "start_line": 119, + "end_line": 119, "start_column": 13, "end_column": 29, "is_javadoc": false }, { "content": " The holding will be created by", - "start_line": 121, - "end_line": 121, + "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": 126, - "end_line": 126, + "start_line": 123, + "end_line": 123, "start_column": 13, "end_column": 71, "is_javadoc": false }, { "content": " On exception - cancel the order ", - "start_line": 143, - "end_line": 143, + "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": 144, - "end_line": 144, + "start_line": 141, + "end_line": 141, "start_column": 13, "end_column": 54, "is_javadoc": false }, { "content": " if (order != null) order.cancel();", - "start_line": 145, - "end_line": 145, + "start_line": 142, + "end_line": 142, "start_column": 13, "end_column": 49, "is_javadoc": false }, { "content": " UPDATE the holding purchase data to signify this holding is", - "start_line": 177, - "end_line": 177, + "start_line": 174, + "end_line": 174, "start_column": 13, "end_column": 74, "is_javadoc": false }, { "content": " \"inflight\" to be sold", - "start_line": 178, - "end_line": 178, + "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": 179, - "end_line": 179, + "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": 182, - "end_line": 182, + "start_line": 179, + "end_line": 179, "start_column": 13, "end_column": 71, "is_javadoc": false }, { "content": " if (order != null) order.cancel();", - "start_line": 200, - "end_line": 200, + "start_line": 197, + "end_line": 197, "start_column": 13, "end_column": 49, "is_javadoc": false }, { "content": " UPDATE - handle all exceptions like:", - "start_line": 201, - "end_line": 201, + "start_line": 198, + "end_line": 198, "start_column": 13, "end_column": 51, "is_javadoc": false }, { "content": " 2 phase", - "start_line": 209, - "end_line": 209, + "start_line": 206, + "end_line": 206, "start_column": 9, "end_column": 18, "is_javadoc": false }, { "content": " pass the exception", - "start_line": 222, - "end_line": 222, + "start_line": 219, + "end_line": 219, "start_column": 54, "end_column": 74, "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": 248, - "end_line": 251, + "start_line": 245, + "end_line": 248, "start_column": 13, "end_column": 15, "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": 261, - "end_line": 264, + "start_line": 258, + "end_line": 261, "start_column": 13, "end_column": 15, "is_javadoc": false }, { "content": "throw new EJBException(\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\");", - "start_line": 268, - "end_line": 268, + "start_line": 265, + "end_line": 265, "start_column": 17, "end_column": 144, "is_javadoc": false }, { "content": " I want to do a CriteriaUpdate here, but there are issues with JBoss/Hibernate ", - "start_line": 312, - "end_line": 312, + "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": 329, - "end_line": 329, + "start_line": 326, + "end_line": 326, "start_column": 13, "end_column": 66, "is_javadoc": false }, { "content": " TODO: Investigate ConncurrentModification Exceptions", - "start_line": 332, - "end_line": 332, + "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": 334, - "end_line": 334, + "start_line": 331, + "end_line": 331, "start_column": 21, "end_column": 74, "is_javadoc": false }, { "content": " Added to populate transient field for account", - "start_line": 437, - "end_line": 437, + "start_line": 434, + "end_line": 434, "start_column": 9, "end_column": 56, "is_javadoc": false }, { "content": " Check to see if a profile with the desired userID already exists", - "start_line": 491, - "end_line": 491, + "start_line": 488, + "end_line": 488, "start_column": 9, "end_column": 75, "is_javadoc": false }, { "content": " pass the exception", - "start_line": 536, - "end_line": 536, + "start_line": 533, + "end_line": 533, "start_column": 57, "end_column": 77, "is_javadoc": false }, { "content": " Get a Quote and send a JMS message in a 2-phase commit", - "start_line": 572, - "end_line": 572, + "start_line": 569, + "end_line": 569, "start_column": 13, "end_column": 69, "is_javadoc": false @@ -140164,13 +138381,13 @@ ], "callable_declarations": { "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", "comments": [ { "content": " pass the exception", - "start_line": 536, - "end_line": 536, + "start_line": 533, + "end_line": 533, "start_column": 57, "end_column": 77, "is_javadoc": false @@ -140190,8 +138407,8 @@ "name": "quote", "annotations": [], "modifiers": [], - "start_line": 512, - "end_line": 512, + "start_line": 509, + "end_line": 509, "start_column": 41, "end_column": 59 }, @@ -140200,8 +138417,8 @@ "name": "oldPrice", "annotations": [], "modifiers": [], - "start_line": 512, - "end_line": 512, + "start_line": 509, + "end_line": 509, "start_column": 62, "end_column": 80 }, @@ -140210,8 +138427,8 @@ "name": "changeFactor", "annotations": [], "modifiers": [], - "start_line": 512, - "end_line": 512, + "start_line": 509, + "end_line": 509, "start_column": 83, "end_column": 105 }, @@ -140220,15 +138437,16 @@ "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 512, - "end_line": 512, + "start_line": 509, + "end_line": 509, "start_column": 108, "end_column": 126 } ], - "code": "{\n if (!TradeConfig.getPublishQuotePriceChange()) {\n return;\n }\n try (JMSContext topicContext = topicConnectionFactory.createContext()) {\n TextMessage message = topicContext.createTextMessage();\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 topicContext.createProducer().send(tradeStreamerTopic, message);\n } catch (Exception e) {\n // pass the exception\n throw new EJBException(e.getMessage(), e);\n }\n}", - "start_line": 511, - "end_line": 538, + "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, @@ -140257,9 +138475,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 513, + "start_line": 510, "start_column": 14, - "end_line": 513, + "end_line": 510, "end_column": 53 }, { @@ -140278,9 +138496,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 517, + "start_line": 514, "start_column": 40, - "end_line": 517, + "end_line": 514, "end_column": 77 }, { @@ -140299,9 +138517,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 518, + "start_line": 515, "start_column": 35, - "end_line": 518, + "end_line": 515, "end_column": 66 }, { @@ -140323,9 +138541,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 520, + "start_line": 517, "start_column": 13, - "end_line": 520, + "end_line": 517, "end_column": 63 }, { @@ -140347,9 +138565,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 521, + "start_line": 518, "start_column": 13, - "end_line": 521, + "end_line": 518, "end_column": 66 }, { @@ -140368,9 +138586,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 521, + "start_line": 518, "start_column": 49, - "end_line": 521, + "end_line": 518, "end_column": 65 }, { @@ -140392,9 +138610,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 522, + "start_line": 519, "start_column": 13, - "end_line": 522, + "end_line": 519, "end_column": 72 }, { @@ -140413,9 +138631,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 522, + "start_line": 519, "start_column": 50, - "end_line": 522, + "end_line": 519, "end_column": 71 }, { @@ -140437,9 +138655,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 523, + "start_line": 520, "start_column": 13, - "end_line": 523, + "end_line": 520, "end_column": 75 }, { @@ -140458,9 +138676,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 523, + "start_line": 520, "start_column": 48, - "end_line": 523, + "end_line": 520, "end_column": 74 }, { @@ -140479,9 +138697,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 523, + "start_line": 520, "start_column": 48, - "end_line": 523, + "end_line": 520, "end_column": 63 }, { @@ -140503,9 +138721,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 524, + "start_line": 521, "start_column": 13, - "end_line": 524, + "end_line": 521, "end_column": 70 }, { @@ -140524,9 +138742,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 524, + "start_line": 521, "start_column": 51, - "end_line": 524, + "end_line": 521, "end_column": 69 }, { @@ -140548,9 +138766,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 525, + "start_line": 522, "start_column": 13, - "end_line": 525, + "end_line": 522, "end_column": 73 }, { @@ -140569,9 +138787,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 525, + "start_line": 522, "start_column": 47, - "end_line": 525, + "end_line": 522, "end_column": 72 }, { @@ -140590,9 +138808,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 525, + "start_line": 522, "start_column": 47, - "end_line": 525, + "end_line": 522, "end_column": 61 }, { @@ -140614,9 +138832,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 526, + "start_line": 523, "start_column": 13, - "end_line": 526, + "end_line": 523, "end_column": 71 }, { @@ -140635,9 +138853,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 526, + "start_line": 523, "start_column": 46, - "end_line": 526, + "end_line": 523, "end_column": 70 }, { @@ -140656,9 +138874,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 526, + "start_line": 523, "start_column": 46, - "end_line": 526, + "end_line": 523, "end_column": 59 }, { @@ -140680,9 +138898,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 527, + "start_line": 524, "start_column": 13, - "end_line": 527, + "end_line": 524, "end_column": 73 }, { @@ -140701,9 +138919,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 527, + "start_line": 524, "start_column": 47, - "end_line": 527, + "end_line": 524, "end_column": 72 }, { @@ -140722,9 +138940,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 527, + "start_line": 524, "start_column": 47, - "end_line": 527, + "end_line": 524, "end_column": 61 }, { @@ -140746,9 +138964,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 528, + "start_line": 525, "start_column": 13, - "end_line": 528, + "end_line": 525, "end_column": 66 }, { @@ -140767,9 +138985,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 528, + "start_line": 525, "start_column": 49, - "end_line": 528, + "end_line": 525, "end_column": 65 }, { @@ -140791,9 +139009,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 529, + "start_line": 526, "start_column": 13, - "end_line": 529, + "end_line": 526, "end_column": 78 }, { @@ -140812,9 +139030,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 529, + "start_line": 526, "start_column": 55, - "end_line": 529, + "end_line": 526, "end_column": 77 }, { @@ -140836,9 +139054,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 530, + "start_line": 527, "start_column": 13, - "end_line": 530, + "end_line": 527, "end_column": 67 }, { @@ -140860,9 +139078,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 531, + "start_line": 528, "start_column": 13, - "end_line": 531, + "end_line": 528, "end_column": 78 }, { @@ -140881,9 +139099,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 531, + "start_line": 528, "start_column": 52, - "end_line": 531, + "end_line": 528, "end_column": 77 }, { @@ -140904,9 +139122,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 532, + "start_line": 529, "start_column": 13, - "end_line": 532, + "end_line": 529, "end_column": 140 }, { @@ -140925,9 +139143,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 532, + "start_line": 529, "start_column": 57, - "end_line": 532, + "end_line": 529, "end_column": 73 }, { @@ -140946,9 +139164,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 532, + "start_line": 529, "start_column": 124, - "end_line": 532, + "end_line": 529, "end_column": 139 }, { @@ -140970,9 +139188,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 534, + "start_line": 531, "start_column": 13, - "end_line": 534, + "end_line": 531, "end_column": 75 }, { @@ -140991,9 +139209,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 534, + "start_line": 531, "start_column": 13, - "end_line": 534, + "end_line": 531, "end_column": 41 }, { @@ -141012,17 +139230,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 536, + "start_line": 533, "start_column": 37, - "end_line": 536, + "end_line": 533, "end_column": 50 }, { "method_name": "", "comment": { "content": " pass the exception", - "start_line": 536, - "end_line": 536, + "start_line": 533, + "end_line": 533, "start_column": 57, "end_column": 77, "is_javadoc": false @@ -141043,9 +139261,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 536, + "start_line": 533, "start_column": 20, - "end_line": 536, + "end_line": 533, "end_column": 54 } ], @@ -141062,9 +139280,9 @@ "name": "topicContext", "type": "javax.jms.JMSContext", "initializer": "topicConnectionFactory.createContext()", - "start_line": 517, + "start_line": 514, "start_column": 25, - "end_line": 517, + "end_line": 514, "end_column": 77 }, { @@ -141079,9 +139297,9 @@ "name": "message", "type": "javax.jms.TextMessage", "initializer": "topicContext.createTextMessage()", - "start_line": 518, + "start_line": 515, "start_column": 25, - "end_line": 518, + "end_line": 515, "end_column": 66 } ], @@ -141091,7 +139309,7 @@ "is_entrypoint": false }, "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", "comments": [], "annotations": [], @@ -141106,8 +139324,8 @@ "name": "account", "annotations": [], "modifiers": [], - "start_line": 540, - "end_line": 540, + "start_line": 537, + "end_line": 537, "start_column": 38, "end_column": 60 }, @@ -141116,8 +139334,8 @@ "name": "quote", "annotations": [], "modifiers": [], - "start_line": 540, - "end_line": 540, + "start_line": 537, + "end_line": 537, "start_column": 63, "end_column": 81 }, @@ -141126,8 +139344,8 @@ "name": "holding", "annotations": [], "modifiers": [], - "start_line": 540, - "end_line": 540, + "start_line": 537, + "end_line": 537, "start_column": 84, "end_column": 106 }, @@ -141136,8 +139354,8 @@ "name": "orderType", "annotations": [], "modifiers": [], - "start_line": 540, - "end_line": 540, + "start_line": 537, + "end_line": 537, "start_column": 109, "end_column": 124 }, @@ -141146,15 +139364,16 @@ "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 540, - "end_line": 540, + "start_line": 537, + "end_line": 537, "start_column": 127, "end_column": 141 } ], - "code": "{\n OrderDataBean order;\n try {\n order = new OrderDataBean(orderType, \"open\", new Timestamp(System.currentTimeMillis()), null, quantity, quote.getPrice().setScale(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": 540, - "end_line": 552, + "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, @@ -141183,9 +139402,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 544, + "start_line": 541, "start_column": 72, - "end_line": 544, + "end_line": 541, "end_column": 97 }, { @@ -141207,9 +139426,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 544, + "start_line": 541, "start_column": 117, - "end_line": 545, + "end_line": 542, "end_column": 63 }, { @@ -141228,9 +139447,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 544, + "start_line": 541, "start_column": 117, - "end_line": 544, + "end_line": 541, "end_column": 132 }, { @@ -141251,9 +139470,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 545, + "start_line": 542, "start_column": 66, - "end_line": 545, + "end_line": 542, "end_column": 99 }, { @@ -141273,7 +139492,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 546, + "line_number": 543, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -141281,9 +139500,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 546, + "start_line": 543, "start_column": 13, - "end_line": 546, + "end_line": 543, "end_column": 40 }, { @@ -141305,9 +139524,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 548, + "start_line": 545, "start_column": 13, - "end_line": 548, + "end_line": 545, "end_column": 127 }, { @@ -141337,9 +139556,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 544, + "start_line": 541, "start_column": 21, - "end_line": 545, + "end_line": 542, "end_column": 125 }, { @@ -141360,9 +139579,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 544, + "start_line": 541, "start_column": 58, - "end_line": 544, + "end_line": 541, "end_column": 98 }, { @@ -141384,9 +139603,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 549, + "start_line": 546, "start_column": 19, - "end_line": 549, + "end_line": 546, "end_column": 139 } ], @@ -141403,15 +139622,15 @@ "name": "order", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "", - "start_line": 541, + "start_line": 538, "start_column": 23, - "end_line": 541, + "end_line": 538, "end_column": 27 } ], "crud_operations": [ { - "line_number": 546, + "line_number": 543, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -141424,7 +139643,7 @@ "is_entrypoint": false }, "getMarketSummary()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getMarketSummary()", "comments": [], "annotations": [ @@ -141436,9 +139655,10 @@ "thrown_exceptions": [], "declaration": "public MarketSummaryDataBean getMarketSummary()", "parameters": [], - "code": "{\n return marketSummarySingleton.getMarketSummaryDataBean();\n}", - "start_line": 106, - "end_line": 109, + "code": "{\n return marketSummarySingleton.getMarketSummaryDataBean();\n }", + "start_line": 103, + "end_line": 106, + "code_start_line": 104, "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "is_implicit": false, "is_constructor": false, @@ -141463,9 +139683,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, + "start_line": 105, "start_column": 16, - "end_line": 108, + "end_line": 105, "end_column": 64 } ], @@ -141476,7 +139696,7 @@ "is_entrypoint": false }, "investmentReturn(double, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "investmentReturn(double, double)", "comments": [], "annotations": [ @@ -141495,8 +139715,8 @@ "name": "investment", "annotations": [], "modifiers": [], - "start_line": 561, - "end_line": 561, + "start_line": 558, + "end_line": 558, "start_column": 36, "end_column": 52 }, @@ -141505,15 +139725,16 @@ "name": "NetValue", "annotations": [], "modifiers": [], - "start_line": 561, - "end_line": 561, + "start_line": 558, + "end_line": 558, "start_column": 55, "end_column": 69 } ], - "code": "{\n double diff = NetValue - investment;\n double ir = diff / investment;\n return ir;\n}", - "start_line": 560, - "end_line": 565, + "code": "{\n double diff = NetValue - investment;\n double ir = diff / investment;\n return ir;\n }", + "start_line": 557, + "end_line": 562, + "code_start_line": 558, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -141533,9 +139754,9 @@ "name": "diff", "type": "double", "initializer": "NetValue - investment", - "start_line": 562, + "start_line": 559, "start_column": 16, - "end_line": 562, + "end_line": 559, "end_column": 43 }, { @@ -141550,9 +139771,9 @@ "name": "ir", "type": "double", "initializer": "diff / investment", - "start_line": 563, + "start_line": 560, "start_column": 16, - "end_line": 563, + "end_line": 560, "end_column": 37 } ], @@ -141562,7 +139783,7 @@ "is_entrypoint": false }, "getAllQuotes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getAllQuotes()", "comments": [], "annotations": [ @@ -141574,9 +139795,10 @@ "thrown_exceptions": [], "declaration": "public Collection getAllQuotes()", "parameters": [], - "code": "{\n TypedQuery query = entityManager.createNamedQuery(\"quoteejb.allQuotes\", QuoteDataBean.class);\n return query.getResultList();\n}", - "start_line": 369, - "end_line": 373, + "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, @@ -141606,16 +139828,16 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": { - "line_number": 371, + "line_number": 368, "query_arguments": [ "\"quoteejb.allQuotes\"", "QuoteDataBean.class" ], "query_type": "NAMED" }, - "start_line": 371, + "start_line": 368, "start_column": 43, - "end_line": 371, + "end_line": 368, "end_column": 115 }, { @@ -141634,9 +139856,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 372, + "start_line": 369, "start_column": 16, - "end_line": 372, + "end_line": 369, "end_column": 36 } ], @@ -141653,16 +139875,16 @@ "name": "query", "type": "javax.persistence.TypedQuery", "initializer": "entityManager.createNamedQuery(\"quoteejb.allQuotes\", QuoteDataBean.class)", - "start_line": 371, + "start_line": 368, "start_column": 35, - "end_line": 371, + "end_line": 368, "end_column": 115 } ], "crud_operations": [], "crud_queries": [ { - "line_number": 371, + "line_number": 368, "query_arguments": [ "\"quoteejb.allQuotes\"", "QuoteDataBean.class" @@ -141674,13 +139896,13 @@ "is_entrypoint": false }, "register(String, String, String, String, String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "register(String, String, String, String, String, String, BigDecimal)", "comments": [ { "content": " Check to see if a profile with the desired userID already exists", - "start_line": 491, - "end_line": 491, + "start_line": 488, + "end_line": 488, "start_column": 9, "end_column": 75, "is_javadoc": false @@ -141700,8 +139922,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 487, - "end_line": 487, + "start_line": 484, + "end_line": 484, "start_column": 37, "end_column": 49 }, @@ -141710,8 +139932,8 @@ "name": "password", "annotations": [], "modifiers": [], - "start_line": 487, - "end_line": 487, + "start_line": 484, + "end_line": 484, "start_column": 52, "end_column": 66 }, @@ -141720,8 +139942,8 @@ "name": "fullname", "annotations": [], "modifiers": [], - "start_line": 487, - "end_line": 487, + "start_line": 484, + "end_line": 484, "start_column": 69, "end_column": 83 }, @@ -141730,8 +139952,8 @@ "name": "address", "annotations": [], "modifiers": [], - "start_line": 487, - "end_line": 487, + "start_line": 484, + "end_line": 484, "start_column": 86, "end_column": 99 }, @@ -141740,8 +139962,8 @@ "name": "email", "annotations": [], "modifiers": [], - "start_line": 487, - "end_line": 487, + "start_line": 484, + "end_line": 484, "start_column": 102, "end_column": 113 }, @@ -141750,8 +139972,8 @@ "name": "creditcard", "annotations": [], "modifiers": [], - "start_line": 487, - "end_line": 487, + "start_line": 484, + "end_line": 484, "start_column": 116, "end_column": 132 }, @@ -141760,15 +139982,16 @@ "name": "openBalance", "annotations": [], "modifiers": [], - "start_line": 487, - "end_line": 487, + "start_line": 484, + "end_line": 484, "start_column": 135, "end_column": 156 } ], - "code": "{\n AccountDataBean account = null;\n AccountProfileDataBean profile = null;\n // Check to see if a profile with the desired userID already exists\n profile = entityManager.find(AccountProfileDataBean.class, userID);\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 profile.setAccount(account);\n account.setProfile(profile);\n entityManager.persist(profile);\n entityManager.persist(account);\n }\n return account;\n}", - "start_line": 486, - "end_line": 509, + "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, @@ -141798,7 +140021,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 492, + "line_number": 489, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -141806,9 +140029,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 492, + "start_line": 489, "start_column": 19, - "end_line": 492, + "end_line": 489, "end_column": 74 }, { @@ -141829,9 +140052,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 495, + "start_line": 492, "start_column": 13, - "end_line": 495, + "end_line": 492, "end_column": 115 }, { @@ -141850,9 +140073,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 499, + "start_line": 496, "start_column": 69, - "end_line": 499, + "end_line": 496, "end_column": 94 }, { @@ -141873,9 +140096,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 501, + "start_line": 498, "start_column": 13, - "end_line": 501, + "end_line": 498, "end_column": 39 }, { @@ -141896,9 +140119,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 502, + "start_line": 499, "start_column": 13, - "end_line": 502, + "end_line": 499, "end_column": 39 }, { @@ -141918,7 +140141,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 504, + "line_number": 501, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -141926,9 +140149,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 504, + "start_line": 501, "start_column": 13, - "end_line": 504, + "end_line": 501, "end_column": 42 }, { @@ -141948,7 +140171,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 505, + "line_number": 502, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -141956,9 +140179,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 505, + "start_line": 502, "start_column": 13, - "end_line": 505, + "end_line": 502, "end_column": 42 }, { @@ -141984,9 +140207,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 498, + "start_line": 495, "start_column": 23, - "end_line": 498, + "end_line": 495, "end_column": 104 }, { @@ -142013,9 +140236,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 499, + "start_line": 496, "start_column": 23, - "end_line": 499, + "end_line": 496, "end_column": 130 }, { @@ -142036,9 +140259,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 499, + "start_line": 496, "start_column": 55, - "end_line": 499, + "end_line": 496, "end_column": 95 } ], @@ -142055,9 +140278,9 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 488, + "start_line": 485, "start_column": 25, - "end_line": 488, + "end_line": 485, "end_column": 38 }, { @@ -142072,15 +140295,15 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "null", - "start_line": 489, + "start_line": 486, "start_column": 32, - "end_line": 489, + "end_line": 486, "end_column": 45 } ], "crud_operations": [ { - "line_number": 492, + "line_number": 489, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -142088,7 +140311,7 @@ "joined_tables": null }, { - "line_number": 504, + "line_number": 501, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -142096,7 +140319,7 @@ "joined_tables": null }, { - "line_number": 505, + "line_number": 502, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -142109,7 +140332,7 @@ "is_entrypoint": false }, "getHoldings(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getHoldings(String)", "comments": [], "annotations": [ @@ -142126,15 +140349,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 413, - "end_line": 413, + "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(criteriaBuilder.equal(holdings.get(\"account\").get(\"profile\").get(\"userID\"), criteriaBuilder.parameter(String.class, \"p_userid\")));\n criteriaQuery.select(holdings);\n TypedQuery typedQuery = entityManager.createQuery(criteriaQuery);\n typedQuery.setParameter(\"p_userid\", userID);\n return typedQuery.getResultList();\n}", - "start_line": 412, - "end_line": 425, + "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, @@ -142164,9 +140388,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 414, + "start_line": 411, "start_column": 43, - "end_line": 414, + "end_line": 411, "end_column": 76 }, { @@ -142187,9 +140411,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 415, + "start_line": 412, "start_column": 56, - "end_line": 415, + "end_line": 412, "end_column": 105 }, { @@ -142210,9 +140434,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 416, + "start_line": 413, "start_column": 42, - "end_line": 416, + "end_line": 413, "end_column": 82 }, { @@ -142233,9 +140457,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 417, + "start_line": 414, "start_column": 9, - "end_line": 419, + "end_line": 416, "end_column": 77 }, { @@ -142257,9 +140481,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 418, + "start_line": 415, "start_column": 17, - "end_line": 419, + "end_line": 416, "end_column": 76 }, { @@ -142280,9 +140504,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 418, + "start_line": 415, "start_column": 39, - "end_line": 418, + "end_line": 415, "end_column": 90 }, { @@ -142303,9 +140527,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 418, + "start_line": 415, "start_column": 39, - "end_line": 418, + "end_line": 415, "end_column": 76 }, { @@ -142326,9 +140550,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 418, + "start_line": 415, "start_column": 39, - "end_line": 418, + "end_line": 415, "end_column": 61 }, { @@ -142350,9 +140574,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 419, + "start_line": 416, "start_column": 25, - "end_line": 419, + "end_line": 416, "end_column": 75 }, { @@ -142373,9 +140597,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 420, + "start_line": 417, "start_column": 9, - "end_line": 420, + "end_line": 417, "end_column": 38 }, { @@ -142396,9 +140620,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 422, + "start_line": 419, "start_column": 50, - "end_line": 422, + "end_line": 419, "end_column": 89 }, { @@ -142420,9 +140644,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 423, + "start_line": 420, "start_column": 9, - "end_line": 423, + "end_line": 420, "end_column": 51 }, { @@ -142441,9 +140665,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 424, + "start_line": 421, "start_column": 16, - "end_line": 424, + "end_line": 421, "end_column": 41 } ], @@ -142460,9 +140684,9 @@ "name": "criteriaBuilder", "type": "javax.persistence.criteria.CriteriaBuilder", "initializer": "entityManager.getCriteriaBuilder()", - "start_line": 414, + "start_line": 411, "start_column": 25, - "end_line": 414, + "end_line": 411, "end_column": 76 }, { @@ -142477,9 +140701,9 @@ "name": "criteriaQuery", "type": "javax.persistence.criteria.CriteriaQuery", "initializer": "criteriaBuilder.createQuery(HoldingDataBean.class)", - "start_line": 415, + "start_line": 412, "start_column": 40, - "end_line": 415, + "end_line": 412, "end_column": 105 }, { @@ -142494,9 +140718,9 @@ "name": "holdings", "type": "javax.persistence.criteria.Root", "initializer": "criteriaQuery.from(HoldingDataBean.class)", - "start_line": 416, + "start_line": 413, "start_column": 31, - "end_line": 416, + "end_line": 413, "end_column": 82 }, { @@ -142511,9 +140735,9 @@ "name": "typedQuery", "type": "javax.persistence.TypedQuery", "initializer": "entityManager.createQuery(criteriaQuery)", - "start_line": 422, + "start_line": 419, "start_column": 37, - "end_line": 422, + "end_line": 419, "end_column": 89 } ], @@ -142523,7 +140747,7 @@ "is_entrypoint": false }, "login(String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "login(String, String)", "comments": [], "annotations": [ @@ -142542,8 +140766,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 463, - "end_line": 463, + "start_line": 460, + "end_line": 460, "start_column": 34, "end_column": 46 }, @@ -142552,15 +140776,16 @@ "name": "password", "annotations": [], "modifiers": [], - "start_line": 463, - "end_line": 463, + "start_line": 460, + "end_line": 460, "start_column": 49, "end_column": 63 } ], - "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n if (profile == null) {\n throw new EJBException(\"No such user: \" + userID);\n }\n AccountDataBean account = profile.getAccount();\n account.login(password);\n Log.trace(\"TradeSLSBBean:login(\" + userID + \",\" + password + \") success\" + account);\n return account;\n}", - "start_line": 462, - "end_line": 475, + "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, @@ -142590,7 +140815,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 464, + "line_number": 461, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -142598,9 +140823,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 464, + "start_line": 461, "start_column": 42, - "end_line": 464, + "end_line": 461, "end_column": 97 }, { @@ -142619,9 +140844,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 469, + "start_line": 466, "start_column": 35, - "end_line": 469, + "end_line": 466, "end_column": 54 }, { @@ -142642,9 +140867,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 470, + "start_line": 467, "start_column": 9, - "end_line": 470, + "end_line": 467, "end_column": 31 }, { @@ -142665,9 +140890,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 472, + "start_line": 469, "start_column": 9, - "end_line": 472, + "end_line": 469, "end_column": 91 }, { @@ -142688,9 +140913,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 466, + "start_line": 463, "start_column": 19, - "end_line": 466, + "end_line": 463, "end_column": 61 } ], @@ -142707,9 +140932,9 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 464, + "start_line": 461, "start_column": 32, - "end_line": 464, + "end_line": 461, "end_column": 97 }, { @@ -142724,15 +140949,15 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "profile.getAccount()", - "start_line": 469, + "start_line": 466, "start_column": 25, - "end_line": 469, + "end_line": 466, "end_column": 54 } ], "crud_operations": [ { - "line_number": 464, + "line_number": 461, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -142745,7 +140970,7 @@ "is_entrypoint": false }, "setInSession(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "setInSession(boolean)", "comments": [], "annotations": [ @@ -142762,15 +140987,16 @@ "name": "inSession", "annotations": [], "modifiers": [], - "start_line": 615, - "end_line": 615, + "start_line": 600, + "end_line": 600, "start_column": 30, "end_column": 46 } ], - "code": "{\n throw new UnsupportedOperationException(\"TradeSLSBBean::setInGlobalTxn not supported\");\n}", - "start_line": 614, - "end_line": 617, + "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, @@ -142795,9 +141021,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 616, + "start_line": 601, "start_column": 13, - "end_line": 616, + "end_line": 601, "end_column": 92 } ], @@ -142808,29 +141034,29 @@ "is_entrypoint": false }, "completeOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "completeOrder(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 ", - "start_line": 248, - "end_line": 251, + "start_line": 245, + "end_line": 248, "start_column": 13, "end_column": 15, "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": 261, - "end_line": 264, + "start_line": 258, + "end_line": 261, "start_column": 13, "end_column": 15, "is_javadoc": false }, { "content": "throw new EJBException(\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\");", - "start_line": 268, - "end_line": 268, + "start_line": 265, + "end_line": 265, "start_column": 17, "end_column": 144, "is_javadoc": false @@ -142852,8 +141078,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 227, - "end_line": 227, + "start_line": 224, + "end_line": 224, "start_column": 40, "end_column": 54 }, @@ -142862,15 +141088,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 227, - "end_line": 227, + "start_line": 224, + "end_line": 224, "start_column": 57, "end_column": 72 } ], - "code": "{\n OrderDataBean order = entityManager.find(OrderDataBean.class, orderID);\n if (order == null) {\n System.out.println(\"error\");\n throw new EJBException(\"Error: attempt to complete Order that is null\\n\" + order);\n }\n order.getQuote();\n if (order.isCompleted()) {\n throw new EJBException(\"Error: attempt to complete Order that is already completed\\n\" + order);\n }\n AccountDataBean account = order.getAccount();\n QuoteDataBean quote = order.getQuote();\n HoldingDataBean holding = order.getHolding();\n BigDecimal price = order.getPrice();\n double quantity = order.getQuantity();\n if (order.isBuy()) {\n /*\n * Complete a Buy operation - create a new Holding for the Account -\n * deduct the Order cost from the Account balance\n */\n HoldingDataBean newHolding = createHolding(account, quote, quantity, price);\n order.setHolding(newHolding);\n order.setOrderStatus(\"closed\");\n order.setCompletionDate(new java.sql.Timestamp(System.currentTimeMillis()));\n updateQuotePriceVolume(quote.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), quantity);\n }\n if (order.isSell()) {\n /*\n * Complete a Sell operation - remove the Holding from the Account -\n * deposit the Order proceeds to the Account balance\n */\n if (holding == null) {\n Log.debug(\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\");\n order.cancel();\n //throw new EJBException(\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\");\n } else {\n entityManager.remove(holding);\n order.setHolding(null);\n order.setOrderStatus(\"closed\");\n order.setCompletionDate(new java.sql.Timestamp(System.currentTimeMillis()));\n updateQuotePriceVolume(quote.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), quantity);\n }\n }\n Log.trace(\"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);\n return order;\n}", - "start_line": 226, - "end_line": 282, + "code": "{\n OrderDataBean order = entityManager.find(OrderDataBean.class, orderID);\n\n if (order == null) {\n System.out.println(\"error\");\n throw new EJBException(\"Error: attempt to complete Order that is null\\n\" + order);\n }\n\n order.getQuote();\n\n if (order.isCompleted()) {\n throw new EJBException(\"Error: attempt to complete Order that is already completed\\n\" + order);\n }\n\n AccountDataBean account = order.getAccount();\n QuoteDataBean quote = order.getQuote();\n HoldingDataBean holding = order.getHolding();\n BigDecimal price = order.getPrice();\n double quantity = order.getQuantity();\n\n if (order.isBuy()) {\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 HoldingDataBean newHolding = createHolding(account, quote, quantity, price);\n order.setHolding(newHolding);\n order.setOrderStatus(\"closed\");\n order.setCompletionDate(new java.sql.Timestamp(System.currentTimeMillis()));\n updateQuotePriceVolume(quote.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), quantity);\n }\n\n if (order.isSell()) {\n /*\n * Complete a Sell operation - remove the Holding from the Account -\n * deposit the Order proceeds to the Account balance\n */\n if (holding == null) {\n Log.debug(\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\");\n order.cancel();\n //throw new EJBException(\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\");\n } else {\n entityManager.remove(holding);\n order.setHolding(null);\n order.setOrderStatus(\"closed\");\n order.setCompletionDate(new java.sql.Timestamp(System.currentTimeMillis()));\n updateQuotePriceVolume(quote.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), quantity);\n }\n } \n\n Log.trace(\"TradeSLSBBean:completeOrder--> Completed Order \" + order.getOrderID() + \"\\n\\t Order info: \" + order + \"\\n\\t Account info: \" + account\n + \"\\n\\t Quote info: \" + quote + \"\\n\\t Holding info: \" + holding);\n\n return order;\n }", + "start_line": 223, + "end_line": 279, + "code_start_line": 224, "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, @@ -142905,7 +141132,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 228, + "line_number": 225, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -142913,9 +141140,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 228, + "start_line": 225, "start_column": 31, - "end_line": 228, + "end_line": 225, "end_column": 78 }, { @@ -142936,9 +141163,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 231, + "start_line": 228, "start_column": 11, - "end_line": 231, + "end_line": 228, "end_column": 37 }, { @@ -142957,9 +141184,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 235, + "start_line": 232, "start_column": 9, - "end_line": 235, + "end_line": 232, "end_column": 24 }, { @@ -142978,9 +141205,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 237, + "start_line": 234, "start_column": 13, - "end_line": 237, + "end_line": 234, "end_column": 31 }, { @@ -142999,9 +141226,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 241, + "start_line": 238, "start_column": 35, - "end_line": 241, + "end_line": 238, "end_column": 52 }, { @@ -143020,9 +141247,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 242, + "start_line": 239, "start_column": 31, - "end_line": 242, + "end_line": 239, "end_column": 46 }, { @@ -143041,9 +141268,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 243, + "start_line": 240, "start_column": 35, - "end_line": 243, + "end_line": 240, "end_column": 52 }, { @@ -143062,9 +141289,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 244, + "start_line": 241, "start_column": 28, - "end_line": 244, + "end_line": 241, "end_column": 43 }, { @@ -143083,9 +141310,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 245, + "start_line": 242, "start_column": 27, - "end_line": 245, + "end_line": 242, "end_column": 45 }, { @@ -143104,9 +141331,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 247, + "start_line": 244, "start_column": 13, - "end_line": 247, + "end_line": 244, "end_column": 25 }, { @@ -143130,9 +141357,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 253, + "start_line": 250, "start_column": 42, - "end_line": 253, + "end_line": 250, "end_column": 87 }, { @@ -143153,9 +141380,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 254, + "start_line": 251, "start_column": 13, - "end_line": 254, + "end_line": 251, "end_column": 40 }, { @@ -143176,9 +141403,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 255, + "start_line": 252, "start_column": 13, - "end_line": 255, + "end_line": 252, "end_column": 42 }, { @@ -143199,9 +141426,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 256, + "start_line": 253, "start_column": 13, - "end_line": 256, + "end_line": 253, "end_column": 87 }, { @@ -143220,9 +141447,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 256, + "start_line": 253, "start_column": 60, - "end_line": 256, + "end_line": 253, "end_column": 85 }, { @@ -143245,9 +141472,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 257, + "start_line": 254, "start_column": 13, - "end_line": 257, + "end_line": 254, "end_column": 105 }, { @@ -143266,9 +141493,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 257, + "start_line": 254, "start_column": 36, - "end_line": 257, + "end_line": 254, "end_column": 52 }, { @@ -143287,9 +141514,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 257, + "start_line": 254, "start_column": 55, - "end_line": 257, + "end_line": 254, "end_column": 94 }, { @@ -143308,9 +141535,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 260, + "start_line": 257, "start_column": 13, - "end_line": 260, + "end_line": 257, "end_column": 26 }, { @@ -143331,9 +141558,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 266, + "start_line": 263, "start_column": 17, - "end_line": 266, + "end_line": 263, "end_column": 128 }, { @@ -143352,9 +141579,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 266, + "start_line": 263, "start_column": 84, - "end_line": 266, + "end_line": 263, "end_column": 101 }, { @@ -143373,9 +141600,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 267, + "start_line": 264, "start_column": 17, - "end_line": 267, + "end_line": 264, "end_column": 30 }, { @@ -143395,7 +141622,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 270, + "line_number": 267, "operation_type": "DELETE", "target_table": null, "involved_columns": null, @@ -143403,9 +141630,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 270, + "start_line": 267, "start_column": 17, - "end_line": 270, + "end_line": 267, "end_column": 45 }, { @@ -143426,9 +141653,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 271, + "start_line": 268, "start_column": 17, - "end_line": 271, + "end_line": 268, "end_column": 38 }, { @@ -143449,9 +141676,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 272, + "start_line": 269, "start_column": 17, - "end_line": 272, + "end_line": 269, "end_column": 46 }, { @@ -143472,9 +141699,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 273, + "start_line": 270, "start_column": 17, - "end_line": 273, + "end_line": 270, "end_column": 91 }, { @@ -143493,9 +141720,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 273, + "start_line": 270, "start_column": 64, - "end_line": 273, + "end_line": 270, "end_column": 89 }, { @@ -143518,9 +141745,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 274, + "start_line": 271, "start_column": 17, - "end_line": 274, + "end_line": 271, "end_column": 109 }, { @@ -143539,9 +141766,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 274, + "start_line": 271, "start_column": 40, - "end_line": 274, + "end_line": 271, "end_column": 56 }, { @@ -143560,9 +141787,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 274, + "start_line": 271, "start_column": 59, - "end_line": 274, + "end_line": 271, "end_column": 98 }, { @@ -143583,9 +141810,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 278, + "start_line": 275, "start_column": 9, - "end_line": 279, + "end_line": 276, "end_column": 76 }, { @@ -143604,9 +141831,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 278, + "start_line": 275, "start_column": 71, - "end_line": 278, + "end_line": 275, "end_column": 88 }, { @@ -143627,9 +141854,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 232, + "start_line": 229, "start_column": 19, - "end_line": 232, + "end_line": 229, "end_column": 93 }, { @@ -143650,9 +141877,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 238, + "start_line": 235, "start_column": 19, - "end_line": 238, + "end_line": 235, "end_column": 106 }, { @@ -143673,9 +141900,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 256, + "start_line": 253, "start_column": 37, - "end_line": 256, + "end_line": 253, "end_column": 86 }, { @@ -143696,9 +141923,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 273, + "start_line": 270, "start_column": 41, - "end_line": 273, + "end_line": 270, "end_column": 90 } ], @@ -143715,9 +141942,9 @@ "name": "order", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "entityManager.find(OrderDataBean.class, orderID)", - "start_line": 228, + "start_line": 225, "start_column": 23, - "end_line": 228, + "end_line": 225, "end_column": 78 }, { @@ -143732,9 +141959,9 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "order.getAccount()", - "start_line": 241, + "start_line": 238, "start_column": 25, - "end_line": 241, + "end_line": 238, "end_column": 52 }, { @@ -143749,9 +141976,9 @@ "name": "quote", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "order.getQuote()", - "start_line": 242, + "start_line": 239, "start_column": 23, - "end_line": 242, + "end_line": 239, "end_column": 46 }, { @@ -143766,9 +141993,9 @@ "name": "holding", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "order.getHolding()", - "start_line": 243, + "start_line": 240, "start_column": 25, - "end_line": 243, + "end_line": 240, "end_column": 52 }, { @@ -143783,9 +142010,9 @@ "name": "price", "type": "java.math.BigDecimal", "initializer": "order.getPrice()", - "start_line": 244, + "start_line": 241, "start_column": 20, - "end_line": 244, + "end_line": 241, "end_column": 43 }, { @@ -143800,9 +142027,9 @@ "name": "quantity", "type": "double", "initializer": "order.getQuantity()", - "start_line": 245, + "start_line": 242, "start_column": 16, - "end_line": 245, + "end_line": 242, "end_column": 45 }, { @@ -143817,15 +142044,15 @@ "name": "newHolding", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "createHolding(account, quote, quantity, price)", - "start_line": 253, + "start_line": 250, "start_column": 29, - "end_line": 253, + "end_line": 250, "end_column": 87 } ], "crud_operations": [ { - "line_number": 228, + "line_number": 225, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -143833,7 +142060,7 @@ "joined_tables": null }, { - "line_number": 270, + "line_number": 267, "operation_type": "DELETE", "target_table": null, "involved_columns": null, @@ -143846,7 +142073,7 @@ "is_entrypoint": false }, "updateQuotePriceVolume(String, BigDecimal, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "comments": [], "annotations": [ @@ -143863,8 +142090,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 376, - "end_line": 376, + "start_line": 373, + "end_line": 373, "start_column": 49, "end_column": 61 }, @@ -143873,8 +142100,8 @@ "name": "changeFactor", "annotations": [], "modifiers": [], - "start_line": 376, - "end_line": 376, + "start_line": 373, + "end_line": 373, "start_column": 64, "end_column": 86 }, @@ -143883,15 +142110,16 @@ "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 376, - "end_line": 376, + "start_line": 373, + "end_line": 373, "start_column": 89, "end_column": 107 } ], - "code": "{\n if (!TradeConfig.getUpdateQuotePrices()) {\n return new QuoteDataBean();\n }\n Log.trace(\"TradeSLSBBean:updateQuote\", symbol, changeFactor);\n TypedQuery q = entityManager.createNamedQuery(\"quoteejb.quoteForUpdate\", QuoteDataBean.class);\n q.setParameter(1, symbol);\n QuoteDataBean quote = q.getSingleResult();\n BigDecimal oldPrice = quote.getPrice();\n BigDecimal openPrice = quote.getOpen();\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 BigDecimal newPrice = changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP);\n quote.setPrice(newPrice);\n quote.setChange(newPrice.subtract(openPrice).doubleValue());\n quote.setVolume(quote.getVolume() + sharesTraded);\n entityManager.merge(quote);\n if (TradeConfig.getPublishQuotePriceChange()) {\n publishQuotePriceChange(quote, oldPrice, changeFactor, sharesTraded);\n }\n recentQuotePriceChangeList.add(quote);\n return quote;\n}", - "start_line": 375, - "end_line": 410, + "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, @@ -143926,9 +142154,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 377, + "start_line": 374, "start_column": 14, - "end_line": 377, + "end_line": 374, "end_column": 47 }, { @@ -143951,9 +142179,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 381, + "start_line": 378, "start_column": 9, - "end_line": 381, + "end_line": 378, "end_column": 68 }, { @@ -143975,16 +142203,16 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": { - "line_number": 383, + "line_number": 380, "query_arguments": [ "\"quoteejb.quoteForUpdate\"", "QuoteDataBean.class" ], "query_type": "NAMED" }, - "start_line": 383, + "start_line": 380, "start_column": 39, - "end_line": 383, + "end_line": 380, "end_column": 116 }, { @@ -144006,9 +142234,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 384, + "start_line": 381, "start_column": 9, - "end_line": 384, + "end_line": 381, "end_column": 33 }, { @@ -144027,9 +142255,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 385, + "start_line": 382, "start_column": 31, - "end_line": 385, + "end_line": 382, "end_column": 49 }, { @@ -144048,9 +142276,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 387, + "start_line": 384, "start_column": 31, - "end_line": 387, + "end_line": 384, "end_column": 46 }, { @@ -144069,9 +142297,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 388, + "start_line": 385, "start_column": 32, - "end_line": 388, + "end_line": 385, "end_column": 46 }, { @@ -144092,9 +142320,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 390, + "start_line": 387, "start_column": 13, - "end_line": 390, + "end_line": 387, "end_column": 58 }, { @@ -144115,9 +142343,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 392, + "start_line": 389, "start_column": 20, - "end_line": 392, + "end_line": 389, "end_column": 70 }, { @@ -144139,9 +142367,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 396, + "start_line": 393, "start_column": 31, - "end_line": 396, + "end_line": 393, "end_column": 99 }, { @@ -144162,9 +142390,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 396, + "start_line": 393, "start_column": 31, - "end_line": 396, + "end_line": 393, "end_column": 61 }, { @@ -144185,9 +142413,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 398, + "start_line": 395, "start_column": 9, - "end_line": 398, + "end_line": 395, "end_column": 32 }, { @@ -144208,9 +142436,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 399, + "start_line": 396, "start_column": 9, - "end_line": 399, + "end_line": 396, "end_column": 67 }, { @@ -144229,9 +142457,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 399, + "start_line": 396, "start_column": 25, - "end_line": 399, + "end_line": 396, "end_column": 66 }, { @@ -144252,9 +142480,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 399, + "start_line": 396, "start_column": 25, - "end_line": 399, + "end_line": 396, "end_column": 52 }, { @@ -144275,9 +142503,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 400, + "start_line": 397, "start_column": 9, - "end_line": 400, + "end_line": 397, "end_column": 57 }, { @@ -144296,9 +142524,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 400, + "start_line": 397, "start_column": 25, - "end_line": 400, + "end_line": 397, "end_column": 41 }, { @@ -144318,7 +142546,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 401, + "line_number": 398, "operation_type": "UPDATE", "target_table": null, "involved_columns": null, @@ -144326,9 +142554,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 401, + "start_line": 398, "start_column": 9, - "end_line": 401, + "end_line": 398, "end_column": 34 }, { @@ -144347,9 +142575,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 403, + "start_line": 400, "start_column": 13, - "end_line": 403, + "end_line": 400, "end_column": 52 }, { @@ -144373,9 +142601,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 404, + "start_line": 401, "start_column": 11, - "end_line": 404, + "end_line": 401, "end_column": 78 }, { @@ -144396,9 +142624,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 407, + "start_line": 404, "start_column": 9, - "end_line": 407, + "end_line": 404, "end_column": 45 }, { @@ -144417,9 +142645,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 378, + "start_line": 375, "start_column": 20, - "end_line": 378, + "end_line": 375, "end_column": 38 } ], @@ -144436,9 +142664,9 @@ "name": "q", "type": "javax.persistence.TypedQuery", "initializer": "entityManager.createNamedQuery(\"quoteejb.quoteForUpdate\", QuoteDataBean.class)", - "start_line": 383, + "start_line": 380, "start_column": 35, - "end_line": 383, + "end_line": 380, "end_column": 116 }, { @@ -144453,9 +142681,9 @@ "name": "quote", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "q.getSingleResult()", - "start_line": 385, + "start_line": 382, "start_column": 23, - "end_line": 385, + "end_line": 382, "end_column": 49 }, { @@ -144470,9 +142698,9 @@ "name": "oldPrice", "type": "java.math.BigDecimal", "initializer": "quote.getPrice()", - "start_line": 387, + "start_line": 384, "start_column": 20, - "end_line": 387, + "end_line": 384, "end_column": 46 }, { @@ -144487,9 +142715,9 @@ "name": "openPrice", "type": "java.math.BigDecimal", "initializer": "quote.getOpen()", - "start_line": 388, + "start_line": 385, "start_column": 20, - "end_line": 388, + "end_line": 385, "end_column": 46 }, { @@ -144504,15 +142732,15 @@ "name": "newPrice", "type": "java.math.BigDecimal", "initializer": "changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP)", - "start_line": 396, + "start_line": 393, "start_column": 20, - "end_line": 396, + "end_line": 393, "end_column": 99 } ], "crud_operations": [ { - "line_number": 401, + "line_number": 398, "operation_type": "UPDATE", "target_table": null, "involved_columns": null, @@ -144522,7 +142750,7 @@ ], "crud_queries": [ { - "line_number": 383, + "line_number": 380, "query_arguments": [ "\"quoteejb.quoteForUpdate\"", "QuoteDataBean.class" @@ -144534,7 +142762,7 @@ "is_entrypoint": false }, "cancelOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "cancelOrder(Integer, boolean)", "comments": [], "annotations": [ @@ -144551,8 +142779,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 291, - "end_line": 291, + "start_line": 288, + "end_line": 288, "start_column": 29, "end_column": 43 }, @@ -144561,15 +142789,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 291, - "end_line": 291, + "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": 290, - "end_line": 294, + "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, @@ -144598,7 +142827,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 292, + "line_number": 289, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -144606,9 +142835,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 292, + "start_line": 289, "start_column": 31, - "end_line": 292, + "end_line": 289, "end_column": 78 }, { @@ -144627,9 +142856,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 293, + "start_line": 290, "start_column": 9, - "end_line": 293, + "end_line": 290, "end_column": 22 } ], @@ -144646,15 +142875,15 @@ "name": "order", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "entityManager.find(OrderDataBean.class, orderID)", - "start_line": 292, + "start_line": 289, "start_column": 23, - "end_line": 292, + "end_line": 289, "end_column": 78 } ], "crud_operations": [ { - "line_number": 292, + "line_number": 289, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -144667,7 +142896,7 @@ "is_entrypoint": false }, "getOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getOrders(String)", "comments": [], "annotations": [ @@ -144684,15 +142913,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 302, - "end_line": 302, + "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": 301, - "end_line": 306, + "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, @@ -144722,7 +142952,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 303, + "line_number": 300, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -144730,9 +142960,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 303, + "start_line": 300, "start_column": 42, - "end_line": 303, + "end_line": 300, "end_column": 97 }, { @@ -144751,9 +142981,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 304, + "start_line": 301, "start_column": 35, - "end_line": 304, + "end_line": 301, "end_column": 54 }, { @@ -144772,9 +143002,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 305, + "start_line": 302, "start_column": 16, - "end_line": 305, + "end_line": 302, "end_column": 34 } ], @@ -144791,9 +143021,9 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 303, + "start_line": 300, "start_column": 32, - "end_line": 303, + "end_line": 300, "end_column": 97 }, { @@ -144808,15 +143038,15 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "profile.getAccount()", - "start_line": 304, + "start_line": 301, "start_column": 25, - "end_line": 304, + "end_line": 301, "end_column": 54 } ], "crud_operations": [ { - "line_number": 303, + "line_number": 300, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -144829,7 +143059,7 @@ "is_entrypoint": false }, "getQuote(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getQuote(String)", "comments": [], "annotations": [ @@ -144846,15 +143076,16 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 365, - "end_line": 365, + "start_line": 362, + "end_line": 362, "start_column": 35, "end_column": 47 } ], - "code": "{\n return entityManager.find(QuoteDataBean.class, symbol);\n}", - "start_line": 364, - "end_line": 367, + "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, @@ -144881,7 +143112,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 366, + "line_number": 363, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -144889,16 +143120,16 @@ "joined_tables": null }, "crud_query": null, - "start_line": 366, + "start_line": 363, "start_column": 16, - "end_line": 366, + "end_line": 363, "end_column": 62 } ], "variable_declarations": [], "crud_operations": [ { - "line_number": 366, + "line_number": 363, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -144911,7 +143142,7 @@ "is_entrypoint": false }, "createQuote(String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "createQuote(String, String, BigDecimal)", "comments": [], "annotations": [ @@ -144928,8 +143159,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 350, - "end_line": 350, + "start_line": 347, + "end_line": 347, "start_column": 38, "end_column": 50 }, @@ -144938,8 +143169,8 @@ "name": "companyName", "annotations": [], "modifiers": [], - "start_line": 350, - "end_line": 350, + "start_line": 347, + "end_line": 347, "start_column": 53, "end_column": 70 }, @@ -144948,15 +143179,16 @@ "name": "price", "annotations": [], "modifiers": [], - "start_line": 350, - "end_line": 350, + "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 Log.trace(\"TradeSLSBBean:createQuote-->\" + quote);\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": 349, - "end_line": 362, + "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, @@ -144984,7 +143216,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 353, + "line_number": 350, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -144992,9 +143224,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 353, + "start_line": 350, "start_column": 13, - "end_line": 353, + "end_line": 350, "end_column": 40 }, { @@ -145015,9 +143247,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 355, + "start_line": 352, "start_column": 13, - "end_line": 355, + "end_line": 352, "end_column": 61 }, { @@ -145039,9 +143271,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 359, + "start_line": 356, "start_column": 13, - "end_line": 359, + "end_line": 356, "end_column": 81 }, { @@ -145069,9 +143301,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 352, + "start_line": 349, "start_column": 35, - "end_line": 352, + "end_line": 349, "end_column": 106 }, { @@ -145092,9 +143324,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 360, + "start_line": 357, "start_column": 19, - "end_line": 360, + "end_line": 357, "end_column": 37 } ], @@ -145111,15 +143343,15 @@ "name": "quote", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "new QuoteDataBean(symbol, companyName, 0, price, price, price, price, 0)", - "start_line": 352, + "start_line": 349, "start_column": 27, - "end_line": 352, + "end_line": 349, "end_column": 106 } ], "crud_operations": [ { - "line_number": 353, + "line_number": 350, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -145132,7 +143364,7 @@ "is_entrypoint": false }, "updateAccountProfile(AccountProfileDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "updateAccountProfile(AccountProfileDataBean)", "comments": [], "annotations": [ @@ -145149,15 +143381,16 @@ "name": "profileData", "annotations": [], "modifiers": [], - "start_line": 449, - "end_line": 449, + "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 entityManager.merge(temp);\n return temp;\n}", - "start_line": 448, - "end_line": 460, + "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, @@ -145186,7 +143419,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 450, + "line_number": 447, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -145194,9 +143427,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 450, + "start_line": 447, "start_column": 39, - "end_line": 450, + "end_line": 447, "end_column": 111 }, { @@ -145215,9 +143448,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 450, + "start_line": 447, "start_column": 88, - "end_line": 450, + "end_line": 447, "end_column": 110 }, { @@ -145238,9 +143471,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, + "start_line": 448, "start_column": 9, - "end_line": 451, + "end_line": 448, "end_column": 49 }, { @@ -145259,9 +143492,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, + "start_line": 448, "start_column": 25, - "end_line": 451, + "end_line": 448, "end_column": 48 }, { @@ -145282,9 +143515,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 452, + "start_line": 449, "start_column": 9, - "end_line": 452, + "end_line": 449, "end_column": 51 }, { @@ -145303,9 +143536,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 452, + "start_line": 449, "start_column": 26, - "end_line": 452, + "end_line": 449, "end_column": 50 }, { @@ -145326,9 +143559,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 453, + "start_line": 450, "start_column": 9, - "end_line": 453, + "end_line": 450, "end_column": 51 }, { @@ -145347,9 +143580,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 453, + "start_line": 450, "start_column": 26, - "end_line": 453, + "end_line": 450, "end_column": 50 }, { @@ -145370,9 +143603,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 454, + "start_line": 451, "start_column": 9, - "end_line": 454, + "end_line": 451, "end_column": 55 }, { @@ -145391,9 +143624,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 454, + "start_line": 451, "start_column": 28, - "end_line": 454, + "end_line": 451, "end_column": 54 }, { @@ -145414,9 +143647,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 455, + "start_line": 452, "start_column": 9, - "end_line": 455, + "end_line": 452, "end_column": 45 }, { @@ -145435,9 +143668,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 455, + "start_line": 452, "start_column": 23, - "end_line": 455, + "end_line": 452, "end_column": 44 }, { @@ -145457,7 +143690,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 457, + "line_number": 454, "operation_type": "UPDATE", "target_table": null, "involved_columns": null, @@ -145465,9 +143698,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 457, + "start_line": 454, "start_column": 9, - "end_line": 457, + "end_line": 454, "end_column": 33 } ], @@ -145484,15 +143717,15 @@ "name": "temp", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, profileData.getUserID())", - "start_line": 450, + "start_line": 447, "start_column": 32, - "end_line": 450, + "end_line": 447, "end_column": 111 } ], "crud_operations": [ { - "line_number": 450, + "line_number": 447, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -145500,7 +143733,7 @@ "joined_tables": null }, { - "line_number": 457, + "line_number": 454, "operation_type": "UPDATE", "target_table": null, "involved_columns": null, @@ -145513,21 +143746,21 @@ "is_entrypoint": false }, "queueOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "queueOrder(Integer, boolean)", "comments": [ { "content": " 2 phase", - "start_line": 209, - "end_line": 209, + "start_line": 206, + "end_line": 206, "start_column": 9, "end_column": 18, "is_javadoc": false }, { "content": " pass the exception", - "start_line": 222, - "end_line": 222, + "start_line": 219, + "end_line": 219, "start_column": 54, "end_column": 74, "is_javadoc": false @@ -145545,8 +143778,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 207, - "end_line": 207, + "start_line": 204, + "end_line": 204, "start_column": 28, "end_column": 42 }, @@ -145555,15 +143788,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 207, - "end_line": 207, + "start_line": 204, + "end_line": 204, "start_column": 45, "end_column": 60 } ], - "code": "{\n // 2 phase\n try (JMSContext queueContext = queueConnectionFactory.createContext()) {\n TextMessage message = queueContext.createTextMessage();\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 queueContext.createProducer().send(tradeBrokerQueue, message);\n } catch (Exception e) {\n // pass the exception\n throw new EJBException(e.getMessage(), e);\n }\n}", - "start_line": 207, - "end_line": 224, + "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, @@ -145592,9 +143826,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 210, + "start_line": 207, "start_column": 40, - "end_line": 210, + "end_line": 207, "end_column": 77 }, { @@ -145613,9 +143847,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 211, + "start_line": 208, "start_column": 33, - "end_line": 211, + "end_line": 208, "end_column": 64 }, { @@ -145637,9 +143871,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 213, + "start_line": 210, "start_column": 11, - "end_line": 213, + "end_line": 210, "end_column": 58 }, { @@ -145661,9 +143895,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 214, + "start_line": 211, "start_column": 11, - "end_line": 214, + "end_line": 211, "end_column": 52 }, { @@ -145685,9 +143919,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 215, + "start_line": 212, "start_column": 11, - "end_line": 215, + "end_line": 212, "end_column": 58 }, { @@ -145708,9 +143942,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 216, + "start_line": 213, "start_column": 11, - "end_line": 216, + "end_line": 213, "end_column": 99 }, { @@ -145732,9 +143966,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 217, + "start_line": 214, "start_column": 11, - "end_line": 217, + "end_line": 214, "end_column": 76 }, { @@ -145753,9 +143987,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 217, + "start_line": 214, "start_column": 50, - "end_line": 217, + "end_line": 214, "end_column": 75 }, { @@ -145777,9 +144011,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 219, + "start_line": 216, "start_column": 11, - "end_line": 219, + "end_line": 216, "end_column": 71 }, { @@ -145798,9 +144032,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 219, + "start_line": 216, "start_column": 11, - "end_line": 219, + "end_line": 216, "end_column": 39 }, { @@ -145819,17 +144053,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 222, + "start_line": 219, "start_column": 34, - "end_line": 222, + "end_line": 219, "end_column": 47 }, { "method_name": "", "comment": { "content": " pass the exception", - "start_line": 222, - "end_line": 222, + "start_line": 219, + "end_line": 219, "start_column": 54, "end_column": 74, "is_javadoc": false @@ -145850,9 +144084,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 222, + "start_line": 219, "start_column": 17, - "end_line": 222, + "end_line": 219, "end_column": 51 } ], @@ -145869,9 +144103,9 @@ "name": "queueContext", "type": "javax.jms.JMSContext", "initializer": "queueConnectionFactory.createContext()", - "start_line": 210, + "start_line": 207, "start_column": 25, - "end_line": 210, + "end_line": 207, "end_column": 77 }, { @@ -145886,9 +144120,9 @@ "name": "message", "type": "javax.jms.TextMessage", "initializer": "queueContext.createTextMessage()", - "start_line": 211, + "start_line": 208, "start_column": 23, - "end_line": 211, + "end_line": 208, "end_column": 64 } ], @@ -145898,13 +144132,13 @@ "is_entrypoint": false }, "getAccountData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getAccountData(String)", "comments": [ { "content": " Added to populate transient field for account", - "start_line": 437, - "end_line": 437, + "start_line": 434, + "end_line": 434, "start_column": 9, "end_column": 56, "is_javadoc": false @@ -145924,15 +144158,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 433, - "end_line": 433, + "start_line": 430, + "end_line": 430, "start_column": 43, "end_column": 55 } ], - "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n // Added to populate transient field for account\n account.setProfileID(profile.getUserID());\n return account;\n}", - "start_line": 432, - "end_line": 441, + "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n\n // Added to populate transient field for account\n account.setProfileID(profile.getUserID());\n\n return account;\n }", + "start_line": 429, + "end_line": 438, + "code_start_line": 430, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -145962,7 +144197,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 434, + "line_number": 431, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -145970,9 +144205,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 434, + "start_line": 431, "start_column": 42, - "end_line": 434, + "end_line": 431, "end_column": 97 }, { @@ -145991,17 +144226,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 435, + "start_line": 432, "start_column": 35, - "end_line": 435, + "end_line": 432, "end_column": 54 }, { "method_name": "setProfileID", "comment": { "content": " Added to populate transient field for account", - "start_line": 437, - "end_line": 437, + "start_line": 434, + "end_line": 434, "start_column": 9, "end_column": 56, "is_javadoc": false @@ -146021,9 +144256,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 438, + "start_line": 435, "start_column": 9, - "end_line": 438, + "end_line": 435, "end_column": 49 }, { @@ -146042,9 +144277,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 438, + "start_line": 435, "start_column": 30, - "end_line": 438, + "end_line": 435, "end_column": 48 } ], @@ -146061,9 +144296,9 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 434, + "start_line": 431, "start_column": 32, - "end_line": 434, + "end_line": 431, "end_column": 97 }, { @@ -146078,15 +144313,15 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "profile.getAccount()", - "start_line": 435, + "start_line": 432, "start_column": 25, - "end_line": 435, + "end_line": 432, "end_column": 54 } ], "crud_operations": [ { - "line_number": 434, + "line_number": 431, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -146099,7 +144334,7 @@ "is_entrypoint": false }, "getAccountProfileData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getAccountProfileData(String)", "comments": [], "annotations": [ @@ -146116,15 +144351,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 444, - "end_line": 444, + "start_line": 441, + "end_line": 441, "start_column": 57, "end_column": 69 } ], - "code": "{\n return entityManager.find(AccountProfileDataBean.class, userID);\n}", - "start_line": 443, - "end_line": 446, + "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, @@ -146151,7 +144387,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 445, + "line_number": 442, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -146159,16 +144395,16 @@ "joined_tables": null }, "crud_query": null, - "start_line": 445, + "start_line": 442, "start_column": 16, - "end_line": 445, + "end_line": 442, "end_column": 71 } ], "variable_declarations": [], "crud_operations": [ { - "line_number": 445, + "line_number": 442, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -146181,13 +144417,13 @@ "is_entrypoint": false }, "pingTwoPhase(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "pingTwoPhase(String)", "comments": [ { "content": " Get a Quote and send a JMS message in a 2-phase commit", - "start_line": 572, - "end_line": 572, + "start_line": 569, + "end_line": 569, "start_column": 13, "end_column": 69, "is_javadoc": false @@ -146209,27 +144445,26 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 568, - "end_line": 568, + "start_line": 565, + "end_line": 565, "start_column": 39, "end_column": 51 } ], - "code": "{\n QuoteDataBean quoteData = null;\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 double sharesTraded = (Math.random() * 100) + 1;\n BigDecimal oldPrice = quoteData.getPrice();\n BigDecimal openPrice = quoteData.getOpen();\n BigDecimal changeFactor = new BigDecimal(Math.random() * 100);\n BigDecimal newPrice = changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP);\n quoteData.setPrice(newPrice);\n quoteData.setChange(newPrice.subtract(openPrice).doubleValue());\n quoteData.setVolume(quoteData.getVolume() + sharesTraded);\n entityManager.merge(quoteData);\n TextMessage message = queueContext.createTextMessage();\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 return quoteData;\n}", - "start_line": 567, - "end_line": 598, + "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", "javax.jms.JMSContext", "javax.jms.TextMessage", "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.impl.ejb3.TradeSLSBBean.tradeBrokerQueue", "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.queueConnectionFactory" ], @@ -146250,9 +144485,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 571, + "start_line": 568, "start_column": 40, - "end_line": 571, + "end_line": 568, "end_column": 77 }, { @@ -146273,7 +144508,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 573, + "line_number": 570, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -146281,306 +144516,11 @@ "joined_tables": null }, "crud_query": null, - "start_line": 573, + "start_line": 570, "start_column": 25, - "end_line": 573, + "end_line": 570, "end_column": 71 }, - { - "method_name": "random", - "comment": null, - "receiver_expr": "Math", - "receiver_type": "java.lang.Math", - "argument_types": [], - "return_type": "", - "callee_signature": "random()", - "is_public": true, - "is_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": 36, - "end_line": 575, - "end_column": 48 - }, - { - "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()", - "is_public": true, - "is_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": 35, - "end_line": 576, - "end_column": 54 - }, - { - "method_name": "getOpen", - "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, - "is_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": 36, - "end_line": 577, - "end_column": 54 - }, - { - "method_name": "random", - "comment": null, - "receiver_expr": "Math", - "receiver_type": "java.lang.Math", - "argument_types": [], - "return_type": "", - "callee_signature": "random()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 578, - "start_column": 55, - "end_line": 578, - "end_column": 67 - }, - { - "method_name": "setScale", - "comment": null, - "receiver_expr": "changeFactor.multiply(oldPrice)", - "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": 580, - "start_column": 35, - "end_line": 580, - "end_column": 103 - }, - { - "method_name": "multiply", - "comment": null, - "receiver_expr": "changeFactor", - "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": 580, - "start_column": 35, - "end_line": 580, - "end_column": 65 - }, - { - "method_name": "setPrice", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "", - "callee_signature": "setPrice(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": 582, - "start_column": 13, - "end_line": 582, - "end_column": 40 - }, - { - "method_name": "setChange", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setChange(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": 583, - "start_column": 13, - "end_line": 583, - "end_column": 75 - }, - { - "method_name": "doubleValue", - "comment": null, - "receiver_expr": "newPrice.subtract(openPrice)", - "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": 583, - "start_column": 33, - "end_line": 583, - "end_column": 74 - }, - { - "method_name": "subtract", - "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)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 583, - "start_column": 33, - "end_line": 583, - "end_column": 60 - }, - { - "method_name": "setVolume", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "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": 584, - "start_column": 13, - "end_line": 584, - "end_column": 69 - }, - { - "method_name": "getVolume", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "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": 584, - "start_column": 33, - "end_line": 584, - "end_column": 53 - }, - { - "method_name": "merge", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "merge(T)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 585, - "operation_type": "UPDATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 585, - "start_column": 13, - "end_line": 585, - "end_column": 42 - }, { "method_name": "createTextMessage", "comment": null, @@ -146597,9 +144537,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 587, + "start_line": 572, "start_column": 35, - "end_line": 587, + "end_line": 572, "end_column": 66 }, { @@ -146621,9 +144561,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 589, + "start_line": 574, "start_column": 13, - "end_line": 589, + "end_line": 574, "end_column": 56 }, { @@ -146645,9 +144585,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 590, + "start_line": 575, "start_column": 13, - "end_line": 590, + "end_line": 575, "end_column": 78 }, { @@ -146666,9 +144606,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 590, + "start_line": 575, "start_column": 52, - "end_line": 590, + "end_line": 575, "end_column": 77 }, { @@ -146689,9 +144629,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 591, + "start_line": 576, "start_column": 13, - "end_line": 591, + "end_line": 576, "end_column": 152 }, { @@ -146713,9 +144653,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 592, + "start_line": 577, "start_column": 13, - "end_line": 592, + "end_line": 577, "end_column": 73 }, { @@ -146734,9 +144674,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 592, + "start_line": 577, "start_column": 13, - "end_line": 592, + "end_line": 577, "end_column": 41 }, { @@ -146758,32 +144698,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 594, + "start_line": 579, "start_column": 13, - "end_line": 594, - "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": 578, - "start_column": 39, - "end_line": 578, + "end_line": 579, "end_column": 74 }, { @@ -146802,9 +144719,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 591, + "start_line": 576, "start_column": 132, - "end_line": 591, + "end_line": 576, "end_column": 151 } ], @@ -146821,9 +144738,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 569, + "start_line": 566, "start_column": 23, - "end_line": 569, + "end_line": 566, "end_column": 38 }, { @@ -146838,96 +144755,11 @@ "name": "queueContext", "type": "javax.jms.JMSContext", "initializer": "queueConnectionFactory.createContext()", - "start_line": 571, + "start_line": 568, "start_column": 25, - "end_line": 571, + "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": "sharesTraded", - "type": "double", - "initializer": "(Math.random() * 100) + 1", - "start_line": 575, - "start_column": 20, - "end_line": 575, - "end_column": 59 - }, - { - "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": 576, - "start_column": 24, - "end_line": 576, - "end_column": 54 - }, - { - "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": 577, - "start_column": 24, - "end_line": 577, - "end_column": 54 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "changeFactor", - "type": "java.math.BigDecimal", - "initializer": "new BigDecimal(Math.random() * 100)", - "start_line": 578, - "start_column": 24, - "end_line": 578, - "end_column": 74 - }, - { - "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": 580, - "start_column": 24, - "end_line": 580, - "end_column": 103 - }, { "comment": { "content": null, @@ -146940,28 +144772,20 @@ "name": "message", "type": "javax.jms.TextMessage", "initializer": "queueContext.createTextMessage()", - "start_line": 587, + "start_line": 572, "start_column": 25, - "end_line": 587, + "end_line": 572, "end_column": 66 } ], "crud_operations": [ { - "line_number": 573, + "line_number": 570, "operation_type": "READ", "target_table": null, "involved_columns": null, "condition": null, "joined_tables": null - }, - { - "line_number": 585, - "operation_type": "UPDATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null } ], "crud_queries": [], @@ -146969,7 +144793,7 @@ "is_entrypoint": false }, "orderCompleted(String, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "orderCompleted(String, Integer)", "comments": [], "annotations": [ @@ -146986,8 +144810,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 297, - "end_line": 297, + "start_line": 294, + "end_line": 294, "start_column": 32, "end_column": 44 }, @@ -146996,15 +144820,16 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 297, - "end_line": 297, + "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": 296, - "end_line": 299, + "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, @@ -147029,9 +144854,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 298, + "start_line": 295, "start_column": 15, - "end_line": 298, + "end_line": 295, "end_column": 100 } ], @@ -147042,7 +144867,7 @@ "is_entrypoint": false }, "logout(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "logout(String)", "comments": [], "annotations": [ @@ -147059,15 +144884,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 478, - "end_line": 478, + "start_line": 475, + "end_line": 475, "start_column": 24, "end_column": 36 } ], - "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n account.logout();\n Log.trace(\"TradeSLSBBean:logout(\" + userID + \") success\");\n}", - "start_line": 477, - "end_line": 484, + "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, @@ -147097,7 +144923,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 479, + "line_number": 476, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -147105,9 +144931,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 479, + "start_line": 476, "start_column": 42, - "end_line": 479, + "end_line": 476, "end_column": 97 }, { @@ -147126,9 +144952,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 480, + "start_line": 477, "start_column": 35, - "end_line": 480, + "end_line": 477, "end_column": 54 }, { @@ -147147,9 +144973,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 481, + "start_line": 478, "start_column": 9, - "end_line": 481, + "end_line": 478, "end_column": 24 }, { @@ -147170,9 +144996,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 483, + "start_line": 480, "start_column": 9, - "end_line": 483, + "end_line": 480, "end_column": 65 } ], @@ -147189,9 +145015,9 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 479, + "start_line": 476, "start_column": 32, - "end_line": 479, + "end_line": 476, "end_column": 97 }, { @@ -147206,15 +145032,15 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "profile.getAccount()", - "start_line": 480, + "start_line": 477, "start_column": 25, - "end_line": 480, + "end_line": 477, "end_column": 54 } ], "crud_operations": [ { - "line_number": 479, + "line_number": 476, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -147227,7 +145053,7 @@ "is_entrypoint": false }, "getImpl()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getImpl()", "comments": [], "annotations": [ @@ -147239,9 +145065,10 @@ "thrown_exceptions": [], "declaration": "public int getImpl()", "parameters": [], - "code": "{\n return TradeConfig.EJB3;\n}", - "start_line": 609, - "end_line": 612, + "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, @@ -147257,53 +145084,53 @@ "is_entrypoint": false }, "buy(String, String, double, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "buy(String, String, double, int)", "comments": [ { "content": " this buy order", - "start_line": 122, - "end_line": 122, + "start_line": 119, + "end_line": 119, "start_column": 13, "end_column": 29, "is_javadoc": false }, { "content": " The holding will be created by", - "start_line": 121, - "end_line": 121, + "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": 126, - "end_line": 126, + "start_line": 123, + "end_line": 123, "start_column": 13, "end_column": 71, "is_javadoc": false }, { "content": " On exception - cancel the order ", - "start_line": 143, - "end_line": 143, + "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": 144, - "end_line": 144, + "start_line": 141, + "end_line": 141, "start_column": 13, "end_column": 54, "is_javadoc": false }, { "content": " if (order != null) order.cancel();", - "start_line": 145, - "end_line": 145, + "start_line": 142, + "end_line": 142, "start_column": 13, "end_column": 49, "is_javadoc": false @@ -147324,8 +145151,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 113, - "end_line": 113, + "start_line": 110, + "end_line": 110, "start_column": 30, "end_column": 42 }, @@ -147334,8 +145161,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 113, - "end_line": 113, + "start_line": 110, + "end_line": 110, "start_column": 45, "end_column": 57 }, @@ -147344,8 +145171,8 @@ "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 113, - "end_line": 113, + "start_line": 110, + "end_line": 110, "start_column": 60, "end_column": 74 }, @@ -147354,15 +145181,16 @@ "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 113, - "end_line": 113, + "start_line": 110, + "end_line": 110, "start_column": 77, "end_column": 99 } ], - "code": "{\n OrderDataBean order = null;\n BigDecimal total;\n try {\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n QuoteDataBean quote = entityManager.find(QuoteDataBean.class, symbol);\n // The holding will be created by\n HoldingDataBean holding = null;\n // this buy order\n order = createOrder(account, quote, holding, \"buy\", quantity);\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 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": 111, - "end_line": 149, + "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, @@ -147400,7 +145228,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 118, + "line_number": 115, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -147408,9 +145236,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 118, + "start_line": 115, "start_column": 46, - "end_line": 118, + "end_line": 115, "end_column": 101 }, { @@ -147429,9 +145257,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, + "start_line": 116, "start_column": 39, - "end_line": 119, + "end_line": 116, "end_column": 58 }, { @@ -147452,7 +145280,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 120, + "line_number": 117, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -147460,9 +145288,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 120, + "start_line": 117, "start_column": 35, - "end_line": 120, + "end_line": 117, "end_column": 81 }, { @@ -147487,9 +145315,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, + "start_line": 121, "start_column": 21, - "end_line": 124, + "end_line": 121, "end_column": 73 }, { @@ -147508,9 +145336,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 127, + "start_line": 124, "start_column": 32, - "end_line": 127, + "end_line": 124, "end_column": 47 }, { @@ -147529,9 +145357,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, + "start_line": 125, "start_column": 35, - "end_line": 128, + "end_line": 125, "end_column": 53 }, { @@ -147550,9 +145378,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 129, + "start_line": 126, "start_column": 34, - "end_line": 129, + "end_line": 126, "end_column": 53 }, { @@ -147573,9 +145401,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, + "start_line": 127, "start_column": 21, - "end_line": 130, + "end_line": 127, "end_column": 76 }, { @@ -147596,9 +145424,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, + "start_line": 127, "start_column": 22, - "end_line": 130, + "end_line": 127, "end_column": 61 }, { @@ -147619,9 +145447,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, + "start_line": 128, "start_column": 13, - "end_line": 131, + "end_line": 128, "end_column": 55 }, { @@ -147642,9 +145470,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, + "start_line": 128, "start_column": 32, - "end_line": 131, + "end_line": 128, "end_column": 54 }, { @@ -147663,9 +145491,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, + "start_line": 129, "start_column": 35, - "end_line": 132, + "end_line": 129, "end_column": 52 }, { @@ -147687,9 +145515,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, + "start_line": 132, "start_column": 15, - "end_line": 135, + "end_line": 132, "end_column": 43 }, { @@ -147711,9 +145539,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 137, + "start_line": 134, "start_column": 15, - "end_line": 137, + "end_line": 134, "end_column": 48 }, { @@ -147735,9 +145563,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 139, + "start_line": 136, "start_column": 15, - "end_line": 139, + "end_line": 136, "end_column": 39 }, { @@ -147759,9 +145587,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 139, "start_column": 13, - "end_line": 142, + "end_line": 139, "end_column": 104 }, { @@ -147782,17 +145610,17 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 130, + "start_line": 127, "start_column": 22, - "end_line": 130, + "end_line": 127, "end_column": 45 }, { "method_name": "", "comment": { "content": " if (order != null) order.cancel();", - "start_line": 145, - "end_line": 145, + "start_line": 142, + "end_line": 142, "start_column": 13, "end_column": 49, "is_javadoc": false @@ -147812,9 +145640,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 146, + "start_line": 143, "start_column": 19, - "end_line": 146, + "end_line": 143, "end_column": 37 } ], @@ -147831,9 +145659,9 @@ "name": "order", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 114, + "start_line": 111, "start_column": 23, - "end_line": 114, + "end_line": 111, "end_column": 34 }, { @@ -147848,9 +145676,9 @@ "name": "total", "type": "java.math.BigDecimal", "initializer": "", - "start_line": 115, + "start_line": 112, "start_column": 20, - "end_line": 115, + "end_line": 112, "end_column": 24 }, { @@ -147865,9 +145693,9 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 118, + "start_line": 115, "start_column": 36, - "end_line": 118, + "end_line": 115, "end_column": 101 }, { @@ -147882,9 +145710,9 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "profile.getAccount()", - "start_line": 119, + "start_line": 116, "start_column": 29, - "end_line": 119, + "end_line": 116, "end_column": 58 }, { @@ -147899,9 +145727,9 @@ "name": "quote", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "entityManager.find(QuoteDataBean.class, symbol)", - "start_line": 120, + "start_line": 117, "start_column": 27, - "end_line": 120, + "end_line": 117, "end_column": 81 }, { @@ -147916,9 +145744,9 @@ "name": "holding", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 121, + "start_line": 118, "start_column": 29, - "end_line": 121, + "end_line": 118, "end_column": 42 }, { @@ -147933,9 +145761,9 @@ "name": "price", "type": "java.math.BigDecimal", "initializer": "quote.getPrice()", - "start_line": 127, + "start_line": 124, "start_column": 24, - "end_line": 127, + "end_line": 124, "end_column": 47 }, { @@ -147950,9 +145778,9 @@ "name": "orderFee", "type": "java.math.BigDecimal", "initializer": "order.getOrderFee()", - "start_line": 128, + "start_line": 125, "start_column": 24, - "end_line": 128, + "end_line": 125, "end_column": 53 }, { @@ -147967,9 +145795,9 @@ "name": "balance", "type": "java.math.BigDecimal", "initializer": "account.getBalance()", - "start_line": 129, + "start_line": 126, "start_column": 24, - "end_line": 129, + "end_line": 126, "end_column": 53 }, { @@ -147984,15 +145812,15 @@ "name": "orderID", "type": "java.lang.Integer", "initializer": "order.getOrderID()", - "start_line": 132, + "start_line": 129, "start_column": 27, - "end_line": 132, + "end_line": 129, "end_column": 52 } ], "crud_operations": [ { - "line_number": 118, + "line_number": 115, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -148000,7 +145828,7 @@ "joined_tables": null }, { - "line_number": 120, + "line_number": 117, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -148013,53 +145841,53 @@ "is_entrypoint": false }, "sell(String, Integer, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "sell(String, Integer, int)", "comments": [ { "content": " UPDATE the holding purchase data to signify this holding is", - "start_line": 177, - "end_line": 177, + "start_line": 174, + "end_line": 174, "start_column": 13, "end_column": 74, "is_javadoc": false }, { "content": " \"inflight\" to be sold", - "start_line": 178, - "end_line": 178, + "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": 179, - "end_line": 179, + "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": 182, - "end_line": 182, + "start_line": 179, + "end_line": 179, "start_column": 13, "end_column": 71, "is_javadoc": false }, { "content": " if (order != null) order.cancel();", - "start_line": 200, - "end_line": 200, + "start_line": 197, + "end_line": 197, "start_column": 13, "end_column": 49, "is_javadoc": false }, { "content": " UPDATE - handle all exceptions like:", - "start_line": 201, - "end_line": 201, + "start_line": 198, + "end_line": 198, "start_column": 13, "end_column": 51, "is_javadoc": false @@ -148082,8 +145910,8 @@ "modifiers": [ "final" ], - "start_line": 153, - "end_line": 153, + "start_line": 150, + "end_line": 150, "start_column": 31, "end_column": 49 }, @@ -148094,8 +145922,8 @@ "modifiers": [ "final" ], - "start_line": 153, - "end_line": 153, + "start_line": 150, + "end_line": 150, "start_column": 52, "end_column": 74 }, @@ -148104,15 +145932,16 @@ "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 153, - "end_line": 153, + "start_line": 150, + "end_line": 150, "start_column": 77, "end_column": 99 } ], - "code": "{\n OrderDataBean order = null;\n BigDecimal total;\n try {\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n HoldingDataBean holding = entityManager.find(HoldingDataBean.class, holdingID);\n if (holding == null) {\n Log.debug(\"TradeSLSBBean:sell User \" + userID + \" attempted to sell holding \" + holdingID + \" which has already been sold\");\n OrderDataBean orderData = new OrderDataBean();\n orderData.setOrderStatus(\"cancelled\");\n entityManager.persist(orderData);\n return orderData;\n }\n QuoteDataBean quote = holding.getQuote();\n double quantity = holding.getQuantity();\n order = createOrder(account, quote, holding, \"sell\", quantity);\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 // 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 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: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": 151, - "end_line": 205, + "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, @@ -148150,7 +145979,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 157, + "line_number": 154, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -148158,9 +145987,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 157, + "start_line": 154, "start_column": 46, - "end_line": 157, + "end_line": 154, "end_column": 101 }, { @@ -148179,9 +146008,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 158, + "start_line": 155, "start_column": 39, - "end_line": 158, + "end_line": 155, "end_column": 58 }, { @@ -148202,7 +146031,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 160, + "line_number": 157, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -148210,9 +146039,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 160, + "start_line": 157, "start_column": 39, - "end_line": 160, + "end_line": 157, "end_column": 90 }, { @@ -148233,9 +146062,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 163, + "start_line": 160, "start_column": 17, - "end_line": 163, + "end_line": 160, "end_column": 139 }, { @@ -148256,9 +146085,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 166, + "start_line": 163, "start_column": 17, - "end_line": 166, + "end_line": 163, "end_column": 53 }, { @@ -148278,7 +146107,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 167, + "line_number": 164, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -148286,9 +146115,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 167, + "start_line": 164, "start_column": 17, - "end_line": 167, + "end_line": 164, "end_column": 48 }, { @@ -148307,9 +146136,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 172, + "start_line": 169, "start_column": 35, - "end_line": 172, + "end_line": 169, "end_column": 52 }, { @@ -148328,9 +146157,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 173, + "start_line": 170, "start_column": 31, - "end_line": 173, + "end_line": 170, "end_column": 51 }, { @@ -148355,17 +146184,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 175, + "start_line": 172, "start_column": 21, - "end_line": 175, + "end_line": 172, "end_column": 74 }, { "method_name": "setPurchaseDate", "comment": { "content": " -- could add a new holdingStatus attribute to holdingEJB", - "start_line": 179, - "end_line": 179, + "start_line": 176, + "end_line": 176, "start_column": 13, "end_column": 71, "is_javadoc": false @@ -148385,9 +146214,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 180, + "start_line": 177, "start_column": 13, - "end_line": 180, + "end_line": 177, "end_column": 62 }, { @@ -148406,9 +146235,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 183, + "start_line": 180, "start_column": 32, - "end_line": 183, + "end_line": 180, "end_column": 47 }, { @@ -148427,9 +146256,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 184, + "start_line": 181, "start_column": 35, - "end_line": 184, + "end_line": 181, "end_column": 53 }, { @@ -148448,9 +146277,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 185, + "start_line": 182, "start_column": 34, - "end_line": 185, + "end_line": 182, "end_column": 53 }, { @@ -148471,9 +146300,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 186, + "start_line": 183, "start_column": 21, - "end_line": 186, + "end_line": 183, "end_column": 81 }, { @@ -148494,9 +146323,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 186, + "start_line": 183, "start_column": 22, - "end_line": 186, + "end_line": 183, "end_column": 61 }, { @@ -148517,9 +146346,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 187, + "start_line": 184, "start_column": 13, - "end_line": 187, + "end_line": 184, "end_column": 50 }, { @@ -148540,9 +146369,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 187, + "start_line": 184, "start_column": 32, - "end_line": 187, + "end_line": 184, "end_column": 49 }, { @@ -148561,9 +146390,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 188, + "start_line": 185, "start_column": 35, - "end_line": 188, + "end_line": 185, "end_column": 52 }, { @@ -148585,9 +146414,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 191, + "start_line": 188, "start_column": 17, - "end_line": 191, + "end_line": 188, "end_column": 45 }, { @@ -148609,9 +146438,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 193, + "start_line": 190, "start_column": 17, - "end_line": 193, + "end_line": 190, "end_column": 50 }, { @@ -148633,9 +146462,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 195, + "start_line": 192, "start_column": 17, - "end_line": 195, + "end_line": 192, "end_column": 41 }, { @@ -148657,9 +146486,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 199, + "start_line": 196, "start_column": 13, - "end_line": 199, + "end_line": 196, "end_column": 91 }, { @@ -148678,9 +146507,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 165, + "start_line": 162, "start_column": 43, - "end_line": 165, + "end_line": 162, "end_column": 61 }, { @@ -148701,9 +146530,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 180, + "start_line": 177, "start_column": 37, - "end_line": 180, + "end_line": 177, "end_column": 61 }, { @@ -148724,17 +146553,17 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 186, + "start_line": 183, "start_column": 22, - "end_line": 186, + "end_line": 183, "end_column": 45 }, { "method_name": "", "comment": { "content": " UPDATE - handle all exceptions like:", - "start_line": 201, - "end_line": 201, + "start_line": 198, + "end_line": 198, "start_column": 13, "end_column": 51, "is_javadoc": false @@ -148755,9 +146584,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 202, + "start_line": 199, "start_column": 19, - "end_line": 202, + "end_line": 199, "end_column": 93 } ], @@ -148774,9 +146603,9 @@ "name": "order", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 154, + "start_line": 151, "start_column": 23, - "end_line": 154, + "end_line": 151, "end_column": 32 }, { @@ -148791,9 +146620,9 @@ "name": "total", "type": "java.math.BigDecimal", "initializer": "", - "start_line": 155, + "start_line": 152, "start_column": 20, - "end_line": 155, + "end_line": 152, "end_column": 24 }, { @@ -148808,9 +146637,9 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 157, + "start_line": 154, "start_column": 36, - "end_line": 157, + "end_line": 154, "end_column": 101 }, { @@ -148825,9 +146654,9 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "profile.getAccount()", - "start_line": 158, + "start_line": 155, "start_column": 29, - "end_line": 158, + "end_line": 155, "end_column": 58 }, { @@ -148842,9 +146671,9 @@ "name": "holding", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "entityManager.find(HoldingDataBean.class, holdingID)", - "start_line": 160, + "start_line": 157, "start_column": 29, - "end_line": 160, + "end_line": 157, "end_column": 90 }, { @@ -148859,9 +146688,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "new OrderDataBean()", - "start_line": 165, + "start_line": 162, "start_column": 31, - "end_line": 165, + "end_line": 162, "end_column": 61 }, { @@ -148876,9 +146705,9 @@ "name": "quote", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "holding.getQuote()", - "start_line": 172, + "start_line": 169, "start_column": 27, - "end_line": 172, + "end_line": 169, "end_column": 52 }, { @@ -148893,9 +146722,9 @@ "name": "quantity", "type": "double", "initializer": "holding.getQuantity()", - "start_line": 173, + "start_line": 170, "start_column": 20, - "end_line": 173, + "end_line": 170, "end_column": 51 }, { @@ -148910,9 +146739,9 @@ "name": "price", "type": "java.math.BigDecimal", "initializer": "quote.getPrice()", - "start_line": 183, + "start_line": 180, "start_column": 24, - "end_line": 183, + "end_line": 180, "end_column": 47 }, { @@ -148927,9 +146756,9 @@ "name": "orderFee", "type": "java.math.BigDecimal", "initializer": "order.getOrderFee()", - "start_line": 184, + "start_line": 181, "start_column": 24, - "end_line": 184, + "end_line": 181, "end_column": 53 }, { @@ -148944,9 +146773,9 @@ "name": "balance", "type": "java.math.BigDecimal", "initializer": "account.getBalance()", - "start_line": 185, + "start_line": 182, "start_column": 24, - "end_line": 185, + "end_line": 182, "end_column": 53 }, { @@ -148961,15 +146790,15 @@ "name": "orderID", "type": "java.lang.Integer", "initializer": "order.getOrderID()", - "start_line": 188, + "start_line": 185, "start_column": 27, - "end_line": 188, + "end_line": 185, "end_column": 52 } ], "crud_operations": [ { - "line_number": 157, + "line_number": 154, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -148977,7 +146806,7 @@ "joined_tables": null }, { - "line_number": 160, + "line_number": 157, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -148985,7 +146814,7 @@ "joined_tables": null }, { - "line_number": 167, + "line_number": 164, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -148998,7 +146827,7 @@ "is_entrypoint": false }, "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)", "comments": [], "annotations": [], @@ -149015,8 +146844,8 @@ "name": "account", "annotations": [], "modifiers": [], - "start_line": 554, - "end_line": 554, + "start_line": 551, + "end_line": 551, "start_column": 43, "end_column": 65 }, @@ -149025,8 +146854,8 @@ "name": "quote", "annotations": [], "modifiers": [], - "start_line": 554, - "end_line": 554, + "start_line": 551, + "end_line": 551, "start_column": 68, "end_column": 86 }, @@ -149035,8 +146864,8 @@ "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 554, - "end_line": 554, + "start_line": 551, + "end_line": 551, "start_column": 89, "end_column": 103 }, @@ -149045,15 +146874,16 @@ "name": "purchasePrice", "annotations": [], "modifiers": [], - "start_line": 554, - "end_line": 554, + "start_line": 551, + "end_line": 551, "start_column": 106, "end_column": 129 } ], - "code": "{\n HoldingDataBean newHolding = new HoldingDataBean(quantity, purchasePrice, new Timestamp(System.currentTimeMillis()), account, quote);\n entityManager.persist(newHolding);\n return newHolding;\n}", - "start_line": 554, - "end_line": 558, + "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, @@ -149080,9 +146910,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 555, + "start_line": 552, "start_column": 97, - "end_line": 555, + "end_line": 552, "end_column": 122 }, { @@ -149102,7 +146932,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 556, + "line_number": 553, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -149110,9 +146940,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 556, + "start_line": 553, "start_column": 9, - "end_line": 556, + "end_line": 553, "end_column": 41 }, { @@ -149137,9 +146967,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 555, + "start_line": 552, "start_column": 38, - "end_line": 555, + "end_line": 552, "end_column": 140 }, { @@ -149160,9 +146990,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 555, + "start_line": 552, "start_column": 83, - "end_line": 555, + "end_line": 552, "end_column": 123 } ], @@ -149179,15 +147009,15 @@ "name": "newHolding", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "new HoldingDataBean(quantity, purchasePrice, new Timestamp(System.currentTimeMillis()), account, quote)", - "start_line": 555, + "start_line": 552, "start_column": 25, - "end_line": 555, + "end_line": 552, "end_column": 140 } ], "crud_operations": [ { - "line_number": 556, + "line_number": 553, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -149200,7 +147030,7 @@ "is_entrypoint": false }, "getHolding(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getHolding(Integer)", "comments": [], "annotations": [ @@ -149217,15 +147047,16 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 428, - "end_line": 428, + "start_line": 425, + "end_line": 425, "start_column": 39, "end_column": 55 } ], - "code": "{\n return entityManager.find(HoldingDataBean.class, holdingID);\n}", - "start_line": 427, - "end_line": 430, + "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, @@ -149252,7 +147083,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 429, + "line_number": 426, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -149260,16 +147091,16 @@ "joined_tables": null }, "crud_query": null, - "start_line": 429, + "start_line": 426, "start_column": 14, - "end_line": 429, + "end_line": 426, "end_column": 65 } ], "variable_declarations": [], "crud_operations": [ { - "line_number": 429, + "line_number": 426, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -149282,7 +147113,7 @@ "is_entrypoint": false }, "completeOrderAsync(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "completeOrderAsync(Integer, boolean)", "comments": [], "annotations": [ @@ -149301,8 +147132,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 285, - "end_line": 285, + "start_line": 282, + "end_line": 282, "start_column": 53, "end_column": 67 }, @@ -149311,15 +147142,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 285, - "end_line": 285, + "start_line": 282, + "end_line": 282, "start_column": 70, "end_column": 85 } ], - "code": "{\n asyncEJBOrderSubmitter.submitOrder(orderID, twoPhase);\n return null;\n}", - "start_line": 284, - "end_line": 288, + "code": "{\n asyncEJBOrderSubmitter.submitOrder(orderID, twoPhase);\n return null;\n }", + "start_line": 281, + "end_line": 285, + "code_start_line": 282, "return_type": "java.util.concurrent.Future", "is_implicit": false, "is_constructor": false, @@ -149347,9 +147179,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 286, + "start_line": 283, "start_column": 7, - "end_line": 286, + "end_line": 283, "end_column": 59 } ], @@ -149360,37 +147192,37 @@ "is_entrypoint": false }, "getClosedOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.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/ejb3/TradeSLSBBean.java", "signature": "getClosedOrders(String)", "comments": [ { "content": " I want to do a CriteriaUpdate here, but there are issues with JBoss/Hibernate ", - "start_line": 312, - "end_line": 312, + "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": 329, - "end_line": 329, + "start_line": 326, + "end_line": 326, "start_column": 13, "end_column": 66, "is_javadoc": false }, { "content": " TODO: Investigate ConncurrentModification Exceptions", - "start_line": 332, - "end_line": 332, + "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": 334, - "end_line": 334, + "start_line": 331, + "end_line": 331, "start_column": 21, "end_column": 74, "is_javadoc": false @@ -149410,15 +147242,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 309, - "end_line": 309, + "start_line": 306, + "end_line": 306, "start_column": 54, "end_column": 66 } ], - "code": "{\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(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\")));\n TypedQuery q = entityManager.createQuery(criteriaQuery);\n q.setParameter(\"p_status\", \"closed\");\n q.setParameter(\"p_userid\", userID);\n List results = q.getResultList();\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 } else {\n order.setOrderStatus(\"completed\");\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": 308, - "end_line": 347, + "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, @@ -149451,9 +147284,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 313, + "start_line": 310, "start_column": 47, - "end_line": 313, + "end_line": 310, "end_column": 80 }, { @@ -149474,9 +147307,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 314, + "start_line": 311, "start_column": 58, - "end_line": 314, + "end_line": 311, "end_column": 105 }, { @@ -149497,9 +147330,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 315, + "start_line": 312, "start_column": 42, - "end_line": 315, + "end_line": 312, "end_column": 80 }, { @@ -149520,9 +147353,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 316, + "start_line": 313, "start_column": 13, - "end_line": 316, + "end_line": 313, "end_column": 40 }, { @@ -149544,9 +147377,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, + "start_line": 314, "start_column": 13, - "end_line": 321, + "end_line": 318, "end_column": 81 }, { @@ -149568,9 +147401,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, + "start_line": 315, "start_column": 21, - "end_line": 319, + "end_line": 316, "end_column": 80 }, { @@ -149591,9 +147424,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, + "start_line": 315, "start_column": 43, - "end_line": 318, + "end_line": 315, "end_column": 67 }, { @@ -149615,9 +147448,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 319, + "start_line": 316, "start_column": 29, - "end_line": 319, + "end_line": 316, "end_column": 79 }, { @@ -149639,9 +147472,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, + "start_line": 317, "start_column": 21, - "end_line": 321, + "end_line": 318, "end_column": 80 }, { @@ -149662,9 +147495,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, + "start_line": 317, "start_column": 43, - "end_line": 320, + "end_line": 317, "end_column": 92 }, { @@ -149685,9 +147518,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, + "start_line": 317, "start_column": 43, - "end_line": 320, + "end_line": 317, "end_column": 78 }, { @@ -149708,9 +147541,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, + "start_line": 317, "start_column": 43, - "end_line": 320, + "end_line": 317, "end_column": 63 }, { @@ -149732,9 +147565,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 321, + "start_line": 318, "start_column": 29, - "end_line": 321, + "end_line": 318, "end_column": 79 }, { @@ -149755,9 +147588,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 323, + "start_line": 320, "start_column": 43, - "end_line": 323, + "end_line": 320, "end_column": 82 }, { @@ -149779,9 +147612,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 324, + "start_line": 321, "start_column": 13, - "end_line": 324, + "end_line": 321, "end_column": 48 }, { @@ -149803,9 +147636,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 325, + "start_line": 322, "start_column": 13, - "end_line": 325, + "end_line": 322, "end_column": 46 }, { @@ -149824,9 +147657,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 326, + "start_line": 323, "start_column": 43, - "end_line": 326, + "end_line": 323, "end_column": 59 }, { @@ -149845,17 +147678,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 328, + "start_line": 325, "start_column": 43, - "end_line": 328, + "end_line": 325, "end_column": 60 }, { "method_name": "hasNext", "comment": { "content": " Spin through the orders to remove or mark completed", - "start_line": 329, - "end_line": 329, + "start_line": 326, + "end_line": 326, "start_column": 13, "end_column": 66, "is_javadoc": false @@ -149873,9 +147706,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 330, + "start_line": 327, "start_column": 20, - "end_line": 330, + "end_line": 327, "end_column": 32 }, { @@ -149894,17 +147727,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 331, + "start_line": 328, "start_column": 39, - "end_line": 331, + "end_line": 328, "end_column": 48 }, { "method_name": "getLongRun", "comment": { "content": " TODO: Investigate ConncurrentModification Exceptions", - "start_line": 332, - "end_line": 332, + "start_line": 329, + "end_line": 329, "start_column": 17, "end_column": 71, "is_javadoc": false @@ -149922,17 +147755,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 333, + "start_line": 330, "start_column": 21, - "end_line": 333, + "end_line": 330, "end_column": 44 }, { "method_name": "remove", "comment": { "content": "Added this for Longruns (to prevent orderejb growth)", - "start_line": 334, - "end_line": 334, + "start_line": 331, + "end_line": 331, "start_column": 21, "end_column": 74, "is_javadoc": false @@ -149951,7 +147784,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 335, + "line_number": 332, "operation_type": "DELETE", "target_table": null, "involved_columns": null, @@ -149959,9 +147792,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 335, + "start_line": 332, "start_column": 21, - "end_line": 335, + "end_line": 332, "end_column": 47 }, { @@ -149982,9 +147815,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 338, + "start_line": 335, "start_column": 21, - "end_line": 338, + "end_line": 335, "end_column": 53 }, { @@ -150006,9 +147839,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 344, + "start_line": 341, "start_column": 13, - "end_line": 344, + "end_line": 341, "end_column": 57 }, { @@ -150030,9 +147863,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 345, + "start_line": 342, "start_column": 19, - "end_line": 345, + "end_line": 342, "end_column": 78 } ], @@ -150049,9 +147882,9 @@ "name": "criteriaBuilder", "type": "javax.persistence.criteria.CriteriaBuilder", "initializer": "entityManager.getCriteriaBuilder()", - "start_line": 313, + "start_line": 310, "start_column": 29, - "end_line": 313, + "end_line": 310, "end_column": 80 }, { @@ -150066,9 +147899,9 @@ "name": "criteriaQuery", "type": "javax.persistence.criteria.CriteriaQuery", "initializer": "criteriaBuilder.createQuery(OrderDataBean.class)", - "start_line": 314, + "start_line": 311, "start_column": 42, - "end_line": 314, + "end_line": 311, "end_column": 105 }, { @@ -150083,9 +147916,9 @@ "name": "orders", "type": "javax.persistence.criteria.Root", "initializer": "criteriaQuery.from(OrderDataBean.class)", - "start_line": 315, + "start_line": 312, "start_column": 33, - "end_line": 315, + "end_line": 312, "end_column": 80 }, { @@ -150100,9 +147933,9 @@ "name": "q", "type": "javax.persistence.TypedQuery", "initializer": "entityManager.createQuery(criteriaQuery)", - "start_line": 323, + "start_line": 320, "start_column": 39, - "end_line": 323, + "end_line": 320, "end_column": 82 }, { @@ -150117,9 +147950,9 @@ "name": "results", "type": "java.util.List", "initializer": "q.getResultList()", - "start_line": 326, + "start_line": 323, "start_column": 33, - "end_line": 326, + "end_line": 323, "end_column": 59 }, { @@ -150134,9 +147967,9 @@ "name": "itr", "type": "java.util.Iterator", "initializer": "results.iterator()", - "start_line": 328, + "start_line": 325, "start_column": 37, - "end_line": 328, + "end_line": 325, "end_column": 60 }, { @@ -150151,15 +147984,15 @@ "name": "order", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "itr.next()", - "start_line": 331, + "start_line": 328, "start_column": 31, - "end_line": 331, + "end_line": 328, "end_column": 48 } ], "crud_operations": [ { - "line_number": 335, + "line_number": 332, "operation_type": "DELETE", "target_table": null, "involved_columns": null, @@ -150175,16 +148008,16 @@ "field_declarations": [ { "comment": { - "content": " For Wildfly - add java:/ to these resource names.", - "start_line": 74, - "end_line": 74, - "start_column": 5, - "end_column": 56, + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, "is_javadoc": false }, "name": null, "type": "javax.jms.QueueConnectionFactory", - "start_line": 75, + "start_line": 76, "end_line": 77, "variables": [ "queueConnectionFactory" @@ -150208,7 +148041,7 @@ "name": null, "type": "javax.jms.TopicConnectionFactory", "start_line": 79, - "end_line": 81, + "end_line": 80, "variables": [ "topicConnectionFactory" ], @@ -150230,8 +148063,8 @@ }, "name": null, "type": "javax.jms.Topic", - "start_line": 83, - "end_line": 85, + "start_line": 82, + "end_line": 83, "variables": [ "tradeStreamerTopic" ], @@ -150253,8 +148086,8 @@ }, "name": null, "type": "javax.jms.Queue", - "start_line": 87, - "end_line": 89, + "start_line": 85, + "end_line": 86, "variables": [ "tradeBrokerQueue" ], @@ -150276,8 +148109,8 @@ }, "name": null, "type": "javax.persistence.EntityManager", - "start_line": 91, - "end_line": 92, + "start_line": 88, + "end_line": 89, "variables": [ "entityManager" ], @@ -150299,8 +148132,8 @@ }, "name": null, "type": "javax.ejb.SessionContext", - "start_line": 94, - "end_line": 95, + "start_line": 91, + "end_line": 92, "variables": [ "context" ], @@ -150322,8 +148155,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", - "start_line": 97, - "end_line": 98, + "start_line": 94, + "end_line": 95, "variables": [ "marketSummarySingleton" ], @@ -150343,8 +148176,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrderSubmitter", - "start_line": 100, - "end_line": 101, + "start_line": 97, + "end_line": 98, "variables": [ "asyncEJBOrderSubmitter" ], @@ -150364,8 +148197,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "start_line": 103, - "end_line": 104, + "start_line": 100, + "end_line": 101, "variables": [ "recentQuotePriceChangeList" ], @@ -150383,8 +148216,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -150444,7 +148277,7 @@ "nested_type_declarations": [], "callable_declarations": { "produceSyncEvent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.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/cdi/CDIEventProducer.java", "signature": "produceSyncEvent()", "comments": [], "annotations": [], @@ -150454,9 +148287,10 @@ "thrown_exceptions": [], "declaration": "public void produceSyncEvent()", "parameters": [], - "code": "{\n hitCountEvent.fire(\"hitCount++\");\n}", + "code": "{\n hitCountEvent.fire(\"hitCount++\");\n }", "start_line": 39, "end_line": 41, + "code_start_line": 39, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -150496,7 +148330,7 @@ "is_entrypoint": false }, "produceAsyncEvent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.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/cdi/CDIEventProducer.java", "signature": "produceAsyncEvent()", "comments": [], "annotations": [], @@ -150506,9 +148340,10 @@ "thrown_exceptions": [], "declaration": "public void produceAsyncEvent()", "parameters": [], - "code": "{\n hitCountEventAsync.fireAsync(\"hitCount++\", NotificationOptions.builder().setExecutor(mes).build());\n}", + "code": "{\n hitCountEventAsync.fireAsync(\"hitCount++\", NotificationOptions.builder().setExecutor(mes).build());\n }", "start_line": 43, "end_line": 45, + "code_start_line": 43, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -150692,8 +148527,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -150999,7 +148834,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "signature": "init(ServletConfig)", "comments": [ { @@ -151033,9 +148868,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n count = 0;\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -151119,7 +148955,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -151164,9 +149000,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 56, "end_line": 59, + "code_start_line": 57, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -151205,7 +149042,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -151217,9 +149054,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"HTTP Session Key: Tests management of a read only unique id\";\n}", + "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, @@ -151233,7 +149071,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.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/PingSession1.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -151350,9 +149188,10 @@ "end_column": 78 } ], - "code": "{\n HttpSession session = null;\n try {\n try {\n // get the users session, if the user does not have a session\n // create one.\n session = request.getSession(true);\n } catch (Exception e) {\n Log.error(e, \"PingSession1.doGet(...): error getting session\");\n // rethrow the exception for handling in one place.\n throw e;\n }\n // Get the session data value\n Integer ival = (Integer) session.getAttribute(\"sessiontest.counter\");\n // if their is not a counter create one.\n if (ival == null) {\n ival = new Integer(count++);\n session.setAttribute(\"sessiontest.counter\", ival);\n }\n String SessionID = \"SessionID:\" + ival.toString();\n // Output the page\n response.setContentType(\"text/html\");\n response.setHeader(\"SessionKeyTest-SessionID\", SessionID);\n PrintWriter out = response.getWriter();\n out.println(\"HTTP Session Key Test

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

    \");\n hitCount++;\n out.println(\"Hit Count: \" + hitCount + \"
    Your HTTP Session key is \" + SessionID + \"
    \");\n } catch (Exception e) {\n // log the excecption\n Log.error(e, \"PingSession1.doGet(..l.): error.\");\n // set the server responce to 500 and forward to the web app defined\n // error page\n response.sendError(500, \"PingSession1.doGet(...): error. \" + e.toString());\n }\n}", + "code": "{\n HttpSession session = null;\n try {\n try {\n // get the users session, if the user does not have a session\n // create one.\n session = request.getSession(true);\n } catch (Exception e) {\n Log.error(e, \"PingSession1.doGet(...): error getting session\");\n // rethrow the exception for handling in one place.\n throw e;\n }\n\n // Get the session data value\n Integer ival = (Integer) session.getAttribute(\"sessiontest.counter\");\n // if their is not a counter create one.\n if (ival == null) {\n ival = new Integer(count++);\n session.setAttribute(\"sessiontest.counter\", ival);\n }\n String SessionID = \"SessionID:\" + ival.toString();\n\n // Output the page\n response.setContentType(\"text/html\");\n response.setHeader(\"SessionKeyTest-SessionID\", SessionID);\n\n PrintWriter out = response.getWriter();\n out.println(\"HTTP Session Key Test

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

    \");\n hitCount++;\n out.println(\"Hit Count: \" + hitCount + \"
    Your HTTP Session key is \" + SessionID + \"
    \");\n } catch (Exception e) {\n // log the excecption\n Log.error(e, \"PingSession1.doGet(..l.): error.\");\n // set the server responce to 500 and forward to the web app defined\n // error page\n response.sendError(500, \"PingSession1.doGet(...): error. \" + e.toString());\n }\n }", "start_line": 70, "end_line": 109, + "code_start_line": 71, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -151886,8 +149725,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -152070,7 +149909,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.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/PingJSONPObjectFactory.java", "signature": "init(ServletConfig)", "comments": [ { @@ -152104,9 +149943,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -152189,7 +150029,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.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/PingJSONPObjectFactory.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -152234,9 +150074,10 @@ "end_column": 68 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 62, "end_line": 65, + "code_start_line": 63, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -152275,7 +150116,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.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/PingJSONPObjectFactory.java", "signature": "getServletInfo()", "comments": [ { @@ -152296,9 +150137,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n}", + "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, @@ -152312,7 +150154,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.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/PingJSONPObjectFactory.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -152373,9 +150215,10 @@ "end_column": 67 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n ServletOutputStream out = res.getOutputStream();\n hitCount++;\n // JSON generate\n JsonObject json = jSONObjectFactory.createObjectBuilder().add(\"initTime\", initTime).add(\"hitCount\", hitCount).build();\n String generatedJSON = json.toString();\n // Read back\n JsonReader jsonReader = jSONReaderFactory.createReader(new StringReader(generatedJSON));\n String parsedJSON = jsonReader.readObject().toString();\n out.println(\"Ping JSONP\" + \"

    Ping JSONP
    Generated JSON: \" + generatedJSON + \"
    Parsed JSON: \" + parsedJSON + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingJSONPObject.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try {\n res.setContentType(\"text/html\");\n\n ServletOutputStream out = res.getOutputStream();\n\n hitCount++;\n\n // JSON generate\n JsonObject json = jSONObjectFactory.createObjectBuilder()\n .add(\"initTime\", initTime)\n .add(\"hitCount\", hitCount).build();\n String generatedJSON = json.toString();\n\n // Read back\n JsonReader jsonReader = jSONReaderFactory.createReader(new StringReader(generatedJSON));\n String parsedJSON = jsonReader.readObject().toString(); \n\n\n out.println(\"Ping JSONP\"\n + \"

    Ping JSONP
    Generated JSON: \" + generatedJSON + \"
    Parsed JSON: \" + parsedJSON + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingJSONPObject.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 76, "end_line": 103, + "code_start_line": 77, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -152944,8 +150787,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -152991,7 +150834,7 @@ "nested_type_declarations": [], "callable_declarations": { "getQuantity()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getQuantity()", "comments": [], "annotations": [], @@ -153001,9 +150844,10 @@ "thrown_exceptions": [], "declaration": "public double getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "code": "{\n return quantity;\n }", "start_line": 55, "end_line": 57, + "code_start_line": 55, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -153019,7 +150863,7 @@ "is_entrypoint": false }, "getQuoteID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getQuoteID()", "comments": [], "annotations": [], @@ -153029,9 +150873,10 @@ "thrown_exceptions": [], "declaration": "public String getQuoteID()", "parameters": [], - "code": "{\n return quoteID;\n}", + "code": "{\n return quoteID;\n }", "start_line": 79, "end_line": 81, + "code_start_line": 79, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -153047,7 +150892,7 @@ "is_entrypoint": false }, "setPurchasePrice(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setPurchasePrice(BigDecimal)", "comments": [], "annotations": [], @@ -153068,9 +150913,10 @@ "end_column": 57 } ], - "code": "{\n this.purchasePrice = purchasePrice;\n}", + "code": "{\n this.purchasePrice = purchasePrice;\n }", "start_line": 59, "end_line": 61, + "code_start_line": 59, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -153088,7 +150934,7 @@ "is_entrypoint": false }, "setPrice(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setPrice(BigDecimal)", "comments": [], "annotations": [], @@ -153109,9 +150955,10 @@ "end_column": 41 } ], - "code": "{\n this.price = price;\n}", + "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, @@ -153129,7 +150976,7 @@ "is_entrypoint": false }, "getPurchaseDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getPurchaseDate()", "comments": [], "annotations": [], @@ -153139,9 +150986,10 @@ "thrown_exceptions": [], "declaration": "public Date getPurchaseDate()", "parameters": [], - "code": "{\n return purchaseDate;\n}", + "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, @@ -153157,7 +151005,7 @@ "is_entrypoint": false }, "getGainHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getGainHTML()", "comments": [], "annotations": [], @@ -153167,9 +151015,10 @@ "thrown_exceptions": [], "declaration": "public String getGainHTML()", "parameters": [], - "code": "{\n return FinancialUtils.printGainHTML(gain);\n}", + "code": "{\n return FinancialUtils.printGainHTML(gain);\n }", "start_line": 115, "end_line": 117, + "code_start_line": 115, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -153209,7 +151058,7 @@ "is_entrypoint": false }, "setBasis(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setBasis(BigDecimal)", "comments": [], "annotations": [], @@ -153230,9 +151079,10 @@ "end_column": 41 } ], - "code": "{\n this.basis = basis;\n}", + "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, @@ -153250,7 +151100,7 @@ "is_entrypoint": false }, "setPurchaseDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setPurchaseDate(Date)", "comments": [], "annotations": [], @@ -153271,9 +151121,10 @@ "end_column": 49 } ], - "code": "{\n this.purchaseDate = purchaseDate;\n}", + "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, @@ -153291,7 +151142,7 @@ "is_entrypoint": false }, "setGain(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setGain(BigDecimal)", "comments": [], "annotations": [], @@ -153312,9 +151163,10 @@ "end_column": 39 } ], - "code": "{\n this.gain = gain;\n}", + "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, @@ -153332,7 +151184,7 @@ "is_entrypoint": false }, "setQuoteID(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setQuoteID(String)", "comments": [], "annotations": [], @@ -153353,9 +151205,10 @@ "end_column": 41 } ], - "code": "{\n this.quoteID = quoteID;\n}", + "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, @@ -153373,7 +151226,7 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getPrice()", "comments": [], "annotations": [], @@ -153383,9 +151236,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getPrice()", "parameters": [], - "code": "{\n return price;\n}", + "code": "{\n return price;\n }", "start_line": 87, "end_line": 89, + "code_start_line": 87, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -153401,7 +151255,7 @@ "is_entrypoint": false }, "getMarketValue()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getMarketValue()", "comments": [], "annotations": [], @@ -153411,9 +151265,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getMarketValue()", "parameters": [], - "code": "{\n return marketValue;\n}", + "code": "{\n return marketValue;\n }", "start_line": 103, "end_line": 105, + "code_start_line": 103, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -153429,7 +151284,7 @@ "is_entrypoint": false }, "getBasis()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getBasis()", "comments": [], "annotations": [], @@ -153439,9 +151294,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getBasis()", "parameters": [], - "code": "{\n return basis;\n}", + "code": "{\n return basis;\n }", "start_line": 95, "end_line": 97, + "code_start_line": 95, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -153457,7 +151313,7 @@ "is_entrypoint": false }, "getGain()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getGain()", "comments": [], "annotations": [], @@ -153467,9 +151323,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getGain()", "parameters": [], - "code": "{\n return gain;\n}", + "code": "{\n return gain;\n }", "start_line": 111, "end_line": 113, + "code_start_line": 111, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -153485,7 +151342,7 @@ "is_entrypoint": false }, "getHoldingID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getHoldingID()", "comments": [], "annotations": [], @@ -153495,9 +151352,10 @@ "thrown_exceptions": [], "declaration": "public Integer getHoldingID()", "parameters": [], - "code": "{\n return holdingID;\n}", + "code": "{\n return holdingID;\n }", "start_line": 47, "end_line": 49, + "code_start_line": 47, "return_type": "java.lang.Integer", "is_implicit": false, "is_constructor": false, @@ -153513,7 +151371,7 @@ "is_entrypoint": false }, "setQuantity(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setQuantity(double)", "comments": [], "annotations": [], @@ -153534,9 +151392,10 @@ "end_column": 43 } ], - "code": "{\n this.quantity = quantity;\n}", + "code": "{\n this.quantity = quantity;\n }", "start_line": 51, "end_line": 53, + "code_start_line": 51, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -153552,7 +151411,7 @@ "is_entrypoint": false }, "setMarketValue(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setMarketValue(BigDecimal)", "comments": [], "annotations": [], @@ -153573,9 +151432,10 @@ "end_column": 53 } ], - "code": "{\n this.marketValue = marketValue;\n}", + "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, @@ -153593,7 +151453,7 @@ "is_entrypoint": false }, "setHoldingID(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "setHoldingID(Integer)", "comments": [], "annotations": [], @@ -153614,9 +151474,10 @@ "end_column": 46 } ], - "code": "{\n this.holdingID = holdingID;\n}", + "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, @@ -153634,7 +151495,7 @@ "is_entrypoint": false }, "getPurchasePrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.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/jsf/HoldingData.java", "signature": "getPurchasePrice()", "comments": [], "annotations": [], @@ -153644,9 +151505,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getPurchasePrice()", "parameters": [], - "code": "{\n return purchasePrice;\n}", + "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, @@ -153884,8 +151746,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -154020,7 +151882,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.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/PingServletLargeContentLength.java", "signature": "init(ServletConfig)", "comments": [ { @@ -154054,9 +151916,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n}", + "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, @@ -154094,7 +151957,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.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/PingServletLargeContentLength.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -154139,9 +152002,10 @@ "end_column": 70 } ], - "code": "{\n System.out.println(\"Length: \" + req.getContentLengthLong());\n}", + "code": "{\n System.out.println(\"Length: \" + req.getContentLengthLong());\n \n \n \n \n }", "start_line": 53, "end_line": 60, + "code_start_line": 54, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -154204,7 +152068,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.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/PingServletLargeContentLength.java", "signature": "getServletInfo()", "comments": [ { @@ -154225,9 +152089,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet, with \" + \"contentLength set by contentLength parameter.\";\n}", + "code": "{\n return \"Basic dynamic HTML generation through a servlet, with \" + \"contentLength set by contentLength parameter.\";\n }", "start_line": 80, "end_line": 83, + "code_start_line": 81, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -154241,7 +152106,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.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/PingServletLargeContentLength.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -154286,9 +152151,10 @@ "end_column": 69 } ], - "code": "{\n doPost(req, res);\n}", + "code": "{\n doPost(req,res); }", "start_line": 71, "end_line": 73, + "code_start_line": 72, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -154360,8 +152226,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.beanval", "comments": [ { @@ -154475,7 +152341,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "signature": "init(ServletConfig)", "comments": [ { @@ -154509,9 +152375,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n}", + "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, @@ -154572,7 +152439,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -154617,9 +152484,10 @@ "end_column": 68 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 48, "end_line": 51, + "code_start_line": 49, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -154658,7 +152526,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "signature": "getServletInfo()", "comments": [ { @@ -154679,9 +152547,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "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, @@ -154695,7 +152564,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.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/beanval/PingServletBeanValSimple1.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -154740,9 +152609,10 @@ "end_column": 67 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n SimpleBean1 simpleBean1 = new SimpleBean1();\n simpleBean1.checkInjectionValidation();\n ServletOutputStream out = res.getOutputStream();\n int currentHitCount = ++hitCount;\n out.println(\"Ping Servlet Bean Validation Simple\" + \"

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

    Hit Count: \" + currentHitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n try { \n res.setContentType(\"text/html\");\n\n SimpleBean1 simpleBean1 = new SimpleBean1();\n simpleBean1.checkInjectionValidation();\n\n ServletOutputStream out = res.getOutputStream();\n\n int currentHitCount = ++hitCount;\n out.println(\"Ping Servlet Bean Validation Simple\"\n + \"

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

    Hit Count: \" + currentHitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n\n }\n }", "start_line": 62, "end_line": 81, + "code_start_line": 63, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -155070,8 +152940,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -155136,7 +153006,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.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/cdi/PingServletCDIBeanManagerViaJNDI.java", "signature": "init(ServletConfig)", "comments": [ { @@ -155170,9 +153040,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n}", + "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, @@ -155254,7 +153125,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.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/cdi/PingServletCDIBeanManagerViaJNDI.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -155289,9 +153160,10 @@ "end_column": 79 } ], - "code": "{\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Bean Manager\" + \"

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

    \");\n try {\n pw.write(\"hitCount: \" + cdiBean.getBeanMangerViaJNDI() + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n pw.flush();\n pw.close();\n}", + "code": "{\n\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Bean Manager\"\n + \"

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

    \");\n\n try {\n pw.write(\"hitCount: \" + cdiBean.getBeanMangerViaJNDI() + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n pw.flush();\n pw.close();\n\n }", "start_line": 40, "end_line": 57, + "code_start_line": 41, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -155556,8 +153428,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -155676,7 +153548,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -155701,9 +153573,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -155786,7 +153659,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -155822,9 +153695,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 55, "end_line": 58, + "code_start_line": 56, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -155863,7 +153737,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -155875,9 +153749,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n}", + "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, @@ -155891,7 +153766,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.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/ejb3/PingServlet2Session2CMROne2One.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -155952,9 +153827,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String userID = null;\n StringBuffer output = new StringBuffer(100);\n output.append(\"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\");\n try {\n AccountProfileDataBean accountProfileData = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n userID = TradeConfig.rndUserID();\n // get the price and print the output.\n accountProfileData = tradeSLSBLocal.getAccountProfileData(userID);\n }\n output.append(\"
    initTime: \" + initTime + \"
    Hit Count: \").append(hitCount++);\n output.append(\"
    One to One CMR access of AccountProfile Information from Account Entity

    \" + accountProfileData.toHTML());\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2CMROne2One.doGet(...): error\");\n // this will send an Error to teh web applications defined error\n // page.\n res.sendError(500, \"PingServlet2Session2CMROne2One.doGet(...): error\" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n\n String userID = null;\n\n StringBuffer output = new StringBuffer(100);\n output.append(\"Servlet2Session2CMROne20ne\"\n + \"
    PingServlet2Session2CMROne2One
    \"\n + \"
    PingServlet2Session2CMROne2One uses the Trade Session EJB\"\n + \" to get the profile for a user using an EJB 3.0 CMR one to one relationship\");\n try {\n\n AccountProfileDataBean accountProfileData = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n userID = TradeConfig.rndUserID();\n // get the price and print the output.\n accountProfileData = tradeSLSBLocal.getAccountProfileData(userID);\n }\n\n output.append(\"
    initTime: \" + initTime + \"
    Hit Count: \").append(hitCount++);\n output.append(\"
    One to One CMR access of AccountProfile Information from Account Entity

    \" + accountProfileData.toHTML());\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2CMROne2One.doGet(...): error\");\n // this will send an Error to teh web applications defined error\n // page.\n res.sendError(500, \"PingServlet2Session2CMROne2One.doGet(...): error\" + e.toString());\n\n }\n }", "start_line": 60, "end_line": 94, + "code_start_line": 61, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -156570,8 +154446,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.jaxrs", "comments": [ { @@ -156626,7 +154502,7 @@ "nested_type_declarations": [], "callable_declarations": { "setSse(Sse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "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)", "comments": [], "annotations": [ @@ -156649,9 +154525,10 @@ "end_column": 28 } ], - "code": "{\n broadcaster = sse.newBroadcaster();\n builder = sse.newEventBuilder();\n}", + "code": "{\n broadcaster = sse.newBroadcaster();\n builder = sse.newEventBuilder();\n }", "start_line": 47, "end_line": 51, + "code_start_line": 48, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -156711,7 +154588,7 @@ "is_entrypoint": false }, "eventStreamCdi(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "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": [], @@ -156736,9 +154613,10 @@ "end_column": 122 } ], - "code": "{\n broadcaster.broadcast(builder.mediaType(MediaType.APPLICATION_JSON_TYPE).data(List.class, recentQuotePriceChangeList.recentList()).build());\n}", + "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, @@ -156872,7 +154750,7 @@ "is_entrypoint": false }, "register(SseEventSink)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "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)", "comments": [], "annotations": [ @@ -156898,9 +154776,10 @@ "end_column": 54 } ], - "code": "{\n if (recentQuotePriceChangeList.isEmpty()) {\n eventSink.send(builder.data(new String(\"welcome!\")).build());\n } else {\n eventSink.send(builder.mediaType(MediaType.APPLICATION_JSON_TYPE).data(List.class, recentQuotePriceChangeList.recentList()).build());\n }\n broadcaster.register(eventSink);\n}", + "code": "{\n if (recentQuotePriceChangeList.isEmpty()) {\n eventSink.send(builder.data(new String(\"welcome!\")).build());\n } else {\n eventSink.send(builder.mediaType(MediaType.APPLICATION_JSON_TYPE)\n .data(List.class,recentQuotePriceChangeList.recentList()).build());\n }\n broadcaster.register(eventSink);\n }", "start_line": 53, "end_line": 63, + "code_start_line": 55, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -157241,8 +155120,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -157307,7 +155186,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.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/cdi/PingServletCDIBeanManagerViaCDICurrent.java", "signature": "init(ServletConfig)", "comments": [ { @@ -157341,9 +155220,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n}", + "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, @@ -157425,7 +155305,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.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/cdi/PingServletCDIBeanManagerViaCDICurrent.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -157460,9 +155340,10 @@ "end_column": 79 } ], - "code": "{\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Bean Manager\" + \"

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

    \");\n try {\n pw.write(\"hitCount: \" + cdiBean.getBeanMangerViaCDICurrent() + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n pw.flush();\n pw.close();\n}", + "code": "{\n\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Bean Manager\"\n + \"

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

    \");\n\n try {\n pw.write(\"hitCount: \" + cdiBean.getBeanMangerViaCDICurrent() + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n pw.flush();\n pw.close();\n\n }", "start_line": 40, "end_line": 57, + "code_start_line": 41, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -157727,8 +155608,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -158018,7 +155899,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "signature": "init(ServletConfig)", "comments": [ { @@ -158052,9 +155933,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -158137,7 +156019,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -158182,9 +156064,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 54, "end_line": 57, + "code_start_line": 55, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -158223,7 +156106,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "signature": "getServletInfo()", "comments": [ { @@ -158244,9 +156127,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"HTTP Session Key: Tests management of a read/write unique id\";\n}", + "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, @@ -158260,7 +156144,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.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/PingSession2.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -158377,9 +156261,10 @@ "end_column": 78 } ], - "code": "{\n HttpSession session = null;\n try {\n try {\n session = request.getSession(true);\n } catch (Exception e) {\n Log.error(e, \"PingSession2.doGet(...): error getting session\");\n // rethrow the exception for handling in one place.\n throw e;\n }\n // Get the session data value\n Integer ival = (Integer) session.getAttribute(\"sessiontest.counter\");\n // if there is not a counter then create one.\n if (ival == null) {\n ival = new Integer(1);\n } else {\n ival = new Integer(ival.intValue() + 1);\n }\n session.setAttribute(\"sessiontest.counter\", ival);\n // if the session count is equal to five invalidate the session\n if (ival.intValue() == 5) {\n session.invalidate();\n }\n try {\n // Output the page\n response.setContentType(\"text/html\");\n response.setHeader(\"SessionTrackingTest-counter\", ival.toString());\n PrintWriter out = response.getWriter();\n out.println(\"Session Tracking Test 2

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

    \");\n hitCount++;\n out.println(\"Hit Count: \" + hitCount + \"
    Session hits: \" + ival + \"
    \");\n } catch (Exception e) {\n Log.error(e, \"PingSession2.doGet(...): error getting session information\");\n // rethrow the exception for handling in one place.\n throw e;\n }\n } catch (Exception e) {\n // log the excecption\n Log.error(e, \"PingSession2.doGet(...): error.\");\n // set the server responce to 500 and forward to the web app defined\n // error page\n response.sendError(500, \"PingSession2.doGet(...): error. \" + e.toString());\n }\n}", + "code": "{\n HttpSession session = null;\n try {\n try {\n session = request.getSession(true);\n } catch (Exception e) {\n Log.error(e, \"PingSession2.doGet(...): error getting session\");\n // rethrow the exception for handling in one place.\n throw e;\n\n }\n\n // Get the session data value\n Integer ival = (Integer) session.getAttribute(\"sessiontest.counter\");\n // if there is not a counter then create one.\n if (ival == null) {\n ival = new Integer(1);\n } else {\n ival = new Integer(ival.intValue() + 1);\n }\n session.setAttribute(\"sessiontest.counter\", ival);\n // if the session count is equal to five invalidate the session\n if (ival.intValue() == 5) {\n session.invalidate();\n }\n\n try {\n // Output the page\n response.setContentType(\"text/html\");\n response.setHeader(\"SessionTrackingTest-counter\", ival.toString());\n\n PrintWriter out = response.getWriter();\n out.println(\"Session Tracking Test 2

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

    \");\n hitCount++;\n out.println(\"Hit Count: \" + hitCount + \"
    Session hits: \" + ival + \"
    \");\n } catch (Exception e) {\n Log.error(e, \"PingSession2.doGet(...): error getting session information\");\n // rethrow the exception for handling in one place.\n throw e;\n }\n\n }\n\n catch (Exception e) {\n // log the excecption\n Log.error(e, \"PingSession2.doGet(...): error.\");\n // set the server responce to 500 and forward to the web app defined\n // error page\n response.sendError(500, \"PingSession2.doGet(...): error. \" + e.toString());\n }\n }", "start_line": 68, "end_line": 120, + "code_start_line": 69, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -158982,8 +156867,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -159052,7 +156937,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.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/cdi/PingServletCDIEventAsync.java", "signature": "init(ServletConfig)", "comments": [ { @@ -159086,9 +156971,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount1 = 0;\n hitCount2 = 0;\n}", + "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, @@ -159172,7 +157058,7 @@ "is_entrypoint": false }, "onAsyncEvent2(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.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/cdi/PingServletCDIEventAsync.java", "signature": "onAsyncEvent2(String)", "comments": [], "annotations": [], @@ -159197,9 +157083,10 @@ "end_column": 113 } ], - "code": "{\n if (hitCount1 <= hitCount2) {\n Log.error(\"Priority Error\");\n ;\n }\n hitCount2++;\n}", + "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, @@ -159240,7 +157127,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.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/cdi/PingServletCDIEventAsync.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -159275,9 +157162,10 @@ "end_column": 79 } ], - "code": "{\n cdiEventProducer.produceAsyncEvent();\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Event Async\" + \"

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

    \");\n try {\n pw.write(\"hitCount1: \" + hitCount1 + \"
    hitCount2: \" + hitCount2 + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n pw.flush();\n pw.close();\n}", + "code": "{\n\n cdiEventProducer.produceAsyncEvent();\n\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI Event Async\"\n + \"

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

    \");\n\n try {\n pw.write(\"hitCount1: \" + hitCount1 + \"
    hitCount2: \" + hitCount2 + \"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n pw.flush();\n pw.close();\n }", "start_line": 45, "end_line": 63, + "code_start_line": 46, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -159468,7 +157356,7 @@ "is_entrypoint": true }, "onAsyncEvent1(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.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/cdi/PingServletCDIEventAsync.java", "signature": "onAsyncEvent1(String)", "comments": [], "annotations": [], @@ -159493,9 +157381,10 @@ "end_column": 109 } ], - "code": "{\n hitCount1++;\n}", + "code": "{\n hitCount1++;\n }", "start_line": 79, "end_line": 81, + "code_start_line": 79, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -159631,8 +157520,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -159687,7 +157576,7 @@ "nested_type_declarations": [], "callable_declarations": { "onClose(Session, CloseReason)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.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/PingWebSocketTextAsync.java", "signature": "onClose(Session, CloseReason)", "comments": [], "annotations": [ @@ -159720,9 +157609,10 @@ "end_column": 59 } ], - "code": "{\n}", + "code": "{\n \n }", "start_line": 65, "end_line": 68, + "code_start_line": 66, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -159736,7 +157626,7 @@ "is_entrypoint": false }, "ping(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.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/PingWebSocketTextAsync.java", "signature": "ping(String)", "comments": [], "annotations": [ @@ -159759,9 +157649,10 @@ "end_column": 32 } ], - "code": "{\n hitCount++;\n currentSession.getAsyncRemote().sendText(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 });\n}", + "code": "{\n \n\n hitCount++;\n currentSession.getAsyncRemote().sendText(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 }\n ); \n }", "start_line": 43, "end_line": 58, + "code_start_line": 44, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -159891,7 +157782,7 @@ "receiver_type": "javax.websocket.SendHandler", "argument_types": [], "return_type": "javax.websocket.SendHandler", - "callee_signature": "Anonymous-1c8f75bf-c44c-45ae-bf66-2845eac9cec2()", + "callee_signature": "Anonymous-642e868a-a175-4b2a-89f7-73afb38cc18d()", "is_public": false, "is_protected": false, "is_private": false, @@ -159913,7 +157804,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.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/PingWebSocketTextAsync.java", "signature": "onError(Throwable)", "comments": [], "annotations": [ @@ -159936,9 +157827,10 @@ "end_column": 35 } ], - "code": "{\n t.printStackTrace();\n}", + "code": "{\n t.printStackTrace();\n }", "start_line": 60, "end_line": 63, + "code_start_line": 61, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -159974,7 +157866,7 @@ "is_entrypoint": false }, "onOpen(Session, EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.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/PingWebSocketTextAsync.java", "signature": "onOpen(Session, EndpointConfig)", "comments": [], "annotations": [ @@ -160009,9 +157901,10 @@ "end_column": 63 } ], - "code": "{\n currentSession = session;\n hitCount = 0;\n}", + "code": "{\n currentSession = session;\n hitCount = 0;\n }", "start_line": 37, "end_line": 41, + "code_start_line": 38, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -160080,8 +157973,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.beanval", "comments": [ { @@ -160125,7 +158018,7 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.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/beanval/SimpleBean2.java", "signature": "SimpleBean2()", "comments": [], "annotations": [], @@ -160137,9 +158030,10 @@ ], "declaration": "public SimpleBean2() throws Exception", "parameters": [], - "code": "{\n super();\n numbers.add(1);\n numbers.add(2);\n strings.add(\"string1\");\n strings.add(\"string2\");\n}", + "code": "{\n super();\n\n numbers.add(1);\n numbers.add(2);\n \n strings.add(\"string1\");\n strings.add(\"string2\");\n }", "start_line": 38, "end_line": 46, + "code_start_line": 38, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -160343,8 +158237,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -160473,7 +158367,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.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/PingServlet2Include.java", "signature": "init(ServletConfig)", "comments": [ { @@ -160507,9 +158401,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -160592,7 +158487,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.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/PingServlet2Include.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -160637,9 +158532,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 56, "end_line": 59, + "code_start_line": 57, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -160678,7 +158574,7 @@ "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.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/PingServlet2Include.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -160731,9 +158627,10 @@ "end_column": 69 } ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n getServletConfig().getServletContext().getRequestDispatcher(\"/servlet/PingServlet2IncludeRcv\").include(req, res);\n }\n // ServletOutputStream out = res.getOutputStream();\n java.io.PrintWriter out = res.getWriter();\n out.println(\"Ping Servlet 2 Include\" + \"

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

    Hit Count: \" + hitCount++ + \"\");\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Include.doGet(...): general exception\");\n res.sendError(500, \"PingServlet2Include.doGet(...): general exception\" + ex.toString());\n }\n}", + "code": "{\n\n try {\n res.setContentType(\"text/html\");\n\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n getServletConfig().getServletContext().getRequestDispatcher(\"/servlet/PingServlet2IncludeRcv\").include(req, res);\n }\n\n // ServletOutputStream out = res.getOutputStream();\n java.io.PrintWriter out = res.getWriter();\n out.println(\"Ping Servlet 2 Include\"\n + \"

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

    Hit Count: \" + hitCount++ + \"\");\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2Include.doGet(...): general exception\");\n res.sendError(500, \"PingServlet2Include.doGet(...): general exception\" + ex.toString());\n }\n }", "start_line": 70, "end_line": 90, + "code_start_line": 71, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -161128,8 +159025,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -161282,7 +159179,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "signature": "init(ServletConfig)", "comments": [ { @@ -161316,9 +159213,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -161401,7 +159299,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -161446,9 +159344,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 53, "end_line": 56, + "code_start_line": 54, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -161487,7 +159386,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "signature": "getServletInfo()", "comments": [ { @@ -161508,9 +159407,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic JDBC Read using a prepared statment, makes use of TradeJDBC class\";\n}", + "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, @@ -161524,7 +159424,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.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/PingServlet2DB.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -161585,9 +159485,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n StringBuffer output = new StringBuffer(100);\n try {\n // TradeJDBC uses prepared statements so I am going to make use of\n // it's code.\n TradeDirect trade = new TradeDirect();\n trade.getConnPublic();\n output.append(\"PingServlet2DB.\" + \"
    PingServlet2DB:
    Init time : \" + initTime);\n hitCount++;\n output.append(\"
    Hit Count: \" + hitCount);\n output.append(\"
    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2DB -- error getting connection to the database\", symbol);\n res.sendError(500, \"PingServlet2DB Exception caught: \" + e.toString());\n }\n}", + "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n StringBuffer output = new StringBuffer(100);\n\n try {\n // TradeJDBC uses prepared statements so I am going to make use of\n // it's code.\n TradeDirect trade = new TradeDirect();\n trade.getConnPublic();\n\n output.append(\"PingServlet2DB.\"\n + \"
    PingServlet2DB:
    Init time : \" + initTime);\n hitCount++;\n output.append(\"
    Hit Count: \" + hitCount);\n output.append(\"
    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2DB -- error getting connection to the database\", symbol);\n res.sendError(500, \"PingServlet2DB Exception caught: \" + e.toString());\n }\n }", "start_line": 67, "end_line": 90, + "code_start_line": 68, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162048,8 +159949,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -162143,7 +160044,7 @@ "nested_type_declarations": [], "callable_declarations": { "(ServletInputStream, HttpServletResponse, AsyncContext)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "ReadListenerImpl(ServletInputStream, HttpServletResponse, AsyncContext)", "comments": [], "annotations": [], @@ -162182,9 +160083,10 @@ "end_column": 85 } ], - "code": "{\n input = in;\n res = r;\n ac = c;\n}", + "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, @@ -162199,10 +160101,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, "onAllDataRead()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "onAllDataRead()", "comments": [], "annotations": [], @@ -162214,9 +160116,10 @@ ], "declaration": "public void onAllDataRead() throws IOException", "parameters": [], - "code": "{\n ServletOutputStream output = res.getOutputStream();\n output.println(\"Ping Servlet 3.1 Async\" + \"

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

    Hit Count: \" + ++hitCount + \"
    Data Received: \" + sb.toString() + \"\");\n ac.complete();\n}", + "code": "{\n ServletOutputStream output = res.getOutputStream();\n output.println(\"Ping Servlet 3.1 Async\"\n + \"

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

    Hit Count: \" + ++hitCount + \"
    Data Received: \" + sb.toString() + \"\");\n ac.complete();\n }", "start_line": 92, "end_line": 99, + "code_start_line": 92, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162341,7 +160244,7 @@ "is_entrypoint": false }, "onDataAvailable()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "onDataAvailable()", "comments": [], "annotations": [], @@ -162353,9 +160256,10 @@ ], "declaration": "public void onDataAvailable() throws IOException", "parameters": [], - "code": "{\n int len = -1;\n byte[] b = new byte[1024];\n while (input.isReady() && (len = input.read(b)) != -1) {\n String data = new String(b, 0, len);\n sb.append(data);\n }\n}", + "code": "{\n \n int len = -1;\n byte b[] = new byte[1024];\n \n while (input.isReady() && (len = input.read(b)) != -1) {\n String data = new String(b, 0, len);\n sb.append(data);\n }\n \n \n }", "start_line": 79, "end_line": 90, + "code_start_line": 79, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162519,7 +160423,7 @@ "is_entrypoint": false }, "onError(Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "onError(Throwable)", "comments": [], "annotations": [], @@ -162542,9 +160446,10 @@ "end_column": 45 } ], - "code": "{\n ac.complete();\n t.printStackTrace();\n}", + "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, @@ -162753,7 +160658,7 @@ ], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "init(ServletConfig)", "comments": [ { @@ -162787,9 +160692,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -162872,7 +160778,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -162917,9 +160823,10 @@ "end_column": 70 } ], - "code": "{\n res.setContentType(\"text/html\");\n AsyncContext ac = req.startAsync();\n ServletInputStream input = req.getInputStream();\n ReadListener readListener = new ReadListenerImpl(input, res, ac);\n input.setReadListener(readListener);\n}", + "code": "{\n res.setContentType(\"text/html\");\n \n AsyncContext ac = req.startAsync();\n \n ServletInputStream input = req.getInputStream();\n ReadListener readListener = new ReadListenerImpl(input, res, ac);\n input.setReadListener(readListener);\n }", "start_line": 56, "end_line": 65, + "code_start_line": 57, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -163103,7 +161010,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "getServletInfo()", "comments": [ { @@ -163124,9 +161031,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n}", + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", "start_line": 127, "end_line": 130, + "code_start_line": 128, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163140,7 +161048,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.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/PingServlet31AsyncRead.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -163185,9 +161093,10 @@ "end_column": 69 } ], - "code": "{\n doPost(req, res);\n}", + "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, @@ -163303,8 +161212,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs", "comments": [ { @@ -163338,7 +161247,7 @@ "nested_type_declarations": [], "callable_declarations": { "getProp0001()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0001()", "comments": [], "annotations": [], @@ -163348,9 +161257,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0001()", "parameters": [], - "code": "{\n return prop0001;\n}", + "code": "{\n return prop0001;\n }", "start_line": 37, "end_line": 39, + "code_start_line": 37, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163366,7 +161276,7 @@ "is_entrypoint": false }, "getProp0005()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0005()", "comments": [], "annotations": [], @@ -163376,9 +161286,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0005()", "parameters": [], - "code": "{\n return prop0005;\n}", + "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, @@ -163394,7 +161305,7 @@ "is_entrypoint": false }, "setProp0014(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0014(String)", "comments": [], "annotations": [], @@ -163415,9 +161326,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0014 = prop0014;\n}", + "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, @@ -163435,7 +161347,7 @@ "is_entrypoint": false }, "getProp0004()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0004()", "comments": [], "annotations": [], @@ -163445,9 +161357,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0004()", "parameters": [], - "code": "{\n return prop0004;\n}", + "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, @@ -163463,7 +161376,7 @@ "is_entrypoint": false }, "setProp0012(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0012(String)", "comments": [], "annotations": [], @@ -163484,9 +161397,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0012 = prop0012;\n}", + "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, @@ -163504,7 +161418,7 @@ "is_entrypoint": false }, "getProp0003()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0003()", "comments": [], "annotations": [], @@ -163514,9 +161428,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0003()", "parameters": [], - "code": "{\n return prop0003;\n}", + "code": "{\n return prop0003;\n }", "start_line": 49, "end_line": 51, + "code_start_line": 49, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163532,7 +161447,7 @@ "is_entrypoint": false }, "getProp0002()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0002()", "comments": [], "annotations": [], @@ -163542,9 +161457,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0002()", "parameters": [], - "code": "{\n return prop0002;\n}", + "code": "{\n return prop0002;\n }", "start_line": 43, "end_line": 45, + "code_start_line": 43, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163560,7 +161476,7 @@ "is_entrypoint": false }, "setProp0013(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0013(String)", "comments": [], "annotations": [], @@ -163581,9 +161497,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0013 = prop0013;\n}", + "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, @@ -163601,7 +161518,7 @@ "is_entrypoint": false }, "setProp0009(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0009(String)", "comments": [], "annotations": [], @@ -163622,9 +161539,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0009 = prop0009;\n}", + "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, @@ -163642,7 +161560,7 @@ "is_entrypoint": false }, "setProp0008(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0008(String)", "comments": [], "annotations": [], @@ -163663,9 +161581,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0008 = prop0008;\n}", + "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, @@ -163683,7 +161602,7 @@ "is_entrypoint": false }, "setProp0011(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0011(String)", "comments": [], "annotations": [], @@ -163704,9 +161623,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0011 = prop0011;\n}", + "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, @@ -163724,7 +161644,7 @@ "is_entrypoint": false }, "setProp0007(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0007(String)", "comments": [], "annotations": [], @@ -163745,9 +161665,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0007 = prop0007;\n}", + "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, @@ -163765,7 +161686,7 @@ "is_entrypoint": false }, "setProp0010(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0010(String)", "comments": [], "annotations": [], @@ -163786,9 +161707,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0010 = prop0010;\n}", + "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, @@ -163806,7 +161728,7 @@ "is_entrypoint": false }, "getProp0013()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0013()", "comments": [], "annotations": [], @@ -163816,9 +161738,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0013()", "parameters": [], - "code": "{\n return prop0013;\n}", + "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, @@ -163834,7 +161757,7 @@ "is_entrypoint": false }, "getProp0014()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0014()", "comments": [], "annotations": [], @@ -163844,9 +161767,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0014()", "parameters": [], - "code": "{\n return prop0014;\n}", + "code": "{\n return prop0014;\n }", "start_line": 115, "end_line": 117, + "code_start_line": 115, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163862,7 +161786,7 @@ "is_entrypoint": false }, "getProp0015()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0015()", "comments": [], "annotations": [], @@ -163872,9 +161796,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0015()", "parameters": [], - "code": "{\n return prop0015;\n}", + "code": "{\n return prop0015;\n }", "start_line": 121, "end_line": 123, + "code_start_line": 121, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163890,7 +161815,7 @@ "is_entrypoint": false }, "getProp0016()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0016()", "comments": [], "annotations": [], @@ -163900,9 +161825,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0016()", "parameters": [], - "code": "{\n return prop0016;\n}", + "code": "{\n return prop0016;\n }", "start_line": 127, "end_line": 129, + "code_start_line": 127, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163918,7 +161844,7 @@ "is_entrypoint": false }, "getProp0010()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0010()", "comments": [], "annotations": [], @@ -163928,9 +161854,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0010()", "parameters": [], - "code": "{\n return prop0010;\n}", + "code": "{\n return prop0010;\n }", "start_line": 91, "end_line": 93, + "code_start_line": 91, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -163946,7 +161873,7 @@ "is_entrypoint": false }, "getProp0011()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0011()", "comments": [], "annotations": [], @@ -163956,9 +161883,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0011()", "parameters": [], - "code": "{\n return prop0011;\n}", + "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, @@ -163974,7 +161902,7 @@ "is_entrypoint": false }, "setProp0006(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0006(String)", "comments": [], "annotations": [], @@ -163995,9 +161923,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0006 = prop0006;\n}", + "code": "{\n this.prop0006 = prop0006;\n }", "start_line": 70, "end_line": 72, + "code_start_line": 70, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -164015,7 +161944,7 @@ "is_entrypoint": false }, "getProp0012()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0012()", "comments": [], "annotations": [], @@ -164025,9 +161954,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0012()", "parameters": [], - "code": "{\n return prop0012;\n}", + "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, @@ -164043,7 +161973,7 @@ "is_entrypoint": false }, "setProp0004(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0004(String)", "comments": [], "annotations": [], @@ -164064,9 +161994,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0004 = prop0004;\n}", + "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, @@ -164084,7 +162015,7 @@ "is_entrypoint": false }, "setProp0005(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0005(String)", "comments": [], "annotations": [], @@ -164105,9 +162036,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0005 = prop0005;\n}", + "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, @@ -164125,7 +162057,7 @@ "is_entrypoint": false }, "setProp0001(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0001(String)", "comments": [], "annotations": [], @@ -164146,9 +162078,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0001 = prop0001;\n}", + "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, @@ -164166,7 +162099,7 @@ "is_entrypoint": false }, "setProp0003(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0003(String)", "comments": [], "annotations": [], @@ -164187,9 +162120,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0003 = prop0003;\n}", + "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, @@ -164207,7 +162141,7 @@ "is_entrypoint": false }, "getProp0009()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0009()", "comments": [], "annotations": [], @@ -164217,9 +162151,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0009()", "parameters": [], - "code": "{\n return prop0009;\n}", + "code": "{\n return prop0009;\n }", "start_line": 85, "end_line": 87, + "code_start_line": 85, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -164235,7 +162170,7 @@ "is_entrypoint": false }, "setProp0015(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0015(String)", "comments": [], "annotations": [], @@ -164256,9 +162191,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0015 = prop0015;\n}", + "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, @@ -164276,7 +162212,7 @@ "is_entrypoint": false }, "getProp0008()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0008()", "comments": [], "annotations": [], @@ -164286,9 +162222,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0008()", "parameters": [], - "code": "{\n return prop0008;\n}", + "code": "{\n return prop0008;\n }", "start_line": 79, "end_line": 81, + "code_start_line": 79, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -164304,7 +162241,7 @@ "is_entrypoint": false }, "getProp0007()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0007()", "comments": [], "annotations": [], @@ -164314,9 +162251,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0007()", "parameters": [], - "code": "{\n return prop0007;\n}", + "code": "{\n return prop0007;\n }", "start_line": 73, "end_line": 75, + "code_start_line": 73, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -164332,7 +162270,7 @@ "is_entrypoint": false }, "getProp0006()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "getProp0006()", "comments": [], "annotations": [], @@ -164342,9 +162280,10 @@ "thrown_exceptions": [], "declaration": "public String getProp0006()", "parameters": [], - "code": "{\n return prop0006;\n}", + "code": "{\n return prop0006;\n }", "start_line": 67, "end_line": 69, + "code_start_line": 67, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -164360,7 +162299,7 @@ "is_entrypoint": false }, "setProp0002(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0002(String)", "comments": [], "annotations": [], @@ -164381,9 +162320,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0002 = prop0002;\n}", + "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, @@ -164401,7 +162341,7 @@ "is_entrypoint": false }, "setProp0016(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.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/jaxrs/TestJSONObject.java", "signature": "setProp0016(String)", "comments": [], "annotations": [], @@ -164422,9 +162362,10 @@ "end_column": 41 } ], - "code": "{\n this.prop0016 = prop0016;\n}", + "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, @@ -164788,790 +162729,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.java", - "package_name": "com.ibm.websphere.samples.daytrader.web.prims.drive", - "comments": [ - { - "content": "\n *\n * PingServlet tests fundamental dynamic HTML creation functionality through\n * server side servlet processing.\n *\n ", - "start_line": 30, - "end_line": 35, - "start_column": 1, - "end_column": 3, - "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": 44, - "end_line": 52, - "start_column": 5, - "end_column": 7, - "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": 58, - "end_line": 66, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": " The following 2 lines are the difference between PingServlet and", - "start_line": 72, - "end_line": 72, - "start_column": 13, - "end_column": 79, - "is_javadoc": false - }, - { - "content": " PingServletWriter", - "start_line": 73, - "end_line": 73, - "start_column": 13, - "end_column": 32, - "is_javadoc": false - }, - { - "content": " the latter uses a PrintWriter for output versus a binary output", - "start_line": 74, - "end_line": 74, - "start_column": 13, - "end_column": 78, - "is_javadoc": false - }, - { - "content": " stream.", - "start_line": 75, - "end_line": 75, - "start_column": 13, - "end_column": 22, - "is_javadoc": false - }, - { - "content": " java.io.PrintWriter out = res.getWriter();", - "start_line": 77, - "end_line": 77, - "start_column": 13, - "end_column": 57, - "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": 89, - "end_line": 93, - "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": 99, - "end_line": 104, - "start_column": 5, - "end_column": 8, - "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", - "javax.servlet.ServletConfig", - "javax.servlet.ServletException", - "javax.servlet.ServletOutputStream", - "javax.servlet.annotation.WebServlet", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "com.ibm.websphere.samples.daytrader.util.Log" - ], - "type_declarations": { - "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive": { - "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 * 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": 44, - "end_line": 52, - "start_column": 5, - "end_column": 7, - "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": 58, - "end_line": 66, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": " The following 2 lines are the difference between PingServlet and", - "start_line": 72, - "end_line": 72, - "start_column": 13, - "end_column": 79, - "is_javadoc": false - }, - { - "content": " PingServletWriter", - "start_line": 73, - "end_line": 73, - "start_column": 13, - "end_column": 32, - "is_javadoc": false - }, - { - "content": " the latter uses a PrintWriter for output versus a binary output", - "start_line": 74, - "end_line": 74, - "start_column": 13, - "end_column": 78, - "is_javadoc": false - }, - { - "content": " stream.", - "start_line": 75, - "end_line": 75, - "start_column": 13, - "end_column": 22, - "is_javadoc": false - }, - { - "content": " java.io.PrintWriter out = res.getWriter();", - "start_line": 77, - "end_line": 77, - "start_column": 13, - "end_column": 57, - "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": 89, - "end_line": 93, - "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": 99, - "end_line": 104, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@WebServlet(name = \"PingServletDrive\", urlPatterns = { \"/drive/PingServlet\" })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.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}", - "start_line": 105, - "end_line": 111, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive.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": 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)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.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": 44, - "end_line": 52, - "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": 54, - "end_line": 54, - "start_column": 24, - "end_column": 45 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "res", - "annotations": [], - "modifiers": [], - "start_line": 54, - "end_line": 54, - "start_column": 48, - "end_column": 70 - } - ], - "code": "{\n doGet(req, res);\n}", - "start_line": 53, - "end_line": 56, - "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": 55, - "start_column": 9, - "end_line": 55, - "end_column": 23 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.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, - "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)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/drive/PingServletDrive.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": " The following 2 lines are the difference between PingServlet and", - "start_line": 72, - "end_line": 72, - "start_column": 13, - "end_column": 79, - "is_javadoc": false - }, - { - "content": " PingServletWriter", - "start_line": 73, - "end_line": 73, - "start_column": 13, - "end_column": 32, - "is_javadoc": false - }, - { - "content": " the latter uses a PrintWriter for output versus a binary output", - "start_line": 74, - "end_line": 74, - "start_column": 13, - "end_column": 78, - "is_javadoc": false - }, - { - "content": " stream.", - "start_line": 75, - "end_line": 75, - "start_column": 13, - "end_column": 22, - "is_javadoc": false - }, - { - "content": " java.io.PrintWriter out = res.getWriter();", - "start_line": 77, - "end_line": 77, - "start_column": 13, - "end_column": 57, - "is_javadoc": false - }, - { - "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": 58, - "end_line": 66, - "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": 68, - "end_line": 68, - "start_column": 23, - "end_column": 44 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "res", - "annotations": [], - "modifiers": [], - "start_line": 68, - "end_line": 68, - "start_column": 47, - "end_column": 69 - } - ], - "code": "{\n try {\n res.setContentType(\"text/html\");\n // The following 2 lines are the difference between PingServlet and\n // PingServletWriter\n // the latter uses a PrintWriter for output versus a binary output\n // stream.\n ServletOutputStream out = res.getOutputStream();\n // java.io.PrintWriter out = res.getWriter();\n hitCount++;\n out.println(\"Ping Servlet\" + \"

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

    Hit Count: \" + hitCount + \"\");\n } catch (Exception e) {\n Log.error(e, \"PingServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", - "start_line": 67, - "end_line": 87, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.servlet.ServletOutputStream" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.drive.PingServletDrive.hitCount" - ], - "call_sites": [ - { - "method_name": "setContentType", - "comment": null, - "receiver_expr": "res", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "java.lang.String" - ], - "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": 70, - "start_column": 13, - "end_line": 70, - "end_column": 43 - }, - { - "method_name": "getOutputStream", - "comment": null, - "receiver_expr": "res", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "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": 76, - "start_column": 39, - "end_line": 76, - "end_column": 59 - }, - { - "method_name": "println", - "comment": null, - "receiver_expr": "out", - "receiver_type": "javax.servlet.ServletOutputStream", - "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": 79, - "start_column": 13, - "end_line": 81, - "end_column": 90 - }, - { - "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": 83, - "start_column": 13, - "end_line": 83, - "end_column": 76 - }, - { - "method_name": "sendError", - "comment": null, - "receiver_expr": "res", - "receiver_type": "javax.servlet.http.HttpServletResponse", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "sendError(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": 84, - "start_column": 13, - "end_line": 84, - "end_column": 44 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "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": 84, - "start_column": 32, - "end_line": 84, - "end_column": 43 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "out", - "type": "javax.servlet.ServletOutputStream", - "initializer": "res.getOutputStream()", - "start_line": 76, - "start_column": 33, - "end_line": 76, - "end_column": 59 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "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": 40, - "end_line": 40, - "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": 41, - "end_line": 41, - "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": 42, - "end_line": 42, - "variables": [ - "hitCount" - ], - "modifiers": [ - "private", - "static" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": true - } - }, - "is_modified": false - }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -165726,7 +162885,7 @@ "nested_type_declarations": [], "callable_declarations": { "destroy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.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/jsf/JSFLoginFilter.java", "signature": "destroy()", "comments": [ { @@ -165747,9 +162906,10 @@ "thrown_exceptions": [], "declaration": "public void destroy()", "parameters": [], - "code": "{\n this.filterConfig = null;\n}", + "code": "{\n this.filterConfig = null;\n }", "start_line": 83, "end_line": 86, + "code_start_line": 84, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -165767,7 +162927,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.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/jsf/JSFLoginFilter.java", "signature": "JSFLoginFilter()", "comments": [], "annotations": [], @@ -165777,9 +162937,10 @@ "thrown_exceptions": [], "declaration": "public JSFLoginFilter()", "parameters": [], - "code": "{\n super();\n}", + "code": "{\n super();\n }", "start_line": 35, "end_line": 37, + "code_start_line": 35, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -165793,7 +162954,7 @@ "is_entrypoint": false }, "init(FilterConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.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/jsf/JSFLoginFilter.java", "signature": "init(FilterConfig)", "comments": [], "annotations": [ @@ -165818,9 +162979,10 @@ "end_column": 46 } ], - "code": "{\n this.filterConfig = filterConfig;\n}", + "code": "{\n this.filterConfig = filterConfig;\n }", "start_line": 44, "end_line": 47, + "code_start_line": 45, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -165838,7 +163000,7 @@ "is_entrypoint": false }, "doFilter(ServletRequest, ServletResponse, FilterChain)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.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/jsf/JSFLoginFilter.java", "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", "comments": [ { @@ -165917,9 +163079,10 @@ "end_column": 84 } ], - "code": "{\n if (filterConfig == null) {\n return;\n }\n HttpServletRequest request = (HttpServletRequest) req;\n HttpServletResponse response = (HttpServletResponse) resp;\n HttpSession session = request.getSession();\n String userID = (String) session.getAttribute(\"uidBean\");\n // If user has not logged in and is trying access account information,\n // redirect to login page.\n if (userID == null) {\n String url = request.getServletPath();\n if (url.contains(\"home\") || url.contains(\"account\") || url.contains(\"portfolio\") || url.contains(\"quote\") || url.contains(\"order\") || url.contains(\"marketSummary\")) {\n System.out.println(\"JSF service error: User Not Logged in\");\n response.sendRedirect(\"welcome.faces\");\n return;\n }\n }\n chain.doFilter(req, resp);\n}", + "code": "{\n if (filterConfig == null) {\n return;\n }\n\n HttpServletRequest request = (HttpServletRequest) req;\n HttpServletResponse response = (HttpServletResponse) resp;\n\n HttpSession session = request.getSession();\n String userID = (String) session.getAttribute(\"uidBean\");\n\n // If user has not logged in and is trying access account information,\n // redirect to login page.\n if (userID == null) {\n String url = request.getServletPath();\n\n if (url.contains(\"home\") || url.contains(\"account\") || url.contains(\"portfolio\") || url.contains(\"quote\") || url.contains(\"order\")\n || url.contains(\"marketSummary\")) {\n System.out.println(\"JSF service error: User Not Logged in\");\n response.sendRedirect(\"welcome.faces\");\n return;\n }\n }\n\n chain.doFilter(req, resp/* wrapper */);\n }", "start_line": 52, "end_line": 78, + "code_start_line": 53, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -166333,8 +163496,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "/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": [ { @@ -166438,7 +163601,7 @@ "nested_type_declarations": [], "callable_declarations": { "onClose(Session, CloseReason)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "onClose(Session, CloseReason)", "comments": [], "annotations": [ @@ -166471,9 +163634,10 @@ "end_column": 57 } ], - "code": "{\n Log.trace(\"MarketSummaryWebSocket:onClose -- session -->\" + session + \"<--\");\n sessions.remove(session);\n}", + "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, @@ -166536,7 +163700,7 @@ "is_entrypoint": false }, "onMarketSummarytUpdate(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "onMarketSummarytUpdate(String)", "comments": [], "annotations": [], @@ -166561,9 +163725,10 @@ "end_column": 129 } ], - "code": "{\n Log.trace(\"MarketSummaryWebSocket:onJMSMessage\");\n try {\n JsonObject mkSummary = tradeAction.getMarketSummary().toJSON();\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}", + "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, @@ -166872,7 +164037,7 @@ "is_entrypoint": false }, "onError(Throwable, Session)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "onError(Throwable, Session)", "comments": [], "annotations": [ @@ -166905,9 +164070,10 @@ "end_column": 57 } ], - "code": "{\n Log.trace(\"MarketSummaryWebSocket:onError -- session -->\" + currentSession + \"<--\");\n t.printStackTrace();\n}", + "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, @@ -166966,7 +164132,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "MarketSummaryWebSocket()", "comments": [], "annotations": [], @@ -166976,9 +164142,10 @@ "thrown_exceptions": [], "declaration": "public MarketSummaryWebSocket()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 71, "end_line": 72, + "code_start_line": 71, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -166992,7 +164159,7 @@ "is_entrypoint": false }, "sendMarketSummary(ActionMessage, Session)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "sendMarketSummary(ActionMessage, Session)", "comments": [ { @@ -167034,9 +164201,10 @@ "end_column": 77 } ], - "code": "{\n String action = message.getDecodedAction();\n Log.trace(\"MarketSummaryWebSocket:sendMarketSummary -- received -->\" + action + \"<--\");\n // Make sure onopen is finished\n try {\n latch.await();\n } catch (Exception e) {\n e.printStackTrace();\n return;\n }\n if (action != null && action.equals(\"updateMarketSummary\")) {\n try {\n JsonObject mkSummary = tradeAction.getMarketSummary().toJSON();\n Log.trace(\"MarketSummaryWebSocket:sendMarketSummary -- sending -->\" + mkSummary + \"<--\");\n currentSession.getAsyncRemote().sendText(mkSummary.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n } else if (action != null && action.equals(\"updateRecentQuotePriceChange\")) {\n if (!recentQuotePriceChangeList.isEmpty()) {\n currentSession.getAsyncRemote().sendObject(recentQuotePriceChangeList.recentList());\n }\n }\n}", + "code": "{\n\n String action = message.getDecodedAction();\n\n Log.trace(\"MarketSummaryWebSocket:sendMarketSummary -- received -->\" + action + \"<--\");\n\n // Make sure onopen is finished\n try { \n latch.await();\n } catch (Exception e) {\n e.printStackTrace();\n return;\n }\n \n \n if (action != null && action.equals(\"updateMarketSummary\")) {\n\n try {\n\n JsonObject mkSummary = tradeAction.getMarketSummary().toJSON();\n\n Log.trace(\"MarketSummaryWebSocket:sendMarketSummary -- sending -->\" + mkSummary + \"<--\");\n \n currentSession.getAsyncRemote().sendText(mkSummary.toString());\n \n } catch (Exception e) {\n e.printStackTrace();\n }\n } else if (action != null && action.equals(\"updateRecentQuotePriceChange\")) {\n if (!recentQuotePriceChangeList.isEmpty()) {\n currentSession.getAsyncRemote().sendObject(recentQuotePriceChangeList.recentList());\n }\n }\n }", "start_line": 82, "end_line": 116, + "code_start_line": 83, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -167462,7 +164630,7 @@ "is_entrypoint": false }, "onStockChange(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "onStockChange(String)", "comments": [], "annotations": [], @@ -167487,9 +164655,10 @@ "end_column": 117 } ], - "code": "{\n Log.trace(\"MarketSummaryWebSocket:onStockChange\");\n Iterator failSafeIterator = sessions.iterator();\n while (failSafeIterator.hasNext()) {\n Session s = failSafeIterator.next();\n if (s.isOpen()) {\n s.getAsyncRemote().sendObject(recentQuotePriceChangeList.recentList());\n }\n }\n}", + "code": "{\n\n Log.trace(\"MarketSummaryWebSocket:onStockChange\");\n\n Iterator failSafeIterator = sessions.iterator();\n while(failSafeIterator.hasNext()) {\n Session s = failSafeIterator.next();\n if (s.isOpen()) {\n s.getAsyncRemote().sendObject(recentQuotePriceChangeList.recentList());\n }\n }\n }", "start_line": 130, "end_line": 141, + "code_start_line": 130, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -167717,7 +164886,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "MarketSummaryWebSocket(Instance)", "comments": [], "annotations": [ @@ -167742,9 +164911,10 @@ "end_column": 69 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "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, @@ -167870,7 +165040,7 @@ "is_entrypoint": false }, "onOpen(Session, EndpointConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "onOpen(Session, EndpointConfig)", "comments": [], "annotations": [ @@ -167905,9 +165075,10 @@ "end_column": 61 } ], - "code": "{\n Log.trace(\"MarketSummaryWebSocket:onOpen -- session -->\" + session + \"<--\");\n sessions.add(session);\n latch.countDown();\n}", + "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, @@ -168089,8 +165260,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -168200,7 +165371,7 @@ "nested_type_declarations": [], "callable_declarations": { "getTotalGainPercent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getTotalGainPercent()", "comments": [], "annotations": [], @@ -168210,9 +165381,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getTotalGainPercent()", "parameters": [], - "code": "{\n return totalGainPercent;\n}", + "code": "{\n return totalGainPercent;\n }", "start_line": 228, "end_line": 230, + "code_start_line": 228, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -168228,7 +165400,7 @@ "is_entrypoint": false }, "setDataTable(HtmlDataTable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setDataTable(HtmlDataTable)", "comments": [], "annotations": [], @@ -168249,9 +165421,10 @@ "end_column": 50 } ], - "code": "{\n this.dataTable = dataTable;\n}", + "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, @@ -168269,7 +165442,7 @@ "is_entrypoint": false }, "setTotalValue(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setTotalValue(BigDecimal)", "comments": [], "annotations": [], @@ -168290,9 +165463,10 @@ "end_column": 49 } ], - "code": "{\n this.totalValue = totalValue;\n}", + "code": "{\n this.totalValue = totalValue;\n }", "start_line": 200, "end_line": 202, + "code_start_line": 200, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -168310,7 +165484,7 @@ "is_entrypoint": false }, "setSumOfCashHoldings(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setSumOfCashHoldings(BigDecimal)", "comments": [], "annotations": [], @@ -168331,9 +165505,10 @@ "end_column": 63 } ], - "code": "{\n this.sumOfCashHoldings = sumOfCashHoldings;\n}", + "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, @@ -168351,7 +165526,7 @@ "is_entrypoint": false }, "getNumberHoldings()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getNumberHoldings()", "comments": [], "annotations": [], @@ -168361,9 +165536,10 @@ "thrown_exceptions": [], "declaration": "public Integer getNumberHoldings()", "parameters": [], - "code": "{\n return numberHoldings;\n}", + "code": "{\n return numberHoldings;\n }", "start_line": 188, "end_line": 190, + "code_start_line": 188, "return_type": "java.lang.Integer", "is_implicit": false, "is_constructor": false, @@ -168379,7 +165555,7 @@ "is_entrypoint": false }, "getTotalValue()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getTotalValue()", "comments": [], "annotations": [], @@ -168389,9 +165565,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getTotalValue()", "parameters": [], - "code": "{\n return totalValue;\n}", + "code": "{\n return totalValue;\n }", "start_line": 204, "end_line": 206, + "code_start_line": 204, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -168407,7 +165584,7 @@ "is_entrypoint": false }, "getPortfolio()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getPortfolio()", "comments": [ { @@ -168444,9 +165621,10 @@ "thrown_exceptions": [], "declaration": "public void getPortfolio()", "parameters": [], - "code": "{\n try {\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n Collection holdingDataBeans = tradeAction.getHoldings(userID);\n numberHoldings = holdingDataBeans.size();\n // Walk through the collection of user holdings and creating a list\n // of quotes\n if (holdingDataBeans.size() > 0) {\n Iterator it = holdingDataBeans.iterator();\n holdingDatas = new ArrayList(holdingDataBeans.size());\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n QuoteDataBean quoteData = tradeAction.getQuote(holdingData.getQuoteID());\n BigDecimal basis = holdingData.getPurchasePrice().multiply(new BigDecimal(holdingData.getQuantity()));\n BigDecimal marketValue = quoteData.getPrice().multiply(new BigDecimal(holdingData.getQuantity()));\n totalBasis = totalBasis.add(basis);\n totalValue = totalValue.add(marketValue);\n BigDecimal gain = marketValue.subtract(basis);\n totalGain = totalGain.add(gain);\n HoldingData h = new HoldingData();\n h.setHoldingID(holdingData.getHoldingID());\n h.setPurchaseDate(holdingData.getPurchaseDate());\n h.setQuoteID(holdingData.getQuoteID());\n h.setQuantity(holdingData.getQuantity());\n h.setPurchasePrice(holdingData.getPurchasePrice());\n h.setBasis(basis);\n h.setGain(gain);\n h.setMarketValue(marketValue);\n h.setPrice(quoteData.getPrice());\n holdingDatas.add(h);\n }\n // dataTable\n setTotalGainPercent(FinancialUtils.computeGainPercent(totalValue, totalBasis));\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n}", + "code": "{ \n try {\n\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n Collection holdingDataBeans = tradeAction.getHoldings(userID);\n\n numberHoldings = holdingDataBeans.size();\n\n // Walk through the collection of user holdings and creating a list\n // of quotes\n if (holdingDataBeans.size() > 0) {\n Iterator it = holdingDataBeans.iterator();\n holdingDatas = new ArrayList(holdingDataBeans.size());\n\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n QuoteDataBean quoteData = tradeAction.getQuote(holdingData.getQuoteID());\n\n BigDecimal basis = holdingData.getPurchasePrice().multiply(new BigDecimal(holdingData.getQuantity()));\n BigDecimal marketValue = quoteData.getPrice().multiply(new BigDecimal(holdingData.getQuantity()));\n totalBasis = totalBasis.add(basis);\n totalValue = totalValue.add(marketValue);\n BigDecimal gain = marketValue.subtract(basis);\n totalGain = totalGain.add(gain);\n\n HoldingData h = new HoldingData();\n h.setHoldingID(holdingData.getHoldingID());\n h.setPurchaseDate(holdingData.getPurchaseDate());\n h.setQuoteID(holdingData.getQuoteID());\n h.setQuantity(holdingData.getQuantity());\n h.setPurchasePrice(holdingData.getPurchasePrice());\n h.setBasis(basis);\n h.setGain(gain);\n h.setMarketValue(marketValue);\n h.setPrice(quoteData.getPrice());\n holdingDatas.add(h);\n\n }\n // dataTable\n setTotalGainPercent(FinancialUtils.computeGainPercent(totalValue, totalBasis));\n\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "start_line": 73, "end_line": 120, + "code_start_line": 74, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -169631,7 +166809,7 @@ "is_entrypoint": true }, "getTotalGainPercentHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getTotalGainPercentHTML()", "comments": [], "annotations": [], @@ -169641,9 +166819,10 @@ "thrown_exceptions": [], "declaration": "public String getTotalGainPercentHTML()", "parameters": [], - "code": "{\n return FinancialUtils.printGainPercentHTML(totalGainPercent);\n}", + "code": "{\n return FinancialUtils.printGainPercentHTML(totalGainPercent);\n }", "start_line": 232, "end_line": 234, + "code_start_line": 232, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -169683,7 +166862,7 @@ "is_entrypoint": false }, "getTotalGain()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getTotalGain()", "comments": [], "annotations": [], @@ -169693,9 +166872,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getTotalGain()", "parameters": [], - "code": "{\n return totalGain;\n}", + "code": "{\n return totalGain;\n }", "start_line": 196, "end_line": 198, + "code_start_line": 196, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -169711,7 +166891,7 @@ "is_entrypoint": false }, "getHoldingDatas()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getHoldingDatas()", "comments": [], "annotations": [], @@ -169721,9 +166901,10 @@ "thrown_exceptions": [], "declaration": "public ArrayList getHoldingDatas()", "parameters": [], - "code": "{\n return holdingDatas;\n}", + "code": "{\n return holdingDatas;\n }", "start_line": 220, "end_line": 222, + "code_start_line": 220, "return_type": "java.util.ArrayList", "is_implicit": false, "is_constructor": false, @@ -169739,7 +166920,7 @@ "is_entrypoint": false }, "setTotalGain(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setTotalGain(BigDecimal)", "comments": [], "annotations": [], @@ -169760,9 +166941,10 @@ "end_column": 47 } ], - "code": "{\n this.totalGain = totalGain;\n}", + "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, @@ -169780,7 +166962,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "PortfolioJSF(Instance)", "comments": [], "annotations": [ @@ -169805,9 +166987,10 @@ "end_column": 59 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "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": true, @@ -169933,7 +167116,7 @@ "is_entrypoint": false }, "setOpenBalance(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setOpenBalance(BigDecimal)", "comments": [], "annotations": [], @@ -169954,9 +167137,10 @@ "end_column": 51 } ], - "code": "{\n this.openBalance = openBalance;\n}", + "code": "{\n this.openBalance = openBalance;\n }", "start_line": 160, "end_line": 162, + "code_start_line": 160, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -169974,7 +167158,7 @@ "is_entrypoint": false }, "getTotalBasis()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getTotalBasis()", "comments": [], "annotations": [], @@ -169984,9 +167168,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getTotalBasis()", "parameters": [], - "code": "{\n return totalBasis;\n}", + "code": "{\n return totalBasis;\n }", "start_line": 212, "end_line": 214, + "code_start_line": 212, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -170002,7 +167187,7 @@ "is_entrypoint": false }, "sell()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "sell()", "comments": [], "annotations": [], @@ -170012,9 +167197,10 @@ "thrown_exceptions": [], "declaration": "public String sell()", "parameters": [], - "code": "{\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n OrderDataBean orderDataBean = null;\n HoldingData holdingData = (HoldingData) dataTable.getRowData();\n try {\n orderDataBean = tradeAction.sell(userID, holdingData.getHoldingID(), TradeConfig.getOrderProcessingMode());\n holdingDatas.remove(holdingData);\n } catch (Exception e) {\n e.printStackTrace();\n }\n OrderData orderData = new OrderData(orderDataBean.getOrderID(), orderDataBean.getOrderStatus(), orderDataBean.getOpenDate(), orderDataBean.getCompletionDate(), orderDataBean.getOrderFee(), orderDataBean.getOrderType(), orderDataBean.getQuantity(), orderDataBean.getSymbol());\n session.setAttribute(\"orderData\", orderData);\n return \"sell\";\n}", + "code": "{\n\n HttpSession session = (HttpSession) context.getSession(true);\n String userID = (String) session.getAttribute(\"uidBean\");\n\n OrderDataBean orderDataBean = null;\n HoldingData holdingData = (HoldingData) dataTable.getRowData();\n\n try {\n orderDataBean = tradeAction.sell(userID, holdingData.getHoldingID(), TradeConfig.getOrderProcessingMode());\n holdingDatas.remove(holdingData);\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n OrderData orderData = new OrderData(orderDataBean.getOrderID(), orderDataBean.getOrderStatus(), orderDataBean.getOpenDate(),\n orderDataBean.getCompletionDate(), orderDataBean.getOrderFee(), orderDataBean.getOrderType(), orderDataBean.getQuantity(),\n orderDataBean.getSymbol());\n session.setAttribute(\"orderData\", orderData);\n return \"sell\";\n }", "start_line": 122, "end_line": 142, + "code_start_line": 122, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -170526,7 +167712,7 @@ "is_entrypoint": false }, "setHoldingsTotal(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setHoldingsTotal(BigDecimal)", "comments": [], "annotations": [], @@ -170547,9 +167733,10 @@ "end_column": 55 } ], - "code": "{\n this.holdingsTotal = holdingsTotal;\n}", + "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, @@ -170567,7 +167754,7 @@ "is_entrypoint": false }, "getSumOfCashHoldings()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getSumOfCashHoldings()", "comments": [], "annotations": [], @@ -170577,9 +167764,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getSumOfCashHoldings()", "parameters": [], - "code": "{\n return sumOfCashHoldings;\n}", + "code": "{\n return sumOfCashHoldings;\n }", "start_line": 180, "end_line": 182, + "code_start_line": 180, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -170595,7 +167783,7 @@ "is_entrypoint": false }, "setNumberHoldings(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setNumberHoldings(Integer)", "comments": [], "annotations": [], @@ -170616,9 +167804,10 @@ "end_column": 54 } ], - "code": "{\n this.numberHoldings = numberHoldings;\n}", + "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, @@ -170636,7 +167825,7 @@ "is_entrypoint": false }, "getDataTable()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getDataTable()", "comments": [], "annotations": [], @@ -170646,9 +167835,10 @@ "thrown_exceptions": [], "declaration": "public HtmlDataTable getDataTable()", "parameters": [], - "code": "{\n return dataTable;\n}", + "code": "{\n return dataTable;\n }", "start_line": 148, "end_line": 150, + "code_start_line": 148, "return_type": "javax.faces.component.html.HtmlDataTable", "is_implicit": false, "is_constructor": false, @@ -170664,7 +167854,7 @@ "is_entrypoint": false }, "getBalance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getBalance()", "comments": [], "annotations": [], @@ -170674,9 +167864,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getBalance()", "parameters": [], - "code": "{\n return balance;\n}", + "code": "{\n return balance;\n }", "start_line": 156, "end_line": 158, + "code_start_line": 156, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -170692,7 +167883,7 @@ "is_entrypoint": false }, "getHoldingsTotal()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getHoldingsTotal()", "comments": [], "annotations": [], @@ -170702,9 +167893,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getHoldingsTotal()", "parameters": [], - "code": "{\n return holdingsTotal;\n}", + "code": "{\n return holdingsTotal;\n }", "start_line": 172, "end_line": 174, + "code_start_line": 172, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -170720,7 +167912,7 @@ "is_entrypoint": false }, "getOpenBalance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "getOpenBalance()", "comments": [], "annotations": [], @@ -170730,9 +167922,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOpenBalance()", "parameters": [], - "code": "{\n return openBalance;\n}", + "code": "{\n return openBalance;\n }", "start_line": 164, "end_line": 166, + "code_start_line": 164, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -170748,7 +167941,7 @@ "is_entrypoint": false }, "setHoldingDatas(ArrayList)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setHoldingDatas(ArrayList)", "comments": [], "annotations": [], @@ -170769,9 +167962,10 @@ "end_column": 65 } ], - "code": "{\n this.holdingDatas = holdingDatas;\n}", + "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, @@ -170789,7 +167983,7 @@ "is_entrypoint": false }, "setBalance(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setBalance(BigDecimal)", "comments": [], "annotations": [], @@ -170810,9 +168004,10 @@ "end_column": 43 } ], - "code": "{\n this.balance = balance;\n}", + "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, @@ -170830,7 +168025,7 @@ "is_entrypoint": false }, "setTotalBasis(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setTotalBasis(BigDecimal)", "comments": [], "annotations": [], @@ -170851,9 +168046,10 @@ "end_column": 49 } ], - "code": "{\n this.totalBasis = totalBasis;\n}", + "code": "{\n this.totalBasis = totalBasis;\n }", "start_line": 208, "end_line": 210, + "code_start_line": 208, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -170871,7 +168067,7 @@ "is_entrypoint": false }, "setTotalGainPercent(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.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/jsf/PortfolioJSF.java", "signature": "setTotalGainPercent(BigDecimal)", "comments": [], "annotations": [], @@ -170892,9 +168088,10 @@ "end_column": 61 } ], - "code": "{\n this.totalGainPercent = totalGainPercent;\n}", + "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, @@ -171199,8 +168396,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -171266,7 +168463,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.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/cdi/PingServletCDI.java", "signature": "init(ServletConfig)", "comments": [ { @@ -171300,9 +168497,10 @@ "end_column": 39 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n}", + "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, @@ -171384,7 +168582,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.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/cdi/PingServletCDI.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -171419,9 +168617,10 @@ "end_column": 79 } ], - "code": "{\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI\" + \"

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

    \");\n pw.write(\"hitCount: \" + cdiBean.hello() + \"
    \");\n pw.write(\"hitCount: \" + ejb.getMsg() + \"
    \");\n pw.flush();\n pw.close();\n}", + "code": "{\n\n PrintWriter pw = response.getWriter();\n pw.write(\"Ping Servlet CDI\"\n + \"

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

    \");\n\n pw.write(\"hitCount: \" + cdiBean.hello() + \"
    \");\n pw.write(\"hitCount: \" + ejb.getMsg() + \"
    \");\n\n pw.flush();\n pw.close();\n\n }", "start_line": 42, "end_line": 56, + "code_start_line": 43, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -171731,8 +168930,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs", "comments": [ { @@ -171811,7 +169010,7 @@ "nested_type_declarations": [], "callable_declarations": { "echoObject(XMLObject)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.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/jaxrs/JAXRSSyncService.java", "signature": "echoObject(XMLObject)", "comments": [], "annotations": [ @@ -171837,9 +169036,10 @@ "end_column": 49 } ], - "code": "{\n return xmlObject;\n}", + "code": "{\n return xmlObject;\n }", "start_line": 55, "end_line": 61, + "code_start_line": 59, "return_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", "is_implicit": false, "is_constructor": false, @@ -171853,7 +169053,7 @@ "is_entrypoint": true }, "echoObject(TestJSONObject)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.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/jaxrs/JAXRSSyncService.java", "signature": "echoObject(TestJSONObject)", "comments": [ { @@ -171888,9 +169088,10 @@ "end_column": 60 } ], - "code": "{\n return jsonObject;\n}", + "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, @@ -171904,7 +169105,7 @@ "is_entrypoint": true }, "echoString(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.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/jaxrs/JAXRSSyncService.java", "signature": "echoString(String)", "comments": [ { @@ -171939,9 +169140,10 @@ "end_column": 60 } ], - "code": "{\n return input;\n}", + "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, @@ -171964,8 +169166,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TraceInterceptor.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TraceInterceptor.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TraceInterceptor.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -172014,7 +169216,7 @@ "nested_type_declarations": [], "callable_declarations": { "logMethodEntry(InvocationContext)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TraceInterceptor.java", + "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)", "comments": [], "annotations": [ @@ -172039,9 +169241,10 @@ "end_column": 52 } ], - "code": "{\n Log.trace(form.format(new String[] { ctx.getMethod().getDeclaringClass().getSimpleName() + \":\" + ctx.getMethod().getName(), Arrays.deepToString(ctx.getParameters()) }));\n return ctx.proceed();\n}", + "code": "{\n Log.trace(form.format(\n new String[]{\n ctx.getMethod().getDeclaringClass().getSimpleName() + \":\"+ ctx.getMethod().getName(),\n Arrays.deepToString(ctx.getParameters())\n }));\n\n return ctx.proceed();\n }", "start_line": 39, "end_line": 48, + "code_start_line": 40, "return_type": "java.lang.Object", "is_implicit": false, "is_constructor": false, @@ -172330,8 +169533,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -172405,7 +169608,7 @@ "nested_type_declarations": [], "callable_declarations": { "getOpenTSIA()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getOpenTSIA()", "comments": [], "annotations": [], @@ -172415,9 +169618,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOpenTSIA()", "parameters": [], - "code": "{\n return openTSIA;\n}", + "code": "{\n return openTSIA;\n }", "start_line": 118, "end_line": 120, + "code_start_line": 118, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -172433,7 +169637,7 @@ "is_entrypoint": false }, "getGainPercent()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getGainPercent()", "comments": [], "annotations": [], @@ -172443,9 +169647,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getGainPercent()", "parameters": [], - "code": "{\n return gainPercent;\n}", + "code": "{\n return gainPercent;\n }", "start_line": 158, "end_line": 160, + "code_start_line": 158, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -172461,7 +169666,7 @@ "is_entrypoint": false }, "getGainPercentHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getGainPercentHTML()", "comments": [], "annotations": [], @@ -172471,9 +169676,10 @@ "thrown_exceptions": [], "declaration": "public String getGainPercentHTML()", "parameters": [], - "code": "{\n return FinancialUtils.printGainPercentHTML(gainPercent);\n}", + "code": "{\n return FinancialUtils.printGainPercentHTML(gainPercent);\n }", "start_line": 162, "end_line": 164, + "code_start_line": 162, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -172513,7 +169719,7 @@ "is_entrypoint": false }, "setOpenTSIA(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "setOpenTSIA(BigDecimal)", "comments": [], "annotations": [], @@ -172534,9 +169740,10 @@ "end_column": 45 } ], - "code": "{\n this.openTSIA = openTSIA;\n}", + "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, @@ -172554,7 +169761,7 @@ "is_entrypoint": false }, "setTopGainers(QuoteData[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "setTopGainers(QuoteData[])", "comments": [], "annotations": [], @@ -172575,9 +169782,10 @@ "end_column": 50 } ], - "code": "{\n this.topGainers = topGainers;\n}", + "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, @@ -172593,7 +169801,7 @@ "is_entrypoint": false }, "getMarketSummary()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getMarketSummary()", "comments": [], "annotations": [ @@ -172605,9 +169813,10 @@ "thrown_exceptions": [], "declaration": "public void getMarketSummary()", "parameters": [], - "code": "{\n try {\n MarketSummaryDataBean marketSummaryData = tradeAction.getMarketSummary();\n setSummaryDate(marketSummaryData.getSummaryDate());\n setTSIA(marketSummaryData.getTSIA());\n setVolume(marketSummaryData.getVolume());\n setGainPercent(marketSummaryData.getGainPercent());\n Collection topGainers = marketSummaryData.getTopGainers();\n Iterator gainers = topGainers.iterator();\n int count = 0;\n QuoteData[] gainerjsfs = new QuoteData[5];\n while (gainers.hasNext() && (count < 5)) {\n QuoteDataBean quote = (QuoteDataBean) gainers.next();\n QuoteData r = new QuoteData(quote.getPrice(), quote.getOpen(), quote.getSymbol());\n gainerjsfs[count] = r;\n count++;\n }\n setTopGainers(gainerjsfs);\n Collection topLosers = marketSummaryData.getTopLosers();\n QuoteData[] loserjsfs = new QuoteData[5];\n count = 0;\n Iterator losers = topLosers.iterator();\n while (losers.hasNext() && (count < 5)) {\n QuoteDataBean quote = (QuoteDataBean) losers.next();\n QuoteData r = new QuoteData(quote.getPrice(), quote.getOpen(), quote.getSymbol());\n loserjsfs[count] = r;\n count++;\n }\n setTopLosers(loserjsfs);\n } catch (Exception e) {\n e.printStackTrace();\n }\n}", + "code": "{\n \n try {\n MarketSummaryDataBean marketSummaryData = tradeAction.getMarketSummary();\n setSummaryDate(marketSummaryData.getSummaryDate());\n setTSIA(marketSummaryData.getTSIA());\n setVolume(marketSummaryData.getVolume());\n setGainPercent(marketSummaryData.getGainPercent());\n\n Collection topGainers = marketSummaryData.getTopGainers();\n\n Iterator gainers = topGainers.iterator();\n int count = 0;\n QuoteData[] gainerjsfs = new QuoteData[5];\n\n while (gainers.hasNext() && (count < 5)) {\n QuoteDataBean quote = (QuoteDataBean) gainers.next();\n QuoteData r = new QuoteData(quote.getPrice(), quote.getOpen(), quote.getSymbol());\n gainerjsfs[count] = r;\n count++;\n }\n\n setTopGainers(gainerjsfs);\n\n Collection topLosers = marketSummaryData.getTopLosers();\n\n QuoteData[] loserjsfs = new QuoteData[5];\n count = 0;\n Iterator losers = topLosers.iterator();\n\n while (losers.hasNext() && (count < 5)) {\n QuoteDataBean quote = (QuoteDataBean) losers.next();\n QuoteData r = new QuoteData(quote.getPrice(), quote.getOpen(), quote.getSymbol());\n loserjsfs[count] = r;\n count++;\n }\n\n setTopLosers(loserjsfs);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "start_line": 61, "end_line": 104, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -173445,7 +170654,7 @@ "is_entrypoint": true }, "setTSIA(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "setTSIA(BigDecimal)", "comments": [], "annotations": [], @@ -173466,9 +170675,10 @@ "end_column": 37 } ], - "code": "{\n TSIA = tSIA;\n}", + "code": "{\n TSIA = tSIA;\n }", "start_line": 106, "end_line": 108, + "code_start_line": 106, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -173484,7 +170694,7 @@ "is_entrypoint": false }, "setGainPercent(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "setGainPercent(BigDecimal)", "comments": [], "annotations": [], @@ -173505,9 +170715,10 @@ "end_column": 51 } ], - "code": "{\n this.gainPercent = gainPercent.setScale(2, RoundingMode.HALF_UP);\n}", + "code": "{\n this.gainPercent = gainPercent.setScale(2,RoundingMode.HALF_UP);\n }", "start_line": 154, "end_line": 156, + "code_start_line": 154, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -173552,7 +170763,7 @@ "is_entrypoint": false }, "setVolume(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "setVolume(double)", "comments": [], "annotations": [], @@ -173573,9 +170784,10 @@ "end_column": 37 } ], - "code": "{\n this.volume = volume;\n}", + "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, @@ -173591,7 +170803,7 @@ "is_entrypoint": false }, "setSummaryDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "setSummaryDate(Date)", "comments": [], "annotations": [], @@ -173612,9 +170824,10 @@ "end_column": 45 } ], - "code": "{\n this.summaryDate = summaryDate;\n}", + "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, @@ -173632,7 +170845,7 @@ "is_entrypoint": false }, "getSummaryDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getSummaryDate()", "comments": [], "annotations": [], @@ -173642,9 +170855,10 @@ "thrown_exceptions": [], "declaration": "public Date getSummaryDate()", "parameters": [], - "code": "{\n return summaryDate;\n}", + "code": "{\n return summaryDate;\n }", "start_line": 150, "end_line": 152, + "code_start_line": 150, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, @@ -173660,7 +170874,7 @@ "is_entrypoint": false }, "getTSIA()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getTSIA()", "comments": [], "annotations": [], @@ -173670,9 +170884,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getTSIA()", "parameters": [], - "code": "{\n return TSIA;\n}", + "code": "{\n return TSIA;\n }", "start_line": 110, "end_line": 112, + "code_start_line": 110, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -173688,7 +170903,7 @@ "is_entrypoint": false }, "getVolume()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getVolume()", "comments": [], "annotations": [], @@ -173698,9 +170913,10 @@ "thrown_exceptions": [], "declaration": "public double getVolume()", "parameters": [], - "code": "{\n return volume;\n}", + "code": "{\n return volume;\n }", "start_line": 126, "end_line": 128, + "code_start_line": 126, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -173716,7 +170932,7 @@ "is_entrypoint": false }, "setTopLosers(QuoteData[])": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "setTopLosers(QuoteData[])", "comments": [], "annotations": [], @@ -173737,9 +170953,10 @@ "end_column": 48 } ], - "code": "{\n this.topLosers = topLosers;\n}", + "code": "{\n this.topLosers = topLosers;\n }", "start_line": 138, "end_line": 140, + "code_start_line": 138, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -173755,7 +170972,7 @@ "is_entrypoint": false }, "getTopGainers()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getTopGainers()", "comments": [], "annotations": [], @@ -173765,9 +170982,10 @@ "thrown_exceptions": [], "declaration": "public QuoteData[] getTopGainers()", "parameters": [], - "code": "{\n return topGainers;\n}", + "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, @@ -173783,7 +171001,7 @@ "is_entrypoint": false }, "getTopLosers()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "getTopLosers()", "comments": [], "annotations": [], @@ -173793,9 +171011,10 @@ "thrown_exceptions": [], "declaration": "public QuoteData[] getTopLosers()", "parameters": [], - "code": "{\n return topLosers;\n}", + "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, @@ -173811,7 +171030,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.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/jsf/MarketSummaryJSF.java", "signature": "MarketSummaryJSF(Instance)", "comments": [], "annotations": [ @@ -173836,9 +171055,10 @@ "end_column": 63 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "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, @@ -174142,8 +171362,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/Trace.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/Trace.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/Trace.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/Trace.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -174191,8 +171411,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "package_name": "com.ibm.websphere.samples.daytrader.impl.direct", "comments": [ { @@ -174213,40 +171433,40 @@ }, { "content": "\n * @see TradeServices#getMarketSummary()\n ", - "start_line": 197, - "end_line": 199, + "start_line": 192, + "end_line": 194, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getQuote(String)\n ", - "start_line": 875, - "end_line": 877, + "start_line": 870, + "end_line": 872, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Set Timestamp to zero to denote sell is inflight", - "start_line": 1248, - "end_line": 1248, + "start_line": 1243, + "end_line": 1243, "start_column": 3, "end_column": 53, "is_javadoc": false }, { "content": "\n * @see TradeServices#login(String, String)\n ", - "start_line": 1406, - "end_line": 1408, + "start_line": 1401, + "end_line": 1403, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#register(String, String, String, String, String,\n * String, BigDecimal, boolean)\n ", - "start_line": 1490, - "end_line": 1493, + "start_line": 1485, + "end_line": 1488, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -174267,650 +171487,610 @@ "end_column": 61, "is_javadoc": false }, - { - "content": "@Resource(name = \"java:/jms/QueueConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 103, - "end_line": 103, - "start_column": 3, - "end_column": 135, - "is_javadoc": false - }, - { - "content": "@Resource(name = \"java:/jms/TopicConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 107, - "end_line": 107, - "start_column": 3, - "end_column": 135, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeStreamerTopic\")", - "start_line": 111, - "end_line": 111, - "start_column": 3, - "end_column": 54, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeBrokerQueue\")", - "start_line": 115, - "end_line": 115, - "start_column": 3, - "end_column": 52, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jdbc/TradeDataSource\")", - "start_line": 119, - "end_line": 119, - "start_column": 3, - "end_column": 52, - "is_javadoc": false - }, { "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": 149, - "end_line": 154, + "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": 163, - "end_line": 166, + "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": 171, - "end_line": 176, + "start_line": 166, + "end_line": 171, "start_column": 11, "end_column": 13, "is_javadoc": true }, { "content": "\n * If we're the lucky one then let's update the MarketSummary\n ", - "start_line": 183, - "end_line": 185, + "start_line": 178, + "end_line": 180, "start_column": 7, "end_column": 9, "is_javadoc": true }, { "content": "\n * rs.last(); count = 0; while (rs.previous() && (count++ < 5) ) {\n * QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n * topGainersData.add(quoteData); }\n ", - "start_line": 233, - "end_line": 237, + "start_line": 228, + "end_line": 232, "start_column": 7, "end_column": 9, "is_javadoc": false }, { "content": "\n * @see TradeServices#buy(String, String, double)\n ", - "start_line": 294, - "end_line": 296, + "start_line": 289, + "end_line": 291, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "conn = getConn();", - "start_line": 320, - "end_line": 320, + "start_line": 315, + "end_line": 315, "start_column": 7, "end_column": 25, "is_javadoc": false }, { "content": " the holding", - "start_line": 325, - "end_line": 325, + "start_line": 320, + "end_line": 320, "start_column": 7, "end_column": 20, "is_javadoc": false }, { "content": ", userID, symbol, new Double(quantity));", - "start_line": 308, - "end_line": 308, + "start_line": 303, + "end_line": 303, "start_column": 72, "end_column": 113, "is_javadoc": false }, { "content": " the buy operation will create", - "start_line": 324, - "end_line": 324, + "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": 329, - "end_line": 329, + "start_line": 324, + "end_line": 324, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": " subtract total from account balance", - "start_line": 333, - "end_line": 333, + "start_line": 328, + "end_line": 328, "start_column": 7, "end_column": 44, "is_javadoc": false }, { "content": " 2-phase", - "start_line": 344, - "end_line": 344, + "start_line": 339, + "end_line": 339, "start_column": 38, "end_column": 47, "is_javadoc": false }, { "content": "\n * @see TradeServices#sell(String, Integer)\n ", - "start_line": 380, - "end_line": 382, + "start_line": 375, + "end_line": 377, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "UserTransaction txn = null;", - "start_line": 388, - "end_line": 388, + "start_line": 383, + "end_line": 383, "start_column": 5, "end_column": 33, "is_javadoc": false }, { "content": "\n * total = (quantity * purchasePrice) + orderFee\n ", - "start_line": 390, - "end_line": 392, + "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": 435, - "end_line": 435, + "start_line": 430, + "end_line": 430, "start_column": 7, "end_column": 74, "is_javadoc": false }, { "content": " is \"inflight\"", - "start_line": 436, - "end_line": 436, + "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": 439, - "end_line": 439, + "start_line": 434, + "end_line": 434, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": "\n * @see TradeServices#queueOrder(Integer)\n ", - "start_line": 484, - "end_line": 486, + "start_line": 479, + "end_line": 481, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " pass the exception", - "start_line": 506, - "end_line": 506, + "start_line": 501, + "end_line": 501, "start_column": 16, "end_column": 36, "is_javadoc": false }, { "content": "\n * @see TradeServices#completeOrder(Integer)\n ", - "start_line": 510, - "end_line": 512, + "start_line": 505, + "end_line": 507, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " twoPhase", - "start_line": 518, - "end_line": 518, + "start_line": 513, + "end_line": 513, "start_column": 11, "end_column": 21, "is_javadoc": false }, { "content": " get the data for the account and quote", - "start_line": 586, - "end_line": 586, + "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": 587, - "end_line": 587, + "start_line": 582, + "end_line": 582, "start_column": 5, "end_column": 68, "is_javadoc": false }, { "content": "conn = getConn();", - "start_line": 552, - "end_line": 552, + "start_line": 547, + "end_line": 547, "start_column": 5, "end_column": 23, "is_javadoc": false }, { "content": " if (order.isCompleted())", - "start_line": 573, - "end_line": 573, + "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": 589, - "end_line": 593, + "start_line": 584, + "end_line": 588, "start_column": 5, "end_column": 7, "is_javadoc": false }, { "content": " if (order.isBuy())", - "start_line": 603, - "end_line": 603, + "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": 605, - "end_line": 608, + "start_line": 600, + "end_line": 603, "start_column": 7, "end_column": 9, "is_javadoc": false }, { "content": " if (order.isSell()) {", - "start_line": 616, - "end_line": 616, + "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": 618, - "end_line": 621, + "start_line": 613, + "end_line": 616, "start_column": 7, "end_column": 9, "is_javadoc": false }, { "content": "\n * @see TradeServices#cancelOrder(Integer, boolean)\n ", - "start_line": 648, - "end_line": 650, + "start_line": 643, + "end_line": 645, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " set the HoldingID to NULL for the purchase and sell order now that", - "start_line": 707, - "end_line": 707, + "start_line": 702, + "end_line": 702, "start_column": 5, "end_column": 73, "is_javadoc": false }, { "content": " the holding as been removed", - "start_line": 708, - "end_line": 708, + "start_line": 703, + "end_line": 703, "start_column": 5, "end_column": 34, "is_javadoc": false }, { "content": "\n * @see TradeServices#getOrders(String)\n ", - "start_line": 760, - "end_line": 762, + "start_line": 755, + "end_line": 757, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " TODO: return top 5 orders for now -- next version will add a", - "start_line": 777, - "end_line": 777, + "start_line": 772, + "end_line": 772, "start_column": 7, "end_column": 69, "is_javadoc": false }, { "content": " getAllOrders method", - "start_line": 778, - "end_line": 778, + "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": 779, - "end_line": 779, + "start_line": 774, + "end_line": 774, "start_column": 7, "end_column": 62, "is_javadoc": false }, { "content": "\n * @see TradeServices#getClosedOrders(String)\n ", - "start_line": 798, - "end_line": 800, + "start_line": 793, + "end_line": 795, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#createQuote(String, String, BigDecimal)\n ", - "start_line": 835, - "end_line": 837, + "start_line": 830, + "end_line": 832, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " symbol", - "start_line": 853, - "end_line": 853, + "start_line": 848, + "end_line": 848, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " companyName", - "start_line": 854, - "end_line": 854, + "start_line": 849, + "end_line": 849, "start_column": 39, "end_column": 52, "is_javadoc": false }, { "content": " volume", - "start_line": 855, - "end_line": 855, + "start_line": 850, + "end_line": 850, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " price", - "start_line": 856, - "end_line": 856, + "start_line": 851, + "end_line": 851, "start_column": 37, "end_column": 44, "is_javadoc": false }, { "content": " open", - "start_line": 857, - "end_line": 857, + "start_line": 852, + "end_line": 852, "start_column": 37, "end_column": 43, "is_javadoc": false }, { "content": " low", - "start_line": 858, - "end_line": 858, + "start_line": 853, + "end_line": 853, "start_column": 37, "end_column": 42, "is_javadoc": false }, { "content": " high", - "start_line": 859, - "end_line": 859, + "start_line": 854, + "end_line": 854, "start_column": 37, "end_column": 43, "is_javadoc": false }, { "content": " change", - "start_line": 860, - "end_line": 860, + "start_line": 855, + "end_line": 855, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " symbol", - "start_line": 904, - "end_line": 904, + "start_line": 899, + "end_line": 899, "start_column": 32, "end_column": 40, "is_javadoc": false }, { "content": " symbol", - "start_line": 922, - "end_line": 922, + "start_line": 917, + "end_line": 917, "start_column": 32, "end_column": 40, "is_javadoc": false }, { "content": "\n * @see TradeServices#getAllQuotes(String)\n ", - "start_line": 937, - "end_line": 939, + "start_line": 932, + "end_line": 934, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getHoldings(String)\n ", - "start_line": 969, - "end_line": 971, + "start_line": 964, + "end_line": 966, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getHolding(Integer)\n ", - "start_line": 1004, - "end_line": 1006, + "start_line": 999, + "end_line": 1001, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1030, - "end_line": 1032, + "start_line": 1025, + "end_line": 1027, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1068, - "end_line": 1070, + "start_line": 1063, + "end_line": 1065, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " already sold", - "start_line": 1136, - "end_line": 1136, + "start_line": 1131, + "end_line": 1131, "start_column": 7, "end_column": 21, "is_javadoc": false }, { "content": " already sold", - "start_line": 1155, - "end_line": 1155, + "start_line": 1150, + "end_line": 1150, "start_column": 7, "end_column": 21, "is_javadoc": false }, { "content": "\n * @see TradeServices#getAccountProfileData(String)\n ", - "start_line": 1164, - "end_line": 1166, + "start_line": 1159, + "end_line": 1161, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#updateAccountProfile(AccountProfileDataBean)\n ", - "start_line": 1211, - "end_line": 1213, + "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": 1249, - "end_line": 1249, + "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": 1298, - "end_line": 1310, + "start_line": 1293, + "end_line": 1305, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " pass exception back", - "start_line": 1401, - "end_line": 1401, + "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": 1460, - "end_line": 1463, + "start_line": 1455, + "end_line": 1458, "start_column": 5, "end_column": 7, "is_javadoc": false }, { "content": "\n * @see TradeServices#logout(String)\n ", - "start_line": 1466, - "end_line": 1468, + "start_line": 1461, + "end_line": 1463, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Clear MDB Statistics", - "start_line": 1599, - "end_line": 1599, + "start_line": 1594, + "end_line": 1594, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " commit(conn);", - "start_line": 1614, - "end_line": 1614, + "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": 1616, - "end_line": 1616, + "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": 1655, - "end_line": 1657, + "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": 1683, - "end_line": 1687, + "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": 1696, - "end_line": 1698, + "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": 1706, - "end_line": 1706, + "start_line": 1701, + "end_line": 1701, "start_column": 9, "end_column": 50, "is_javadoc": false }, { "content": " Throw the exception", - "start_line": 1705, - "end_line": 1705, + "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": 1711, - "end_line": 1713, + "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": 1796, - "end_line": 1800, + "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": 1805, - "end_line": 1810, + "start_line": 1800, + "end_line": 1805, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -174991,40 +172171,40 @@ }, { "content": "\n * @see TradeServices#getMarketSummary()\n ", - "start_line": 197, - "end_line": 199, + "start_line": 192, + "end_line": 194, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getQuote(String)\n ", - "start_line": 875, - "end_line": 877, + "start_line": 870, + "end_line": 872, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Set Timestamp to zero to denote sell is inflight", - "start_line": 1248, - "end_line": 1248, + "start_line": 1243, + "end_line": 1243, "start_column": 3, "end_column": 53, "is_javadoc": false }, { "content": "\n * @see TradeServices#login(String, String)\n ", - "start_line": 1406, - "end_line": 1408, + "start_line": 1401, + "end_line": 1403, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#register(String, String, String, String, String,\n * String, BigDecimal, boolean)\n ", - "start_line": 1490, - "end_line": 1493, + "start_line": 1485, + "end_line": 1488, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -175045,650 +172225,610 @@ "end_column": 61, "is_javadoc": false }, - { - "content": "@Resource(name = \"java:/jms/QueueConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 103, - "end_line": 103, - "start_column": 3, - "end_column": 135, - "is_javadoc": false - }, - { - "content": "@Resource(name = \"java:/jms/TopicConnectionFactory\", authenticationType = javax.annotation.Resource.AuthenticationType.APPLICATION)", - "start_line": 107, - "end_line": 107, - "start_column": 3, - "end_column": 135, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeStreamerTopic\")", - "start_line": 111, - "end_line": 111, - "start_column": 3, - "end_column": 54, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jms/TradeBrokerQueue\")", - "start_line": 115, - "end_line": 115, - "start_column": 3, - "end_column": 52, - "is_javadoc": false - }, - { - "content": "@Resource(lookup = \"java:/jdbc/TradeDataSource\")", - "start_line": 119, - "end_line": 119, - "start_column": 3, - "end_column": 52, - "is_javadoc": false - }, { "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": 149, - "end_line": 154, + "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": 163, - "end_line": 166, + "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": 171, - "end_line": 176, + "start_line": 166, + "end_line": 171, "start_column": 11, "end_column": 13, "is_javadoc": true }, { "content": "\n * If we're the lucky one then let's update the MarketSummary\n ", - "start_line": 183, - "end_line": 185, + "start_line": 178, + "end_line": 180, "start_column": 7, "end_column": 9, "is_javadoc": true }, { "content": "\n * rs.last(); count = 0; while (rs.previous() && (count++ < 5) ) {\n * QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n * topGainersData.add(quoteData); }\n ", - "start_line": 233, - "end_line": 237, + "start_line": 228, + "end_line": 232, "start_column": 7, "end_column": 9, "is_javadoc": false }, { "content": "\n * @see TradeServices#buy(String, String, double)\n ", - "start_line": 294, - "end_line": 296, + "start_line": 289, + "end_line": 291, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "conn = getConn();", - "start_line": 320, - "end_line": 320, + "start_line": 315, + "end_line": 315, "start_column": 7, "end_column": 25, "is_javadoc": false }, { "content": " the holding", - "start_line": 325, - "end_line": 325, + "start_line": 320, + "end_line": 320, "start_column": 7, "end_column": 20, "is_javadoc": false }, { "content": ", userID, symbol, new Double(quantity));", - "start_line": 308, - "end_line": 308, + "start_line": 303, + "end_line": 303, "start_column": 72, "end_column": 113, "is_javadoc": false }, { "content": " the buy operation will create", - "start_line": 324, - "end_line": 324, + "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": 329, - "end_line": 329, + "start_line": 324, + "end_line": 324, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": " subtract total from account balance", - "start_line": 333, - "end_line": 333, + "start_line": 328, + "end_line": 328, "start_column": 7, "end_column": 44, "is_javadoc": false }, { "content": " 2-phase", - "start_line": 344, - "end_line": 344, + "start_line": 339, + "end_line": 339, "start_column": 38, "end_column": 47, "is_javadoc": false }, { "content": "\n * @see TradeServices#sell(String, Integer)\n ", - "start_line": 380, - "end_line": 382, + "start_line": 375, + "end_line": 377, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "UserTransaction txn = null;", - "start_line": 388, - "end_line": 388, + "start_line": 383, + "end_line": 383, "start_column": 5, "end_column": 33, "is_javadoc": false }, { "content": "\n * total = (quantity * purchasePrice) + orderFee\n ", - "start_line": 390, - "end_line": 392, + "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": 435, - "end_line": 435, + "start_line": 430, + "end_line": 430, "start_column": 7, "end_column": 74, "is_javadoc": false }, { "content": " is \"inflight\"", - "start_line": 436, - "end_line": 436, + "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": 439, - "end_line": 439, + "start_line": 434, + "end_line": 434, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": "\n * @see TradeServices#queueOrder(Integer)\n ", - "start_line": 484, - "end_line": 486, + "start_line": 479, + "end_line": 481, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " pass the exception", - "start_line": 506, - "end_line": 506, + "start_line": 501, + "end_line": 501, "start_column": 16, "end_column": 36, "is_javadoc": false }, { "content": "\n * @see TradeServices#completeOrder(Integer)\n ", - "start_line": 510, - "end_line": 512, + "start_line": 505, + "end_line": 507, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " twoPhase", - "start_line": 518, - "end_line": 518, + "start_line": 513, + "end_line": 513, "start_column": 11, "end_column": 21, "is_javadoc": false }, { "content": " get the data for the account and quote", - "start_line": 586, - "end_line": 586, + "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": 587, - "end_line": 587, + "start_line": 582, + "end_line": 582, "start_column": 5, "end_column": 68, "is_javadoc": false }, { "content": "conn = getConn();", - "start_line": 552, - "end_line": 552, + "start_line": 547, + "end_line": 547, "start_column": 5, "end_column": 23, "is_javadoc": false }, { "content": " if (order.isCompleted())", - "start_line": 573, - "end_line": 573, + "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": 589, - "end_line": 593, + "start_line": 584, + "end_line": 588, "start_column": 5, "end_column": 7, "is_javadoc": false }, { "content": " if (order.isBuy())", - "start_line": 603, - "end_line": 603, + "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": 605, - "end_line": 608, + "start_line": 600, + "end_line": 603, "start_column": 7, "end_column": 9, "is_javadoc": false }, { "content": " if (order.isSell()) {", - "start_line": 616, - "end_line": 616, + "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": 618, - "end_line": 621, + "start_line": 613, + "end_line": 616, "start_column": 7, "end_column": 9, "is_javadoc": false }, { "content": "\n * @see TradeServices#cancelOrder(Integer, boolean)\n ", - "start_line": 648, - "end_line": 650, + "start_line": 643, + "end_line": 645, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " set the HoldingID to NULL for the purchase and sell order now that", - "start_line": 707, - "end_line": 707, + "start_line": 702, + "end_line": 702, "start_column": 5, "end_column": 73, "is_javadoc": false }, { "content": " the holding as been removed", - "start_line": 708, - "end_line": 708, + "start_line": 703, + "end_line": 703, "start_column": 5, "end_column": 34, "is_javadoc": false }, { "content": "\n * @see TradeServices#getOrders(String)\n ", - "start_line": 760, - "end_line": 762, + "start_line": 755, + "end_line": 757, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " TODO: return top 5 orders for now -- next version will add a", - "start_line": 777, - "end_line": 777, + "start_line": 772, + "end_line": 772, "start_column": 7, "end_column": 69, "is_javadoc": false }, { "content": " getAllOrders method", - "start_line": 778, - "end_line": 778, + "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": 779, - "end_line": 779, + "start_line": 774, + "end_line": 774, "start_column": 7, "end_column": 62, "is_javadoc": false }, { "content": "\n * @see TradeServices#getClosedOrders(String)\n ", - "start_line": 798, - "end_line": 800, + "start_line": 793, + "end_line": 795, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#createQuote(String, String, BigDecimal)\n ", - "start_line": 835, - "end_line": 837, + "start_line": 830, + "end_line": 832, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " symbol", - "start_line": 853, - "end_line": 853, + "start_line": 848, + "end_line": 848, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " companyName", - "start_line": 854, - "end_line": 854, + "start_line": 849, + "end_line": 849, "start_column": 39, "end_column": 52, "is_javadoc": false }, { "content": " volume", - "start_line": 855, - "end_line": 855, + "start_line": 850, + "end_line": 850, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " price", - "start_line": 856, - "end_line": 856, + "start_line": 851, + "end_line": 851, "start_column": 37, "end_column": 44, "is_javadoc": false }, { "content": " open", - "start_line": 857, - "end_line": 857, + "start_line": 852, + "end_line": 852, "start_column": 37, "end_column": 43, "is_javadoc": false }, { "content": " low", - "start_line": 858, - "end_line": 858, + "start_line": 853, + "end_line": 853, "start_column": 37, "end_column": 42, "is_javadoc": false }, { "content": " high", - "start_line": 859, - "end_line": 859, + "start_line": 854, + "end_line": 854, "start_column": 37, "end_column": 43, "is_javadoc": false }, { "content": " change", - "start_line": 860, - "end_line": 860, + "start_line": 855, + "end_line": 855, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " symbol", - "start_line": 904, - "end_line": 904, + "start_line": 899, + "end_line": 899, "start_column": 32, "end_column": 40, "is_javadoc": false }, { "content": " symbol", - "start_line": 922, - "end_line": 922, + "start_line": 917, + "end_line": 917, "start_column": 32, "end_column": 40, "is_javadoc": false }, { "content": "\n * @see TradeServices#getAllQuotes(String)\n ", - "start_line": 937, - "end_line": 939, + "start_line": 932, + "end_line": 934, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getHoldings(String)\n ", - "start_line": 969, - "end_line": 971, + "start_line": 964, + "end_line": 966, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getHolding(Integer)\n ", - "start_line": 1004, - "end_line": 1006, + "start_line": 999, + "end_line": 1001, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1030, - "end_line": 1032, + "start_line": 1025, + "end_line": 1027, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1068, - "end_line": 1070, + "start_line": 1063, + "end_line": 1065, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " already sold", - "start_line": 1136, - "end_line": 1136, + "start_line": 1131, + "end_line": 1131, "start_column": 7, "end_column": 21, "is_javadoc": false }, { "content": " already sold", - "start_line": 1155, - "end_line": 1155, + "start_line": 1150, + "end_line": 1150, "start_column": 7, "end_column": 21, "is_javadoc": false }, { "content": "\n * @see TradeServices#getAccountProfileData(String)\n ", - "start_line": 1164, - "end_line": 1166, + "start_line": 1159, + "end_line": 1161, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\n * @see TradeServices#updateAccountProfile(AccountProfileDataBean)\n ", - "start_line": 1211, - "end_line": 1213, + "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": 1249, - "end_line": 1249, + "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": 1298, - "end_line": 1310, + "start_line": 1293, + "end_line": 1305, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " pass exception back", - "start_line": 1401, - "end_line": 1401, + "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": 1460, - "end_line": 1463, + "start_line": 1455, + "end_line": 1458, "start_column": 5, "end_column": 7, "is_javadoc": false }, { "content": "\n * @see TradeServices#logout(String)\n ", - "start_line": 1466, - "end_line": 1468, + "start_line": 1461, + "end_line": 1463, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Clear MDB Statistics", - "start_line": 1599, - "end_line": 1599, + "start_line": 1594, + "end_line": 1594, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " commit(conn);", - "start_line": 1614, - "end_line": 1614, + "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": 1616, - "end_line": 1616, + "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": 1655, - "end_line": 1657, + "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": 1683, - "end_line": 1687, + "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": 1696, - "end_line": 1698, + "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": 1706, - "end_line": 1706, + "start_line": 1701, + "end_line": 1701, "start_column": 9, "end_column": 50, "is_javadoc": false }, { "content": " Throw the exception", - "start_line": 1705, - "end_line": 1705, + "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": 1711, - "end_line": 1713, + "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": 1796, - "end_line": 1800, + "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": 1805, - "end_line": 1810, + "start_line": 1800, + "end_line": 1805, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -175711,7 +172851,7 @@ "nested_type_declarations": [], "callable_declarations": { "getQuoteData(Connection, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getQuoteData(Connection, String)", "comments": [], "annotations": [], @@ -175728,8 +172868,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1100, - "end_line": 1100, + "start_line": 1095, + "end_line": 1095, "start_column": 38, "end_column": 52 }, @@ -175738,15 +172878,16 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1100, - "end_line": 1100, + "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": 1100, - "end_line": 1112, + "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, @@ -175778,9 +172919,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1102, + "start_line": 1097, "start_column": 30, - "end_line": 1102, + "end_line": 1097, "end_column": 60 }, { @@ -175802,9 +172943,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1103, + "start_line": 1098, "start_column": 5, - "end_line": 1103, + "end_line": 1098, "end_column": 29 }, { @@ -175823,9 +172964,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1104, + "start_line": 1099, "start_column": 20, - "end_line": 1104, + "end_line": 1099, "end_column": 38 }, { @@ -175844,9 +172985,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1105, + "start_line": 1100, "start_column": 10, - "end_line": 1105, + "end_line": 1100, "end_column": 18 }, { @@ -175867,9 +173008,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1106, + "start_line": 1101, "start_column": 7, - "end_line": 1106, + "end_line": 1101, "end_column": 88 }, { @@ -175890,9 +173031,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1108, + "start_line": 1103, "start_column": 19, - "end_line": 1108, + "end_line": 1103, "end_column": 47 }, { @@ -175911,9 +173052,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1110, + "start_line": 1105, "start_column": 5, - "end_line": 1110, + "end_line": 1105, "end_column": 16 } ], @@ -175930,9 +173071,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 1101, + "start_line": 1096, "start_column": 19, - "end_line": 1101, + "end_line": 1096, "end_column": 34 }, { @@ -175947,9 +173088,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getQuoteSQL)", - "start_line": 1102, + "start_line": 1097, "start_column": 23, - "end_line": 1102, + "end_line": 1097, "end_column": 60 }, { @@ -175964,9 +173105,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1104, + "start_line": 1099, "start_column": 15, - "end_line": 1104, + "end_line": 1099, "end_column": 38 } ], @@ -175976,29 +173117,29 @@ "is_entrypoint": false }, "recreateDBTables(Object[], java.io.PrintWriter)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "recreateDBTables(Object[], java.io.PrintWriter)", "comments": [ { "content": " Clear MDB Statistics", - "start_line": 1599, - "end_line": 1599, + "start_line": 1594, + "end_line": 1594, "start_column": 5, "end_column": 27, "is_javadoc": false }, { "content": " commit(conn);", - "start_line": 1614, - "end_line": 1614, + "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": 1616, - "end_line": 1616, + "start_line": 1611, + "end_line": 1611, "start_column": 11, "end_column": 65, "is_javadoc": false @@ -176018,8 +173159,8 @@ "name": "sqlBuffer", "annotations": [], "modifiers": [], - "start_line": 1598, - "end_line": 1598, + "start_line": 1593, + "end_line": 1593, "start_column": 35, "end_column": 52 }, @@ -176028,15 +173169,16 @@ "name": "out", "annotations": [], "modifiers": [], - "start_line": 1598, - "end_line": 1598, + "start_line": 1593, + "end_line": 1593, "start_column": 55, "end_column": 77 } ], - "code": "{\n // Clear MDB Statistics\n MDBStats.getInstance().reset();\n Connection conn = null;\n boolean success = false;\n try {\n Log.trace(\"TradeDirect:recreateDBTables\");\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": 1598, - "end_line": 1632, + "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, @@ -176052,8 +173194,8 @@ "method_name": "reset", "comment": { "content": " Clear MDB Statistics", - "start_line": 1599, - "end_line": 1599, + "start_line": 1594, + "end_line": 1594, "start_column": 5, "end_column": 27, "is_javadoc": false @@ -176071,9 +173213,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1600, + "start_line": 1595, "start_column": 5, - "end_line": 1600, + "end_line": 1595, "end_column": 34 }, { @@ -176092,9 +173234,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1600, + "start_line": 1595, "start_column": 5, - "end_line": 1600, + "end_line": 1595, "end_column": 26 }, { @@ -176115,9 +173257,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1606, + "start_line": 1601, "start_column": 7, - "end_line": 1606, + "end_line": 1601, "end_column": 47 }, { @@ -176136,9 +173278,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1608, + "start_line": 1603, "start_column": 14, - "end_line": 1608, + "end_line": 1603, "end_column": 22 }, { @@ -176157,9 +173299,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1609, + "start_line": 1604, "start_column": 24, - "end_line": 1609, + "end_line": 1604, "end_column": 45 }, { @@ -176180,9 +173322,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1613, + "start_line": 1608, "start_column": 11, - "end_line": 1613, + "end_line": 1608, "end_column": 51 }, { @@ -176203,9 +173345,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1617, + "start_line": 1612, "start_column": 15, - "end_line": 1617, + "end_line": 1612, "end_column": 54 }, { @@ -176227,9 +173369,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1618, + "start_line": 1613, "start_column": 13, - "end_line": 1618, + "end_line": 1613, "end_column": 129 }, { @@ -176250,9 +173392,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1619, + "start_line": 1614, "start_column": 13, - "end_line": 1619, + "end_line": 1614, "end_column": 144 }, { @@ -176271,9 +173413,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1623, + "start_line": 1618, "start_column": 7, - "end_line": 1623, + "end_line": 1618, "end_column": 18 }, { @@ -176294,9 +173436,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1624, + "start_line": 1619, "start_column": 7, - "end_line": 1624, + "end_line": 1619, "end_column": 18 }, { @@ -176318,9 +173460,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1627, + "start_line": 1622, "start_column": 7, - "end_line": 1627, + "end_line": 1622, "end_column": 105 }, { @@ -176341,9 +173483,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1629, + "start_line": 1624, "start_column": 7, - "end_line": 1629, + "end_line": 1624, "end_column": 23 } ], @@ -176360,9 +173502,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1602, + "start_line": 1597, "start_column": 16, - "end_line": 1602, + "end_line": 1597, "end_column": 26 }, { @@ -176377,9 +173519,9 @@ "name": "success", "type": "boolean", "initializer": "false", - "start_line": 1603, + "start_line": 1598, "start_column": 13, - "end_line": 1603, + "end_line": 1598, "end_column": 27 }, { @@ -176394,9 +173536,9 @@ "name": "stmt", "type": "java.sql.Statement", "initializer": "conn.createStatement()", - "start_line": 1609, + "start_line": 1604, "start_column": 17, - "end_line": 1609, + "end_line": 1604, "end_column": 45 }, { @@ -176411,9 +173553,9 @@ "name": "bufferLength", "type": "int", "initializer": "sqlBuffer.length", - "start_line": 1610, + "start_line": 1605, "start_column": 11, - "end_line": 1610, + "end_line": 1605, "end_column": 41 }, { @@ -176428,9 +173570,9 @@ "name": "i", "type": "int", "initializer": "0", - "start_line": 1611, + "start_line": 1606, "start_column": 16, - "end_line": 1611, + "end_line": 1606, "end_column": 20 } ], @@ -176440,7 +173582,7 @@ "is_entrypoint": false }, "updateOrderStatus(Connection, Integer, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateOrderStatus(Connection, Integer, String)", "comments": [], "annotations": [], @@ -176457,8 +173599,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1260, - "end_line": 1260, + "start_line": 1255, + "end_line": 1255, "start_column": 34, "end_column": 48 }, @@ -176467,8 +173609,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 1260, - "end_line": 1260, + "start_line": 1255, + "end_line": 1255, "start_column": 51, "end_column": 65 }, @@ -176477,15 +173619,16 @@ "name": "status", "annotations": [], "modifiers": [], - "start_line": 1260, - "end_line": 1260, + "start_line": 1255, + "end_line": 1255, "start_column": 68, "end_column": 80 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, updateOrderStatusSQL);\n stmt.setString(1, status);\n stmt.setTimestamp(2, new Timestamp(System.currentTimeMillis()));\n stmt.setInt(3, orderID.intValue());\n stmt.executeUpdate();\n stmt.close();\n}", - "start_line": 1260, - "end_line": 1268, + "code": "{\n PreparedStatement stmt = getStatement(conn, updateOrderStatusSQL);\n\n stmt.setString(1, status);\n stmt.setTimestamp(2, new Timestamp(System.currentTimeMillis()));\n stmt.setInt(3, orderID.intValue());\n stmt.executeUpdate();\n stmt.close();\n }", + "start_line": 1255, + "end_line": 1263, + "code_start_line": 1255, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -176515,9 +173658,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1261, + "start_line": 1256, "start_column": 30, - "end_line": 1261, + "end_line": 1256, "end_column": 69 }, { @@ -176539,9 +173682,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1263, + "start_line": 1258, "start_column": 5, - "end_line": 1263, + "end_line": 1258, "end_column": 29 }, { @@ -176563,9 +173706,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1264, + "start_line": 1259, "start_column": 5, - "end_line": 1264, + "end_line": 1259, "end_column": 67 }, { @@ -176584,9 +173727,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1264, + "start_line": 1259, "start_column": 40, - "end_line": 1264, + "end_line": 1259, "end_column": 65 }, { @@ -176608,9 +173751,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1265, + "start_line": 1260, "start_column": 5, - "end_line": 1265, + "end_line": 1260, "end_column": 38 }, { @@ -176629,9 +173772,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1265, + "start_line": 1260, "start_column": 20, - "end_line": 1265, + "end_line": 1260, "end_column": 37 }, { @@ -176650,9 +173793,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1266, + "start_line": 1261, "start_column": 5, - "end_line": 1266, + "end_line": 1261, "end_column": 24 }, { @@ -176671,9 +173814,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1267, + "start_line": 1262, "start_column": 5, - "end_line": 1267, + "end_line": 1262, "end_column": 16 }, { @@ -176694,9 +173837,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1264, + "start_line": 1259, "start_column": 26, - "end_line": 1264, + "end_line": 1259, "end_column": 66 } ], @@ -176713,9 +173856,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, updateOrderStatusSQL)", - "start_line": 1261, + "start_line": 1256, "start_column": 23, - "end_line": 1261, + "end_line": 1256, "end_column": 69 } ], @@ -176725,7 +173868,7 @@ "is_entrypoint": false }, "getAccountProfileData(Connection, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountProfileData(Connection, Integer)", "comments": [], "annotations": [], @@ -176742,8 +173885,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1200, - "end_line": 1200, + "start_line": 1195, + "end_line": 1195, "start_column": 56, "end_column": 70 }, @@ -176752,15 +173895,16 @@ "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 1200, - "end_line": 1200, + "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 ResultSet rs = stmt.executeQuery();\n AccountProfileDataBean accountProfileData = getAccountProfileDataFromResultSet(rs);\n stmt.close();\n return accountProfileData;\n}", - "start_line": 1200, - "end_line": 1209, + "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, @@ -176792,9 +173936,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1201, + "start_line": 1196, "start_column": 30, - "end_line": 1201, + "end_line": 1196, "end_column": 79 }, { @@ -176816,9 +173960,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1202, + "start_line": 1197, "start_column": 5, - "end_line": 1202, + "end_line": 1197, "end_column": 40 }, { @@ -176837,9 +173981,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1202, + "start_line": 1197, "start_column": 20, - "end_line": 1202, + "end_line": 1197, "end_column": 39 }, { @@ -176858,9 +174002,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1204, + "start_line": 1199, "start_column": 20, - "end_line": 1204, + "end_line": 1199, "end_column": 38 }, { @@ -176881,9 +174025,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1206, + "start_line": 1201, "start_column": 49, - "end_line": 1206, + "end_line": 1201, "end_column": 86 }, { @@ -176902,9 +174046,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1207, + "start_line": 1202, "start_column": 5, - "end_line": 1207, + "end_line": 1202, "end_column": 16 } ], @@ -176921,9 +174065,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getAccountProfileForAccountSQL)", - "start_line": 1201, + "start_line": 1196, "start_column": 23, - "end_line": 1201, + "end_line": 1196, "end_column": 79 }, { @@ -176938,9 +174082,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1204, + "start_line": 1199, "start_column": 15, - "end_line": 1204, + "end_line": 1199, "end_column": 38 }, { @@ -176955,9 +174099,9 @@ "name": "accountProfileData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "getAccountProfileDataFromResultSet(rs)", - "start_line": 1206, + "start_line": 1201, "start_column": 28, - "end_line": 1206, + "end_line": 1201, "end_column": 86 } ], @@ -176967,37 +174111,37 @@ "is_entrypoint": false }, "getMarketSummary()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/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": 149, - "end_line": 154, + "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": 163, - "end_line": 166, + "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": 171, - "end_line": 176, + "start_line": 166, + "end_line": 171, "start_column": 11, "end_column": 13, "is_javadoc": true }, { "content": "\n * If we're the lucky one then let's update the MarketSummary\n ", - "start_line": 183, - "end_line": 185, + "start_line": 178, + "end_line": 180, "start_column": 7, "end_column": 9, "is_javadoc": true @@ -177014,9 +174158,10 @@ ], "declaration": "public MarketSummaryDataBean getMarketSummary() throws Exception", "parameters": [], - "code": "{\n if (TradeConfig.getMarketSummaryInterval() == 0) {\n return getMarketSummaryInternal();\n }\n if (TradeConfig.getMarketSummaryInterval() < 0) {\n return cachedMSDB;\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 long currentTime = System.currentTimeMillis();\n if (currentTime > nextMarketSummary) {\n long oldNextMarketSummary = nextMarketSummary;\n boolean fetch = false;\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 * 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 * If we're the lucky one then let's update the MarketSummary\n */\n if (fetch) {\n cachedMSDB = getMarketSummaryInternal();\n }\n }\n return cachedMSDB;\n}", - "start_line": 139, - "end_line": 193, + "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, @@ -177043,9 +174188,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 137, "start_column": 9, - "end_line": 142, + "end_line": 137, "end_column": 46 }, { @@ -177064,9 +174209,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 143, + "start_line": 138, "start_column": 14, - "end_line": 143, + "end_line": 138, "end_column": 39 }, { @@ -177085,9 +174230,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 145, + "start_line": 140, "start_column": 9, - "end_line": 145, + "end_line": 140, "end_column": 46 }, { @@ -177106,9 +174251,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 156, + "start_line": 151, "start_column": 24, - "end_line": 156, + "end_line": 151, "end_column": 49 }, { @@ -177127,9 +174272,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 169, + "start_line": 164, "start_column": 32, - "end_line": 169, + "end_line": 164, "end_column": 69 }, { @@ -177148,9 +174293,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 178, + "start_line": 173, "start_column": 47, - "end_line": 178, + "end_line": 173, "end_column": 84 }, { @@ -177169,9 +174314,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 187, + "start_line": 182, "start_column": 22, - "end_line": 187, + "end_line": 182, "end_column": 47 } ], @@ -177188,9 +174333,9 @@ "name": "currentTime", "type": "long", "initializer": "System.currentTimeMillis()", - "start_line": 156, + "start_line": 151, "start_column": 10, - "end_line": 156, + "end_line": 151, "end_column": 49 }, { @@ -177205,9 +174350,9 @@ "name": "oldNextMarketSummary", "type": "long", "initializer": "nextMarketSummary", - "start_line": 159, + "start_line": 154, "start_column": 12, - "end_line": 159, + "end_line": 154, "end_column": 51 }, { @@ -177222,9 +174367,9 @@ "name": "fetch", "type": "boolean", "initializer": "false", - "start_line": 160, + "start_line": 155, "start_column": 15, - "end_line": 160, + "end_line": 155, "end_column": 27 } ], @@ -177234,7 +174379,7 @@ "is_entrypoint": false }, "investmentReturn(double, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "investmentReturn(double, double)", "comments": [], "annotations": [ @@ -177251,8 +174396,8 @@ "name": "rnd1", "annotations": [], "modifiers": [], - "start_line": 1834, - "end_line": 1834, + "start_line": 1829, + "end_line": 1829, "start_column": 34, "end_column": 44 }, @@ -177261,15 +174406,16 @@ "name": "rnd2", "annotations": [], "modifiers": [], - "start_line": 1834, - "end_line": 1834, + "start_line": 1829, + "end_line": 1829, "start_column": 47, "end_column": 57 } ], - "code": "{\n throw new UnsupportedOperationException();\n}", - "start_line": 1833, - "end_line": 1836, + "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, @@ -177292,9 +174438,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1835, + "start_line": 1830, "start_column": 11, - "end_line": 1835, + "end_line": 1830, "end_column": 45 } ], @@ -177305,13 +174451,13 @@ "is_entrypoint": false }, "getQuote(Connection, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getQuote(Connection, String)", "comments": [ { "content": " symbol", - "start_line": 904, - "end_line": 904, + "start_line": 899, + "end_line": 899, "start_column": 32, "end_column": 40, "is_javadoc": false @@ -177331,8 +174477,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 901, - "end_line": 901, + "start_line": 896, + "end_line": 896, "start_column": 34, "end_column": 48 }, @@ -177341,15 +174487,16 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 901, - "end_line": 901, + "start_line": 896, + "end_line": 896, "start_column": 51, "end_column": 63 } ], - "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteSQL);\n // symbol\n stmt.setString(1, symbol);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuote -- failure no result.next() for symbol: \" + symbol);\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n stmt.close();\n return quoteData;\n}", - "start_line": 901, - "end_line": 917, + "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, @@ -177381,17 +174528,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 903, + "start_line": 898, "start_column": 30, - "end_line": 903, + "end_line": 898, "end_column": 60 }, { "method_name": "setString", "comment": { "content": " symbol", - "start_line": 904, - "end_line": 904, + "start_line": 899, + "end_line": 899, "start_column": 32, "end_column": 40, "is_javadoc": false @@ -177412,9 +174559,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 904, + "start_line": 899, "start_column": 5, - "end_line": 904, + "end_line": 899, "end_column": 29 }, { @@ -177433,9 +174580,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 906, + "start_line": 901, "start_column": 20, - "end_line": 906, + "end_line": 901, "end_column": 38 }, { @@ -177454,9 +174601,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 908, + "start_line": 903, "start_column": 10, - "end_line": 908, + "end_line": 903, "end_column": 18 }, { @@ -177477,9 +174624,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 909, + "start_line": 904, "start_column": 7, - "end_line": 909, + "end_line": 904, "end_column": 89 }, { @@ -177500,9 +174647,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 911, + "start_line": 906, "start_column": 19, - "end_line": 911, + "end_line": 906, "end_column": 47 }, { @@ -177521,9 +174668,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 914, + "start_line": 909, "start_column": 5, - "end_line": 914, + "end_line": 909, "end_column": 16 } ], @@ -177540,9 +174687,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 902, + "start_line": 897, "start_column": 19, - "end_line": 902, + "end_line": 897, "end_column": 34 }, { @@ -177557,9 +174704,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getQuoteSQL)", - "start_line": 903, + "start_line": 898, "start_column": 23, - "end_line": 903, + "end_line": 898, "end_column": 60 }, { @@ -177574,9 +174721,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 906, + "start_line": 901, "start_column": 15, - "end_line": 906, + "end_line": 901, "end_column": 38 } ], @@ -177586,13 +174733,13 @@ "is_entrypoint": false }, "getAllQuotes()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAllQuotes()", "comments": [ { "content": "\n * @see TradeServices#getAllQuotes(String)\n ", - "start_line": 937, - "end_line": 939, + "start_line": 932, + "end_line": 934, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -177609,9 +174756,10 @@ ], "declaration": "public Collection getAllQuotes() throws Exception", "parameters": [], - "code": "{\n Collection quotes = new ArrayList();\n QuoteDataBean quoteData = null;\n Connection conn = null;\n try {\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getAllQuotesSQL);\n ResultSet rs = stmt.executeQuery();\n while (!rs.next()) {\n quoteData = getQuoteDataFromResultSet(rs);\n quotes.add(quoteData);\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 return quotes;\n}", - "start_line": 940, - "end_line": 967, + "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, @@ -177642,9 +174790,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 947, + "start_line": 942, "start_column": 14, - "end_line": 947, + "end_line": 942, "end_column": 22 }, { @@ -177666,9 +174814,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 949, + "start_line": 944, "start_column": 32, - "end_line": 949, + "end_line": 944, "end_column": 66 }, { @@ -177687,9 +174835,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 951, + "start_line": 946, "start_column": 22, - "end_line": 951, + "end_line": 946, "end_column": 40 }, { @@ -177708,9 +174856,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 953, + "start_line": 948, "start_column": 15, - "end_line": 953, + "end_line": 948, "end_column": 23 }, { @@ -177731,9 +174879,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 954, + "start_line": 949, "start_column": 21, - "end_line": 954, + "end_line": 949, "end_column": 49 }, { @@ -177754,9 +174902,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 955, + "start_line": 950, "start_column": 9, - "end_line": 955, + "end_line": 950, "end_column": 29 }, { @@ -177775,9 +174923,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 958, + "start_line": 953, "start_column": 7, - "end_line": 958, + "end_line": 953, "end_column": 18 }, { @@ -177799,9 +174947,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 960, + "start_line": 955, "start_column": 7, - "end_line": 960, + "end_line": 955, "end_column": 46 }, { @@ -177823,9 +174971,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 961, + "start_line": 956, "start_column": 7, - "end_line": 961, + "end_line": 956, "end_column": 23 }, { @@ -177846,9 +174994,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 963, + "start_line": 958, "start_column": 7, - "end_line": 963, + "end_line": 958, "end_column": 23 }, { @@ -177867,9 +175015,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 942, + "start_line": 937, "start_column": 40, - "end_line": 942, + "end_line": 937, "end_column": 69 } ], @@ -177886,9 +175034,9 @@ "name": "quotes", "type": "java.util.Collection", "initializer": "new ArrayList()", - "start_line": 942, + "start_line": 937, "start_column": 31, - "end_line": 942, + "end_line": 937, "end_column": 69 }, { @@ -177903,9 +175051,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 943, + "start_line": 938, "start_column": 19, - "end_line": 943, + "end_line": 938, "end_column": 34 }, { @@ -177920,9 +175068,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 945, + "start_line": 940, "start_column": 16, - "end_line": 945, + "end_line": 940, "end_column": 26 }, { @@ -177937,9 +175085,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getAllQuotesSQL)", - "start_line": 949, + "start_line": 944, "start_column": 25, - "end_line": 949, + "end_line": 944, "end_column": 66 }, { @@ -177954,9 +175102,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 951, + "start_line": 946, "start_column": 17, - "end_line": 951, + "end_line": 946, "end_column": 40 } ], @@ -177966,13 +175114,13 @@ "is_entrypoint": false }, "getOrderData(Connection, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getOrderData(Connection, int)", "comments": [ { "content": " already sold", - "start_line": 1155, - "end_line": 1155, + "start_line": 1150, + "end_line": 1150, "start_column": 7, "end_column": 21, "is_javadoc": false @@ -177992,8 +175140,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1146, - "end_line": 1146, + "start_line": 1141, + "end_line": 1141, "start_column": 38, "end_column": 52 }, @@ -178002,15 +175150,16 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 1146, - "end_line": 1146, + "start_line": 1141, + "end_line": 1141, "start_column": 55, "end_column": 65 } ], - "code": "{\n OrderDataBean orderData = null;\n Log.trace(\"TradeDirect:getOrderData(conn, \" + orderID + \")\");\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": 1146, - "end_line": 1162, + "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, @@ -178041,9 +175190,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1149, + "start_line": 1144, "start_column": 5, - "end_line": 1149, + "end_line": 1144, "end_column": 64 }, { @@ -178065,9 +175214,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1151, + "start_line": 1146, "start_column": 30, - "end_line": 1151, + "end_line": 1146, "end_column": 60 }, { @@ -178089,9 +175238,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1152, + "start_line": 1147, "start_column": 5, - "end_line": 1152, + "end_line": 1147, "end_column": 27 }, { @@ -178110,9 +175259,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1153, + "start_line": 1148, "start_column": 20, - "end_line": 1153, + "end_line": 1148, "end_column": 38 }, { @@ -178131,17 +175280,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1154, + "start_line": 1149, "start_column": 10, - "end_line": 1154, + "end_line": 1149, "end_column": 18 }, { "method_name": "error", "comment": { "content": " already sold", - "start_line": 1155, - "end_line": 1155, + "start_line": 1150, + "end_line": 1150, "start_column": 7, "end_column": 21, "is_javadoc": false @@ -178161,9 +175310,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1156, + "start_line": 1151, "start_column": 7, - "end_line": 1156, + "end_line": 1151, "end_column": 80 }, { @@ -178184,9 +175333,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1158, + "start_line": 1153, "start_column": 19, - "end_line": 1158, + "end_line": 1153, "end_column": 47 }, { @@ -178205,9 +175354,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1160, + "start_line": 1155, "start_column": 5, - "end_line": 1160, + "end_line": 1155, "end_column": 16 } ], @@ -178224,9 +175373,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 1147, + "start_line": 1142, "start_column": 19, - "end_line": 1147, + "end_line": 1142, "end_column": 34 }, { @@ -178241,9 +175390,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getOrderSQL)", - "start_line": 1151, + "start_line": 1146, "start_column": 23, - "end_line": 1151, + "end_line": 1146, "end_column": 60 }, { @@ -178258,9 +175407,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1153, + "start_line": 1148, "start_column": 15, - "end_line": 1153, + "end_line": 1148, "end_column": 38 } ], @@ -178270,13 +175419,13 @@ "is_entrypoint": false }, "getQuoteForUpdate(Connection, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getQuoteForUpdate(Connection, String)", "comments": [ { "content": " symbol", - "start_line": 922, - "end_line": 922, + "start_line": 917, + "end_line": 917, "start_column": 32, "end_column": 40, "is_javadoc": false @@ -178296,8 +175445,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 919, - "end_line": 919, + "start_line": 914, + "end_line": 914, "start_column": 43, "end_column": 57 }, @@ -178306,15 +175455,16 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 919, - "end_line": 919, + "start_line": 914, + "end_line": 914, "start_column": 60, "end_column": 72 } ], - "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteForUpdateSQL);\n // symbol\n stmt.setString(1, symbol);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuote -- failure no result.next()\");\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n stmt.close();\n return quoteData;\n}", - "start_line": 919, - "end_line": 935, + "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, @@ -178346,17 +175496,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 921, + "start_line": 916, "start_column": 30, - "end_line": 921, + "end_line": 916, "end_column": 69 }, { "method_name": "setString", "comment": { "content": " symbol", - "start_line": 922, - "end_line": 922, + "start_line": 917, + "end_line": 917, "start_column": 32, "end_column": 40, "is_javadoc": false @@ -178377,9 +175527,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 922, + "start_line": 917, "start_column": 5, - "end_line": 922, + "end_line": 917, "end_column": 29 }, { @@ -178398,9 +175548,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 924, + "start_line": 919, "start_column": 20, - "end_line": 924, + "end_line": 919, "end_column": 38 }, { @@ -178419,9 +175569,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 926, + "start_line": 921, "start_column": 10, - "end_line": 926, + "end_line": 921, "end_column": 18 }, { @@ -178442,9 +175592,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 927, + "start_line": 922, "start_column": 7, - "end_line": 927, + "end_line": 922, "end_column": 67 }, { @@ -178465,9 +175615,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 929, + "start_line": 924, "start_column": 19, - "end_line": 929, + "end_line": 924, "end_column": 47 }, { @@ -178486,9 +175636,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 932, + "start_line": 927, "start_column": 5, - "end_line": 932, + "end_line": 927, "end_column": 16 } ], @@ -178505,9 +175655,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 920, + "start_line": 915, "start_column": 19, - "end_line": 920, + "end_line": 915, "end_column": 34 }, { @@ -178522,9 +175672,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getQuoteForUpdateSQL)", - "start_line": 921, + "start_line": 916, "start_column": 23, - "end_line": 921, + "end_line": 916, "end_column": 69 }, { @@ -178539,9 +175689,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 924, + "start_line": 919, "start_column": 15, - "end_line": 924, + "end_line": 919, "end_column": 38 } ], @@ -178551,7 +175701,7 @@ "is_entrypoint": false }, "setInSession(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "setInSession(boolean)", "comments": [], "annotations": [], @@ -178566,15 +175716,16 @@ "name": "inSession", "annotations": [], "modifiers": [], - "start_line": 1815, - "end_line": 1815, + "start_line": 1810, + "end_line": 1810, "start_column": 28, "end_column": 44 } ], - "code": "{\n this.inSession = inSession;\n}", - "start_line": 1815, - "end_line": 1817, + "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, @@ -178590,21 +175741,21 @@ "is_entrypoint": false }, "completeOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "completeOrder(Integer, boolean)", "comments": [ { "content": " twoPhase", - "start_line": 518, - "end_line": 518, + "start_line": 513, + "end_line": 513, "start_column": 11, "end_column": 21, "is_javadoc": false }, { "content": "\n * @see TradeServices#completeOrder(Integer)\n ", - "start_line": 510, - "end_line": 512, + "start_line": 505, + "end_line": 507, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -178626,8 +175777,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 514, - "end_line": 514, + "start_line": 509, + "end_line": 509, "start_column": 38, "end_column": 52 }, @@ -178636,15 +175787,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 514, - "end_line": 514, + "start_line": 509, + "end_line": 509, "start_column": 55, "end_column": 70 } ], - "code": "{\n OrderDataBean orderData = null;\n Connection conn = null;\n try {\n // twoPhase\n Log.trace(\"TradeDirect:completeOrder - inSession(\" + this.inSession + \")\", orderID);\n setInGlobalTxn(!inSession && twoPhase);\n conn = getConn();\n orderData = completeOrder(conn, orderID);\n commit(conn);\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 return orderData;\n}", - "start_line": 513, - "end_line": 540, + "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, @@ -178675,9 +175827,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 521, + "start_line": 516, "start_column": 7, - "end_line": 521, + "end_line": 516, "end_column": 89 }, { @@ -178698,9 +175850,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 523, + "start_line": 518, "start_column": 7, - "end_line": 523, + "end_line": 518, "end_column": 44 }, { @@ -178719,9 +175871,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 524, + "start_line": 519, "start_column": 14, - "end_line": 524, + "end_line": 519, "end_column": 22 }, { @@ -178743,9 +175895,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 526, + "start_line": 521, "start_column": 19, - "end_line": 526, + "end_line": 521, "end_column": 46 }, { @@ -178766,9 +175918,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 528, + "start_line": 523, "start_column": 7, - "end_line": 528, + "end_line": 523, "end_column": 18 }, { @@ -178790,9 +175942,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 531, + "start_line": 526, "start_column": 7, - "end_line": 531, + "end_line": 526, "end_column": 73 }, { @@ -178814,9 +175966,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 532, + "start_line": 527, "start_column": 7, - "end_line": 532, + "end_line": 527, "end_column": 23 }, { @@ -178838,9 +175990,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 533, + "start_line": 528, "start_column": 7, - "end_line": 533, + "end_line": 528, "end_column": 36 }, { @@ -178861,9 +176013,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 535, + "start_line": 530, "start_column": 7, - "end_line": 535, + "end_line": 530, "end_column": 23 } ], @@ -178880,9 +176032,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 515, + "start_line": 510, "start_column": 19, - "end_line": 515, + "end_line": 510, "end_column": 34 }, { @@ -178897,9 +176049,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 516, + "start_line": 511, "start_column": 16, - "end_line": 516, + "end_line": 511, "end_column": 26 } ], @@ -178909,7 +176061,7 @@ "is_entrypoint": false }, "commit(Connection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "commit(Connection)", "comments": [], "annotations": [], @@ -178926,15 +176078,16 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1688, - "end_line": 1688, + "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": 1688, - "end_line": 1694, + "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, @@ -178959,9 +176112,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1690, + "start_line": 1685, "start_column": 12, - "end_line": 1690, + "end_line": 1685, "end_column": 27 }, { @@ -178980,9 +176133,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1691, + "start_line": 1686, "start_column": 9, - "end_line": 1691, + "end_line": 1686, "end_column": 21 } ], @@ -178993,7 +176146,7 @@ "is_entrypoint": false }, "getStatement(Connection, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getStatement(Connection, String)", "comments": [], "annotations": [], @@ -179010,8 +176163,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1714, - "end_line": 1714, + "start_line": 1709, + "end_line": 1709, "start_column": 42, "end_column": 56 }, @@ -179020,15 +176173,16 @@ "name": "sql", "annotations": [], "modifiers": [], - "start_line": 1714, - "end_line": 1714, + "start_line": 1709, + "end_line": 1709, "start_column": 59, "end_column": 68 } ], - "code": "{\n return conn.prepareStatement(sql);\n}", - "start_line": 1714, - "end_line": 1716, + "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, @@ -179053,9 +176207,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1715, + "start_line": 1710, "start_column": 12, - "end_line": 1715, + "end_line": 1710, "end_column": 37 } ], @@ -179066,7 +176220,7 @@ "is_entrypoint": false }, "releaseConn(Connection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "releaseConn(Connection)", "comments": [], "annotations": [], @@ -179083,15 +176237,16 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1638, - "end_line": 1638, + "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": 1638, - "end_line": 1652, + "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, @@ -179117,9 +176272,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1641, + "start_line": 1636, "start_column": 9, - "end_line": 1641, + "end_line": 1636, "end_column": 20 }, { @@ -179138,9 +176293,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1642, + "start_line": 1637, "start_column": 13, - "end_line": 1642, + "end_line": 1637, "end_column": 25 }, { @@ -179161,9 +176316,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1646, + "start_line": 1641, "start_column": 11, - "end_line": 1646, + "end_line": 1641, "end_column": 91 }, { @@ -179185,9 +176340,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1650, + "start_line": 1645, "start_column": 7, - "end_line": 1650, + "end_line": 1645, "end_column": 81 } ], @@ -179198,37 +176353,37 @@ "is_entrypoint": false }, "getOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getOrders(String)", "comments": [ { "content": " TODO: return top 5 orders for now -- next version will add a", - "start_line": 777, - "end_line": 777, + "start_line": 772, + "end_line": 772, "start_column": 7, "end_column": 69, "is_javadoc": false }, { "content": " getAllOrders method", - "start_line": 778, - "end_line": 778, + "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": 779, - "end_line": 779, + "start_line": 774, + "end_line": 774, "start_column": 7, "end_column": 62, "is_javadoc": false }, { "content": "\n * @see TradeServices#getOrders(String)\n ", - "start_line": 760, - "end_line": 762, + "start_line": 755, + "end_line": 757, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -179250,15 +176405,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 764, - "end_line": 764, + "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 conn = getConn();\n PreparedStatement stmt = getStatement(conn, getOrdersByUserSQL);\n stmt.setString(1, userID);\n ResultSet rs = stmt.executeQuery();\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 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": 763, - "end_line": 796, + "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, @@ -179293,9 +176449,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 768, + "start_line": 763, "start_column": 7, - "end_line": 768, + "end_line": 763, "end_column": 84 }, { @@ -179314,9 +176470,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 771, + "start_line": 766, "start_column": 14, - "end_line": 771, + "end_line": 766, "end_column": 22 }, { @@ -179338,9 +176494,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 772, + "start_line": 767, "start_column": 32, - "end_line": 772, + "end_line": 767, "end_column": 69 }, { @@ -179362,9 +176518,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 773, + "start_line": 768, "start_column": 7, - "end_line": 773, + "end_line": 768, "end_column": 31 }, { @@ -179383,9 +176539,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 775, + "start_line": 770, "start_column": 22, - "end_line": 775, + "end_line": 770, "end_column": 40 }, { @@ -179404,9 +176560,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 781, + "start_line": 776, "start_column": 15, - "end_line": 781, + "end_line": 776, "end_column": 23 }, { @@ -179427,9 +176583,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 782, + "start_line": 777, "start_column": 35, - "end_line": 782, + "end_line": 777, "end_column": 63 }, { @@ -179450,9 +176606,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 783, + "start_line": 778, "start_column": 9, - "end_line": 783, + "end_line": 778, "end_column": 37 }, { @@ -179471,9 +176627,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 786, + "start_line": 781, "start_column": 7, - "end_line": 786, + "end_line": 781, "end_column": 18 }, { @@ -179494,9 +176650,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 787, + "start_line": 782, "start_column": 7, - "end_line": 787, + "end_line": 782, "end_column": 18 }, { @@ -179518,9 +176674,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 790, + "start_line": 785, "start_column": 7, - "end_line": 790, + "end_line": 785, "end_column": 72 }, { @@ -179542,9 +176698,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 791, + "start_line": 786, "start_column": 7, - "end_line": 791, + "end_line": 786, "end_column": 23 }, { @@ -179565,9 +176721,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 793, + "start_line": 788, "start_column": 7, - "end_line": 793, + "end_line": 788, "end_column": 23 }, { @@ -179586,9 +176742,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 765, + "start_line": 760, "start_column": 48, - "end_line": 765, + "end_line": 760, "end_column": 77 } ], @@ -179605,9 +176761,9 @@ "name": "orderDataBeans", "type": "java.util.Collection", "initializer": "new ArrayList()", - "start_line": 765, + "start_line": 760, "start_column": 31, - "end_line": 765, + "end_line": 760, "end_column": 77 }, { @@ -179622,9 +176778,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 766, + "start_line": 761, "start_column": 16, - "end_line": 766, + "end_line": 761, "end_column": 26 }, { @@ -179639,9 +176795,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getOrdersByUserSQL)", - "start_line": 772, + "start_line": 767, "start_column": 25, - "end_line": 772, + "end_line": 767, "end_column": 69 }, { @@ -179656,9 +176812,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 775, + "start_line": 770, "start_column": 17, - "end_line": 775, + "end_line": 770, "end_column": 40 }, { @@ -179673,9 +176829,9 @@ "name": "i", "type": "int", "initializer": "0", - "start_line": 780, + "start_line": 775, "start_column": 11, - "end_line": 780, + "end_line": 775, "end_column": 15 }, { @@ -179690,9 +176846,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "getOrderDataFromResultSet(rs)", - "start_line": 782, + "start_line": 777, "start_column": 23, - "end_line": 782, + "end_line": 777, "end_column": 63 } ], @@ -179702,7 +176858,7 @@ "is_entrypoint": false }, "getQuote(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getQuote(String)", "comments": [], "annotations": [ @@ -179721,15 +176877,16 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 880, - "end_line": 880, + "start_line": 875, + "end_line": 875, "start_column": 33, "end_column": 45 } ], - "code": "{\n QuoteDataBean quoteData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getQuote - inSession(\" + this.inSession + \")\", symbol);\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": 879, - "end_line": 899, + "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, @@ -179760,9 +176917,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 886, + "start_line": 881, "start_column": 7, - "end_line": 886, + "end_line": 881, "end_column": 83 }, { @@ -179781,9 +176938,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 889, + "start_line": 884, "start_column": 14, - "end_line": 889, + "end_line": 884, "end_column": 22 }, { @@ -179805,9 +176962,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 890, + "start_line": 885, "start_column": 19, - "end_line": 890, + "end_line": 885, "end_column": 40 }, { @@ -179828,9 +176985,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 891, + "start_line": 886, "start_column": 7, - "end_line": 891, + "end_line": 886, "end_column": 18 }, { @@ -179852,9 +177009,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 893, + "start_line": 888, "start_column": 7, - "end_line": 893, + "end_line": 888, "end_column": 65 }, { @@ -179876,9 +177033,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 894, + "start_line": 889, "start_column": 7, - "end_line": 894, + "end_line": 889, "end_column": 23 }, { @@ -179899,9 +177056,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 896, + "start_line": 891, "start_column": 7, - "end_line": 896, + "end_line": 891, "end_column": 23 } ], @@ -179918,9 +177075,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 881, + "start_line": 876, "start_column": 19, - "end_line": 881, + "end_line": 876, "end_column": 34 }, { @@ -179935,9 +177092,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 882, + "start_line": 877, "start_column": 16, - "end_line": 882, + "end_line": 877, "end_column": 26 } ], @@ -179947,77 +177104,77 @@ "is_entrypoint": false }, "completeOrder(Connection, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "completeOrder(Connection, Integer)", "comments": [ { "content": " get the data for the account and quote", - "start_line": 586, - "end_line": 586, + "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": 587, - "end_line": 587, + "start_line": 582, + "end_line": 582, "start_column": 5, "end_column": 68, "is_javadoc": false }, { "content": "conn = getConn();", - "start_line": 552, - "end_line": 552, + "start_line": 547, + "end_line": 547, "start_column": 5, "end_column": 23, "is_javadoc": false }, { "content": " if (order.isCompleted())", - "start_line": 573, - "end_line": 573, + "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": 589, - "end_line": 593, + "start_line": 584, + "end_line": 588, "start_column": 5, "end_column": 7, "is_javadoc": false }, { "content": " if (order.isBuy())", - "start_line": 603, - "end_line": 603, + "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": 605, - "end_line": 608, + "start_line": 600, + "end_line": 603, "start_column": 7, "end_column": 9, "is_javadoc": false }, { "content": " if (order.isSell()) {", - "start_line": 616, - "end_line": 616, + "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": 618, - "end_line": 621, + "start_line": 613, + "end_line": 616, "start_column": 7, "end_column": 9, "is_javadoc": false @@ -180037,8 +177194,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 551, - "end_line": 551, + "start_line": 546, + "end_line": 546, "start_column": 39, "end_column": 53 }, @@ -180047,15 +177204,16 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 551, - "end_line": 551, + "start_line": 546, + "end_line": 546, "start_column": 56, "end_column": 70 } ], - "code": "{\n //conn = getConn();\n OrderDataBean orderData = null;\n Log.trace(\"TradeDirect:completeOrderInternal - inSession(\" + this.inSession + \")\", orderID);\n PreparedStatement stmt = getStatement(conn, getOrderSQL);\n stmt.setInt(1, orderID.intValue());\n ResultSet rs = stmt.executeQuery();\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 String orderType = orderData.getOrderType();\n String orderStatus = orderData.getOrderStatus();\n // if (order.isCompleted())\n if ((orderStatus.compareToIgnoreCase(\"completed\") == 0) || (orderStatus.compareToIgnoreCase(\"alertcompleted\") == 0) || (orderStatus.compareToIgnoreCase(\"cancelled\") == 0)) {\n throw new Exception(\"TradeDirect:completeOrder -- attempt to complete Order that is already completed\");\n }\n int accountID = rs.getInt(\"account_accountID\");\n String quoteID = rs.getString(\"quote_symbol\");\n int holdingID = rs.getInt(\"holding_holdingID\");\n BigDecimal price = orderData.getPrice();\n double quantity = orderData.getQuantity();\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 * 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 HoldingDataBean holdingData = null;\n Log.trace(\"TradeDirect:completeOrder--> Completing Order \" + orderData.getOrderID() + \"\\n\\t Order info: \" + orderData + \"\\n\\t Account info: \" + accountID + \"\\n\\t Quote info: \" + quoteID);\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 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 // 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 Log.trace(\"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);\n stmt.close();\n commit(conn);\n return orderData;\n}", - "start_line": 551, - "end_line": 646, + "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, @@ -180091,9 +177249,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 555, + "start_line": 550, "start_column": 5, - "end_line": 555, + "end_line": 550, "end_column": 95 }, { @@ -180115,9 +177273,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 558, + "start_line": 553, "start_column": 30, - "end_line": 558, + "end_line": 553, "end_column": 60 }, { @@ -180139,9 +177297,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 559, + "start_line": 554, "start_column": 5, - "end_line": 559, + "end_line": 554, "end_column": 38 }, { @@ -180160,9 +177318,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 559, + "start_line": 554, "start_column": 20, - "end_line": 559, + "end_line": 554, "end_column": 37 }, { @@ -180181,9 +177339,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 561, + "start_line": 556, "start_column": 20, - "end_line": 561, + "end_line": 556, "end_column": 38 }, { @@ -180202,9 +177360,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 563, + "start_line": 558, "start_column": 10, - "end_line": 563, + "end_line": 558, "end_column": 18 }, { @@ -180225,9 +177383,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 564, + "start_line": 559, "start_column": 7, - "end_line": 564, + "end_line": 559, "end_column": 80 }, { @@ -180246,9 +177404,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 565, + "start_line": 560, "start_column": 7, - "end_line": 565, + "end_line": 560, "end_column": 18 }, { @@ -180269,9 +177427,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 568, + "start_line": 563, "start_column": 17, - "end_line": 568, + "end_line": 563, "end_column": 45 }, { @@ -180290,9 +177448,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 570, + "start_line": 565, "start_column": 24, - "end_line": 570, + "end_line": 565, "end_column": 47 }, { @@ -180311,9 +177469,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 571, + "start_line": 566, "start_column": 26, - "end_line": 571, + "end_line": 566, "end_column": 51 }, { @@ -180334,9 +177492,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 574, + "start_line": 569, "start_column": 10, - "end_line": 574, + "end_line": 569, "end_column": 53 }, { @@ -180357,9 +177515,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 574, + "start_line": 569, "start_column": 65, - "end_line": 574, + "end_line": 569, "end_column": 113 }, { @@ -180380,9 +177538,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 575, + "start_line": 570, "start_column": 13, - "end_line": 575, + "end_line": 570, "end_column": 56 }, { @@ -180403,9 +177561,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 579, + "start_line": 574, "start_column": 21, - "end_line": 579, + "end_line": 574, "end_column": 50 }, { @@ -180426,9 +177584,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 580, + "start_line": 575, "start_column": 22, - "end_line": 580, + "end_line": 575, "end_column": 49 }, { @@ -180449,9 +177607,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 581, + "start_line": 576, "start_column": 21, - "end_line": 581, + "end_line": 576, "end_column": 50 }, { @@ -180470,9 +177628,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 583, + "start_line": 578, "start_column": 24, - "end_line": 583, + "end_line": 578, "end_column": 43 }, { @@ -180491,9 +177649,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 584, + "start_line": 579, "start_column": 23, - "end_line": 584, + "end_line": 579, "end_column": 45 }, { @@ -180512,9 +177670,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 594, + "start_line": 589, "start_column": 21, - "end_line": 594, + "end_line": 589, "end_column": 83 }, { @@ -180536,9 +177694,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 594, + "start_line": 589, "start_column": 21, - "end_line": 594, + "end_line": 589, "end_column": 71 }, { @@ -180559,9 +177717,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 599, + "start_line": 594, "start_column": 5, - "end_line": 600, + "end_line": 595, "end_column": 54 }, { @@ -180580,9 +177738,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 599, + "start_line": 594, "start_column": 66, - "end_line": 599, + "end_line": 594, "end_column": 87 }, { @@ -180603,9 +177761,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 604, + "start_line": 599, "start_column": 9, - "end_line": 604, + "end_line": 599, "end_column": 44 }, { @@ -180630,9 +177788,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 610, + "start_line": 605, "start_column": 21, - "end_line": 610, + "end_line": 605, "end_column": 76 }, { @@ -180655,9 +177813,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 611, + "start_line": 606, "start_column": 7, - "end_line": 611, + "end_line": 606, "end_column": 89 }, { @@ -180676,9 +177834,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 611, + "start_line": 606, "start_column": 32, - "end_line": 611, + "end_line": 606, "end_column": 49 }, { @@ -180697,9 +177855,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 611, + "start_line": 606, "start_column": 52, - "end_line": 611, + "end_line": 606, "end_column": 88 }, { @@ -180718,9 +177876,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 611, + "start_line": 606, "start_column": 52, - "end_line": 611, + "end_line": 606, "end_column": 77 }, { @@ -180743,9 +177901,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 612, + "start_line": 607, "start_column": 7, - "end_line": 612, + "end_line": 607, "end_column": 63 }, { @@ -180764,9 +177922,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 612, + "start_line": 607, "start_column": 31, - "end_line": 612, + "end_line": 607, "end_column": 52 }, { @@ -180789,9 +177947,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 613, + "start_line": 608, "start_column": 7, - "end_line": 613, + "end_line": 608, "end_column": 118 }, { @@ -180810,9 +177968,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 613, + "start_line": 608, "start_column": 30, - "end_line": 613, + "end_line": 608, "end_column": 50 }, { @@ -180831,9 +177989,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 613, + "start_line": 608, "start_column": 53, - "end_line": 613, + "end_line": 608, "end_column": 92 }, { @@ -180852,9 +178010,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 613, + "start_line": 608, "start_column": 95, - "end_line": 613, + "end_line": 608, "end_column": 117 }, { @@ -180875,9 +178033,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 617, + "start_line": 612, "start_column": 9, - "end_line": 617, + "end_line": 612, "end_column": 45 }, { @@ -180899,9 +178057,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 622, + "start_line": 617, "start_column": 21, - "end_line": 622, + "end_line": 617, "end_column": 51 }, { @@ -180922,9 +178080,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 624, + "start_line": 619, "start_column": 9, - "end_line": 624, + "end_line": 619, "end_column": 110 }, { @@ -180947,9 +178105,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 625, + "start_line": 620, "start_column": 9, - "end_line": 625, + "end_line": 620, "end_column": 68 }, { @@ -180968,9 +178126,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 625, + "start_line": 620, "start_column": 33, - "end_line": 625, + "end_line": 620, "end_column": 54 }, { @@ -180993,9 +178151,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 627, + "start_line": 622, "start_column": 9, - "end_line": 627, + "end_line": 622, "end_column": 58 }, { @@ -181014,9 +178172,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 627, + "start_line": 622, "start_column": 40, - "end_line": 627, + "end_line": 622, "end_column": 57 }, { @@ -181039,9 +178197,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 628, + "start_line": 623, "start_column": 9, - "end_line": 628, + "end_line": 623, "end_column": 65 }, { @@ -181060,9 +178218,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 628, + "start_line": 623, "start_column": 33, - "end_line": 628, + "end_line": 623, "end_column": 54 }, { @@ -181085,9 +178243,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 629, + "start_line": 624, "start_column": 9, - "end_line": 629, + "end_line": 624, "end_column": 120 }, { @@ -181106,9 +178264,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 629, + "start_line": 624, "start_column": 32, - "end_line": 629, + "end_line": 624, "end_column": 52 }, { @@ -181127,9 +178285,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 629, + "start_line": 624, "start_column": 55, - "end_line": 629, + "end_line": 624, "end_column": 94 }, { @@ -181148,9 +178306,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 629, + "start_line": 624, "start_column": 97, - "end_line": 629, + "end_line": 624, "end_column": 119 }, { @@ -181171,9 +178329,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 636, + "start_line": 631, "start_column": 5, - "end_line": 637, + "end_line": 632, "end_column": 92 }, { @@ -181192,9 +178350,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 636, + "start_line": 631, "start_column": 65, - "end_line": 636, + "end_line": 631, "end_column": 86 }, { @@ -181213,9 +178371,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 639, + "start_line": 634, "start_column": 5, - "end_line": 639, + "end_line": 634, "end_column": 16 }, { @@ -181236,9 +178394,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 641, + "start_line": 636, "start_column": 5, - "end_line": 641, + "end_line": 636, "end_column": 16 }, { @@ -181259,9 +178417,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 576, + "start_line": 571, "start_column": 13, - "end_line": 576, + "end_line": 571, "end_column": 109 }, { @@ -181282,9 +178440,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 594, + "start_line": 589, "start_column": 49, - "end_line": 594, + "end_line": 589, "end_column": 70 } ], @@ -181301,9 +178459,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 553, + "start_line": 548, "start_column": 19, - "end_line": 553, + "end_line": 548, "end_column": 34 }, { @@ -181318,9 +178476,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getOrderSQL)", - "start_line": 558, + "start_line": 553, "start_column": 23, - "end_line": 558, + "end_line": 553, "end_column": 60 }, { @@ -181335,9 +178493,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 561, + "start_line": 556, "start_column": 15, - "end_line": 561, + "end_line": 556, "end_column": 38 }, { @@ -181352,9 +178510,9 @@ "name": "orderType", "type": "java.lang.String", "initializer": "orderData.getOrderType()", - "start_line": 570, + "start_line": 565, "start_column": 12, - "end_line": 570, + "end_line": 565, "end_column": 47 }, { @@ -181369,9 +178527,9 @@ "name": "orderStatus", "type": "java.lang.String", "initializer": "orderData.getOrderStatus()", - "start_line": 571, + "start_line": 566, "start_column": 12, - "end_line": 571, + "end_line": 566, "end_column": 51 }, { @@ -181386,9 +178544,9 @@ "name": "accountID", "type": "int", "initializer": "rs.getInt(\"account_accountID\")", - "start_line": 579, + "start_line": 574, "start_column": 9, - "end_line": 579, + "end_line": 574, "end_column": 50 }, { @@ -181403,9 +178561,9 @@ "name": "quoteID", "type": "java.lang.String", "initializer": "rs.getString(\"quote_symbol\")", - "start_line": 580, + "start_line": 575, "start_column": 12, - "end_line": 580, + "end_line": 575, "end_column": 49 }, { @@ -181420,9 +178578,9 @@ "name": "holdingID", "type": "int", "initializer": "rs.getInt(\"holding_holdingID\")", - "start_line": 581, + "start_line": 576, "start_column": 9, - "end_line": 581, + "end_line": 576, "end_column": 50 }, { @@ -181437,9 +178595,9 @@ "name": "price", "type": "java.math.BigDecimal", "initializer": "orderData.getPrice()", - "start_line": 583, + "start_line": 578, "start_column": 16, - "end_line": 583, + "end_line": 578, "end_column": 43 }, { @@ -181454,9 +178612,9 @@ "name": "quantity", "type": "double", "initializer": "orderData.getQuantity()", - "start_line": 584, + "start_line": 579, "start_column": 12, - "end_line": 584, + "end_line": 579, "end_column": 45 }, { @@ -181471,9 +178629,9 @@ "name": "userID", "type": "java.lang.String", "initializer": "getAccountProfileData(conn, new Integer(accountID)).getUserID()", - "start_line": 594, + "start_line": 589, "start_column": 12, - "end_line": 594, + "end_line": 589, "end_column": 83 }, { @@ -181488,9 +178646,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 596, + "start_line": 591, "start_column": 21, - "end_line": 596, + "end_line": 591, "end_column": 38 } ], @@ -181500,77 +178658,77 @@ "is_entrypoint": false }, "createQuote(String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "createQuote(String, String, BigDecimal)", "comments": [ { "content": " symbol", - "start_line": 853, - "end_line": 853, + "start_line": 848, + "end_line": 848, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " companyName", - "start_line": 854, - "end_line": 854, + "start_line": 849, + "end_line": 849, "start_column": 39, "end_column": 52, "is_javadoc": false }, { "content": " volume", - "start_line": 855, - "end_line": 855, + "start_line": 850, + "end_line": 850, "start_column": 34, "end_column": 42, "is_javadoc": false }, { "content": " price", - "start_line": 856, - "end_line": 856, + "start_line": 851, + "end_line": 851, "start_column": 37, "end_column": 44, "is_javadoc": false }, { "content": " open", - "start_line": 857, - "end_line": 857, + "start_line": 852, + "end_line": 852, "start_column": 37, "end_column": 43, "is_javadoc": false }, { "content": " low", - "start_line": 858, - "end_line": 858, + "start_line": 853, + "end_line": 853, "start_column": 37, "end_column": 42, "is_javadoc": false }, { "content": " high", - "start_line": 859, - "end_line": 859, + "start_line": 854, + "end_line": 854, "start_column": 37, "end_column": 43, "is_javadoc": false }, { "content": " change", - "start_line": 860, - "end_line": 860, + "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": 835, - "end_line": 837, + "start_line": 830, + "end_line": 832, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -181592,8 +178750,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 839, - "end_line": 839, + "start_line": 834, + "end_line": 834, "start_column": 36, "end_column": 48 }, @@ -181602,8 +178760,8 @@ "name": "companyName", "annotations": [], "modifiers": [], - "start_line": 839, - "end_line": 839, + "start_line": 834, + "end_line": 834, "start_column": 51, "end_column": 68 }, @@ -181612,15 +178770,16 @@ "name": "price", "annotations": [], "modifiers": [], - "start_line": 839, - "end_line": 839, + "start_line": 834, + "end_line": 834, "start_column": 71, "end_column": 86 } ], - "code": "{\n QuoteDataBean quoteData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:createQuote - inSession(\" + this.inSession + \")\");\n price = price.setScale(FinancialUtils.SCALE, FinancialUtils.ROUND);\n double volume = 0.0, change = 0.0;\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, createQuoteSQL);\n // symbol\n stmt.setString(1, symbol);\n // companyName\n stmt.setString(2, companyName);\n // volume\n stmt.setDouble(3, volume);\n // price\n stmt.setBigDecimal(4, price);\n // open\n stmt.setBigDecimal(5, price);\n // low\n stmt.setBigDecimal(6, price);\n // high\n stmt.setBigDecimal(7, price);\n // change\n stmt.setDouble(8, change);\n stmt.executeUpdate();\n stmt.close();\n commit(conn);\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": 838, - "end_line": 873, + "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, @@ -181654,9 +178813,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 845, + "start_line": 840, "start_column": 7, - "end_line": 845, + "end_line": 840, "end_column": 78 }, { @@ -181678,9 +178837,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 848, + "start_line": 843, "start_column": 15, - "end_line": 848, + "end_line": 843, "end_column": 72 }, { @@ -181699,9 +178858,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 851, + "start_line": 846, "start_column": 14, - "end_line": 851, + "end_line": 846, "end_column": 22 }, { @@ -181723,17 +178882,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 852, + "start_line": 847, "start_column": 32, - "end_line": 852, + "end_line": 847, "end_column": 65 }, { "method_name": "setString", "comment": { "content": " symbol", - "start_line": 853, - "end_line": 853, + "start_line": 848, + "end_line": 848, "start_column": 34, "end_column": 42, "is_javadoc": false @@ -181754,17 +178913,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 853, + "start_line": 848, "start_column": 7, - "end_line": 853, + "end_line": 848, "end_column": 31 }, { "method_name": "setString", "comment": { "content": " companyName", - "start_line": 854, - "end_line": 854, + "start_line": 849, + "end_line": 849, "start_column": 39, "end_column": 52, "is_javadoc": false @@ -181785,15 +178944,170 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 854, + "start_line": 849, "start_column": 7, - "end_line": 854, + "end_line": 849, "end_column": 36 }, { "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": [ + "", + "" + ], + "return_type": "", + "callee_signature": "setDouble(int, 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": 850, + "start_column": 7, + "end_line": 850, + "end_column": 31 + }, + { + "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", + "argument_types": [ + "", + "java.math.BigDecimal" + ], + "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": 851, + "start_column": 7, + "end_line": 851, + "end_column": 34 + }, + { + "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": "", + "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": 852, + "start_column": 7, + "end_line": 852, + "end_column": 34 + }, + { + "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" + ], + "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": 853, + "start_column": 7, + "end_line": 853, + "end_column": 34 + }, + { + "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)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 854, + "start_column": 7, + "end_line": 854, + "end_column": 34 + }, + { + "method_name": "setDouble", + "comment": { + "content": " change", "start_line": 855, "end_line": 855, "start_column": 34, @@ -181821,161 +179135,6 @@ "end_line": 855, "end_column": 31 }, - { - "method_name": "setBigDecimal", - "comment": { - "content": " price", - "start_line": 856, - "end_line": 856, - "start_column": 37, - "end_column": 44, - "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)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 856, - "start_column": 7, - "end_line": 856, - "end_column": 34 - }, - { - "method_name": "setBigDecimal", - "comment": { - "content": " open", - "start_line": 857, - "end_line": 857, - "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)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 857, - "start_column": 7, - "end_line": 857, - "end_column": 34 - }, - { - "method_name": "setBigDecimal", - "comment": { - "content": " low", - "start_line": 858, - "end_line": 858, - "start_column": 37, - "end_column": 42, - "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)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 858, - "start_column": 7, - "end_line": 858, - "end_column": 34 - }, - { - "method_name": "setBigDecimal", - "comment": { - "content": " high", - "start_line": 859, - "end_line": 859, - "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)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 859, - "start_column": 7, - "end_line": 859, - "end_column": 34 - }, - { - "method_name": "setDouble", - "comment": { - "content": " change", - "start_line": 860, - "end_line": 860, - "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)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 860, - "start_column": 7, - "end_line": 860, - "end_column": 31 - }, { "method_name": "executeUpdate", "comment": null, @@ -181992,9 +179151,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 862, + "start_line": 857, "start_column": 7, - "end_line": 862, + "end_line": 857, "end_column": 26 }, { @@ -182013,9 +179172,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 863, + "start_line": 858, "start_column": 7, - "end_line": 863, + "end_line": 858, "end_column": 18 }, { @@ -182036,9 +179195,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 864, + "start_line": 859, "start_column": 7, - "end_line": 864, + "end_line": 859, "end_column": 18 }, { @@ -182060,9 +179219,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 868, + "start_line": 863, "start_column": 7, - "end_line": 868, + "end_line": 863, "end_column": 69 }, { @@ -182083,9 +179242,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 870, + "start_line": 865, "start_column": 7, - "end_line": 870, + "end_line": 865, "end_column": 23 }, { @@ -182113,9 +179272,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 866, + "start_line": 861, "start_column": 19, - "end_line": 866, + "end_line": 861, "end_column": 100 } ], @@ -182132,9 +179291,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 841, + "start_line": 836, "start_column": 19, - "end_line": 841, + "end_line": 836, "end_column": 34 }, { @@ -182149,9 +179308,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 842, + "start_line": 837, "start_column": 16, - "end_line": 842, + "end_line": 837, "end_column": 26 }, { @@ -182166,9 +179325,9 @@ "name": "volume", "type": "double", "initializer": "0.0", - "start_line": 849, + "start_line": 844, "start_column": 14, - "end_line": 849, + "end_line": 844, "end_column": 25 }, { @@ -182183,9 +179342,9 @@ "name": "change", "type": "double", "initializer": "0.0", - "start_line": 849, + "start_line": 844, "start_column": 28, - "end_line": 849, + "end_line": 844, "end_column": 39 }, { @@ -182200,9 +179359,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, createQuoteSQL)", - "start_line": 852, + "start_line": 847, "start_column": 25, - "end_line": 852, + "end_line": 847, "end_column": 65 } ], @@ -182212,7 +179371,7 @@ "is_entrypoint": false }, "getHoldingData(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getHoldingData(int)", "comments": [], "annotations": [], @@ -182229,15 +179388,16 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 1114, - "end_line": 1114, + "start_line": 1109, + "end_line": 1109, "start_column": 42, "end_column": 54 } ], - "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": 1114, - "end_line": 1128, + "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, @@ -182263,9 +179423,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1118, + "start_line": 1113, "start_column": 14, - "end_line": 1118, + "end_line": 1113, "end_column": 22 }, { @@ -182287,9 +179447,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1119, + "start_line": 1114, "start_column": 21, - "end_line": 1119, + "end_line": 1114, "end_column": 51 }, { @@ -182310,9 +179470,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1120, + "start_line": 1115, "start_column": 7, - "end_line": 1120, + "end_line": 1115, "end_column": 18 }, { @@ -182334,9 +179494,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1122, + "start_line": 1117, "start_column": 7, - "end_line": 1122, + "end_line": 1117, "end_column": 70 }, { @@ -182358,9 +179518,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1123, + "start_line": 1118, "start_column": 7, - "end_line": 1123, + "end_line": 1118, "end_column": 23 }, { @@ -182381,9 +179541,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1125, + "start_line": 1120, "start_column": 7, - "end_line": 1125, + "end_line": 1120, "end_column": 23 } ], @@ -182400,9 +179560,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 1115, + "start_line": 1110, "start_column": 21, - "end_line": 1115, + "end_line": 1110, "end_column": 38 }, { @@ -182417,9 +179577,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1116, + "start_line": 1111, "start_column": 16, - "end_line": 1116, + "end_line": 1111, "end_column": 26 } ], @@ -182429,21 +179589,21 @@ "is_entrypoint": false }, "queueOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "queueOrder(Integer, boolean)", "comments": [ { "content": " pass the exception", - "start_line": 506, - "end_line": 506, + "start_line": 501, + "end_line": 501, "start_column": 16, "end_column": 36, "is_javadoc": false }, { "content": "\n * @see TradeServices#queueOrder(Integer)\n ", - "start_line": 484, - "end_line": 486, + "start_line": 479, + "end_line": 481, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -182465,8 +179625,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 488, - "end_line": 488, + "start_line": 483, + "end_line": 483, "start_column": 26, "end_column": 40 }, @@ -182475,15 +179635,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 488, - "end_line": 488, + "start_line": 483, + "end_line": 483, "start_column": 43, "end_column": 58 } ], - "code": "{\n Log.trace(\"TradeDirect:queueOrder - inSession(\" + this.inSession + \")\", orderID);\n try (JMSContext context = queueConnectionFactory.createContext()) {\n TextMessage message = context.createTextMessage();\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 context.createProducer().send(tradeBrokerQueue, message);\n } catch (Exception e) {\n // pass the exception\n throw e;\n }\n}", - "start_line": 487, - "end_line": 508, + "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, @@ -182516,9 +179677,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 491, + "start_line": 486, "start_column": 5, - "end_line": 491, + "end_line": 486, "end_column": 84 }, { @@ -182537,9 +179698,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 494, + "start_line": 489, "start_column": 31, - "end_line": 494, + "end_line": 489, "end_column": 68 }, { @@ -182558,9 +179719,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 495, + "start_line": 490, "start_column": 29, - "end_line": 495, + "end_line": 490, "end_column": 55 }, { @@ -182582,9 +179743,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 497, + "start_line": 492, "start_column": 7, - "end_line": 497, + "end_line": 492, "end_column": 54 }, { @@ -182606,9 +179767,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 498, + "start_line": 493, "start_column": 7, - "end_line": 498, + "end_line": 493, "end_column": 59 }, { @@ -182627,9 +179788,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 498, + "start_line": 493, "start_column": 41, - "end_line": 498, + "end_line": 493, "end_column": 58 }, { @@ -182651,9 +179812,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 499, + "start_line": 494, "start_column": 7, - "end_line": 499, + "end_line": 494, "end_column": 54 }, { @@ -182675,9 +179836,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 500, + "start_line": 495, "start_column": 7, - "end_line": 500, + "end_line": 495, "end_column": 48 }, { @@ -182699,9 +179860,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 501, + "start_line": 496, "start_column": 7, - "end_line": 501, + "end_line": 496, "end_column": 72 }, { @@ -182720,9 +179881,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 501, + "start_line": 496, "start_column": 46, - "end_line": 501, + "end_line": 496, "end_column": 71 }, { @@ -182743,9 +179904,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 502, + "start_line": 497, "start_column": 7, - "end_line": 502, + "end_line": 497, "end_column": 98 }, { @@ -182767,9 +179928,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 504, + "start_line": 499, "start_column": 7, - "end_line": 504, + "end_line": 499, "end_column": 62 }, { @@ -182788,9 +179949,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 504, + "start_line": 499, "start_column": 7, - "end_line": 504, + "end_line": 499, "end_column": 30 } ], @@ -182807,9 +179968,9 @@ "name": "context", "type": "javax.jms.JMSContext", "initializer": "queueConnectionFactory.createContext()", - "start_line": 494, + "start_line": 489, "start_column": 21, - "end_line": 494, + "end_line": 489, "end_column": 68 }, { @@ -182824,9 +179985,9 @@ "name": "message", "type": "javax.jms.TextMessage", "initializer": "context.createTextMessage()", - "start_line": 495, + "start_line": 490, "start_column": 19, - "end_line": 495, + "end_line": 490, "end_column": 55 } ], @@ -182836,13 +179997,13 @@ "is_entrypoint": false }, "getAccountData(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountData(int)", "comments": [ { "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1068, - "end_line": 1070, + "start_line": 1063, + "end_line": 1065, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -182862,15 +180023,16 @@ "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 1071, - "end_line": 1071, + "start_line": 1066, + "end_line": 1066, "start_column": 41, "end_column": 53 } ], - "code": "{\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\", new Integer(accountID));\n conn = getConn();\n accountData = getAccountData(accountID, conn);\n commit(conn);\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": 1071, - "end_line": 1089, + "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, @@ -182901,9 +180063,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1076, + "start_line": 1071, "start_column": 7, - "end_line": 1076, + "end_line": 1071, "end_column": 105 }, { @@ -182922,9 +180084,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1078, + "start_line": 1073, "start_column": 14, - "end_line": 1078, + "end_line": 1073, "end_column": 22 }, { @@ -182946,9 +180108,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1079, + "start_line": 1074, "start_column": 21, - "end_line": 1079, + "end_line": 1074, "end_column": 51 }, { @@ -182969,9 +180131,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1080, + "start_line": 1075, "start_column": 7, - "end_line": 1080, + "end_line": 1075, "end_column": 18 }, { @@ -182993,9 +180155,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1083, + "start_line": 1078, "start_column": 7, - "end_line": 1083, + "end_line": 1078, "end_column": 78 }, { @@ -183017,9 +180179,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1084, + "start_line": 1079, "start_column": 7, - "end_line": 1084, + "end_line": 1079, "end_column": 23 }, { @@ -183040,9 +180202,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1086, + "start_line": 1081, "start_column": 7, - "end_line": 1086, + "end_line": 1081, "end_column": 23 }, { @@ -183063,9 +180225,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1076, + "start_line": 1071, "start_column": 83, - "end_line": 1076, + "end_line": 1071, "end_column": 104 } ], @@ -183082,9 +180244,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 1072, + "start_line": 1067, "start_column": 21, - "end_line": 1072, + "end_line": 1067, "end_column": 38 }, { @@ -183099,9 +180261,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1073, + "start_line": 1068, "start_column": 16, - "end_line": 1073, + "end_line": 1068, "end_column": 26 } ], @@ -183111,13 +180273,13 @@ "is_entrypoint": false }, "getHoldingData(Connection, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getHoldingData(Connection, int)", "comments": [ { "content": " already sold", - "start_line": 1136, - "end_line": 1136, + "start_line": 1131, + "end_line": 1131, "start_column": 7, "end_column": 21, "is_javadoc": false @@ -183137,8 +180299,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1130, - "end_line": 1130, + "start_line": 1125, + "end_line": 1125, "start_column": 42, "end_column": 56 }, @@ -183147,15 +180309,16 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 1130, - "end_line": 1130, + "start_line": 1125, + "end_line": 1125, "start_column": 59, "end_column": 71 } ], - "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 stmt.close();\n return holdingData;\n}", - "start_line": 1130, - "end_line": 1144, + "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, @@ -183187,9 +180350,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1132, + "start_line": 1127, "start_column": 30, - "end_line": 1132, + "end_line": 1127, "end_column": 62 }, { @@ -183211,9 +180374,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1133, + "start_line": 1128, "start_column": 5, - "end_line": 1133, + "end_line": 1128, "end_column": 29 }, { @@ -183232,9 +180395,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1134, + "start_line": 1129, "start_column": 20, - "end_line": 1134, + "end_line": 1129, "end_column": 38 }, { @@ -183253,17 +180416,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1135, + "start_line": 1130, "start_column": 10, - "end_line": 1135, + "end_line": 1130, "end_column": 18 }, { "method_name": "debug", "comment": { "content": " already sold", - "start_line": 1136, - "end_line": 1136, + "start_line": 1131, + "end_line": 1131, "start_column": 7, "end_column": 21, "is_javadoc": false @@ -183283,9 +180446,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1137, + "start_line": 1132, "start_column": 7, - "end_line": 1137, + "end_line": 1132, "end_column": 85 }, { @@ -183306,9 +180469,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1139, + "start_line": 1134, "start_column": 21, - "end_line": 1139, + "end_line": 1134, "end_column": 51 }, { @@ -183327,9 +180490,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1142, + "start_line": 1137, "start_column": 5, - "end_line": 1142, + "end_line": 1137, "end_column": 16 } ], @@ -183346,9 +180509,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 1131, + "start_line": 1126, "start_column": 21, - "end_line": 1131, + "end_line": 1126, "end_column": 38 }, { @@ -183363,9 +180526,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getHoldingSQL)", - "start_line": 1132, + "start_line": 1127, "start_column": 23, - "end_line": 1132, + "end_line": 1127, "end_column": 62 }, { @@ -183380,9 +180543,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1134, + "start_line": 1129, "start_column": 15, - "end_line": 1134, + "end_line": 1129, "end_column": 38 } ], @@ -183392,7 +180555,7 @@ "is_entrypoint": false }, "pingTwoPhase(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "pingTwoPhase(String)", "comments": [], "annotations": [ @@ -183409,15 +180572,16 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1827, - "end_line": 1827, + "start_line": 1822, + "end_line": 1822, "start_column": 37, "end_column": 49 } ], - "code": "{\n throw new UnsupportedOperationException();\n}", - "start_line": 1826, - "end_line": 1829, + "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, @@ -183440,9 +180604,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1828, + "start_line": 1823, "start_column": 11, - "end_line": 1828, + "end_line": 1823, "end_column": 45 } ], @@ -183453,13 +180617,13 @@ "is_entrypoint": false }, "logout(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "logout(String)", "comments": [ { "content": "\n * @see TradeServices#logout(String)\n ", - "start_line": 1466, - "end_line": 1468, + "start_line": 1461, + "end_line": 1463, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -183481,15 +180645,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1470, - "end_line": 1470, + "start_line": 1465, + "end_line": 1465, "start_column": 22, "end_column": 34 } ], - "code": "{\n Log.trace(\"TradeDirect:logout - inSession(\" + this.inSession + \")\", userID);\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 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": 1469, - "end_line": 1488, + "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, @@ -183521,9 +180686,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1471, + "start_line": 1466, "start_column": 5, - "end_line": 1471, + "end_line": 1466, "end_column": 79 }, { @@ -183542,9 +180707,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1475, + "start_line": 1470, "start_column": 14, - "end_line": 1475, + "end_line": 1470, "end_column": 22 }, { @@ -183566,9 +180731,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1476, + "start_line": 1471, "start_column": 32, - "end_line": 1476, + "end_line": 1471, "end_column": 60 }, { @@ -183590,9 +180755,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1477, + "start_line": 1472, "start_column": 7, - "end_line": 1477, + "end_line": 1472, "end_column": 31 }, { @@ -183611,9 +180776,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1478, + "start_line": 1473, "start_column": 7, - "end_line": 1478, + "end_line": 1473, "end_column": 26 }, { @@ -183632,9 +180797,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1479, + "start_line": 1474, "start_column": 7, - "end_line": 1479, + "end_line": 1474, "end_column": 18 }, { @@ -183655,9 +180820,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1481, + "start_line": 1476, "start_column": 7, - "end_line": 1481, + "end_line": 1476, "end_column": 18 }, { @@ -183679,9 +180844,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1483, + "start_line": 1478, "start_column": 7, - "end_line": 1483, + "end_line": 1478, "end_column": 66 }, { @@ -183703,9 +180868,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1484, + "start_line": 1479, "start_column": 7, - "end_line": 1484, + "end_line": 1479, "end_column": 23 }, { @@ -183726,9 +180891,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1486, + "start_line": 1481, "start_column": 7, - "end_line": 1486, + "end_line": 1481, "end_column": 23 } ], @@ -183745,9 +180910,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1473, + "start_line": 1468, "start_column": 16, - "end_line": 1473, + "end_line": 1468, "end_column": 26 }, { @@ -183762,9 +180927,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, logoutSQL)", - "start_line": 1476, + "start_line": 1471, "start_column": 25, - "end_line": 1476, + "end_line": 1471, "end_column": 60 } ], @@ -183774,7 +180939,7 @@ "is_entrypoint": false }, "getStatement(Connection, String, int, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getStatement(Connection, String, int, int)", "comments": [], "annotations": [], @@ -183791,8 +180956,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1718, - "end_line": 1718, + "start_line": 1713, + "end_line": 1713, "start_column": 42, "end_column": 56 }, @@ -183801,8 +180966,8 @@ "name": "sql", "annotations": [], "modifiers": [], - "start_line": 1718, - "end_line": 1718, + "start_line": 1713, + "end_line": 1713, "start_column": 59, "end_column": 68 }, @@ -183811,8 +180976,8 @@ "name": "type", "annotations": [], "modifiers": [], - "start_line": 1718, - "end_line": 1718, + "start_line": 1713, + "end_line": 1713, "start_column": 71, "end_column": 78 }, @@ -183821,15 +180986,16 @@ "name": "concurrency", "annotations": [], "modifiers": [], - "start_line": 1718, - "end_line": 1718, + "start_line": 1713, + "end_line": 1713, "start_column": 81, "end_column": 95 } ], - "code": "{\n return conn.prepareStatement(sql, type, concurrency);\n}", - "start_line": 1718, - "end_line": 1720, + "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, @@ -183856,9 +181022,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1719, + "start_line": 1714, "start_column": 12, - "end_line": 1719, + "end_line": 1714, "end_column": 56 } ], @@ -183869,7 +181035,7 @@ "is_entrypoint": false }, "createHolding(Connection, int, String, double, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "createHolding(Connection, int, String, double, BigDecimal)", "comments": [], "annotations": [], @@ -183886,8 +181052,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 681, - "end_line": 681, + "start_line": 676, + "end_line": 676, "start_column": 41, "end_column": 55 }, @@ -183896,8 +181062,8 @@ "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 681, - "end_line": 681, + "start_line": 676, + "end_line": 676, "start_column": 58, "end_column": 70 }, @@ -183906,8 +181072,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 681, - "end_line": 681, + "start_line": 676, + "end_line": 676, "start_column": 73, "end_column": 85 }, @@ -183916,8 +181082,8 @@ "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 681, - "end_line": 681, + "start_line": 676, + "end_line": 676, "start_column": 88, "end_column": 102 }, @@ -183926,15 +181092,16 @@ "name": "purchasePrice", "annotations": [], "modifiers": [], - "start_line": 681, - "end_line": 681, + "start_line": 676, + "end_line": 676, "start_column": 105, "end_column": 128 } ], - "code": "{\n Timestamp purchaseDate = new Timestamp(System.currentTimeMillis());\n PreparedStatement stmt = getStatement(conn, createHoldingSQL);\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 stmt.close();\n return getHoldingData(conn, holdingID.intValue());\n}", - "start_line": 681, - "end_line": 698, + "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, @@ -183964,9 +181131,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 683, + "start_line": 678, "start_column": 44, - "end_line": 683, + "end_line": 678, "end_column": 69 }, { @@ -183988,9 +181155,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 684, + "start_line": 679, "start_column": 30, - "end_line": 684, + "end_line": 679, "end_column": 65 }, { @@ -184014,9 +181181,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 686, + "start_line": 681, "start_column": 25, - "end_line": 686, + "end_line": 681, "end_column": 97 }, { @@ -184035,9 +181202,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 686, + "start_line": 681, "start_column": 81, - "end_line": 686, + "end_line": 681, "end_column": 96 }, { @@ -184059,9 +181226,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 687, + "start_line": 682, "start_column": 5, - "end_line": 687, + "end_line": 682, "end_column": 40 }, { @@ -184080,9 +181247,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 687, + "start_line": 682, "start_column": 20, - "end_line": 687, + "end_line": 682, "end_column": 39 }, { @@ -184104,9 +181271,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 688, + "start_line": 683, "start_column": 5, - "end_line": 688, + "end_line": 683, "end_column": 38 }, { @@ -184128,9 +181295,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 689, + "start_line": 684, "start_column": 5, - "end_line": 689, + "end_line": 684, "end_column": 40 }, { @@ -184152,9 +181319,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 690, + "start_line": 685, "start_column": 5, - "end_line": 690, + "end_line": 685, "end_column": 31 }, { @@ -184176,9 +181343,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 691, + "start_line": 686, "start_column": 5, - "end_line": 691, + "end_line": 686, "end_column": 29 }, { @@ -184200,9 +181367,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 692, + "start_line": 687, "start_column": 5, - "end_line": 692, + "end_line": 687, "end_column": 29 }, { @@ -184221,9 +181388,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 693, + "start_line": 688, "start_column": 5, - "end_line": 693, + "end_line": 688, "end_column": 24 }, { @@ -184242,9 +181409,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 695, + "start_line": 690, "start_column": 5, - "end_line": 695, + "end_line": 690, "end_column": 16 }, { @@ -184266,9 +181433,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 697, + "start_line": 692, "start_column": 12, - "end_line": 697, + "end_line": 692, "end_column": 53 }, { @@ -184287,9 +181454,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 697, + "start_line": 692, "start_column": 33, - "end_line": 697, + "end_line": 692, "end_column": 52 }, { @@ -184310,9 +181477,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 683, + "start_line": 678, "start_column": 30, - "end_line": 683, + "end_line": 678, "end_column": 70 } ], @@ -184329,9 +181496,9 @@ "name": "purchaseDate", "type": "java.sql.Timestamp", "initializer": "new Timestamp(System.currentTimeMillis())", - "start_line": 683, + "start_line": 678, "start_column": 15, - "end_line": 683, + "end_line": 678, "end_column": 70 }, { @@ -184346,9 +181513,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, createHoldingSQL)", - "start_line": 684, + "start_line": 679, "start_column": 23, - "end_line": 684, + "end_line": 679, "end_column": 65 }, { @@ -184363,9 +181530,9 @@ "name": "holdingID", "type": "java.lang.Integer", "initializer": "KeySequenceDirect.getNextID(conn, \"holding\", inSession, getInGlobalTxn())", - "start_line": 686, + "start_line": 681, "start_column": 13, - "end_line": 686, + "end_line": 681, "end_column": 97 } ], @@ -184375,53 +181542,53 @@ "is_entrypoint": false }, "sell(String, Integer, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "sell(String, Integer, int)", "comments": [ { "content": "UserTransaction txn = null;", - "start_line": 388, - "end_line": 388, + "start_line": 383, + "end_line": 383, "start_column": 5, "end_column": 33, "is_javadoc": false }, { "content": "\n * total = (quantity * purchasePrice) + orderFee\n ", - "start_line": 390, - "end_line": 392, + "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": 435, - "end_line": 435, + "start_line": 430, + "end_line": 430, "start_column": 7, "end_column": 74, "is_javadoc": false }, { "content": " is \"inflight\"", - "start_line": 436, - "end_line": 436, + "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": 439, - "end_line": 439, + "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": 380, - "end_line": 382, + "start_line": 375, + "end_line": 377, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -184444,8 +181611,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 385, - "end_line": 385, + "start_line": 380, + "end_line": 380, "start_column": 29, "end_column": 41 }, @@ -184454,8 +181621,8 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 385, - "end_line": 385, + "start_line": 380, + "end_line": 380, "start_column": 44, "end_column": 60 }, @@ -184464,15 +181631,16 @@ "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 385, - "end_line": 385, + "start_line": 380, + "end_line": 380, "start_column": 63, "end_column": 85 } ], - "code": "{\n Connection conn = null;\n OrderDataBean orderData = null;\n //UserTransaction txn = null;\n /*\n * total = (quantity * purchasePrice) + orderFee\n */\n BigDecimal total;\n try {\n Log.trace(\"TradeDirect:sell - inSession(\" + this.inSession + \")\", userID, holdingID);\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n Log.trace(\"TradeDirect:sell create/begin global transaction\");\n txn.begin();\n setInGlobalTxn(true);\n }\n conn = getConn();\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 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\\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 double quantity = holdingData.getQuantity();\n orderData = createOrder(accountData, quoteData, holdingData, \"sell\", quantity);\n // Set the holdingSymbol purchaseDate to selling to signify the sell\n // is \"inflight\"\n updateHoldingStatus(conn, holdingData.getHoldingID(), holdingData.getQuoteID());\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 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 cancelOrder(conn, orderData.getOrderID());\n }\n orderData = getOrderData(conn, orderData.getOrderID().intValue());\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n Log.trace(\"TradeDirect:sell committing global transaction\");\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 return orderData;\n}", - "start_line": 383, - "end_line": 482, + "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, @@ -184513,9 +181681,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 397, + "start_line": 392, "start_column": 7, - "end_line": 397, + "end_line": 392, "end_column": 90 }, { @@ -184536,9 +181704,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 402, + "start_line": 397, "start_column": 9, - "end_line": 402, + "end_line": 397, "end_column": 69 }, { @@ -184557,9 +181725,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 404, + "start_line": 399, "start_column": 9, - "end_line": 404, + "end_line": 399, "end_column": 19 }, { @@ -184580,9 +181748,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 405, + "start_line": 400, "start_column": 9, - "end_line": 405, + "end_line": 400, "end_column": 28 }, { @@ -184601,9 +181769,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 408, + "start_line": 403, "start_column": 14, - "end_line": 408, + "end_line": 403, "end_column": 22 }, { @@ -184625,9 +181793,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 410, + "start_line": 405, "start_column": 37, - "end_line": 410, + "end_line": 405, "end_column": 64 }, { @@ -184649,9 +181817,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 411, + "start_line": 406, "start_column": 37, - "end_line": 411, + "end_line": 406, "end_column": 78 }, { @@ -184670,9 +181838,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 411, + "start_line": 406, "start_column": 58, - "end_line": 411, + "end_line": 406, "end_column": 77 }, { @@ -184694,9 +181862,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 414, + "start_line": 409, "start_column": 21, - "end_line": 414, + "end_line": 409, "end_column": 64 }, { @@ -184715,9 +181883,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 414, + "start_line": 409, "start_column": 40, - "end_line": 414, + "end_line": 409, "end_column": 63 }, { @@ -184738,9 +181906,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 420, + "start_line": 415, "start_column": 9, - "end_line": 420, + "end_line": 415, "end_column": 24 }, { @@ -184759,9 +181927,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 421, + "start_line": 416, "start_column": 13, - "end_line": 421, + "end_line": 416, "end_column": 28 }, { @@ -184780,9 +181948,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 422, + "start_line": 417, "start_column": 11, - "end_line": 422, + "end_line": 417, "end_column": 24 }, { @@ -184804,9 +181972,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 424, + "start_line": 419, "start_column": 11, - "end_line": 424, + "end_line": 419, "end_column": 46 }, { @@ -184827,9 +181995,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 427, + "start_line": 422, "start_column": 9, - "end_line": 427, + "end_line": 422, "end_column": 45 }, { @@ -184848,9 +182016,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 431, + "start_line": 426, "start_column": 25, - "end_line": 431, + "end_line": 426, "end_column": 49 }, { @@ -184875,17 +182043,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 433, + "start_line": 428, "start_column": 19, - "end_line": 433, + "end_line": 428, "end_column": 84 }, { "method_name": "updateHoldingStatus", "comment": { "content": " is \"inflight\"", - "start_line": 436, - "end_line": 436, + "start_line": 431, + "end_line": 431, "start_column": 7, "end_column": 22, "is_javadoc": false @@ -184907,9 +182075,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 437, + "start_line": 432, "start_column": 7, - "end_line": 437, + "end_line": 432, "end_column": 85 }, { @@ -184928,9 +182096,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 437, + "start_line": 432, "start_column": 33, - "end_line": 437, + "end_line": 432, "end_column": 58 }, { @@ -184949,9 +182117,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 437, + "start_line": 432, "start_column": 61, - "end_line": 437, + "end_line": 432, "end_column": 84 }, { @@ -184970,9 +182138,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 440, + "start_line": 435, "start_column": 26, - "end_line": 440, + "end_line": 435, "end_column": 45 }, { @@ -184991,9 +182159,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 441, + "start_line": 436, "start_column": 29, - "end_line": 441, + "end_line": 436, "end_column": 51 }, { @@ -185014,9 +182182,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 442, + "start_line": 437, "start_column": 15, - "end_line": 442, + "end_line": 437, "end_column": 75 }, { @@ -185037,9 +182205,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 442, + "start_line": 437, "start_column": 16, - "end_line": 442, + "end_line": 437, "end_column": 55 }, { @@ -185062,9 +182230,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 443, + "start_line": 438, "start_column": 7, - "end_line": 443, + "end_line": 438, "end_column": 52 }, { @@ -185086,9 +182254,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 447, + "start_line": 442, "start_column": 11, - "end_line": 447, + "end_line": 442, "end_column": 53 }, { @@ -185107,9 +182275,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 447, + "start_line": 442, "start_column": 31, - "end_line": 447, + "end_line": 442, "end_column": 52 }, { @@ -185131,9 +182299,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 449, + "start_line": 444, "start_column": 11, - "end_line": 449, + "end_line": 444, "end_column": 63 }, { @@ -185152,9 +182320,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 449, + "start_line": 444, "start_column": 35, - "end_line": 449, + "end_line": 444, "end_column": 56 }, { @@ -185176,9 +182344,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, + "start_line": 446, "start_column": 11, - "end_line": 451, + "end_line": 446, "end_column": 50 }, { @@ -185197,9 +182365,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, + "start_line": 446, "start_column": 22, - "end_line": 451, + "end_line": 446, "end_column": 43 }, { @@ -185221,9 +182389,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 454, + "start_line": 449, "start_column": 9, - "end_line": 454, + "end_line": 449, "end_column": 98 }, { @@ -185245,9 +182413,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 456, + "start_line": 451, "start_column": 9, - "end_line": 456, + "end_line": 451, "end_column": 49 }, { @@ -185266,9 +182434,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 456, + "start_line": 451, "start_column": 27, - "end_line": 456, + "end_line": 451, "end_column": 48 }, { @@ -185290,9 +182458,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 459, + "start_line": 454, "start_column": 19, - "end_line": 459, + "end_line": 454, "end_column": 71 }, { @@ -185311,9 +182479,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 459, + "start_line": 454, "start_column": 38, - "end_line": 459, + "end_line": 454, "end_column": 70 }, { @@ -185332,9 +182500,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 459, + "start_line": 454, "start_column": 38, - "end_line": 459, + "end_line": 454, "end_column": 59 }, { @@ -185355,9 +182523,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 463, + "start_line": 458, "start_column": 9, - "end_line": 463, + "end_line": 458, "end_column": 67 }, { @@ -185376,9 +182544,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 465, + "start_line": 460, "start_column": 9, - "end_line": 465, + "end_line": 460, "end_column": 20 }, { @@ -185399,9 +182567,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 466, + "start_line": 461, "start_column": 9, - "end_line": 466, + "end_line": 461, "end_column": 29 }, { @@ -185422,9 +182590,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 468, + "start_line": 463, "start_column": 9, - "end_line": 468, + "end_line": 463, "end_column": 20 }, { @@ -185446,9 +182614,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 471, + "start_line": 466, "start_column": 7, - "end_line": 471, + "end_line": 466, "end_column": 44 }, { @@ -185467,9 +182635,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 472, + "start_line": 467, "start_column": 11, - "end_line": 472, + "end_line": 467, "end_column": 26 }, { @@ -185488,9 +182656,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 473, + "start_line": 468, "start_column": 9, - "end_line": 473, + "end_line": 468, "end_column": 22 }, { @@ -185512,9 +182680,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 475, + "start_line": 470, "start_column": 9, - "end_line": 475, + "end_line": 470, "end_column": 25 }, { @@ -185535,9 +182703,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 478, + "start_line": 473, "start_column": 7, - "end_line": 478, + "end_line": 473, "end_column": 23 }, { @@ -185558,9 +182726,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 424, + "start_line": 419, "start_column": 26, - "end_line": 424, + "end_line": 419, "end_column": 45 }, { @@ -185579,9 +182747,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 426, + "start_line": 421, "start_column": 21, - "end_line": 426, + "end_line": 421, "end_column": 39 }, { @@ -185602,9 +182770,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 442, + "start_line": 437, "start_column": 16, - "end_line": 442, + "end_line": 437, "end_column": 39 } ], @@ -185621,9 +182789,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 386, + "start_line": 381, "start_column": 16, - "end_line": 386, + "end_line": 381, "end_column": 26 }, { @@ -185638,9 +182806,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 387, + "start_line": 382, "start_column": 19, - "end_line": 387, + "end_line": 382, "end_column": 34 }, { @@ -185655,9 +182823,9 @@ "name": "total", "type": "java.math.BigDecimal", "initializer": "", - "start_line": 393, + "start_line": 388, "start_column": 16, - "end_line": 393, + "end_line": 388, "end_column": 20 }, { @@ -185672,9 +182840,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "getAccountData(conn, userID)", - "start_line": 410, + "start_line": 405, "start_column": 23, - "end_line": 410, + "end_line": 405, "end_column": 64 }, { @@ -185689,9 +182857,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "getHoldingData(conn, holdingID.intValue())", - "start_line": 411, + "start_line": 406, "start_column": 23, - "end_line": 411, + "end_line": 406, "end_column": 78 }, { @@ -185706,9 +182874,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 412, + "start_line": 407, "start_column": 21, - "end_line": 412, + "end_line": 407, "end_column": 36 }, { @@ -185723,9 +182891,9 @@ "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": 418, + "start_line": 413, "start_column": 16, - "end_line": 419, + "end_line": 414, "end_column": 97 }, { @@ -185740,9 +182908,9 @@ "name": "quantity", "type": "double", "initializer": "holdingData.getQuantity()", - "start_line": 431, + "start_line": 426, "start_column": 14, - "end_line": 431, + "end_line": 426, "end_column": 49 }, { @@ -185757,9 +182925,9 @@ "name": "price", "type": "java.math.BigDecimal", "initializer": "quoteData.getPrice()", - "start_line": 440, + "start_line": 435, "start_column": 18, - "end_line": 440, + "end_line": 435, "end_column": 45 }, { @@ -185774,9 +182942,9 @@ "name": "orderFee", "type": "java.math.BigDecimal", "initializer": "orderData.getOrderFee()", - "start_line": 441, + "start_line": 436, "start_column": 18, - "end_line": 441, + "end_line": 436, "end_column": 51 } ], @@ -185786,7 +182954,7 @@ "is_entrypoint": false }, "getAccountData(Connection, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountData(Connection, String)", "comments": [], "annotations": [], @@ -185803,8 +182971,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1059, - "end_line": 1059, + "start_line": 1054, + "end_line": 1054, "start_column": 42, "end_column": 56 }, @@ -185813,15 +182981,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1059, - "end_line": 1059, + "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": 1059, - "end_line": 1066, + "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, @@ -185853,9 +183022,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1060, + "start_line": 1055, "start_column": 30, - "end_line": 1060, + "end_line": 1055, "end_column": 69 }, { @@ -185877,9 +183046,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1061, + "start_line": 1056, "start_column": 5, - "end_line": 1061, + "end_line": 1056, "end_column": 29 }, { @@ -185898,9 +183067,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1062, + "start_line": 1057, "start_column": 20, - "end_line": 1062, + "end_line": 1057, "end_column": 38 }, { @@ -185921,9 +183090,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1063, + "start_line": 1058, "start_column": 35, - "end_line": 1063, + "end_line": 1058, "end_column": 65 }, { @@ -185942,9 +183111,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1064, + "start_line": 1059, "start_column": 5, - "end_line": 1064, + "end_line": 1059, "end_column": 16 } ], @@ -185961,9 +183130,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getAccountForUserSQL)", - "start_line": 1060, + "start_line": 1055, "start_column": 23, - "end_line": 1060, + "end_line": 1055, "end_column": 69 }, { @@ -185978,9 +183147,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1062, + "start_line": 1057, "start_column": 15, - "end_line": 1062, + "end_line": 1057, "end_column": 38 }, { @@ -185995,9 +183164,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "getAccountDataFromResultSet(rs)", - "start_line": 1063, + "start_line": 1058, "start_column": 21, - "end_line": 1063, + "end_line": 1058, "end_column": 65 } ], @@ -186007,13 +183176,13 @@ "is_entrypoint": false }, "getHolding(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getHolding(Integer)", "comments": [ { "content": "\n * @see TradeServices#getHolding(Integer)\n ", - "start_line": 1004, - "end_line": 1006, + "start_line": 999, + "end_line": 1001, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -186035,15 +183204,16 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 1008, - "end_line": 1008, + "start_line": 1003, + "end_line": 1003, "start_column": 37, "end_column": 53 } ], - "code": "{\n HoldingDataBean holdingData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getHolding - inSession(\" + this.inSession + \")\", holdingID);\n conn = getConn();\n holdingData = getHoldingData(holdingID.intValue());\n commit(conn);\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": 1007, - "end_line": 1028, + "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, @@ -186074,9 +183244,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1013, + "start_line": 1008, "start_column": 7, - "end_line": 1013, + "end_line": 1008, "end_column": 88 }, { @@ -186095,9 +183265,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1016, + "start_line": 1011, "start_column": 14, - "end_line": 1016, + "end_line": 1011, "end_column": 22 }, { @@ -186118,9 +183288,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1017, + "start_line": 1012, "start_column": 21, - "end_line": 1017, + "end_line": 1012, "end_column": 56 }, { @@ -186139,9 +183309,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1017, + "start_line": 1012, "start_column": 36, - "end_line": 1017, + "end_line": 1012, "end_column": 55 }, { @@ -186162,9 +183332,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1019, + "start_line": 1014, "start_column": 7, - "end_line": 1019, + "end_line": 1014, "end_column": 18 }, { @@ -186186,9 +183356,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1022, + "start_line": 1017, "start_column": 7, - "end_line": 1022, + "end_line": 1017, "end_column": 87 }, { @@ -186210,9 +183380,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1023, + "start_line": 1018, "start_column": 7, - "end_line": 1023, + "end_line": 1018, "end_column": 23 }, { @@ -186233,9 +183403,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1025, + "start_line": 1020, "start_column": 7, - "end_line": 1025, + "end_line": 1020, "end_column": 23 } ], @@ -186252,9 +183422,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 1009, + "start_line": 1004, "start_column": 21, - "end_line": 1009, + "end_line": 1004, "end_column": 38 }, { @@ -186269,9 +183439,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1010, + "start_line": 1005, "start_column": 16, - "end_line": 1010, + "end_line": 1005, "end_column": 26 } ], @@ -186281,7 +183451,7 @@ "is_entrypoint": false }, "updateOrderHolding(Connection, int, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateOrderHolding(Connection, int, int)", "comments": [], "annotations": [], @@ -186298,8 +183468,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1270, - "end_line": 1270, + "start_line": 1265, + "end_line": 1265, "start_column": 35, "end_column": 49 }, @@ -186308,8 +183478,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 1270, - "end_line": 1270, + "start_line": 1265, + "end_line": 1265, "start_column": 52, "end_column": 62 }, @@ -186318,15 +183488,16 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 1270, - "end_line": 1270, + "start_line": 1265, + "end_line": 1265, "start_column": 65, "end_column": 77 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, updateOrderHoldingSQL);\n stmt.setInt(1, holdingID);\n stmt.setInt(2, orderID);\n stmt.executeUpdate();\n stmt.close();\n}", - "start_line": 1270, - "end_line": 1277, + "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, @@ -186356,9 +183527,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1271, + "start_line": 1266, "start_column": 30, - "end_line": 1271, + "end_line": 1266, "end_column": 70 }, { @@ -186380,9 +183551,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1273, + "start_line": 1268, "start_column": 5, - "end_line": 1273, + "end_line": 1268, "end_column": 29 }, { @@ -186404,9 +183575,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1274, + "start_line": 1269, "start_column": 5, - "end_line": 1274, + "end_line": 1269, "end_column": 27 }, { @@ -186425,9 +183596,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1275, + "start_line": 1270, "start_column": 5, - "end_line": 1275, + "end_line": 1270, "end_column": 24 }, { @@ -186446,9 +183617,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1276, + "start_line": 1271, "start_column": 5, - "end_line": 1276, + "end_line": 1271, "end_column": 16 } ], @@ -186465,9 +183636,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, updateOrderHoldingSQL)", - "start_line": 1271, + "start_line": 1266, "start_column": 23, - "end_line": 1271, + "end_line": 1266, "end_column": 70 } ], @@ -186477,7 +183648,7 @@ "is_entrypoint": false }, "completeOrderAsync(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "completeOrderAsync(Integer, boolean)", "comments": [], "annotations": [ @@ -186496,8 +183667,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 543, - "end_line": 543, + "start_line": 538, + "end_line": 538, "start_column": 51, "end_column": 65 }, @@ -186506,15 +183677,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 543, - "end_line": 543, + "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": 542, - "end_line": 548, + "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, @@ -186543,9 +183715,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 545, + "start_line": 540, "start_column": 7, - "end_line": 545, + "end_line": 540, "end_column": 56 } ], @@ -186556,21 +183728,21 @@ "is_entrypoint": false }, "removeHolding(Connection, int, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "removeHolding(Connection, int, int)", "comments": [ { "content": " set the HoldingID to NULL for the purchase and sell order now that", - "start_line": 707, - "end_line": 707, + "start_line": 702, + "end_line": 702, "start_column": 5, "end_column": 73, "is_javadoc": false }, { "content": " the holding as been removed", - "start_line": 708, - "end_line": 708, + "start_line": 703, + "end_line": 703, "start_column": 5, "end_column": 34, "is_javadoc": false @@ -186590,8 +183762,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 700, - "end_line": 700, + "start_line": 695, + "end_line": 695, "start_column": 30, "end_column": 44 }, @@ -186600,8 +183772,8 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 700, - "end_line": 700, + "start_line": 695, + "end_line": 695, "start_column": 47, "end_column": 59 }, @@ -186610,15 +183782,16 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 700, - "end_line": 700, + "start_line": 695, + "end_line": 695, "start_column": 62, "end_column": 72 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, removeHoldingSQL);\n stmt.setInt(1, holdingID);\n stmt.executeUpdate();\n stmt.close();\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 stmt.setInt(1, holdingID);\n stmt.executeUpdate();\n stmt.close();\n}", - "start_line": 700, - "end_line": 715, + "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, @@ -186649,9 +183822,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 701, + "start_line": 696, "start_column": 30, - "end_line": 701, + "end_line": 696, "end_column": 65 }, { @@ -186673,9 +183846,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 703, + "start_line": 698, "start_column": 5, - "end_line": 703, + "end_line": 698, "end_column": 29 }, { @@ -186694,9 +183867,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 704, + "start_line": 699, "start_column": 5, - "end_line": 704, + "end_line": 699, "end_column": 24 }, { @@ -186715,9 +183888,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 705, + "start_line": 700, "start_column": 5, - "end_line": 705, + "end_line": 700, "end_column": 16 }, { @@ -186739,9 +183912,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 709, + "start_line": 704, "start_column": 12, - "end_line": 709, + "end_line": 704, "end_column": 56 }, { @@ -186763,9 +183936,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 711, + "start_line": 706, "start_column": 5, - "end_line": 711, + "end_line": 706, "end_column": 29 }, { @@ -186784,9 +183957,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 712, + "start_line": 707, "start_column": 5, - "end_line": 712, + "end_line": 707, "end_column": 24 }, { @@ -186805,9 +183978,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 713, + "start_line": 708, "start_column": 5, - "end_line": 713, + "end_line": 708, "end_column": 16 } ], @@ -186824,9 +183997,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, removeHoldingSQL)", - "start_line": 701, + "start_line": 696, "start_column": 23, - "end_line": 701, + "end_line": 696, "end_column": 65 } ], @@ -186836,7 +184009,7 @@ "is_entrypoint": false }, "updateAccountProfile(Connection, AccountProfileDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", "comments": [], "annotations": [], @@ -186853,8 +184026,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1279, - "end_line": 1279, + "start_line": 1274, + "end_line": 1274, "start_column": 37, "end_column": 51 }, @@ -186863,15 +184036,16 @@ "name": "profileData", "annotations": [], "modifiers": [], - "start_line": 1279, - "end_line": 1279, + "start_line": 1274, + "end_line": 1274, "start_column": 54, "end_column": 87 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, updateAccountProfileSQL);\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 stmt.executeUpdate();\n stmt.close();\n}", - "start_line": 1279, - "end_line": 1291, + "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, @@ -186901,9 +184075,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1280, + "start_line": 1275, "start_column": 30, - "end_line": 1280, + "end_line": 1275, "end_column": 72 }, { @@ -186925,9 +184099,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1282, + "start_line": 1277, "start_column": 5, - "end_line": 1282, + "end_line": 1277, "end_column": 48 }, { @@ -186946,9 +184120,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1282, + "start_line": 1277, "start_column": 23, - "end_line": 1282, + "end_line": 1277, "end_column": 47 }, { @@ -186970,9 +184144,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1283, + "start_line": 1278, "start_column": 5, - "end_line": 1283, + "end_line": 1278, "end_column": 48 }, { @@ -186991,9 +184165,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1283, + "start_line": 1278, "start_column": 23, - "end_line": 1283, + "end_line": 1278, "end_column": 47 }, { @@ -187015,9 +184189,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1284, + "start_line": 1279, "start_column": 5, - "end_line": 1284, + "end_line": 1279, "end_column": 47 }, { @@ -187036,9 +184210,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1284, + "start_line": 1279, "start_column": 23, - "end_line": 1284, + "end_line": 1279, "end_column": 46 }, { @@ -187060,9 +184234,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1285, + "start_line": 1280, "start_column": 5, - "end_line": 1285, + "end_line": 1280, "end_column": 45 }, { @@ -187081,9 +184255,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1285, + "start_line": 1280, "start_column": 23, - "end_line": 1285, + "end_line": 1280, "end_column": 44 }, { @@ -187105,9 +184279,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1286, + "start_line": 1281, "start_column": 5, - "end_line": 1286, + "end_line": 1281, "end_column": 50 }, { @@ -187126,9 +184300,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1286, + "start_line": 1281, "start_column": 23, - "end_line": 1286, + "end_line": 1281, "end_column": 49 }, { @@ -187150,9 +184324,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1287, + "start_line": 1282, "start_column": 5, - "end_line": 1287, + "end_line": 1282, "end_column": 46 }, { @@ -187171,9 +184345,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1287, + "start_line": 1282, "start_column": 23, - "end_line": 1287, + "end_line": 1282, "end_column": 45 }, { @@ -187192,9 +184366,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1289, + "start_line": 1284, "start_column": 5, - "end_line": 1289, + "end_line": 1284, "end_column": 24 }, { @@ -187213,9 +184387,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1290, + "start_line": 1285, "start_column": 5, - "end_line": 1290, + "end_line": 1285, "end_column": 16 } ], @@ -187232,9 +184406,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, updateAccountProfileSQL)", - "start_line": 1280, + "start_line": 1275, "start_column": 23, - "end_line": 1280, + "end_line": 1275, "end_column": 72 } ], @@ -187244,13 +184418,13 @@ "is_entrypoint": false }, "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", "comments": [ { "content": " pass exception back", - "start_line": 1401, - "end_line": 1401, + "start_line": 1396, + "end_line": 1396, "start_column": 16, "end_column": 37, "is_javadoc": false @@ -187270,8 +184444,8 @@ "name": "quoteData", "annotations": [], "modifiers": [], - "start_line": 1375, - "end_line": 1375, + "start_line": 1370, + "end_line": 1370, "start_column": 40, "end_column": 62 }, @@ -187280,8 +184454,8 @@ "name": "oldPrice", "annotations": [], "modifiers": [], - "start_line": 1375, - "end_line": 1375, + "start_line": 1370, + "end_line": 1370, "start_column": 65, "end_column": 83 }, @@ -187290,8 +184464,8 @@ "name": "changeFactor", "annotations": [], "modifiers": [], - "start_line": 1375, - "end_line": 1375, + "start_line": 1370, + "end_line": 1370, "start_column": 86, "end_column": 108 }, @@ -187300,15 +184474,16 @@ "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 1375, - "end_line": 1375, + "start_line": 1370, + "end_line": 1370, "start_column": 111, "end_column": 129 } ], - "code": "{\n Log.trace(\"TradeDirect:publishQuotePrice PUBLISHING to MDB quoteData = \" + quoteData);\n try (JMSContext context = topicConnectionFactory.createContext()) {\n TextMessage message = context.createTextMessage();\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 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 context.createProducer().send(tradeStreamerTopic, message);\n } catch (Exception e) {\n // pass exception back\n throw e;\n }\n}", - "start_line": 1375, - "end_line": 1404, + "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, @@ -187339,9 +184514,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1377, + "start_line": 1372, "start_column": 5, - "end_line": 1377, + "end_line": 1372, "end_column": 89 }, { @@ -187360,9 +184535,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1379, + "start_line": 1374, "start_column": 31, - "end_line": 1379, + "end_line": 1374, "end_column": 68 }, { @@ -187381,9 +184556,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1380, + "start_line": 1375, "start_column": 29, - "end_line": 1380, + "end_line": 1375, "end_column": 55 }, { @@ -187405,9 +184580,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1382, + "start_line": 1377, "start_column": 7, - "end_line": 1382, + "end_line": 1377, "end_column": 57 }, { @@ -187429,9 +184604,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1383, + "start_line": 1378, "start_column": 7, - "end_line": 1383, + "end_line": 1378, "end_column": 64 }, { @@ -187450,9 +184625,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1383, + "start_line": 1378, "start_column": 43, - "end_line": 1383, + "end_line": 1378, "end_column": 63 }, { @@ -187474,9 +184649,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1384, + "start_line": 1379, "start_column": 7, - "end_line": 1384, + "end_line": 1379, "end_column": 70 }, { @@ -187495,9 +184670,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1384, + "start_line": 1379, "start_column": 44, - "end_line": 1384, + "end_line": 1379, "end_column": 69 }, { @@ -187519,9 +184694,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1385, + "start_line": 1380, "start_column": 7, - "end_line": 1385, + "end_line": 1380, "end_column": 73 }, { @@ -187540,9 +184715,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1385, + "start_line": 1380, "start_column": 42, - "end_line": 1385, + "end_line": 1380, "end_column": 72 }, { @@ -187561,9 +184736,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1385, + "start_line": 1380, "start_column": 42, - "end_line": 1385, + "end_line": 1380, "end_column": 61 }, { @@ -187585,9 +184760,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1386, + "start_line": 1381, "start_column": 7, - "end_line": 1386, + "end_line": 1381, "end_column": 64 }, { @@ -187606,9 +184781,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1386, + "start_line": 1381, "start_column": 45, - "end_line": 1386, + "end_line": 1381, "end_column": 63 }, { @@ -187630,9 +184805,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1387, + "start_line": 1382, "start_column": 7, - "end_line": 1387, + "end_line": 1382, "end_column": 71 }, { @@ -187651,9 +184826,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1387, + "start_line": 1382, "start_column": 41, - "end_line": 1387, + "end_line": 1382, "end_column": 70 }, { @@ -187672,9 +184847,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1387, + "start_line": 1382, "start_column": 41, - "end_line": 1387, + "end_line": 1382, "end_column": 59 }, { @@ -187696,9 +184871,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1388, + "start_line": 1383, "start_column": 7, - "end_line": 1388, + "end_line": 1383, "end_column": 69 }, { @@ -187717,9 +184892,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1388, + "start_line": 1383, "start_column": 40, - "end_line": 1388, + "end_line": 1383, "end_column": 68 }, { @@ -187738,9 +184913,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1388, + "start_line": 1383, "start_column": 40, - "end_line": 1388, + "end_line": 1383, "end_column": 57 }, { @@ -187762,9 +184937,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1389, + "start_line": 1384, "start_column": 7, - "end_line": 1389, + "end_line": 1384, "end_column": 71 }, { @@ -187783,9 +184958,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1389, + "start_line": 1384, "start_column": 41, - "end_line": 1389, + "end_line": 1384, "end_column": 70 }, { @@ -187804,9 +184979,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1389, + "start_line": 1384, "start_column": 41, - "end_line": 1389, + "end_line": 1384, "end_column": 59 }, { @@ -187828,9 +185003,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1390, + "start_line": 1385, "start_column": 7, - "end_line": 1390, + "end_line": 1385, "end_column": 64 }, { @@ -187849,9 +185024,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1390, + "start_line": 1385, "start_column": 43, - "end_line": 1390, + "end_line": 1385, "end_column": 63 }, { @@ -187873,9 +185048,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1392, + "start_line": 1387, "start_column": 7, - "end_line": 1392, + "end_line": 1387, "end_column": 72 }, { @@ -187894,9 +185069,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1392, + "start_line": 1387, "start_column": 49, - "end_line": 1392, + "end_line": 1387, "end_column": 71 }, { @@ -187918,9 +185093,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1393, + "start_line": 1388, "start_column": 7, - "end_line": 1393, + "end_line": 1388, "end_column": 61 }, { @@ -187942,9 +185117,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1394, + "start_line": 1389, "start_column": 7, - "end_line": 1394, + "end_line": 1389, "end_column": 72 }, { @@ -187963,9 +185138,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1394, + "start_line": 1389, "start_column": 46, - "end_line": 1394, + "end_line": 1389, "end_column": 71 }, { @@ -187986,9 +185161,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1395, + "start_line": 1390, "start_column": 7, - "end_line": 1395, + "end_line": 1390, "end_column": 142 }, { @@ -188007,9 +185182,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1395, + "start_line": 1390, "start_column": 51, - "end_line": 1395, + "end_line": 1390, "end_column": 71 }, { @@ -188028,9 +185203,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1395, + "start_line": 1390, "start_column": 122, - "end_line": 1395, + "end_line": 1390, "end_column": 141 }, { @@ -188052,9 +185227,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1398, + "start_line": 1393, "start_column": 7, - "end_line": 1398, + "end_line": 1393, "end_column": 64 }, { @@ -188073,9 +185248,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1398, + "start_line": 1393, "start_column": 7, - "end_line": 1398, + "end_line": 1393, "end_column": 30 } ], @@ -188092,9 +185267,9 @@ "name": "context", "type": "javax.jms.JMSContext", "initializer": "topicConnectionFactory.createContext()", - "start_line": 1379, + "start_line": 1374, "start_column": 21, - "end_line": 1379, + "end_line": 1374, "end_column": 68 }, { @@ -188109,9 +185284,9 @@ "name": "message", "type": "javax.jms.TextMessage", "initializer": "context.createTextMessage()", - "start_line": 1380, + "start_line": 1375, "start_column": 19, - "end_line": 1380, + "end_line": 1375, "end_column": 55 } ], @@ -188121,7 +185296,7 @@ "is_entrypoint": false }, "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", "comments": [], "annotations": [], @@ -188138,8 +185313,8 @@ "name": "accountData", "annotations": [], "modifiers": [], - "start_line": 717, - "end_line": 717, + "start_line": 712, + "end_line": 712, "start_column": 36, "end_column": 62 }, @@ -188148,8 +185323,8 @@ "name": "quoteData", "annotations": [], "modifiers": [], - "start_line": 717, - "end_line": 717, + "start_line": 712, + "end_line": 712, "start_column": 65, "end_column": 87 }, @@ -188158,8 +185333,8 @@ "name": "holdingData", "annotations": [], "modifiers": [], - "start_line": 717, - "end_line": 717, + "start_line": 712, + "end_line": 712, "start_column": 90, "end_column": 116 }, @@ -188168,8 +185343,8 @@ "name": "orderType", "annotations": [], "modifiers": [], - "start_line": 717, - "end_line": 717, + "start_line": 712, + "end_line": 712, "start_column": 119, "end_column": 134 }, @@ -188178,15 +185353,16 @@ "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 718, - "end_line": 718, + "start_line": 713, + "end_line": 713, "start_column": 7, "end_column": 21 } ], - "code": "{\n OrderDataBean orderData = null;\n Connection conn = null;\n try {\n conn = getConn();\n Timestamp currentDate = new Timestamp(System.currentTimeMillis());\n PreparedStatement stmt = getStatement(conn, createOrderSQL);\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 orderData = getOrderData(conn, orderID.intValue());\n stmt.close();\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 return orderData;\n}", - "start_line": 717, - "end_line": 758, + "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, @@ -188221,9 +185397,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 723, + "start_line": 718, "start_column": 14, - "end_line": 723, + "end_line": 718, "end_column": 22 }, { @@ -188242,9 +185418,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 724, + "start_line": 719, "start_column": 45, - "end_line": 724, + "end_line": 719, "end_column": 70 }, { @@ -188266,9 +185442,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 726, + "start_line": 721, "start_column": 32, - "end_line": 726, + "end_line": 721, "end_column": 65 }, { @@ -188292,9 +185468,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 728, + "start_line": 723, "start_column": 25, - "end_line": 728, + "end_line": 723, "end_column": 95 }, { @@ -188313,9 +185489,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 728, + "start_line": 723, "start_column": 79, - "end_line": 728, + "end_line": 723, "end_column": 94 }, { @@ -188337,9 +185513,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 729, + "start_line": 724, "start_column": 7, - "end_line": 729, + "end_line": 724, "end_column": 40 }, { @@ -188358,9 +185534,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 729, + "start_line": 724, "start_column": 22, - "end_line": 729, + "end_line": 724, "end_column": 39 }, { @@ -188382,9 +185558,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 730, + "start_line": 725, "start_column": 7, - "end_line": 730, + "end_line": 725, "end_column": 34 }, { @@ -188406,9 +185582,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 731, + "start_line": 726, "start_column": 7, - "end_line": 731, + "end_line": 726, "end_column": 31 }, { @@ -188430,9 +185606,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 732, + "start_line": 727, "start_column": 7, - "end_line": 732, + "end_line": 727, "end_column": 39 }, { @@ -188454,9 +185630,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 733, + "start_line": 728, "start_column": 7, - "end_line": 733, + "end_line": 728, "end_column": 33 }, { @@ -188478,9 +185654,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 734, + "start_line": 729, "start_column": 7, - "end_line": 734, + "end_line": 729, "end_column": 102 }, { @@ -188502,9 +185678,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 734, + "start_line": 729, "start_column": 29, - "end_line": 734, + "end_line": 729, "end_column": 101 }, { @@ -188523,9 +185699,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 734, + "start_line": 729, "start_column": 29, - "end_line": 734, + "end_line": 729, "end_column": 48 }, { @@ -188547,9 +185723,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 735, + "start_line": 730, "start_column": 7, - "end_line": 735, + "end_line": 730, "end_column": 63 }, { @@ -188570,9 +185746,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 735, + "start_line": 730, "start_column": 29, - "end_line": 735, + "end_line": 730, "end_column": 62 }, { @@ -188594,9 +185770,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 736, + "start_line": 731, "start_column": 7, - "end_line": 736, + "end_line": 731, "end_column": 59 }, { @@ -188615,9 +185791,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 736, + "start_line": 731, "start_column": 22, - "end_line": 736, + "end_line": 731, "end_column": 58 }, { @@ -188636,9 +185812,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 736, + "start_line": 731, "start_column": 22, - "end_line": 736, + "end_line": 731, "end_column": 47 }, { @@ -188660,9 +185836,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 738, + "start_line": 733, "start_column": 9, - "end_line": 738, + "end_line": 733, "end_column": 47 }, { @@ -188684,9 +185860,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 740, + "start_line": 735, "start_column": 9, - "end_line": 740, + "end_line": 735, "end_column": 61 }, { @@ -188705,9 +185881,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 740, + "start_line": 735, "start_column": 24, - "end_line": 740, + "end_line": 735, "end_column": 60 }, { @@ -188726,9 +185902,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 740, + "start_line": 735, "start_column": 24, - "end_line": 740, + "end_line": 735, "end_column": 49 }, { @@ -188750,9 +185926,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 742, + "start_line": 737, "start_column": 7, - "end_line": 742, + "end_line": 737, "end_column": 47 }, { @@ -188771,9 +185947,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 742, + "start_line": 737, "start_column": 26, - "end_line": 742, + "end_line": 737, "end_column": 46 }, { @@ -188792,9 +185968,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 743, + "start_line": 738, "start_column": 7, - "end_line": 743, + "end_line": 738, "end_column": 26 }, { @@ -188816,9 +185992,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 745, + "start_line": 740, "start_column": 19, - "end_line": 745, + "end_line": 740, "end_column": 56 }, { @@ -188837,9 +186013,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 745, + "start_line": 740, "start_column": 38, - "end_line": 745, + "end_line": 740, "end_column": 55 }, { @@ -188858,9 +186034,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 747, + "start_line": 742, "start_column": 7, - "end_line": 747, + "end_line": 742, "end_column": 18 }, { @@ -188881,9 +186057,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 749, + "start_line": 744, "start_column": 7, - "end_line": 749, + "end_line": 744, "end_column": 18 }, { @@ -188905,9 +186081,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 751, + "start_line": 746, "start_column": 7, - "end_line": 751, + "end_line": 746, "end_column": 74 }, { @@ -188929,9 +186105,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 752, + "start_line": 747, "start_column": 7, - "end_line": 752, + "end_line": 747, "end_column": 23 }, { @@ -188952,9 +186128,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 754, + "start_line": 749, "start_column": 7, - "end_line": 754, + "end_line": 749, "end_column": 23 }, { @@ -188975,9 +186151,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 724, + "start_line": 719, "start_column": 31, - "end_line": 724, + "end_line": 719, "end_column": 71 } ], @@ -188994,9 +186170,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 719, + "start_line": 714, "start_column": 19, - "end_line": 719, + "end_line": 714, "end_column": 34 }, { @@ -189011,9 +186187,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 720, + "start_line": 715, "start_column": 16, - "end_line": 720, + "end_line": 715, "end_column": 26 }, { @@ -189028,9 +186204,9 @@ "name": "currentDate", "type": "java.sql.Timestamp", "initializer": "new Timestamp(System.currentTimeMillis())", - "start_line": 724, + "start_line": 719, "start_column": 17, - "end_line": 724, + "end_line": 719, "end_column": 71 }, { @@ -189045,9 +186221,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, createOrderSQL)", - "start_line": 726, + "start_line": 721, "start_column": 25, - "end_line": 726, + "end_line": 721, "end_column": 65 }, { @@ -189062,9 +186238,9 @@ "name": "orderID", "type": "java.lang.Integer", "initializer": "KeySequenceDirect.getNextID(conn, \"order\", inSession, getInGlobalTxn())", - "start_line": 728, + "start_line": 723, "start_column": 15, - "end_line": 728, + "end_line": 723, "end_column": 95 } ], @@ -189074,7 +186250,7 @@ "is_entrypoint": false }, "getAccountProfileData(Connection, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountProfileData(Connection, String)", "comments": [], "annotations": [], @@ -189091,8 +186267,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1189, - "end_line": 1189, + "start_line": 1184, + "end_line": 1184, "start_column": 56, "end_column": 70 }, @@ -189101,15 +186277,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1189, - "end_line": 1189, + "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 ResultSet rs = stmt.executeQuery();\n AccountProfileDataBean accountProfileData = getAccountProfileDataFromResultSet(rs);\n stmt.close();\n return accountProfileData;\n}", - "start_line": 1189, - "end_line": 1198, + "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, @@ -189141,9 +186318,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1190, + "start_line": 1185, "start_column": 30, - "end_line": 1190, + "end_line": 1185, "end_column": 69 }, { @@ -189165,9 +186342,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1191, + "start_line": 1186, "start_column": 5, - "end_line": 1191, + "end_line": 1186, "end_column": 29 }, { @@ -189186,9 +186363,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1193, + "start_line": 1188, "start_column": 20, - "end_line": 1193, + "end_line": 1188, "end_column": 38 }, { @@ -189209,9 +186386,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1195, + "start_line": 1190, "start_column": 49, - "end_line": 1195, + "end_line": 1190, "end_column": 86 }, { @@ -189230,9 +186407,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1196, + "start_line": 1191, "start_column": 5, - "end_line": 1196, + "end_line": 1191, "end_column": 16 } ], @@ -189249,9 +186426,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getAccountProfileSQL)", - "start_line": 1190, + "start_line": 1185, "start_column": 23, - "end_line": 1190, + "end_line": 1185, "end_column": 69 }, { @@ -189266,9 +186443,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1193, + "start_line": 1188, "start_column": 15, - "end_line": 1193, + "end_line": 1188, "end_column": 38 }, { @@ -189283,9 +186460,9 @@ "name": "accountProfileData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "getAccountProfileDataFromResultSet(rs)", - "start_line": 1195, + "start_line": 1190, "start_column": 28, - "end_line": 1195, + "end_line": 1190, "end_column": 86 } ], @@ -189295,21 +186472,21 @@ "is_entrypoint": false }, "rollBack(Connection, Exception)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "rollBack(Connection, Exception)", "comments": [ { "content": " so the Global txn manager will rollBack", - "start_line": 1706, - "end_line": 1706, + "start_line": 1701, + "end_line": 1701, "start_column": 9, "end_column": 50, "is_javadoc": false }, { "content": " Throw the exception", - "start_line": 1705, - "end_line": 1705, + "start_line": 1700, + "end_line": 1700, "start_column": 18, "end_column": 39, "is_javadoc": false @@ -189329,8 +186506,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1699, - "end_line": 1699, + "start_line": 1694, + "end_line": 1694, "start_column": 25, "end_column": 39 }, @@ -189339,15 +186516,16 @@ "name": "e", "annotations": [], "modifiers": [], - "start_line": 1699, - "end_line": 1699, + "start_line": 1694, + "end_line": 1694, "start_column": 42, "end_column": 52 } ], - "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 the exception\n throw e;\n // so the Global txn manager will rollBack\n }\n }\n}", - "start_line": 1699, - "end_line": 1709, + "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, @@ -189374,9 +186552,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1701, + "start_line": 1696, "start_column": 7, - "end_line": 1701, + "end_line": 1696, "end_column": 128 }, { @@ -189395,9 +186573,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1701, + "start_line": 1696, "start_column": 112, - "end_line": 1701, + "end_line": 1696, "end_column": 127 }, { @@ -189416,9 +186594,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1702, + "start_line": 1697, "start_column": 12, - "end_line": 1702, + "end_line": 1697, "end_column": 27 }, { @@ -189437,9 +186615,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1703, + "start_line": 1698, "start_column": 9, - "end_line": 1703, + "end_line": 1698, "end_column": 23 } ], @@ -189450,7 +186628,7 @@ "is_entrypoint": false }, "getHoldingDataFromResultSet(ResultSet)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getHoldingDataFromResultSet(ResultSet)", "comments": [], "annotations": [], @@ -189467,15 +186645,16 @@ "name": "rs", "annotations": [], "modifiers": [], - "start_line": 1573, - "end_line": 1573, + "start_line": 1568, + "end_line": 1568, "start_column": 55, "end_column": 66 } ], - "code": "{\n HoldingDataBean holdingData = null;\n holdingData = new HoldingDataBean(new Integer(rs.getInt(\"holdingID\")), rs.getDouble(\"quantity\"), rs.getBigDecimal(\"purchasePrice\"), rs.getTimestamp(\"purchaseDate\"), rs.getString(\"quote_symbol\"));\n return holdingData;\n}", - "start_line": 1573, - "end_line": 1579, + "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, @@ -189502,9 +186681,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1576, + "start_line": 1571, "start_column": 51, - "end_line": 1576, + "end_line": 1571, "end_column": 72 }, { @@ -189525,9 +186704,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1576, + "start_line": 1571, "start_column": 76, - "end_line": 1576, + "end_line": 1571, "end_column": 99 }, { @@ -189548,9 +186727,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1576, + "start_line": 1571, "start_column": 102, - "end_line": 1576, + "end_line": 1571, "end_column": 134 }, { @@ -189571,9 +186750,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1577, + "start_line": 1572, "start_column": 9, - "end_line": 1577, + "end_line": 1572, "end_column": 39 }, { @@ -189594,9 +186773,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1577, + "start_line": 1572, "start_column": 42, - "end_line": 1577, + "end_line": 1572, "end_column": 69 }, { @@ -189621,9 +186800,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1576, + "start_line": 1571, "start_column": 19, - "end_line": 1577, + "end_line": 1572, "end_column": 70 }, { @@ -189644,9 +186823,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1576, + "start_line": 1571, "start_column": 39, - "end_line": 1576, + "end_line": 1571, "end_column": 73 } ], @@ -189663,9 +186842,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 1574, + "start_line": 1569, "start_column": 21, - "end_line": 1574, + "end_line": 1569, "end_column": 38 } ], @@ -189675,13 +186854,13 @@ "is_entrypoint": false }, "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", "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": 1298, - "end_line": 1310, + "start_line": 1293, + "end_line": 1305, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -189701,8 +186880,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1311, - "end_line": 1311, + "start_line": 1306, + "end_line": 1306, "start_column": 50, "end_column": 62 }, @@ -189711,8 +186890,8 @@ "name": "changeFactor", "annotations": [], "modifiers": [], - "start_line": 1311, - "end_line": 1311, + "start_line": 1306, + "end_line": 1306, "start_column": 65, "end_column": 87 }, @@ -189721,8 +186900,8 @@ "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 1311, - "end_line": 1311, + "start_line": 1306, + "end_line": 1306, "start_column": 90, "end_column": 108 }, @@ -189731,15 +186910,16 @@ "name": "publishQuotePriceChange", "annotations": [], "modifiers": [], - "start_line": 1311, - "end_line": 1311, + "start_line": 1306, + "end_line": 1306, "start_column": 111, "end_column": 141 } ], - "code": "{\n if (TradeConfig.getUpdateQuotePrices() == false) {\n return new QuoteDataBean();\n }\n QuoteDataBean quoteData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:updateQuotePriceVolume - inSession(\" + this.inSession + \")\", symbol, changeFactor, new Double(sharesTraded));\n conn = getConn();\n quoteData = getQuoteForUpdate(conn, symbol);\n BigDecimal oldPrice = quoteData.getPrice();\n BigDecimal openPrice = quoteData.getOpen();\n double newVolume = quoteData.getVolume() + sharesTraded;\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 BigDecimal newPrice = changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP);\n double change = newPrice.subtract(openPrice).doubleValue();\n updateQuotePriceVolume(conn, quoteData.getSymbol(), newPrice, newVolume, change);\n quoteData = getQuote(conn, symbol);\n commit(conn);\n if (publishQuotePriceChange) {\n publishQuotePriceChange(quoteData, oldPrice, changeFactor, sharesTraded);\n }\n recentQuotePriceChangeList.add(quoteData);\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": 1311, - "end_line": 1360, + "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, @@ -189774,9 +186954,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1314, + "start_line": 1309, "start_column": 9, - "end_line": 1314, + "end_line": 1309, "end_column": 42 }, { @@ -189800,9 +186980,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1322, + "start_line": 1317, "start_column": 7, - "end_line": 1322, + "end_line": 1317, "end_column": 137 }, { @@ -189821,9 +187001,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1324, + "start_line": 1319, "start_column": 14, - "end_line": 1324, + "end_line": 1319, "end_column": 22 }, { @@ -189845,9 +187025,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1326, + "start_line": 1321, "start_column": 19, - "end_line": 1326, + "end_line": 1321, "end_column": 49 }, { @@ -189866,9 +187046,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1327, + "start_line": 1322, "start_column": 29, - "end_line": 1327, + "end_line": 1322, "end_column": 48 }, { @@ -189887,9 +187067,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1328, + "start_line": 1323, "start_column": 30, - "end_line": 1328, + "end_line": 1323, "end_column": 48 }, { @@ -189908,9 +187088,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1330, + "start_line": 1325, "start_column": 26, - "end_line": 1330, + "end_line": 1325, "end_column": 46 }, { @@ -189931,9 +187111,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1332, + "start_line": 1327, "start_column": 11, - "end_line": 1332, + "end_line": 1327, "end_column": 56 }, { @@ -189954,9 +187134,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1334, + "start_line": 1329, "start_column": 18, - "end_line": 1334, + "end_line": 1329, "end_column": 68 }, { @@ -189978,9 +187158,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1338, + "start_line": 1333, "start_column": 29, - "end_line": 1338, + "end_line": 1333, "end_column": 97 }, { @@ -190001,9 +187181,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1338, + "start_line": 1333, "start_column": 29, - "end_line": 1338, + "end_line": 1333, "end_column": 59 }, { @@ -190022,9 +187202,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1339, + "start_line": 1334, "start_column": 23, - "end_line": 1339, + "end_line": 1334, "end_column": 64 }, { @@ -190045,9 +187225,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1339, + "start_line": 1334, "start_column": 23, - "end_line": 1339, + "end_line": 1334, "end_column": 50 }, { @@ -190072,9 +187252,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1341, + "start_line": 1336, "start_column": 7, - "end_line": 1341, + "end_line": 1336, "end_column": 86 }, { @@ -190093,9 +187273,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1341, + "start_line": 1336, "start_column": 36, - "end_line": 1341, + "end_line": 1336, "end_column": 56 }, { @@ -190117,9 +187297,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1342, + "start_line": 1337, "start_column": 19, - "end_line": 1342, + "end_line": 1337, "end_column": 40 }, { @@ -190140,9 +187320,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1344, + "start_line": 1339, "start_column": 7, - "end_line": 1344, + "end_line": 1339, "end_column": 18 }, { @@ -190166,9 +187346,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1347, + "start_line": 1342, "start_column": 9, - "end_line": 1347, + "end_line": 1342, "end_column": 80 }, { @@ -190189,9 +187369,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1350, + "start_line": 1345, "start_column": 7, - "end_line": 1350, + "end_line": 1345, "end_column": 47 }, { @@ -190212,9 +187392,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1353, + "start_line": 1348, "start_column": 7, - "end_line": 1353, + "end_line": 1348, "end_column": 111 }, { @@ -190236,9 +187416,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1354, + "start_line": 1349, "start_column": 7, - "end_line": 1354, + "end_line": 1349, "end_column": 23 }, { @@ -190259,9 +187439,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1357, + "start_line": 1352, "start_column": 7, - "end_line": 1357, + "end_line": 1352, "end_column": 23 }, { @@ -190280,9 +187460,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1315, + "start_line": 1310, "start_column": 14, - "end_line": 1315, + "end_line": 1310, "end_column": 32 }, { @@ -190303,9 +187483,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1322, + "start_line": 1317, "start_column": 113, - "end_line": 1322, + "end_line": 1317, "end_column": 136 } ], @@ -190322,9 +187502,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 1318, + "start_line": 1313, "start_column": 19, - "end_line": 1318, + "end_line": 1313, "end_column": 34 }, { @@ -190339,9 +187519,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1319, + "start_line": 1314, "start_column": 16, - "end_line": 1319, + "end_line": 1314, "end_column": 26 }, { @@ -190356,9 +187536,9 @@ "name": "oldPrice", "type": "java.math.BigDecimal", "initializer": "quoteData.getPrice()", - "start_line": 1327, + "start_line": 1322, "start_column": 18, - "end_line": 1327, + "end_line": 1322, "end_column": 48 }, { @@ -190373,9 +187553,9 @@ "name": "openPrice", "type": "java.math.BigDecimal", "initializer": "quoteData.getOpen()", - "start_line": 1328, + "start_line": 1323, "start_column": 18, - "end_line": 1328, + "end_line": 1323, "end_column": 48 }, { @@ -190390,9 +187570,9 @@ "name": "newVolume", "type": "double", "initializer": "quoteData.getVolume() + sharesTraded", - "start_line": 1330, + "start_line": 1325, "start_column": 14, - "end_line": 1330, + "end_line": 1325, "end_column": 61 }, { @@ -190407,9 +187587,9 @@ "name": "newPrice", "type": "java.math.BigDecimal", "initializer": "changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP)", - "start_line": 1338, + "start_line": 1333, "start_column": 18, - "end_line": 1338, + "end_line": 1333, "end_column": 97 }, { @@ -190424,9 +187604,9 @@ "name": "change", "type": "double", "initializer": "newPrice.subtract(openPrice).doubleValue()", - "start_line": 1339, + "start_line": 1334, "start_column": 14, - "end_line": 1339, + "end_line": 1334, "end_column": 64 } ], @@ -190436,7 +187616,7 @@ "is_entrypoint": false }, "register(String, String, String, String, String, String, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "register(String, String, String, String, String, String, BigDecimal)", "comments": [], "annotations": [ @@ -190455,8 +187635,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1496, - "end_line": 1496, + "start_line": 1491, + "end_line": 1491, "start_column": 35, "end_column": 47 }, @@ -190465,8 +187645,8 @@ "name": "password", "annotations": [], "modifiers": [], - "start_line": 1496, - "end_line": 1496, + "start_line": 1491, + "end_line": 1491, "start_column": 50, "end_column": 64 }, @@ -190475,8 +187655,8 @@ "name": "fullname", "annotations": [], "modifiers": [], - "start_line": 1496, - "end_line": 1496, + "start_line": 1491, + "end_line": 1491, "start_column": 67, "end_column": 81 }, @@ -190485,8 +187665,8 @@ "name": "address", "annotations": [], "modifiers": [], - "start_line": 1496, - "end_line": 1496, + "start_line": 1491, + "end_line": 1491, "start_column": 84, "end_column": 97 }, @@ -190495,8 +187675,8 @@ "name": "email", "annotations": [], "modifiers": [], - "start_line": 1496, - "end_line": 1496, + "start_line": 1491, + "end_line": 1491, "start_column": 100, "end_column": 111 }, @@ -190505,8 +187685,8 @@ "name": "creditcard", "annotations": [], "modifiers": [], - "start_line": 1496, - "end_line": 1496, + "start_line": 1491, + "end_line": 1491, "start_column": 114, "end_column": 130 }, @@ -190515,15 +187695,16 @@ "name": "openBalance", "annotations": [], "modifiers": [], - "start_line": 1496, - "end_line": 1496, + "start_line": 1491, + "end_line": 1491, "start_column": 133, "end_column": 154 } ], - "code": "{\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:register - inSession(\" + this.inSession + \")\");\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, createAccountSQL);\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 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 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 commit(conn);\n accountData = new AccountDataBean(accountID, loginCount, logoutCount, lastLogin, creationDate, balance, openBalance, userID);\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": 1495, - "end_line": 1545, + "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, @@ -190559,9 +187740,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1502, + "start_line": 1497, "start_column": 7, - "end_line": 1502, + "end_line": 1497, "end_column": 75 }, { @@ -190580,9 +187761,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1504, + "start_line": 1499, "start_column": 14, - "end_line": 1504, + "end_line": 1499, "end_column": 22 }, { @@ -190604,9 +187785,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1505, + "start_line": 1500, "start_column": 32, - "end_line": 1505, + "end_line": 1500, "end_column": 67 }, { @@ -190630,9 +187811,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1507, + "start_line": 1502, "start_column": 27, - "end_line": 1507, + "end_line": 1502, "end_column": 99 }, { @@ -190651,9 +187832,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1507, + "start_line": 1502, "start_column": 83, - "end_line": 1507, + "end_line": 1502, "end_column": 98 }, { @@ -190672,9 +187853,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1509, + "start_line": 1504, "start_column": 46, - "end_line": 1509, + "end_line": 1504, "end_column": 71 }, { @@ -190696,9 +187877,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1514, + "start_line": 1509, "start_column": 7, - "end_line": 1514, + "end_line": 1509, "end_column": 42 }, { @@ -190717,9 +187898,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1514, + "start_line": 1509, "start_column": 22, - "end_line": 1514, + "end_line": 1509, "end_column": 41 }, { @@ -190741,9 +187922,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1515, + "start_line": 1510, "start_column": 7, - "end_line": 1515, + "end_line": 1510, "end_column": 40 }, { @@ -190765,9 +187946,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1516, + "start_line": 1511, "start_column": 7, - "end_line": 1516, + "end_line": 1511, "end_column": 40 }, { @@ -190789,9 +187970,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1517, + "start_line": 1512, "start_column": 7, - "end_line": 1517, + "end_line": 1512, "end_column": 36 }, { @@ -190813,9 +187994,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1518, + "start_line": 1513, "start_column": 7, - "end_line": 1518, + "end_line": 1513, "end_column": 37 }, { @@ -190837,9 +188018,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1519, + "start_line": 1514, "start_column": 7, - "end_line": 1519, + "end_line": 1514, "end_column": 32 }, { @@ -190861,9 +188042,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1520, + "start_line": 1515, "start_column": 7, - "end_line": 1520, + "end_line": 1515, "end_column": 33 }, { @@ -190885,9 +188066,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1521, + "start_line": 1516, "start_column": 7, - "end_line": 1521, + "end_line": 1516, "end_column": 31 }, { @@ -190906,9 +188087,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1522, + "start_line": 1517, "start_column": 7, - "end_line": 1522, + "end_line": 1517, "end_column": 26 }, { @@ -190927,9 +188108,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1523, + "start_line": 1518, "start_column": 7, - "end_line": 1523, + "end_line": 1518, "end_column": 18 }, { @@ -190951,9 +188132,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1525, + "start_line": 1520, "start_column": 14, - "end_line": 1525, + "end_line": 1520, "end_column": 56 }, { @@ -190975,9 +188156,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1526, + "start_line": 1521, "start_column": 7, - "end_line": 1526, + "end_line": 1521, "end_column": 31 }, { @@ -190999,9 +188180,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1527, + "start_line": 1522, "start_column": 7, - "end_line": 1527, + "end_line": 1522, "end_column": 33 }, { @@ -191023,9 +188204,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1528, + "start_line": 1523, "start_column": 7, - "end_line": 1528, + "end_line": 1523, "end_column": 33 }, { @@ -191047,9 +188228,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1529, + "start_line": 1524, "start_column": 7, - "end_line": 1529, + "end_line": 1524, "end_column": 32 }, { @@ -191071,9 +188252,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1530, + "start_line": 1525, "start_column": 7, - "end_line": 1530, + "end_line": 1525, "end_column": 30 }, { @@ -191095,9 +188276,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1531, + "start_line": 1526, "start_column": 7, - "end_line": 1531, + "end_line": 1526, "end_column": 35 }, { @@ -191116,9 +188297,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1532, + "start_line": 1527, "start_column": 7, - "end_line": 1532, + "end_line": 1527, "end_column": 26 }, { @@ -191137,9 +188318,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1533, + "start_line": 1528, "start_column": 7, - "end_line": 1533, + "end_line": 1528, "end_column": 18 }, { @@ -191160,9 +188341,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1535, + "start_line": 1530, "start_column": 7, - "end_line": 1535, + "end_line": 1530, "end_column": 18 }, { @@ -191184,9 +188365,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1540, + "start_line": 1535, "start_column": 7, - "end_line": 1540, + "end_line": 1535, "end_column": 72 }, { @@ -191207,9 +188388,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1542, + "start_line": 1537, "start_column": 7, - "end_line": 1542, + "end_line": 1537, "end_column": 23 }, { @@ -191230,9 +188411,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1509, + "start_line": 1504, "start_column": 32, - "end_line": 1509, + "end_line": 1504, "end_column": 72 }, { @@ -191260,9 +188441,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1537, + "start_line": 1532, "start_column": 21, - "end_line": 1537, + "end_line": 1532, "end_column": 130 } ], @@ -191279,9 +188460,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 1499, + "start_line": 1494, "start_column": 21, - "end_line": 1499, + "end_line": 1494, "end_column": 38 }, { @@ -191296,9 +188477,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1500, + "start_line": 1495, "start_column": 16, - "end_line": 1500, + "end_line": 1495, "end_column": 26 }, { @@ -191313,9 +188494,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, createAccountSQL)", - "start_line": 1505, + "start_line": 1500, "start_column": 25, - "end_line": 1505, + "end_line": 1500, "end_column": 67 }, { @@ -191330,9 +188511,9 @@ "name": "accountID", "type": "java.lang.Integer", "initializer": "KeySequenceDirect.getNextID(conn, \"account\", inSession, getInGlobalTxn())", - "start_line": 1507, + "start_line": 1502, "start_column": 15, - "end_line": 1507, + "end_line": 1502, "end_column": 99 }, { @@ -191347,9 +188528,9 @@ "name": "balance", "type": "java.math.BigDecimal", "initializer": "openBalance", - "start_line": 1508, + "start_line": 1503, "start_column": 18, - "end_line": 1508, + "end_line": 1503, "end_column": 38 }, { @@ -191364,9 +188545,9 @@ "name": "creationDate", "type": "java.sql.Timestamp", "initializer": "new Timestamp(System.currentTimeMillis())", - "start_line": 1509, + "start_line": 1504, "start_column": 17, - "end_line": 1509, + "end_line": 1504, "end_column": 72 }, { @@ -191381,9 +188562,9 @@ "name": "lastLogin", "type": "java.sql.Timestamp", "initializer": "creationDate", - "start_line": 1510, + "start_line": 1505, "start_column": 17, - "end_line": 1510, + "end_line": 1505, "end_column": 40 }, { @@ -191398,9 +188579,9 @@ "name": "loginCount", "type": "int", "initializer": "0", - "start_line": 1511, + "start_line": 1506, "start_column": 11, - "end_line": 1511, + "end_line": 1506, "end_column": 24 }, { @@ -191415,9 +188596,9 @@ "name": "logoutCount", "type": "int", "initializer": "0", - "start_line": 1512, + "start_line": 1507, "start_column": 11, - "end_line": 1512, + "end_line": 1507, "end_column": 25 } ], @@ -191427,13 +188608,13 @@ "is_entrypoint": false }, "getHoldings(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getHoldings(String)", "comments": [ { "content": "\n * @see TradeServices#getHoldings(String)\n ", - "start_line": 969, - "end_line": 971, + "start_line": 964, + "end_line": 966, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -191455,15 +188636,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 973, - "end_line": 973, + "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 Log.trace(\"TradeDirect:getHoldings - inSession(\" + this.inSession + \")\", userID);\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getHoldingsForUserSQL);\n stmt.setString(1, userID);\n ResultSet rs = stmt.executeQuery();\n while (rs.next()) {\n HoldingDataBean holdingData = getHoldingDataFromResultSet(rs);\n holdingDataBeans.add(holdingData);\n }\n stmt.close();\n commit(conn);\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": 972, - "end_line": 1002, + "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, @@ -191498,9 +188680,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 978, + "start_line": 973, "start_column": 7, - "end_line": 978, + "end_line": 973, "end_column": 86 }, { @@ -191519,9 +188701,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 981, + "start_line": 976, "start_column": 14, - "end_line": 981, + "end_line": 976, "end_column": 22 }, { @@ -191543,9 +188725,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 982, + "start_line": 977, "start_column": 32, - "end_line": 982, + "end_line": 977, "end_column": 72 }, { @@ -191567,9 +188749,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 983, + "start_line": 978, "start_column": 7, - "end_line": 983, + "end_line": 978, "end_column": 31 }, { @@ -191588,9 +188770,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 985, + "start_line": 980, "start_column": 22, - "end_line": 985, + "end_line": 980, "end_column": 40 }, { @@ -191609,9 +188791,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 987, + "start_line": 982, "start_column": 14, - "end_line": 987, + "end_line": 982, "end_column": 22 }, { @@ -191632,9 +188814,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 988, + "start_line": 983, "start_column": 39, - "end_line": 988, + "end_line": 983, "end_column": 69 }, { @@ -191655,9 +188837,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 989, + "start_line": 984, "start_column": 9, - "end_line": 989, + "end_line": 984, "end_column": 41 }, { @@ -191676,9 +188858,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 992, + "start_line": 987, "start_column": 7, - "end_line": 992, + "end_line": 987, "end_column": 18 }, { @@ -191699,9 +188881,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 993, + "start_line": 988, "start_column": 7, - "end_line": 993, + "end_line": 988, "end_column": 18 }, { @@ -191723,9 +188905,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 996, + "start_line": 991, "start_column": 7, - "end_line": 996, + "end_line": 991, "end_column": 75 }, { @@ -191747,9 +188929,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 997, + "start_line": 992, "start_column": 7, - "end_line": 997, + "end_line": 992, "end_column": 23 }, { @@ -191770,9 +188952,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 999, + "start_line": 994, "start_column": 7, - "end_line": 999, + "end_line": 994, "end_column": 23 }, { @@ -191791,9 +188973,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 974, + "start_line": 969, "start_column": 52, - "end_line": 974, + "end_line": 969, "end_column": 83 } ], @@ -191810,9 +188992,9 @@ "name": "holdingDataBeans", "type": "java.util.Collection", "initializer": "new ArrayList()", - "start_line": 974, + "start_line": 969, "start_column": 33, - "end_line": 974, + "end_line": 969, "end_column": 83 }, { @@ -191827,9 +189009,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 975, + "start_line": 970, "start_column": 16, - "end_line": 975, + "end_line": 970, "end_column": 26 }, { @@ -191844,9 +189026,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getHoldingsForUserSQL)", - "start_line": 982, + "start_line": 977, "start_column": 25, - "end_line": 982, + "end_line": 977, "end_column": 72 }, { @@ -191861,9 +189043,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 985, + "start_line": 980, "start_column": 17, - "end_line": 985, + "end_line": 980, "end_column": 40 }, { @@ -191878,9 +189060,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "getHoldingDataFromResultSet(rs)", - "start_line": 988, + "start_line": 983, "start_column": 25, - "end_line": 988, + "end_line": 983, "end_column": 69 } ], @@ -191890,13 +189072,13 @@ "is_entrypoint": false }, "login(String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "login(String, String)", "comments": [ { "content": "\n * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n ", - "start_line": 1460, - "end_line": 1463, + "start_line": 1455, + "end_line": 1458, "start_column": 5, "end_column": 7, "is_javadoc": false @@ -191918,8 +189100,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1411, - "end_line": 1411, + "start_line": 1406, + "end_line": 1406, "start_column": 32, "end_column": 44 }, @@ -191928,15 +189110,16 @@ "name": "password", "annotations": [], "modifiers": [], - "start_line": 1411, - "end_line": 1411, + "start_line": 1406, + "end_line": 1406, "start_column": 47, "end_column": 61 } ], - "code": "{\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:login - inSession(\" + this.inSession + \")\", userID, password);\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getAccountProfileSQL);\n stmt.setString(1, userID);\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 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 stmt = getStatement(conn, loginSQL);\n stmt.setTimestamp(1, new Timestamp(System.currentTimeMillis()));\n stmt.setString(2, userID);\n stmt.executeUpdate();\n stmt.close();\n stmt = getStatement(conn, getAccountForUserSQL);\n stmt.setString(1, userID);\n rs = stmt.executeQuery();\n accountData = getAccountDataFromResultSet(rs);\n stmt.close();\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 * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n */\n}", - "start_line": 1410, - "end_line": 1464, + "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, @@ -191974,9 +189157,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1416, + "start_line": 1411, "start_column": 7, - "end_line": 1416, + "end_line": 1411, "end_column": 90 }, { @@ -191995,9 +189178,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1418, + "start_line": 1413, "start_column": 14, - "end_line": 1418, + "end_line": 1413, "end_column": 22 }, { @@ -192019,9 +189202,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1419, + "start_line": 1414, "start_column": 32, - "end_line": 1419, + "end_line": 1414, "end_column": 71 }, { @@ -192043,9 +189226,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1420, + "start_line": 1415, "start_column": 7, - "end_line": 1420, + "end_line": 1415, "end_column": 31 }, { @@ -192064,9 +189247,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1422, + "start_line": 1417, "start_column": 22, - "end_line": 1422, + "end_line": 1417, "end_column": 40 }, { @@ -192085,9 +189268,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1423, + "start_line": 1418, "start_column": 12, - "end_line": 1423, + "end_line": 1418, "end_column": 20 }, { @@ -192108,9 +189291,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1424, + "start_line": 1419, "start_column": 9, - "end_line": 1424, + "end_line": 1419, "end_column": 78 }, { @@ -192131,9 +189314,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1428, + "start_line": 1423, "start_column": 19, - "end_line": 1428, + "end_line": 1423, "end_column": 40 }, { @@ -192152,9 +189335,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1429, + "start_line": 1424, "start_column": 7, - "end_line": 1429, + "end_line": 1424, "end_column": 18 }, { @@ -192175,9 +189358,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1430, + "start_line": 1425, "start_column": 28, - "end_line": 1430, + "end_line": 1425, "end_column": 46 }, { @@ -192198,9 +189381,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1432, + "start_line": 1427, "start_column": 9, - "end_line": 1432, + "end_line": 1427, "end_column": 24 }, { @@ -192222,9 +189405,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1436, + "start_line": 1431, "start_column": 14, - "end_line": 1436, + "end_line": 1431, "end_column": 41 }, { @@ -192246,9 +189429,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1437, + "start_line": 1432, "start_column": 7, - "end_line": 1437, + "end_line": 1432, "end_column": 69 }, { @@ -192267,9 +189450,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1437, + "start_line": 1432, "start_column": 42, - "end_line": 1437, + "end_line": 1432, "end_column": 67 }, { @@ -192291,9 +189474,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1438, + "start_line": 1433, "start_column": 7, - "end_line": 1438, + "end_line": 1433, "end_column": 31 }, { @@ -192312,9 +189495,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1440, + "start_line": 1435, "start_column": 7, - "end_line": 1440, + "end_line": 1435, "end_column": 26 }, { @@ -192333,9 +189516,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1441, + "start_line": 1436, "start_column": 7, - "end_line": 1441, + "end_line": 1436, "end_column": 18 }, { @@ -192357,9 +189540,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1443, + "start_line": 1438, "start_column": 14, - "end_line": 1443, + "end_line": 1438, "end_column": 53 }, { @@ -192381,9 +189564,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1444, + "start_line": 1439, "start_column": 7, - "end_line": 1444, + "end_line": 1439, "end_column": 31 }, { @@ -192402,9 +189585,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1445, + "start_line": 1440, "start_column": 12, - "end_line": 1445, + "end_line": 1440, "end_column": 30 }, { @@ -192425,9 +189608,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1447, + "start_line": 1442, "start_column": 21, - "end_line": 1447, + "end_line": 1442, "end_column": 51 }, { @@ -192446,9 +189629,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1449, + "start_line": 1444, "start_column": 7, - "end_line": 1449, + "end_line": 1444, "end_column": 18 }, { @@ -192469,9 +189652,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1451, + "start_line": 1446, "start_column": 7, - "end_line": 1451, + "end_line": 1446, "end_column": 18 }, { @@ -192493,9 +189676,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1453, + "start_line": 1448, "start_column": 7, - "end_line": 1453, + "end_line": 1448, "end_column": 64 }, { @@ -192517,9 +189700,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1454, + "start_line": 1449, "start_column": 7, - "end_line": 1454, + "end_line": 1449, "end_column": 23 }, { @@ -192540,9 +189723,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1456, + "start_line": 1451, "start_column": 7, - "end_line": 1456, + "end_line": 1451, "end_column": 23 }, { @@ -192563,9 +189746,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1425, + "start_line": 1420, "start_column": 15, - "end_line": 1425, + "end_line": 1420, "end_column": 79 }, { @@ -192586,9 +189769,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1433, + "start_line": 1428, "start_column": 15, - "end_line": 1433, + "end_line": 1428, "end_column": 34 }, { @@ -192609,9 +189792,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1437, + "start_line": 1432, "start_column": 28, - "end_line": 1437, + "end_line": 1432, "end_column": 68 } ], @@ -192628,9 +189811,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 1413, + "start_line": 1408, "start_column": 21, - "end_line": 1413, + "end_line": 1408, "end_column": 38 }, { @@ -192645,9 +189828,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1414, + "start_line": 1409, "start_column": 16, - "end_line": 1414, + "end_line": 1409, "end_column": 26 }, { @@ -192662,9 +189845,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getAccountProfileSQL)", - "start_line": 1419, + "start_line": 1414, "start_column": 25, - "end_line": 1419, + "end_line": 1414, "end_column": 71 }, { @@ -192679,9 +189862,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1422, + "start_line": 1417, "start_column": 17, - "end_line": 1422, + "end_line": 1417, "end_column": 40 }, { @@ -192696,9 +189879,9 @@ "name": "pw", "type": "java.lang.String", "initializer": "rs.getString(\"passwd\")", - "start_line": 1428, + "start_line": 1423, "start_column": 14, - "end_line": 1428, + "end_line": 1423, "end_column": 40 }, { @@ -192713,9 +189896,9 @@ "name": "error", "type": "java.lang.String", "initializer": "\"TradeDirect:Login failure for user: \" + userID + \"\\n\\tIncorrect password-->\" + userID + \":\" + password", - "start_line": 1431, + "start_line": 1426, "start_column": 16, - "end_line": 1431, + "end_line": 1426, "end_column": 126 } ], @@ -192725,7 +189908,7 @@ "is_entrypoint": false }, "getConnPublic()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getConnPublic()", "comments": [], "annotations": [], @@ -192737,9 +189920,10 @@ ], "declaration": "public Connection getConnPublic() throws Exception", "parameters": [], - "code": "{\n return getConn();\n}", - "start_line": 1679, - "end_line": 1681, + "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, @@ -192762,9 +189946,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1680, + "start_line": 1675, "start_column": 12, - "end_line": 1680, + "end_line": 1675, "end_column": 20 } ], @@ -192775,7 +189959,7 @@ "is_entrypoint": false }, "cancelOrder(Connection, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "cancelOrder(Connection, Integer)", "comments": [], "annotations": [], @@ -192792,8 +189976,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 672, - "end_line": 672, + "start_line": 667, + "end_line": 667, "start_column": 28, "end_column": 42 }, @@ -192802,15 +189986,16 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 672, - "end_line": 672, + "start_line": 667, + "end_line": 667, "start_column": 45, "end_column": 59 } ], - "code": "{\n updateOrderStatus(conn, orderID, \"cancelled\");\n}", - "start_line": 672, - "end_line": 674, + "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, @@ -192837,9 +190022,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 673, + "start_line": 668, "start_column": 5, - "end_line": 673, + "end_line": 668, "end_column": 49 } ], @@ -192850,7 +190035,7 @@ "is_entrypoint": false }, "getQuoteDataFromResultSet(ResultSet)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getQuoteDataFromResultSet(ResultSet)", "comments": [], "annotations": [], @@ -192867,15 +190052,16 @@ "name": "rs", "annotations": [], "modifiers": [], - "start_line": 1581, - "end_line": 1581, + "start_line": 1576, + "end_line": 1576, "start_column": 51, "end_column": 62 } ], - "code": "{\n QuoteDataBean quoteData = null;\n quoteData = new QuoteDataBean(rs.getString(\"symbol\"), rs.getString(\"companyName\"), rs.getDouble(\"volume\"), rs.getBigDecimal(\"price\"), rs.getBigDecimal(\"open1\"), rs.getBigDecimal(\"low\"), rs.getBigDecimal(\"high\"), rs.getDouble(\"change1\"));\n return quoteData;\n}", - "start_line": 1581, - "end_line": 1587, + "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, @@ -192902,9 +190088,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1584, + "start_line": 1579, "start_column": 35, - "end_line": 1584, + "end_line": 1579, "end_column": 56 }, { @@ -192925,9 +190111,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1584, + "start_line": 1579, "start_column": 59, - "end_line": 1584, + "end_line": 1579, "end_column": 85 }, { @@ -192948,9 +190134,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1584, + "start_line": 1579, "start_column": 88, - "end_line": 1584, + "end_line": 1579, "end_column": 109 }, { @@ -192971,9 +190157,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1584, + "start_line": 1579, "start_column": 112, - "end_line": 1584, + "end_line": 1579, "end_column": 136 }, { @@ -192994,9 +190180,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1585, + "start_line": 1580, "start_column": 9, - "end_line": 1585, + "end_line": 1580, "end_column": 33 }, { @@ -193017,9 +190203,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1585, + "start_line": 1580, "start_column": 36, - "end_line": 1585, + "end_line": 1580, "end_column": 58 }, { @@ -193040,9 +190226,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1585, + "start_line": 1580, "start_column": 61, - "end_line": 1585, + "end_line": 1580, "end_column": 84 }, { @@ -193063,9 +190249,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1585, + "start_line": 1580, "start_column": 87, - "end_line": 1585, + "end_line": 1580, "end_column": 109 }, { @@ -193093,9 +190279,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1584, + "start_line": 1579, "start_column": 17, - "end_line": 1585, + "end_line": 1580, "end_column": 110 } ], @@ -193112,9 +190298,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 1582, + "start_line": 1577, "start_column": 19, - "end_line": 1582, + "end_line": 1577, "end_column": 34 } ], @@ -193124,7 +190310,7 @@ "is_entrypoint": false }, "updateQuotePriceVolume(String, BigDecimal, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateQuotePriceVolume(String, BigDecimal, double)", "comments": [], "annotations": [ @@ -193143,8 +190329,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1294, - "end_line": 1294, + "start_line": 1289, + "end_line": 1289, "start_column": 47, "end_column": 59 }, @@ -193153,8 +190339,8 @@ "name": "changeFactor", "annotations": [], "modifiers": [], - "start_line": 1294, - "end_line": 1294, + "start_line": 1289, + "end_line": 1289, "start_column": 62, "end_column": 84 }, @@ -193163,15 +190349,16 @@ "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 1294, - "end_line": 1294, + "start_line": 1289, + "end_line": 1289, "start_column": 87, "end_column": 105 } ], - "code": "{\n return updateQuotePriceVolumeInt(symbol, changeFactor, sharesTraded, TradeConfig.getPublishQuotePriceChange());\n}", - "start_line": 1293, - "end_line": 1296, + "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, @@ -193199,9 +190386,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1295, + "start_line": 1290, "start_column": 12, - "end_line": 1295, + "end_line": 1290, "end_column": 114 }, { @@ -193220,9 +190407,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1295, + "start_line": 1290, "start_column": 74, - "end_line": 1295, + "end_line": 1290, "end_column": 113 } ], @@ -193233,7 +190420,7 @@ "is_entrypoint": false }, "creditAccountBalance(Connection, AccountDataBean, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", "comments": [], "annotations": [], @@ -193250,8 +190437,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1237, - "end_line": 1237, + "start_line": 1232, + "end_line": 1232, "start_column": 37, "end_column": 51 }, @@ -193260,8 +190447,8 @@ "name": "accountData", "annotations": [], "modifiers": [], - "start_line": 1237, - "end_line": 1237, + "start_line": 1232, + "end_line": 1232, "start_column": 54, "end_column": 80 }, @@ -193270,15 +190457,16 @@ "name": "credit", "annotations": [], "modifiers": [], - "start_line": 1237, - "end_line": 1237, + "start_line": 1232, + "end_line": 1232, "start_column": 83, "end_column": 99 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, creditAccountBalanceSQL);\n stmt.setBigDecimal(1, credit);\n stmt.setInt(2, accountData.getAccountID().intValue());\n stmt.executeUpdate();\n stmt.close();\n}", - "start_line": 1237, - "end_line": 1246, + "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, @@ -193308,9 +190496,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1238, + "start_line": 1233, "start_column": 30, - "end_line": 1238, + "end_line": 1233, "end_column": 72 }, { @@ -193332,9 +190520,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1240, + "start_line": 1235, "start_column": 5, - "end_line": 1240, + "end_line": 1235, "end_column": 33 }, { @@ -193356,9 +190544,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1241, + "start_line": 1236, "start_column": 5, - "end_line": 1241, + "end_line": 1236, "end_column": 57 }, { @@ -193377,9 +190565,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1241, + "start_line": 1236, "start_column": 20, - "end_line": 1241, + "end_line": 1236, "end_column": 56 }, { @@ -193398,9 +190586,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1241, + "start_line": 1236, "start_column": 20, - "end_line": 1241, + "end_line": 1236, "end_column": 45 }, { @@ -193419,9 +190607,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1243, + "start_line": 1238, "start_column": 5, - "end_line": 1243, + "end_line": 1238, "end_column": 24 }, { @@ -193440,9 +190628,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1244, + "start_line": 1239, "start_column": 5, - "end_line": 1244, + "end_line": 1239, "end_column": 16 } ], @@ -193459,9 +190647,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, creditAccountBalanceSQL)", - "start_line": 1238, + "start_line": 1233, "start_column": 23, - "end_line": 1238, + "end_line": 1233, "end_column": 72 } ], @@ -193471,7 +190659,7 @@ "is_entrypoint": false }, "getOrderDataFromResultSet(ResultSet)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getOrderDataFromResultSet(ResultSet)", "comments": [], "annotations": [], @@ -193488,15 +190676,16 @@ "name": "rs", "annotations": [], "modifiers": [], - "start_line": 1589, - "end_line": 1589, + "start_line": 1584, + "end_line": 1584, "start_column": 51, "end_column": 62 } ], - "code": "{\n OrderDataBean orderData = null;\n orderData = new OrderDataBean(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\"));\n return orderData;\n}", - "start_line": 1589, - "end_line": 1596, + "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, @@ -193523,9 +190712,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1592, + "start_line": 1587, "start_column": 47, - "end_line": 1592, + "end_line": 1587, "end_column": 66 }, { @@ -193546,9 +190735,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1592, + "start_line": 1587, "start_column": 70, - "end_line": 1592, + "end_line": 1587, "end_column": 94 }, { @@ -193569,9 +190758,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1592, + "start_line": 1587, "start_column": 97, - "end_line": 1592, + "end_line": 1587, "end_column": 123 }, { @@ -193592,9 +190781,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1592, + "start_line": 1587, "start_column": 126, - "end_line": 1592, + "end_line": 1587, "end_column": 152 }, { @@ -193615,9 +190804,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1593, + "start_line": 1588, "start_column": 9, - "end_line": 1593, + "end_line": 1588, "end_column": 41 }, { @@ -193638,9 +190827,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1593, + "start_line": 1588, "start_column": 44, - "end_line": 1593, + "end_line": 1588, "end_column": 67 }, { @@ -193661,9 +190850,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1593, + "start_line": 1588, "start_column": 70, - "end_line": 1593, + "end_line": 1588, "end_column": 94 }, { @@ -193684,9 +190873,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1593, + "start_line": 1588, "start_column": 97, - "end_line": 1593, + "end_line": 1588, "end_column": 124 }, { @@ -193707,9 +190896,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1594, + "start_line": 1589, "start_column": 9, - "end_line": 1594, + "end_line": 1589, "end_column": 36 }, { @@ -193738,9 +190927,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1592, + "start_line": 1587, "start_column": 17, - "end_line": 1594, + "end_line": 1589, "end_column": 37 }, { @@ -193761,9 +190950,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1592, + "start_line": 1587, "start_column": 35, - "end_line": 1592, + "end_line": 1587, "end_column": 67 } ], @@ -193780,9 +190969,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 1590, + "start_line": 1585, "start_column": 19, - "end_line": 1590, + "end_line": 1585, "end_column": 34 } ], @@ -193792,13 +190981,13 @@ "is_entrypoint": false }, "cancelOrder(Integer, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "cancelOrder(Integer, boolean)", "comments": [ { "content": "\n * @see TradeServices#cancelOrder(Integer, boolean)\n ", - "start_line": 648, - "end_line": 650, + "start_line": 643, + "end_line": 645, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -193820,8 +191009,8 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 652, - "end_line": 652, + "start_line": 647, + "end_line": 647, "start_column": 27, "end_column": 41 }, @@ -193830,15 +191019,16 @@ "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 652, - "end_line": 652, + "start_line": 647, + "end_line": 647, "start_column": 44, "end_column": 59 } ], - "code": "{\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:cancelOrder - inSession(\" + this.inSession + \")\", orderID);\n setInGlobalTxn(!inSession && twoPhase);\n conn = getConn();\n cancelOrder(conn, orderID);\n commit(conn);\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": 651, - "end_line": 670, + "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, @@ -193868,9 +191058,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 657, + "start_line": 652, "start_column": 7, - "end_line": 657, + "end_line": 652, "end_column": 87 }, { @@ -193891,9 +191081,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 659, + "start_line": 654, "start_column": 7, - "end_line": 659, + "end_line": 654, "end_column": 44 }, { @@ -193912,9 +191102,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 660, + "start_line": 655, "start_column": 14, - "end_line": 660, + "end_line": 655, "end_column": 22 }, { @@ -193936,9 +191126,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 661, + "start_line": 656, "start_column": 7, - "end_line": 661, + "end_line": 656, "end_column": 32 }, { @@ -193959,9 +191149,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 662, + "start_line": 657, "start_column": 7, - "end_line": 662, + "end_line": 657, "end_column": 18 }, { @@ -193983,9 +191173,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 665, + "start_line": 660, "start_column": 7, - "end_line": 665, + "end_line": 660, "end_column": 83 }, { @@ -194007,9 +191197,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 666, + "start_line": 661, "start_column": 7, - "end_line": 666, + "end_line": 661, "end_column": 23 }, { @@ -194030,9 +191220,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 668, + "start_line": 663, "start_column": 7, - "end_line": 668, + "end_line": 663, "end_column": 23 } ], @@ -194049,9 +191239,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 654, + "start_line": 649, "start_column": 16, - "end_line": 654, + "end_line": 649, "end_column": 26 } ], @@ -194061,7 +191251,7 @@ "is_entrypoint": false }, "getAccountDataFromResultSet(ResultSet)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountDataFromResultSet(ResultSet)", "comments": [], "annotations": [], @@ -194078,15 +191268,16 @@ "name": "rs", "annotations": [], "modifiers": [], - "start_line": 1547, - "end_line": 1547, + "start_line": 1542, + "end_line": 1542, "start_column": 55, "end_column": 66 } ], - "code": "{\n AccountDataBean accountData = null;\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\"), rs.getTimestamp(\"lastLogin\"), rs.getTimestamp(\"creationDate\"), rs.getBigDecimal(\"balance\"), rs.getBigDecimal(\"openBalance\"), rs.getString(\"profile_userID\"));\n }\n return accountData;\n}", - "start_line": 1547, - "end_line": 1558, + "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, @@ -194111,9 +191302,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1550, + "start_line": 1545, "start_column": 10, - "end_line": 1550, + "end_line": 1545, "end_column": 18 }, { @@ -194134,9 +191325,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1551, + "start_line": 1546, "start_column": 7, - "end_line": 1551, + "end_line": 1546, "end_column": 86 }, { @@ -194157,9 +191348,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1553, + "start_line": 1548, "start_column": 53, - "end_line": 1553, + "end_line": 1548, "end_column": 74 }, { @@ -194180,9 +191371,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1553, + "start_line": 1548, "start_column": 78, - "end_line": 1553, + "end_line": 1548, "end_column": 100 }, { @@ -194203,9 +191394,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1553, + "start_line": 1548, "start_column": 103, - "end_line": 1553, + "end_line": 1548, "end_column": 126 }, { @@ -194226,9 +191417,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1554, + "start_line": 1549, "start_column": 11, - "end_line": 1554, + "end_line": 1549, "end_column": 38 }, { @@ -194249,9 +191440,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1554, + "start_line": 1549, "start_column": 41, - "end_line": 1554, + "end_line": 1549, "end_column": 71 }, { @@ -194272,9 +191463,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1554, + "start_line": 1549, "start_column": 74, - "end_line": 1554, + "end_line": 1549, "end_column": 100 }, { @@ -194295,9 +191486,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1554, + "start_line": 1549, "start_column": 103, - "end_line": 1554, + "end_line": 1549, "end_column": 133 }, { @@ -194318,9 +191509,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1555, + "start_line": 1550, "start_column": 11, - "end_line": 1555, + "end_line": 1550, "end_column": 40 }, { @@ -194348,9 +191539,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1553, + "start_line": 1548, "start_column": 21, - "end_line": 1555, + "end_line": 1550, "end_column": 41 }, { @@ -194371,9 +191562,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1553, + "start_line": 1548, "start_column": 41, - "end_line": 1553, + "end_line": 1548, "end_column": 75 } ], @@ -194390,9 +191581,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 1548, + "start_line": 1543, "start_column": 21, - "end_line": 1548, + "end_line": 1543, "end_column": 38 } ], @@ -194402,13 +191593,13 @@ "is_entrypoint": false }, "updateAccountProfile(AccountProfileDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateAccountProfile(AccountProfileDataBean)", "comments": [ { "content": "\n * @see TradeServices#updateAccountProfile(AccountProfileDataBean)\n ", - "start_line": 1211, - "end_line": 1213, + "start_line": 1206, + "end_line": 1208, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -194430,15 +191621,16 @@ "name": "profileData", "annotations": [], "modifiers": [], - "start_line": 1215, - "end_line": 1215, + "start_line": 1210, + "end_line": 1210, "start_column": 54, "end_column": 87 } ], - "code": "{\n AccountProfileDataBean accountProfileData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:updateAccountProfileData - inSession(\" + this.inSession + \")\", profileData.getUserID());\n conn = getConn();\n updateAccountProfile(conn, profileData);\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": 1214, - "end_line": 1235, + "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, @@ -194469,9 +191661,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1221, + "start_line": 1216, "start_column": 7, - "end_line": 1221, + "end_line": 1216, "end_column": 116 }, { @@ -194490,9 +191682,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1221, + "start_line": 1216, "start_column": 93, - "end_line": 1221, + "end_line": 1216, "end_column": 115 }, { @@ -194511,9 +191703,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1223, + "start_line": 1218, "start_column": 14, - "end_line": 1223, + "end_line": 1218, "end_column": 22 }, { @@ -194535,9 +191727,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1224, + "start_line": 1219, "start_column": 7, - "end_line": 1224, + "end_line": 1219, "end_column": 45 }, { @@ -194559,9 +191751,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1226, + "start_line": 1221, "start_column": 28, - "end_line": 1226, + "end_line": 1221, "end_column": 79 }, { @@ -194580,9 +191772,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1226, + "start_line": 1221, "start_column": 56, - "end_line": 1226, + "end_line": 1221, "end_column": 78 }, { @@ -194603,9 +191795,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1227, + "start_line": 1222, "start_column": 7, - "end_line": 1227, + "end_line": 1222, "end_column": 18 }, { @@ -194627,9 +191819,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1229, + "start_line": 1224, "start_column": 7, - "end_line": 1229, + "end_line": 1224, "end_column": 85 }, { @@ -194651,9 +191843,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1230, + "start_line": 1225, "start_column": 7, - "end_line": 1230, + "end_line": 1225, "end_column": 23 }, { @@ -194674,9 +191866,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1232, + "start_line": 1227, "start_column": 7, - "end_line": 1232, + "end_line": 1227, "end_column": 23 } ], @@ -194693,9 +191885,9 @@ "name": "accountProfileData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "null", - "start_line": 1216, + "start_line": 1211, "start_column": 28, - "end_line": 1216, + "end_line": 1211, "end_column": 52 }, { @@ -194710,9 +191902,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1217, + "start_line": 1212, "start_column": 16, - "end_line": 1217, + "end_line": 1212, "end_column": 26 } ], @@ -194722,13 +191914,13 @@ "is_entrypoint": false }, "getAccountData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountData(String)", "comments": [ { "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1030, - "end_line": 1032, + "start_line": 1025, + "end_line": 1027, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -194750,15 +191942,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1034, - "end_line": 1034, + "start_line": 1029, + "end_line": 1029, "start_column": 41, "end_column": 53 } ], - "code": "{\n try {\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\", userID);\n conn = getConn();\n accountData = getAccountData(conn, userID);\n commit(conn);\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": 1033, - "end_line": 1057, + "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, @@ -194789,9 +191982,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1040, + "start_line": 1035, "start_column": 9, - "end_line": 1040, + "end_line": 1035, "end_column": 91 }, { @@ -194810,9 +192003,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1043, + "start_line": 1038, "start_column": 16, - "end_line": 1043, + "end_line": 1038, "end_column": 24 }, { @@ -194834,9 +192027,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1044, + "start_line": 1039, "start_column": 23, - "end_line": 1044, + "end_line": 1039, "end_column": 50 }, { @@ -194857,9 +192050,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1045, + "start_line": 1040, "start_column": 9, - "end_line": 1045, + "end_line": 1040, "end_column": 20 }, { @@ -194881,9 +192074,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1048, + "start_line": 1043, "start_column": 9, - "end_line": 1048, + "end_line": 1043, "end_column": 80 }, { @@ -194905,9 +192098,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1049, + "start_line": 1044, "start_column": 9, - "end_line": 1049, + "end_line": 1044, "end_column": 25 }, { @@ -194928,9 +192121,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1051, + "start_line": 1046, "start_column": 9, - "end_line": 1051, + "end_line": 1046, "end_column": 25 }, { @@ -194949,9 +192142,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1055, + "start_line": 1050, "start_column": 27, - "end_line": 1055, + "end_line": 1050, "end_column": 40 }, { @@ -194973,9 +192166,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1055, + "start_line": 1050, "start_column": 13, - "end_line": 1055, + "end_line": 1050, "end_column": 44 } ], @@ -194992,9 +192185,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 1036, + "start_line": 1031, "start_column": 23, - "end_line": 1036, + "end_line": 1031, "end_column": 40 }, { @@ -195009,9 +192202,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1037, + "start_line": 1032, "start_column": 18, - "end_line": 1037, + "end_line": 1032, "end_column": 28 } ], @@ -195021,7 +192214,7 @@ "is_entrypoint": false }, "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)", "comments": [], "annotations": [], @@ -195038,8 +192231,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1362, - "end_line": 1362, + "start_line": 1357, + "end_line": 1357, "start_column": 39, "end_column": 53 }, @@ -195048,8 +192241,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1362, - "end_line": 1362, + "start_line": 1357, + "end_line": 1357, "start_column": 56, "end_column": 68 }, @@ -195058,8 +192251,8 @@ "name": "newPrice", "annotations": [], "modifiers": [], - "start_line": 1362, - "end_line": 1362, + "start_line": 1357, + "end_line": 1357, "start_column": 71, "end_column": 89 }, @@ -195068,8 +192261,8 @@ "name": "newVolume", "annotations": [], "modifiers": [], - "start_line": 1362, - "end_line": 1362, + "start_line": 1357, + "end_line": 1357, "start_column": 92, "end_column": 107 }, @@ -195078,15 +192271,16 @@ "name": "change", "annotations": [], "modifiers": [], - "start_line": 1362, - "end_line": 1362, + "start_line": 1357, + "end_line": 1357, "start_column": 110, "end_column": 122 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, updateQuotePriceVolumeSQL);\n stmt.setBigDecimal(1, newPrice);\n stmt.setDouble(2, change);\n stmt.setDouble(3, newVolume);\n stmt.setString(4, symbol);\n stmt.executeUpdate();\n stmt.close();\n}", - "start_line": 1362, - "end_line": 1373, + "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, @@ -195116,9 +192310,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1364, + "start_line": 1359, "start_column": 30, - "end_line": 1364, + "end_line": 1359, "end_column": 74 }, { @@ -195140,9 +192334,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1366, + "start_line": 1361, "start_column": 5, - "end_line": 1366, + "end_line": 1361, "end_column": 35 }, { @@ -195164,9 +192358,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1367, + "start_line": 1362, "start_column": 5, - "end_line": 1367, + "end_line": 1362, "end_column": 29 }, { @@ -195188,9 +192382,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1368, + "start_line": 1363, "start_column": 5, - "end_line": 1368, + "end_line": 1363, "end_column": 32 }, { @@ -195212,9 +192406,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1369, + "start_line": 1364, "start_column": 5, - "end_line": 1369, + "end_line": 1364, "end_column": 29 }, { @@ -195233,9 +192427,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1371, + "start_line": 1366, "start_column": 5, - "end_line": 1371, + "end_line": 1366, "end_column": 24 }, { @@ -195254,9 +192448,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1372, + "start_line": 1367, "start_column": 5, - "end_line": 1372, + "end_line": 1367, "end_column": 16 } ], @@ -195273,9 +192467,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, updateQuotePriceVolumeSQL)", - "start_line": 1364, + "start_line": 1359, "start_column": 23, - "end_line": 1364, + "end_line": 1359, "end_column": 74 } ], @@ -195285,13 +192479,13 @@ "is_entrypoint": false }, "getAccountProfileData(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountProfileData(String)", "comments": [ { "content": "\n * @see TradeServices#getAccountProfileData(String)\n ", - "start_line": 1164, - "end_line": 1166, + "start_line": 1159, + "end_line": 1161, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -195313,15 +192507,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1168, - "end_line": 1168, + "start_line": 1163, + "end_line": 1163, "start_column": 55, "end_column": 67 } ], - "code": "{\n AccountProfileDataBean accountProfileData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getAccountProfileData - inSession(\" + this.inSession + \")\", userID);\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": 1167, - "end_line": 1187, + "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, @@ -195352,9 +192547,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1174, + "start_line": 1169, "start_column": 7, - "end_line": 1174, + "end_line": 1169, "end_column": 96 }, { @@ -195373,9 +192568,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1177, + "start_line": 1172, "start_column": 14, - "end_line": 1177, + "end_line": 1172, "end_column": 22 }, { @@ -195397,9 +192592,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1178, + "start_line": 1173, "start_column": 28, - "end_line": 1178, + "end_line": 1173, "end_column": 62 }, { @@ -195420,9 +192615,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1179, + "start_line": 1174, "start_column": 7, - "end_line": 1179, + "end_line": 1174, "end_column": 18 }, { @@ -195444,9 +192639,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1181, + "start_line": 1176, "start_column": 7, - "end_line": 1181, + "end_line": 1176, "end_column": 85 }, { @@ -195468,9 +192663,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1182, + "start_line": 1177, "start_column": 7, - "end_line": 1182, + "end_line": 1177, "end_column": 23 }, { @@ -195491,9 +192686,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1184, + "start_line": 1179, "start_column": 7, - "end_line": 1184, + "end_line": 1179, "end_column": 23 } ], @@ -195510,9 +192705,9 @@ "name": "accountProfileData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "null", - "start_line": 1169, + "start_line": 1164, "start_column": 28, - "end_line": 1169, + "end_line": 1164, "end_column": 52 }, { @@ -195527,9 +192722,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1170, + "start_line": 1165, "start_column": 16, - "end_line": 1170, + "end_line": 1165, "end_column": 26 } ], @@ -195539,7 +192734,7 @@ "is_entrypoint": false }, "getAccountData(int, Connection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountData(int, Connection)", "comments": [], "annotations": [], @@ -195556,8 +192751,8 @@ "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 1091, - "end_line": 1091, + "start_line": 1086, + "end_line": 1086, "start_column": 42, "end_column": 54 }, @@ -195566,15 +192761,16 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1091, - "end_line": 1091, + "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": 1091, - "end_line": 1098, + "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, @@ -195606,9 +192802,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1092, + "start_line": 1087, "start_column": 30, - "end_line": 1092, + "end_line": 1087, "end_column": 62 }, { @@ -195630,9 +192826,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1093, + "start_line": 1088, "start_column": 5, - "end_line": 1093, + "end_line": 1088, "end_column": 29 }, { @@ -195651,9 +192847,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1094, + "start_line": 1089, "start_column": 20, - "end_line": 1094, + "end_line": 1089, "end_column": 38 }, { @@ -195674,9 +192870,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1095, + "start_line": 1090, "start_column": 35, - "end_line": 1095, + "end_line": 1090, "end_column": 65 }, { @@ -195695,9 +192891,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1096, + "start_line": 1091, "start_column": 5, - "end_line": 1096, + "end_line": 1091, "end_column": 16 } ], @@ -195714,9 +192910,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getAccountSQL)", - "start_line": 1092, + "start_line": 1087, "start_column": 23, - "end_line": 1092, + "end_line": 1087, "end_column": 62 }, { @@ -195731,9 +192927,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1094, + "start_line": 1089, "start_column": 15, - "end_line": 1094, + "end_line": 1089, "end_column": 38 }, { @@ -195748,9 +192944,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "getAccountDataFromResultSet(rs)", - "start_line": 1095, + "start_line": 1090, "start_column": 21, - "end_line": 1095, + "end_line": 1090, "end_column": 65 } ], @@ -195760,7 +192956,7 @@ "is_entrypoint": false }, "getAccountProfileDataFromResultSet(ResultSet)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getAccountProfileDataFromResultSet(ResultSet)", "comments": [], "annotations": [], @@ -195777,15 +192973,16 @@ "name": "rs", "annotations": [], "modifiers": [], - "start_line": 1560, - "end_line": 1560, + "start_line": 1555, + "end_line": 1555, "start_column": 69, "end_column": 80 } ], - "code": "{\n AccountProfileDataBean accountProfileData = null;\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\"), rs.getString(\"email\"), rs.getString(\"creditCard\"));\n }\n return accountProfileData;\n}", - "start_line": 1560, - "end_line": 1571, + "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, @@ -195810,9 +193007,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1563, + "start_line": 1558, "start_column": 10, - "end_line": 1563, + "end_line": 1558, "end_column": 18 }, { @@ -195833,9 +193030,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1564, + "start_line": 1559, "start_column": 7, - "end_line": 1564, + "end_line": 1559, "end_column": 100 }, { @@ -195856,9 +193053,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1566, + "start_line": 1561, "start_column": 55, - "end_line": 1566, + "end_line": 1561, "end_column": 76 }, { @@ -195879,9 +193076,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1566, + "start_line": 1561, "start_column": 79, - "end_line": 1566, + "end_line": 1561, "end_column": 100 }, { @@ -195902,9 +193099,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1566, + "start_line": 1561, "start_column": 103, - "end_line": 1566, + "end_line": 1561, "end_column": 126 }, { @@ -195925,9 +193122,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1566, + "start_line": 1561, "start_column": 129, - "end_line": 1566, + "end_line": 1561, "end_column": 151 }, { @@ -195948,9 +193145,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1567, + "start_line": 1562, "start_column": 11, - "end_line": 1567, + "end_line": 1562, "end_column": 31 }, { @@ -195971,9 +193168,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1567, + "start_line": 1562, "start_column": 34, - "end_line": 1567, + "end_line": 1562, "end_column": 59 }, { @@ -195999,9 +193196,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1566, + "start_line": 1561, "start_column": 28, - "end_line": 1567, + "end_line": 1562, "end_column": 60 } ], @@ -196018,9 +193215,9 @@ "name": "accountProfileData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "null", - "start_line": 1561, + "start_line": 1556, "start_column": 28, - "end_line": 1561, + "end_line": 1556, "end_column": 52 } ], @@ -196030,7 +193227,7 @@ "is_entrypoint": false }, "orderCompleted(String, Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "orderCompleted(String, Integer)", "comments": [], "annotations": [ @@ -196049,8 +193246,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 677, - "end_line": 677, + "start_line": 672, + "end_line": 672, "start_column": 30, "end_column": 42 }, @@ -196059,15 +193256,16 @@ "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 677, - "end_line": 677, + "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": 676, - "end_line": 679, + "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, @@ -196092,9 +193290,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 678, + "start_line": 673, "start_column": 11, - "end_line": 678, + "end_line": 673, "end_column": 94 } ], @@ -196105,7 +193303,7 @@ "is_entrypoint": false }, "getImpl()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getImpl()", "comments": [], "annotations": [ @@ -196117,9 +193315,10 @@ "thrown_exceptions": [], "declaration": "public int getImpl()", "parameters": [], - "code": "{\n return TradeConfig.DIRECT;\n}", - "start_line": 1819, - "end_line": 1822, + "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, @@ -196135,69 +193334,69 @@ "is_entrypoint": false }, "buy(String, String, double, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "buy(String, String, double, int)", "comments": [ { "content": "conn = getConn();", - "start_line": 320, - "end_line": 320, + "start_line": 315, + "end_line": 315, "start_column": 7, "end_column": 25, "is_javadoc": false }, { "content": " the holding", - "start_line": 325, - "end_line": 325, + "start_line": 320, + "end_line": 320, "start_column": 7, "end_column": 20, "is_javadoc": false }, { "content": ", userID, symbol, new Double(quantity));", - "start_line": 308, - "end_line": 308, + "start_line": 303, + "end_line": 303, "start_column": 72, "end_column": 113, "is_javadoc": false }, { "content": " the buy operation will create", - "start_line": 324, - "end_line": 324, + "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": 329, - "end_line": 329, + "start_line": 324, + "end_line": 324, "start_column": 7, "end_column": 66, "is_javadoc": false }, { "content": " subtract total from account balance", - "start_line": 333, - "end_line": 333, + "start_line": 328, + "end_line": 328, "start_column": 7, "end_column": 44, "is_javadoc": false }, { "content": " 2-phase", - "start_line": 344, - "end_line": 344, + "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": 294, - "end_line": 296, + "start_line": 289, + "end_line": 291, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -196220,8 +193419,8 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 299, - "end_line": 299, + "start_line": 294, + "end_line": 294, "start_column": 28, "end_column": 40 }, @@ -196230,8 +193429,8 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 299, - "end_line": 299, + "start_line": 294, + "end_line": 294, "start_column": 43, "end_column": 55 }, @@ -196240,8 +193439,8 @@ "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 299, - "end_line": 299, + "start_line": 294, + "end_line": 294, "start_column": 58, "end_column": 72 }, @@ -196250,15 +193449,16 @@ "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 299, - "end_line": 299, + "start_line": 294, + "end_line": 294, "start_column": 75, "end_column": 97 } ], - "code": "{\n final Connection conn = getConn();\n OrderDataBean orderData = null;\n BigDecimal total;\n try {\n //, userID, symbol, new Double(quantity));\n Log.trace(\"TradeDirect:buy - inSession(\" + this.inSession + \")\");\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n Log.trace(\"TradeDirect:buy create/begin global transaction\");\n txn.begin();\n setInGlobalTxn(true);\n }\n //conn = getConn();\n AccountDataBean accountData = getAccountData(conn, userID);\n QuoteDataBean quoteData = getQuoteData(conn, symbol);\n // the buy operation will create\n HoldingDataBean holdingData = null;\n // the holding\n orderData = createOrder(accountData, quoteData, holdingData, \"buy\", quantity);\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 try {\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 // 2-phase\n queueOrder(orderID, true);\n }\n } catch (JMSException je) {\n Log.error(\"TradeBean:buy(\" + userID + \",\" + symbol + \",\" + quantity + \") --> failed to queueOrder\", je);\n cancelOrder(conn, orderData.getOrderID());\n }\n orderData = getOrderData(conn, orderData.getOrderID().intValue());\n if (getInGlobalTxn()) {\n Log.trace(\"TradeDirect:buy committing global transaction\");\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 return orderData;\n}", - "start_line": 297, - "end_line": 378, + "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, @@ -196295,17 +193495,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 301, + "start_line": 296, "start_column": 29, - "end_line": 301, + "end_line": 296, "end_column": 37 }, { "method_name": "trace", "comment": { "content": ", userID, symbol, new Double(quantity));", - "start_line": 308, - "end_line": 308, + "start_line": 303, + "end_line": 303, "start_column": 72, "end_column": 113, "is_javadoc": false @@ -196325,9 +193525,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 308, + "start_line": 303, "start_column": 7, - "end_line": 308, + "end_line": 303, "end_column": 70 }, { @@ -196348,9 +193548,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 313, + "start_line": 308, "start_column": 9, - "end_line": 313, + "end_line": 308, "end_column": 68 }, { @@ -196369,9 +193569,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 316, + "start_line": 311, "start_column": 9, - "end_line": 316, + "end_line": 311, "end_column": 19 }, { @@ -196392,9 +193592,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, + "start_line": 312, "start_column": 9, - "end_line": 317, + "end_line": 312, "end_column": 28 }, { @@ -196416,9 +193616,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 322, + "start_line": 317, "start_column": 37, - "end_line": 322, + "end_line": 317, "end_column": 64 }, { @@ -196440,9 +193640,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 323, + "start_line": 318, "start_column": 33, - "end_line": 323, + "end_line": 318, "end_column": 58 }, { @@ -196467,9 +193667,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 327, + "start_line": 322, "start_column": 19, - "end_line": 327, + "end_line": 322, "end_column": 83 }, { @@ -196488,9 +193688,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 330, + "start_line": 325, "start_column": 26, - "end_line": 330, + "end_line": 325, "end_column": 45 }, { @@ -196509,9 +193709,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 331, + "start_line": 326, "start_column": 29, - "end_line": 331, + "end_line": 326, "end_column": 51 }, { @@ -196532,9 +193732,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 332, + "start_line": 327, "start_column": 15, - "end_line": 332, + "end_line": 327, "end_column": 70 }, { @@ -196555,17 +193755,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 332, + "start_line": 327, "start_column": 16, - "end_line": 332, + "end_line": 327, "end_column": 55 }, { "method_name": "creditAccountBalance", "comment": { "content": " subtract total from account balance", - "start_line": 333, - "end_line": 333, + "start_line": 328, + "end_line": 328, "start_column": 7, "end_column": 44, "is_javadoc": false @@ -196587,9 +193787,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 334, + "start_line": 329, "start_column": 7, - "end_line": 334, + "end_line": 329, "end_column": 61 }, { @@ -196608,9 +193808,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 334, + "start_line": 329, "start_column": 47, - "end_line": 334, + "end_line": 329, "end_column": 60 }, { @@ -196629,9 +193829,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 335, + "start_line": 330, "start_column": 31, - "end_line": 335, + "end_line": 330, "end_column": 52 }, { @@ -196653,9 +193853,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 340, + "start_line": 335, "start_column": 11, - "end_line": 340, + "end_line": 335, "end_column": 53 }, { @@ -196674,9 +193874,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 340, + "start_line": 335, "start_column": 31, - "end_line": 340, + "end_line": 335, "end_column": 52 }, { @@ -196698,17 +193898,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 342, + "start_line": 337, "start_column": 11, - "end_line": 342, + "end_line": 337, "end_column": 43 }, { "method_name": "queueOrder", "comment": { "content": " 2-phase", - "start_line": 344, - "end_line": 344, + "start_line": 339, + "end_line": 339, "start_column": 38, "end_column": 47, "is_javadoc": false @@ -196729,9 +193929,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 344, + "start_line": 339, "start_column": 11, - "end_line": 344, + "end_line": 339, "end_column": 35 }, { @@ -196753,9 +193953,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 347, + "start_line": 342, "start_column": 9, - "end_line": 347, + "end_line": 342, "end_column": 111 }, { @@ -196777,9 +193977,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 350, + "start_line": 345, "start_column": 9, - "end_line": 350, + "end_line": 345, "end_column": 49 }, { @@ -196798,9 +193998,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 350, + "start_line": 345, "start_column": 27, - "end_line": 350, + "end_line": 345, "end_column": 48 }, { @@ -196822,9 +194022,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 353, + "start_line": 348, "start_column": 19, - "end_line": 353, + "end_line": 348, "end_column": 71 }, { @@ -196843,9 +194043,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 353, + "start_line": 348, "start_column": 38, - "end_line": 353, + "end_line": 348, "end_column": 70 }, { @@ -196864,9 +194064,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 353, + "start_line": 348, "start_column": 38, - "end_line": 353, + "end_line": 348, "end_column": 59 }, { @@ -196885,9 +194085,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 355, + "start_line": 350, "start_column": 11, - "end_line": 355, + "end_line": 350, "end_column": 26 }, { @@ -196908,9 +194108,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 357, + "start_line": 352, "start_column": 9, - "end_line": 357, + "end_line": 352, "end_column": 66 }, { @@ -196929,9 +194129,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 360, + "start_line": 355, "start_column": 11, - "end_line": 360, + "end_line": 355, "end_column": 22 }, { @@ -196952,9 +194152,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 361, + "start_line": 356, "start_column": 11, - "end_line": 361, + "end_line": 356, "end_column": 31 }, { @@ -196975,9 +194175,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 364, + "start_line": 359, "start_column": 9, - "end_line": 364, + "end_line": 359, "end_column": 20 }, { @@ -196999,9 +194199,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 367, + "start_line": 362, "start_column": 7, - "end_line": 367, + "end_line": 362, "end_column": 58 }, { @@ -197020,9 +194220,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 368, + "start_line": 363, "start_column": 11, - "end_line": 368, + "end_line": 363, "end_column": 26 }, { @@ -197041,9 +194241,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 369, + "start_line": 364, "start_column": 9, - "end_line": 369, + "end_line": 364, "end_column": 22 }, { @@ -197065,9 +194265,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 371, + "start_line": 366, "start_column": 9, - "end_line": 371, + "end_line": 366, "end_column": 25 }, { @@ -197088,9 +194288,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 374, + "start_line": 369, "start_column": 7, - "end_line": 374, + "end_line": 369, "end_column": 23 }, { @@ -197111,9 +194311,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 332, + "start_line": 327, "start_column": 16, - "end_line": 332, + "end_line": 327, "end_column": 39 } ], @@ -197130,9 +194330,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "getConn()", - "start_line": 301, + "start_line": 296, "start_column": 22, - "end_line": 301, + "end_line": 296, "end_column": 37 }, { @@ -197147,9 +194347,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 302, + "start_line": 297, "start_column": 19, - "end_line": 302, + "end_line": 297, "end_column": 34 }, { @@ -197164,9 +194364,9 @@ "name": "total", "type": "java.math.BigDecimal", "initializer": "", - "start_line": 304, + "start_line": 299, "start_column": 16, - "end_line": 304, + "end_line": 299, "end_column": 20 }, { @@ -197181,9 +194381,9 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "getAccountData(conn, userID)", - "start_line": 322, + "start_line": 317, "start_column": 23, - "end_line": 322, + "end_line": 317, "end_column": 64 }, { @@ -197198,9 +194398,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "getQuoteData(conn, symbol)", - "start_line": 323, + "start_line": 318, "start_column": 21, - "end_line": 323, + "end_line": 318, "end_column": 58 }, { @@ -197215,9 +194415,9 @@ "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 324, + "start_line": 319, "start_column": 23, - "end_line": 324, + "end_line": 319, "end_column": 40 }, { @@ -197232,9 +194432,9 @@ "name": "price", "type": "java.math.BigDecimal", "initializer": "quoteData.getPrice()", - "start_line": 330, + "start_line": 325, "start_column": 18, - "end_line": 330, + "end_line": 325, "end_column": 45 }, { @@ -197249,9 +194449,9 @@ "name": "orderFee", "type": "java.math.BigDecimal", "initializer": "orderData.getOrderFee()", - "start_line": 331, + "start_line": 326, "start_column": 18, - "end_line": 331, + "end_line": 326, "end_column": 51 }, { @@ -197266,9 +194466,9 @@ "name": "orderID", "type": "java.lang.Integer", "initializer": "orderData.getOrderID()", - "start_line": 335, + "start_line": 330, "start_column": 21, - "end_line": 335, + "end_line": 330, "end_column": 52 } ], @@ -197278,7 +194478,7 @@ "is_entrypoint": false }, "getConn()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getConn()", "comments": [], "annotations": [], @@ -197290,9 +194490,10 @@ ], "declaration": "private Connection getConn() throws Exception", "parameters": [], - "code": "{\n Connection conn = datasource.getConnection();\n if (!this.inGlobalTxn) {\n conn.setAutoCommit(false);\n }\n if (Log.doTrace()) {\n synchronized (lock) {\n connCount++;\n }\n Log.trace(\"TradeDirect:getConn -- new connection allocated, IsolationLevel=\" + conn.getTransactionIsolation() + \" connectionCount = \" + connCount);\n }\n return conn;\n}", - "start_line": 1662, - "end_line": 1677, + "code": "{\n\n Connection conn = datasource.getConnection(); \n\n if (!this.inGlobalTxn) {\n conn.setAutoCommit(false);\n }\n if (Log.doTrace()) {\n synchronized (lock) {\n connCount++;\n }\n Log.trace(\"TradeDirect:getConn -- new connection allocated, IsolationLevel=\" + conn.getTransactionIsolation() + \" connectionCount = \" + connCount);\n }\n\n return conn;\n }", + "start_line": 1657, + "end_line": 1672, + "code_start_line": 1657, "return_type": "java.sql.Connection", "is_implicit": false, "is_constructor": false, @@ -197322,9 +194523,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1664, + "start_line": 1659, "start_column": 23, - "end_line": 1664, + "end_line": 1659, "end_column": 48 }, { @@ -197345,9 +194546,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1667, + "start_line": 1662, "start_column": 7, - "end_line": 1667, + "end_line": 1662, "end_column": 31 }, { @@ -197366,9 +194567,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1669, + "start_line": 1664, "start_column": 9, - "end_line": 1669, + "end_line": 1664, "end_column": 21 }, { @@ -197389,9 +194590,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1673, + "start_line": 1668, "start_column": 7, - "end_line": 1673, + "end_line": 1668, "end_column": 152 }, { @@ -197410,9 +194611,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1673, + "start_line": 1668, "start_column": 86, - "end_line": 1673, + "end_line": 1668, "end_column": 115 } ], @@ -197429,9 +194630,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "datasource.getConnection()", - "start_line": 1664, + "start_line": 1659, "start_column": 16, - "end_line": 1664, + "end_line": 1659, "end_column": 48 } ], @@ -197441,13 +194642,13 @@ "is_entrypoint": false }, "getInGlobalTxn()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getInGlobalTxn()", "comments": [ { "content": "\n * Gets the inGlobalTxn\n *\n * @return Returns a boolean\n ", - "start_line": 1796, - "end_line": 1800, + "start_line": 1791, + "end_line": 1795, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -197460,9 +194661,10 @@ "thrown_exceptions": [], "declaration": "private boolean getInGlobalTxn()", "parameters": [], - "code": "{\n return inGlobalTxn;\n}", - "start_line": 1801, - "end_line": 1803, + "code": "{\n return inGlobalTxn;\n }", + "start_line": 1796, + "end_line": 1798, + "code_start_line": 1796, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -197478,13 +194680,13 @@ "is_entrypoint": false }, "getClosedOrders(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getClosedOrders(String)", "comments": [ { "content": "\n * @see TradeServices#getClosedOrders(String)\n ", - "start_line": 798, - "end_line": 800, + "start_line": 793, + "end_line": 795, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -197506,15 +194708,16 @@ "name": "userID", "annotations": [], "modifiers": [], - "start_line": 802, - "end_line": 802, + "start_line": 797, + "end_line": 797, "start_column": 52, "end_column": 64 } ], - "code": "{\n Collection orderDataBeans = new ArrayList();\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getClosedOrders - inSession(\" + this.inSession + \")\", userID);\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getClosedOrdersSQL);\n stmt.setString(1, userID);\n ResultSet rs = stmt.executeQuery();\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 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": 801, - "end_line": 833, + "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, @@ -197549,9 +194752,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 807, + "start_line": 802, "start_column": 7, - "end_line": 807, + "end_line": 802, "end_column": 90 }, { @@ -197570,9 +194773,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 810, + "start_line": 805, "start_column": 14, - "end_line": 810, + "end_line": 805, "end_column": 22 }, { @@ -197594,9 +194797,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 811, + "start_line": 806, "start_column": 32, - "end_line": 811, + "end_line": 806, "end_column": 69 }, { @@ -197618,9 +194821,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 812, + "start_line": 807, "start_column": 7, - "end_line": 812, + "end_line": 807, "end_column": 31 }, { @@ -197639,9 +194842,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 814, + "start_line": 809, "start_column": 22, - "end_line": 814, + "end_line": 809, "end_column": 40 }, { @@ -197660,9 +194863,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 816, + "start_line": 811, "start_column": 14, - "end_line": 816, + "end_line": 811, "end_column": 22 }, { @@ -197683,9 +194886,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 817, + "start_line": 812, "start_column": 35, - "end_line": 817, + "end_line": 812, "end_column": 63 }, { @@ -197706,9 +194909,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 818, + "start_line": 813, "start_column": 9, - "end_line": 818, + "end_line": 813, "end_column": 45 }, { @@ -197731,9 +194934,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 819, + "start_line": 814, "start_column": 9, - "end_line": 819, + "end_line": 814, "end_column": 83 }, { @@ -197752,9 +194955,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 819, + "start_line": 814, "start_column": 33, - "end_line": 819, + "end_line": 814, "end_column": 54 }, { @@ -197773,9 +194976,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 819, + "start_line": 814, "start_column": 57, - "end_line": 819, + "end_line": 814, "end_column": 82 }, { @@ -197796,9 +194999,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 820, + "start_line": 815, "start_column": 9, - "end_line": 820, + "end_line": 815, "end_column": 37 }, { @@ -197817,9 +195020,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 824, + "start_line": 819, "start_column": 7, - "end_line": 824, + "end_line": 819, "end_column": 18 }, { @@ -197840,9 +195043,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 825, + "start_line": 820, "start_column": 7, - "end_line": 825, + "end_line": 820, "end_column": 18 }, { @@ -197864,9 +195067,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 827, + "start_line": 822, "start_column": 7, - "end_line": 827, + "end_line": 822, "end_column": 72 }, { @@ -197888,9 +195091,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 828, + "start_line": 823, "start_column": 7, - "end_line": 828, + "end_line": 823, "end_column": 23 }, { @@ -197911,9 +195114,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 830, + "start_line": 825, "start_column": 7, - "end_line": 830, + "end_line": 825, "end_column": 23 }, { @@ -197932,9 +195135,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 803, + "start_line": 798, "start_column": 48, - "end_line": 803, + "end_line": 798, "end_column": 77 } ], @@ -197951,9 +195154,9 @@ "name": "orderDataBeans", "type": "java.util.Collection", "initializer": "new ArrayList()", - "start_line": 803, + "start_line": 798, "start_column": 31, - "end_line": 803, + "end_line": 798, "end_column": 77 }, { @@ -197968,9 +195171,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 804, + "start_line": 799, "start_column": 16, - "end_line": 804, + "end_line": 799, "end_column": 26 }, { @@ -197985,9 +195188,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getClosedOrdersSQL)", - "start_line": 811, + "start_line": 806, "start_column": 25, - "end_line": 811, + "end_line": 806, "end_column": 69 }, { @@ -198002,9 +195205,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 814, + "start_line": 809, "start_column": 17, - "end_line": 814, + "end_line": 809, "end_column": 40 }, { @@ -198019,9 +195222,9 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "getOrderDataFromResultSet(rs)", - "start_line": 817, + "start_line": 812, "start_column": 23, - "end_line": 817, + "end_line": 812, "end_column": 63 } ], @@ -198031,13 +195234,13 @@ "is_entrypoint": false }, "setInGlobalTxn(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "setInGlobalTxn(boolean)", "comments": [ { "content": "\n * Sets the inGlobalTxn\n *\n * @param inGlobalTxn\n * The inGlobalTxn to set\n ", - "start_line": 1805, - "end_line": 1810, + "start_line": 1800, + "end_line": 1805, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -198055,15 +195258,16 @@ "name": "inGlobalTxn", "annotations": [], "modifiers": [], - "start_line": 1811, - "end_line": 1811, + "start_line": 1806, + "end_line": 1806, "start_column": 31, "end_column": 49 } ], - "code": "{\n this.inGlobalTxn = inGlobalTxn;\n}", - "start_line": 1811, - "end_line": 1813, + "code": "{\n this.inGlobalTxn = inGlobalTxn;\n }", + "start_line": 1806, + "end_line": 1808, + "code_start_line": 1806, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -198079,13 +195283,13 @@ "is_entrypoint": false }, "getMarketSummaryInternal()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "getMarketSummaryInternal()", "comments": [ { "content": "\n * rs.last(); count = 0; while (rs.previous() && (count++ < 5) ) {\n * QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n * topGainersData.add(quoteData); }\n ", - "start_line": 233, - "end_line": 237, + "start_line": 228, + "end_line": 232, "start_column": 7, "end_column": 9, "is_javadoc": false @@ -198100,9 +195304,10 @@ ], "declaration": "public MarketSummaryDataBean getMarketSummaryInternal() throws Exception", "parameters": [], - "code": "{\n MarketSummaryDataBean marketSummaryData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getMarketSummary - inSession(\" + this.inSession + \")\");\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getTSIAQuotesOrderByChangeSQL, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n ArrayList topGainersData = new ArrayList(5);\n ArrayList topLosersData = new ArrayList(5);\n ResultSet rs = stmt.executeQuery();\n int count = 0;\n while (rs.next() && (count++ < 5)) {\n QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n topLosersData.add(quoteData);\n }\n stmt.close();\n stmt = getStatement(conn, \"select * from quoteejb q order by q.change1 DESC\", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n rs = stmt.executeQuery();\n count = 0;\n while (rs.next() && (count++ < 5)) {\n QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n topGainersData.add(quoteData);\n }\n /*\n * rs.last(); count = 0; while (rs.previous() && (count++ < 5) ) {\n * QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n * topGainersData.add(quoteData); }\n */\n stmt.close();\n BigDecimal TSIA = ZERO;\n BigDecimal openTSIA = ZERO;\n double volume = 0.0;\n if ((topGainersData.size() > 0) || (topLosersData.size() > 0)) {\n stmt = getStatement(conn, getTSIASQL);\n rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:getMarketSummary -- error w/ getTSIASQL -- no results\");\n } else {\n TSIA = rs.getBigDecimal(\"TSIA\");\n }\n stmt.close();\n stmt = getStatement(conn, getOpenTSIASQL);\n rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:getMarketSummary -- error w/ getOpenTSIASQL -- no results\");\n } else {\n openTSIA = rs.getBigDecimal(\"openTSIA\");\n }\n stmt.close();\n stmt = getStatement(conn, getTSIATotalVolumeSQL);\n rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:getMarketSummary -- error w/ getTSIATotalVolumeSQL -- no results\");\n } else {\n volume = rs.getDouble(\"totalVolume\");\n }\n stmt.close();\n }\n commit(conn);\n marketSummaryData = new MarketSummaryDataBean(TSIA, openTSIA, volume, topGainersData, topLosersData);\n mkSummaryUpdateEvent.fireAsync(\"MarketSummaryUpdate\", NotificationOptions.builder().setExecutor(mes).build());\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 marketSummaryData;\n}", - "start_line": 201, - "end_line": 292, + "code": "{\n\n MarketSummaryDataBean marketSummaryData = null;\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:getMarketSummary - inSession(\" + this.inSession + \")\");\n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getTSIAQuotesOrderByChangeSQL, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n\n ArrayList topGainersData = new ArrayList(5);\n ArrayList topLosersData = new ArrayList(5);\n\n ResultSet rs = stmt.executeQuery();\n\n int count = 0;\n while (rs.next() && (count++ < 5)) {\n QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n topLosersData.add(quoteData);\n }\n\n stmt.close();\n stmt = getStatement(conn, \"select * from quoteejb q order by q.change1 DESC\", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n rs = stmt.executeQuery();\n\n count = 0;\n while (rs.next() && (count++ < 5)) {\n QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n topGainersData.add(quoteData);\n }\n\n /*\n * rs.last(); count = 0; while (rs.previous() && (count++ < 5) ) {\n * QuoteDataBean quoteData = getQuoteDataFromResultSet(rs);\n * topGainersData.add(quoteData); }\n */\n\n stmt.close();\n\n BigDecimal TSIA = ZERO;\n BigDecimal openTSIA = ZERO;\n double volume = 0.0;\n\n if ((topGainersData.size() > 0) || (topLosersData.size() > 0)) {\n\n stmt = getStatement(conn, getTSIASQL);\n rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getMarketSummary -- error w/ getTSIASQL -- no results\");\n } else {\n TSIA = rs.getBigDecimal(\"TSIA\");\n }\n stmt.close();\n\n stmt = getStatement(conn, getOpenTSIASQL);\n rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getMarketSummary -- error w/ getOpenTSIASQL -- no results\");\n } else {\n openTSIA = rs.getBigDecimal(\"openTSIA\");\n }\n stmt.close();\n\n stmt = getStatement(conn, getTSIATotalVolumeSQL);\n rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getMarketSummary -- error w/ getTSIATotalVolumeSQL -- no results\");\n } else {\n volume = rs.getDouble(\"totalVolume\");\n }\n stmt.close();\n }\n commit(conn);\n\n marketSummaryData = new MarketSummaryDataBean(TSIA, openTSIA, volume, topGainersData, topLosersData);\n mkSummaryUpdateEvent.fireAsync(\"MarketSummaryUpdate\", NotificationOptions.builder().setExecutor(mes).build());\n\n }\n\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 marketSummaryData;\n\n }", + "start_line": 196, + "end_line": 287, + "code_start_line": 196, "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "is_implicit": false, "is_constructor": false, @@ -198146,9 +195351,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 207, + "start_line": 202, "start_column": 7, - "end_line": 207, + "end_line": 202, "end_column": 83 }, { @@ -198167,9 +195372,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 209, + "start_line": 204, "start_column": 14, - "end_line": 209, + "end_line": 204, "end_column": 22 }, { @@ -198193,9 +195398,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 210, + "start_line": 205, "start_column": 32, - "end_line": 210, + "end_line": 205, "end_column": 143 }, { @@ -198214,9 +195419,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 215, + "start_line": 210, "start_column": 22, - "end_line": 215, + "end_line": 210, "end_column": 40 }, { @@ -198235,9 +195440,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 218, + "start_line": 213, "start_column": 14, - "end_line": 218, + "end_line": 213, "end_column": 22 }, { @@ -198258,9 +195463,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 219, + "start_line": 214, "start_column": 35, - "end_line": 219, + "end_line": 214, "end_column": 63 }, { @@ -198281,9 +195486,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 220, + "start_line": 215, "start_column": 9, - "end_line": 220, + "end_line": 215, "end_column": 36 }, { @@ -198302,9 +195507,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 223, + "start_line": 218, "start_column": 7, - "end_line": 223, + "end_line": 218, "end_column": 18 }, { @@ -198328,9 +195533,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 224, + "start_line": 219, "start_column": 14, - "end_line": 224, + "end_line": 219, "end_column": 146 }, { @@ -198349,9 +195554,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 225, + "start_line": 220, "start_column": 12, - "end_line": 225, + "end_line": 220, "end_column": 30 }, { @@ -198370,9 +195575,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 228, + "start_line": 223, "start_column": 14, - "end_line": 228, + "end_line": 223, "end_column": 22 }, { @@ -198393,9 +195598,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 229, + "start_line": 224, "start_column": 35, - "end_line": 229, + "end_line": 224, "end_column": 63 }, { @@ -198416,9 +195621,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 230, + "start_line": 225, "start_column": 9, - "end_line": 230, + "end_line": 225, "end_column": 37 }, { @@ -198437,9 +195642,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 239, + "start_line": 234, "start_column": 7, - "end_line": 239, + "end_line": 234, "end_column": 18 }, { @@ -198458,9 +195663,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 245, + "start_line": 240, "start_column": 12, - "end_line": 245, + "end_line": 240, "end_column": 32 }, { @@ -198479,9 +195684,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 245, + "start_line": 240, "start_column": 43, - "end_line": 245, + "end_line": 240, "end_column": 62 }, { @@ -198503,9 +195708,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 247, + "start_line": 242, "start_column": 16, - "end_line": 247, + "end_line": 242, "end_column": 45 }, { @@ -198524,9 +195729,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 248, + "start_line": 243, "start_column": 14, - "end_line": 248, + "end_line": 243, "end_column": 32 }, { @@ -198545,9 +195750,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 250, + "start_line": 245, "start_column": 14, - "end_line": 250, + "end_line": 245, "end_column": 22 }, { @@ -198568,9 +195773,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 251, + "start_line": 246, "start_column": 11, - "end_line": 251, + "end_line": 246, "end_column": 88 }, { @@ -198591,9 +195796,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 253, + "start_line": 248, "start_column": 18, - "end_line": 253, + "end_line": 248, "end_column": 41 }, { @@ -198612,9 +195817,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 255, + "start_line": 250, "start_column": 9, - "end_line": 255, + "end_line": 250, "end_column": 20 }, { @@ -198636,9 +195841,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 257, + "start_line": 252, "start_column": 16, - "end_line": 257, + "end_line": 252, "end_column": 49 }, { @@ -198657,9 +195862,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 258, + "start_line": 253, "start_column": 14, - "end_line": 258, + "end_line": 253, "end_column": 32 }, { @@ -198678,9 +195883,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 260, + "start_line": 255, "start_column": 14, - "end_line": 260, + "end_line": 255, "end_column": 22 }, { @@ -198701,9 +195906,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 261, + "start_line": 256, "start_column": 11, - "end_line": 261, + "end_line": 256, "end_column": 92 }, { @@ -198724,9 +195929,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 263, + "start_line": 258, "start_column": 22, - "end_line": 263, + "end_line": 258, "end_column": 49 }, { @@ -198745,9 +195950,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 265, + "start_line": 260, "start_column": 9, - "end_line": 265, + "end_line": 260, "end_column": 20 }, { @@ -198769,9 +195974,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 267, + "start_line": 262, "start_column": 16, - "end_line": 267, + "end_line": 262, "end_column": 56 }, { @@ -198790,9 +195995,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 268, + "start_line": 263, "start_column": 14, - "end_line": 268, + "end_line": 263, "end_column": 32 }, { @@ -198811,9 +196016,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 270, + "start_line": 265, "start_column": 14, - "end_line": 270, + "end_line": 265, "end_column": 22 }, { @@ -198834,9 +196039,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 271, + "start_line": 266, "start_column": 11, - "end_line": 271, + "end_line": 266, "end_column": 99 }, { @@ -198857,9 +196062,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 273, + "start_line": 268, "start_column": 20, - "end_line": 273, + "end_line": 268, "end_column": 46 }, { @@ -198878,9 +196083,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 275, + "start_line": 270, "start_column": 9, - "end_line": 275, + "end_line": 270, "end_column": 20 }, { @@ -198901,9 +196106,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 277, + "start_line": 272, "start_column": 7, - "end_line": 277, + "end_line": 272, "end_column": 18 }, { @@ -198925,9 +196130,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 280, + "start_line": 275, "start_column": 7, - "end_line": 280, + "end_line": 275, "end_column": 115 }, { @@ -198946,9 +196151,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 280, + "start_line": 275, "start_column": 61, - "end_line": 280, + "end_line": 275, "end_column": 114 }, { @@ -198969,9 +196174,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 280, + "start_line": 275, "start_column": 61, - "end_line": 280, + "end_line": 275, "end_column": 106 }, { @@ -198990,9 +196195,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 280, + "start_line": 275, "start_column": 61, - "end_line": 280, + "end_line": 275, "end_column": 89 }, { @@ -199014,9 +196219,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 285, + "start_line": 280, "start_column": 7, - "end_line": 285, + "end_line": 280, "end_column": 64 }, { @@ -199038,9 +196243,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 286, + "start_line": 281, "start_column": 7, - "end_line": 286, + "end_line": 281, "end_column": 23 }, { @@ -199061,9 +196266,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 288, + "start_line": 283, "start_column": 7, - "end_line": 288, + "end_line": 283, "end_column": 23 }, { @@ -199084,9 +196289,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 212, + "start_line": 207, "start_column": 49, - "end_line": 212, + "end_line": 207, "end_column": 79 }, { @@ -199107,9 +196312,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 213, + "start_line": 208, "start_column": 48, - "end_line": 213, + "end_line": 208, "end_column": 78 }, { @@ -199134,9 +196339,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 279, + "start_line": 274, "start_column": 27, - "end_line": 279, + "end_line": 274, "end_column": 106 } ], @@ -199153,9 +196358,9 @@ "name": "marketSummaryData", "type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "initializer": "null", - "start_line": 203, + "start_line": 198, "start_column": 27, - "end_line": 203, + "end_line": 198, "end_column": 50 }, { @@ -199170,9 +196375,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 204, + "start_line": 199, "start_column": 16, - "end_line": 204, + "end_line": 199, "end_column": 26 }, { @@ -199187,9 +196392,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, getTSIAQuotesOrderByChangeSQL, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY)", - "start_line": 210, + "start_line": 205, "start_column": 25, - "end_line": 210, + "end_line": 205, "end_column": 143 }, { @@ -199204,9 +196409,9 @@ "name": "topGainersData", "type": "java.util.ArrayList", "initializer": "new ArrayList(5)", - "start_line": 212, + "start_line": 207, "start_column": 32, - "end_line": 212, + "end_line": 207, "end_column": 79 }, { @@ -199221,9 +196426,9 @@ "name": "topLosersData", "type": "java.util.ArrayList", "initializer": "new ArrayList(5)", - "start_line": 213, + "start_line": 208, "start_column": 32, - "end_line": 213, + "end_line": 208, "end_column": 78 }, { @@ -199238,9 +196443,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 215, + "start_line": 210, "start_column": 17, - "end_line": 215, + "end_line": 210, "end_column": 40 }, { @@ -199255,9 +196460,9 @@ "name": "count", "type": "int", "initializer": "0", - "start_line": 217, + "start_line": 212, "start_column": 11, - "end_line": 217, + "end_line": 212, "end_column": 19 }, { @@ -199272,9 +196477,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "getQuoteDataFromResultSet(rs)", - "start_line": 219, + "start_line": 214, "start_column": 23, - "end_line": 219, + "end_line": 214, "end_column": 63 }, { @@ -199289,9 +196494,9 @@ "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "getQuoteDataFromResultSet(rs)", - "start_line": 229, + "start_line": 224, "start_column": 23, - "end_line": 229, + "end_line": 224, "end_column": 63 }, { @@ -199306,9 +196511,9 @@ "name": "TSIA", "type": "java.math.BigDecimal", "initializer": "ZERO", - "start_line": 241, + "start_line": 236, "start_column": 18, - "end_line": 241, + "end_line": 236, "end_column": 28 }, { @@ -199323,9 +196528,9 @@ "name": "openTSIA", "type": "java.math.BigDecimal", "initializer": "ZERO", - "start_line": 242, + "start_line": 237, "start_column": 18, - "end_line": 242, + "end_line": 237, "end_column": 32 }, { @@ -199340,9 +196545,9 @@ "name": "volume", "type": "double", "initializer": "0.0", - "start_line": 243, + "start_line": 238, "start_column": 14, - "end_line": 243, + "end_line": 238, "end_column": 25 } ], @@ -199352,7 +196557,7 @@ "is_entrypoint": false }, "updateHoldingStatus(Connection, Integer, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.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/TradeDirect.java", "signature": "updateHoldingStatus(Connection, Integer, String)", "comments": [], "annotations": [], @@ -199369,8 +196574,8 @@ "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1250, - "end_line": 1250, + "start_line": 1245, + "end_line": 1245, "start_column": 36, "end_column": 50 }, @@ -199379,8 +196584,8 @@ "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 1250, - "end_line": 1250, + "start_line": 1245, + "end_line": 1245, "start_column": 53, "end_column": 69 }, @@ -199389,15 +196594,16 @@ "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1250, - "end_line": 1250, + "start_line": 1245, + "end_line": 1245, "start_column": 72, "end_column": 84 } ], - "code": "{\n Timestamp ts = new Timestamp(0);\n PreparedStatement stmt = getStatement(conn, \"update holdingejb set purchasedate= ? where holdingid = ?\");\n stmt.setTimestamp(1, ts);\n stmt.setInt(2, holdingID.intValue());\n stmt.executeUpdate();\n stmt.close();\n}", - "start_line": 1250, - "end_line": 1258, + "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, @@ -199426,9 +196632,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1252, + "start_line": 1247, "start_column": 30, - "end_line": 1252, + "end_line": 1247, "end_column": 108 }, { @@ -199450,9 +196656,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1254, + "start_line": 1249, "start_column": 5, - "end_line": 1254, + "end_line": 1249, "end_column": 28 }, { @@ -199474,9 +196680,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1255, + "start_line": 1250, "start_column": 5, - "end_line": 1255, + "end_line": 1250, "end_column": 40 }, { @@ -199495,9 +196701,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1255, + "start_line": 1250, "start_column": 20, - "end_line": 1255, + "end_line": 1250, "end_column": 39 }, { @@ -199516,9 +196722,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1256, + "start_line": 1251, "start_column": 5, - "end_line": 1256, + "end_line": 1251, "end_column": 24 }, { @@ -199537,9 +196743,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1257, + "start_line": 1252, "start_column": 5, - "end_line": 1257, + "end_line": 1252, "end_column": 16 }, { @@ -199560,9 +196766,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1251, + "start_line": 1246, "start_column": 20, - "end_line": 1251, + "end_line": 1246, "end_column": 35 } ], @@ -199579,9 +196785,9 @@ "name": "ts", "type": "java.sql.Timestamp", "initializer": "new Timestamp(0)", - "start_line": 1251, + "start_line": 1246, "start_column": 15, - "end_line": 1251, + "end_line": 1246, "end_column": 35 }, { @@ -199596,9 +196802,9 @@ "name": "stmt", "type": "java.sql.PreparedStatement", "initializer": "getStatement(conn, \"update holdingejb set purchasedate= ? where holdingid = ?\")", - "start_line": 1252, + "start_line": 1247, "start_column": 23, - "end_line": 1252, + "end_line": 1247, "end_column": 108 } ], @@ -199775,7 +196981,7 @@ "name": null, "type": "javax.jms.QueueConnectionFactory", "start_line": 102, - "end_line": 104, + "end_line": 103, "variables": [ "queueConnectionFactory" ], @@ -199797,8 +197003,8 @@ }, "name": null, "type": "javax.jms.TopicConnectionFactory", - "start_line": 106, - "end_line": 108, + "start_line": 105, + "end_line": 106, "variables": [ "topicConnectionFactory" ], @@ -199820,8 +197026,8 @@ }, "name": null, "type": "javax.jms.Topic", - "start_line": 110, - "end_line": 112, + "start_line": 108, + "end_line": 109, "variables": [ "tradeStreamerTopic" ], @@ -199843,8 +197049,8 @@ }, "name": null, "type": "javax.jms.Queue", - "start_line": 114, - "end_line": 116, + "start_line": 111, + "end_line": 112, "variables": [ "tradeBrokerQueue" ], @@ -199866,8 +197072,8 @@ }, "name": null, "type": "javax.sql.DataSource", - "start_line": 118, - "end_line": 120, + "start_line": 114, + "end_line": 115, "variables": [ "datasource" ], @@ -199889,8 +197095,8 @@ }, "name": null, "type": "javax.transaction.UserTransaction", - "start_line": 122, - "end_line": 123, + "start_line": 117, + "end_line": 118, "variables": [ "txn" ], @@ -199912,8 +197118,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "start_line": 125, - "end_line": 126, + "start_line": 120, + "end_line": 121, "variables": [ "recentQuotePriceChangeList" ], @@ -199933,8 +197139,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrderSubmitter", - "start_line": 128, - "end_line": 129, + "start_line": 123, + "end_line": 124, "variables": [ "asyncOrderSubmitter" ], @@ -199954,8 +197160,8 @@ }, "name": null, "type": "javax.enterprise.event.Event", - "start_line": 131, - "end_line": 133, + "start_line": 126, + "end_line": 128, "variables": [ "mkSummaryUpdateEvent" ], @@ -199976,8 +197182,8 @@ }, "name": null, "type": "javax.enterprise.concurrent.ManagedExecutorService", - "start_line": 135, - "end_line": 136, + "start_line": 130, + "end_line": 131, "variables": [ "mes" ], @@ -199991,16 +197197,16 @@ { "comment": { "content": "\n * Allocate a new connection to the datasource\n ", - "start_line": 1655, - "end_line": 1657, + "start_line": 1650, + "end_line": 1652, "start_column": 3, "end_column": 5, "is_javadoc": false }, "name": null, "type": "int", - "start_line": 1658, - "end_line": 1658, + "start_line": 1653, + "end_line": 1653, "variables": [ "connCount" ], @@ -200021,8 +197227,8 @@ }, "name": null, "type": "java.lang.Integer", - "start_line": 1660, - "end_line": 1660, + "start_line": 1655, + "end_line": 1655, "variables": [ "lock" ], @@ -200043,8 +197249,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1722, - "end_line": 1723, + "start_line": 1717, + "end_line": 1718, "variables": [ "createQuoteSQL" ], @@ -200066,8 +197272,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1725, - "end_line": 1727, + "start_line": 1720, + "end_line": 1722, "variables": [ "createAccountSQL" ], @@ -200089,8 +197295,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1729, - "end_line": 1730, + "start_line": 1724, + "end_line": 1725, "variables": [ "createAccountProfileSQL" ], @@ -200112,8 +197318,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1732, - "end_line": 1733, + "start_line": 1727, + "end_line": 1728, "variables": [ "createHoldingSQL" ], @@ -200135,8 +197341,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1735, - "end_line": 1737, + "start_line": 1730, + "end_line": 1732, "variables": [ "createOrderSQL" ], @@ -200158,8 +197364,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1739, - "end_line": 1739, + "start_line": 1734, + "end_line": 1734, "variables": [ "removeHoldingSQL" ], @@ -200181,8 +197387,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1741, - "end_line": 1741, + "start_line": 1736, + "end_line": 1736, "variables": [ "removeHoldingFromOrderSQL" ], @@ -200204,8 +197410,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1743, - "end_line": 1744, + "start_line": 1738, + "end_line": 1739, "variables": [ "updateAccountProfileSQL" ], @@ -200227,8 +197433,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1746, - "end_line": 1746, + "start_line": 1741, + "end_line": 1741, "variables": [ "loginSQL" ], @@ -200250,8 +197456,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1748, - "end_line": 1748, + "start_line": 1743, + "end_line": 1743, "variables": [ "logoutSQL" ], @@ -200273,8 +197479,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1750, - "end_line": 1750, + "start_line": 1745, + "end_line": 1745, "variables": [ "getAccountSQL" ], @@ -200296,8 +197502,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1752, - "end_line": 1753, + "start_line": 1747, + "end_line": 1748, "variables": [ "getAccountProfileSQL" ], @@ -200319,8 +197525,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1755, - "end_line": 1756, + "start_line": 1750, + "end_line": 1751, "variables": [ "getAccountProfileForAccountSQL" ], @@ -200342,8 +197548,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1758, - "end_line": 1759, + "start_line": 1753, + "end_line": 1754, "variables": [ "getAccountForUserSQL" ], @@ -200365,8 +197571,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1761, - "end_line": 1761, + "start_line": 1756, + "end_line": 1756, "variables": [ "getHoldingSQL" ], @@ -200388,8 +197594,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1763, - "end_line": 1764, + "start_line": 1758, + "end_line": 1759, "variables": [ "getHoldingsForUserSQL" ], @@ -200411,8 +197617,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1766, - "end_line": 1766, + "start_line": 1761, + "end_line": 1761, "variables": [ "getOrderSQL" ], @@ -200434,8 +197640,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1768, - "end_line": 1769, + "start_line": 1763, + "end_line": 1764, "variables": [ "getOrdersByUserSQL" ], @@ -200457,8 +197663,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1771, - "end_line": 1772, + "start_line": 1766, + "end_line": 1767, "variables": [ "getClosedOrdersSQL" ], @@ -200480,8 +197686,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1774, - "end_line": 1774, + "start_line": 1769, + "end_line": 1769, "variables": [ "getQuoteSQL" ], @@ -200503,8 +197709,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1776, - "end_line": 1776, + "start_line": 1771, + "end_line": 1771, "variables": [ "getAllQuotesSQL" ], @@ -200526,8 +197732,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1778, - "end_line": 1778, + "start_line": 1773, + "end_line": 1773, "variables": [ "getQuoteForUpdateSQL" ], @@ -200549,8 +197755,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1780, - "end_line": 1780, + "start_line": 1775, + "end_line": 1775, "variables": [ "getTSIAQuotesOrderByChangeSQL" ], @@ -200572,8 +197778,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1782, - "end_line": 1782, + "start_line": 1777, + "end_line": 1777, "variables": [ "getTSIASQL" ], @@ -200595,8 +197801,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1784, - "end_line": 1784, + "start_line": 1779, + "end_line": 1779, "variables": [ "getOpenTSIASQL" ], @@ -200618,8 +197824,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1786, - "end_line": 1786, + "start_line": 1781, + "end_line": 1781, "variables": [ "getTSIATotalVolumeSQL" ], @@ -200641,8 +197847,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1788, - "end_line": 1788, + "start_line": 1783, + "end_line": 1783, "variables": [ "creditAccountBalanceSQL" ], @@ -200664,8 +197870,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1790, - "end_line": 1790, + "start_line": 1785, + "end_line": 1785, "variables": [ "updateOrderStatusSQL" ], @@ -200687,8 +197893,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1792, - "end_line": 1792, + "start_line": 1787, + "end_line": 1787, "variables": [ "updateOrderHoldingSQL" ], @@ -200710,8 +197916,8 @@ }, "name": null, "type": "java.lang.String", - "start_line": 1794, - "end_line": 1794, + "start_line": 1789, + "end_line": 1789, "variables": [ "updateQuotePriceVolumeSQL" ], @@ -200731,8 +197937,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocalDecorator.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocalDecorator.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -200794,7 +198000,7 @@ "nested_type_declarations": [], "callable_declarations": { "getMsg()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocalDecorator.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/cdi/PingEJBLocalDecorator.java", "signature": "getMsg()", "comments": [], "annotations": [ @@ -200806,9 +198012,10 @@ "thrown_exceptions": [], "declaration": "public String getMsg()", "parameters": [], - "code": "{\n return \"Decorated \" + ejb.getMsg();\n}", + "code": "{\n\n return \"Decorated \" + ejb.getMsg();\n }", "start_line": 37, "end_line": 41, + "code_start_line": 38, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -200878,8 +198085,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -200891,7 +198098,7 @@ "is_javadoc": false }, { - "content": "\n * (C) Copyright IBM Corporation 2015, 2022.\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 ", + "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, @@ -200935,7 +198142,7 @@ "nested_type_declarations": [], "callable_declarations": { "printObject(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -200957,9 +198164,10 @@ "end_column": 41 } ], - "code": "{\n log(\"\\t\" + o.toString());\n}", + "code": "{\n log(\"\\t\" + o.toString());\n }", "start_line": 131, "end_line": 133, + "code_start_line": 131, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -201018,7 +198226,7 @@ "is_entrypoint": false }, "stat(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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": [], @@ -201040,9 +198248,10 @@ "end_column": 40 } ], - "code": "{\n log(message);\n}", + "code": "{\n log(message);\n }", "start_line": 119, "end_line": 121, + "code_start_line": 119, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -201080,7 +198289,7 @@ "is_entrypoint": false }, "log(String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201112,9 +198321,10 @@ "end_column": 49 } ], - "code": "{\n log(msg1 + msg2);\n}", + "code": "{\n log(msg1 + msg2);\n }", "start_line": 36, "end_line": 38, + "code_start_line": 36, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -201152,7 +198362,7 @@ "is_entrypoint": false }, "trace(String, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201184,9 +198394,10 @@ "end_column": 55 } ], - "code": "{\n trace(message + \"(\" + parm1 + \")\");\n}", + "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, @@ -201224,7 +198435,7 @@ "is_entrypoint": false }, "printCollection(Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201246,9 +198457,10 @@ "end_column": 52 } ], - "code": "{\n log(\"\\t---Log.printCollection -- collection size=\" + c.size());\n Iterator it = c.iterator();\n while (it.hasNext()) {\n log(\"\\t\\t\" + it.next().toString());\n }\n log(\"\\t---Log.printCollection -- complete\");\n}", + "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, @@ -201457,7 +198669,7 @@ "is_entrypoint": false }, "error(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201479,9 +198691,10 @@ "end_column": 41 } ], - "code": "{\n message = \"Error: \" + message;\n log.severe(message);\n}", + "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, @@ -201521,7 +198734,7 @@ "is_entrypoint": false }, "error(Throwable, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201553,9 +198766,10 @@ "end_column": 54 } ], - "code": "{\n error(message + \"\\n\\t\", e);\n e.printStackTrace(System.out);\n}", + "code": "{\n error(message + \"\\n\\t\", e);\n e.printStackTrace(System.out);\n }", "start_line": 62, "end_line": 65, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -201621,7 +198835,7 @@ "is_entrypoint": false }, "trace(String, Object, Object, Object, Object, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201693,9 +198907,10 @@ "end_column": 111 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5);\n}", + "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, @@ -201733,7 +198948,7 @@ "is_entrypoint": false }, "doTrace()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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()", "comments": [], "annotations": [], @@ -201744,9 +198959,10 @@ "thrown_exceptions": [], "declaration": "public static boolean doTrace()", "parameters": [], - "code": "{\n return log.isLoggable(Level.FINE);\n}", + "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, @@ -201789,7 +199005,7 @@ "is_entrypoint": false }, "trace(String, Object, Object, Object, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201851,9 +199067,10 @@ "end_column": 97 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4);\n}", + "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, @@ -201891,7 +199108,7 @@ "is_entrypoint": false }, "traceExit(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -201913,9 +199130,10 @@ "end_column": 45 } ], - "code": "{\n log.log(Level.FINE, \"Method exit --\" + message);\n}", + "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, @@ -201959,7 +199177,7 @@ "is_entrypoint": false }, "log(String, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202001,9 +199219,10 @@ "end_column": 62 } ], - "code": "{\n log(msg1 + msg2 + msg3);\n}", + "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, @@ -202041,7 +199260,7 @@ "is_entrypoint": false }, "traceEnter(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202063,9 +199282,10 @@ "end_column": 46 } ], - "code": "{\n log.log(Level.FINE, \"Method enter --\" + message);\n}", + "code": "{\n log.log(Level.FINE,\"Method enter --\" + message);\n }", "start_line": 111, "end_line": 113, + "code_start_line": 111, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -202108,76 +199328,8 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "warning(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "warning(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void warning(String message)", - "parameters": [ - { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 159, - "end_line": 159, - "start_column": 30, - "end_column": 43 - } - ], - "code": "{\n log.log(Level.WARNING, message);\n}", - "start_line": 159, - "end_line": 161, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.logging.Level" - ], - "accessed_fields": [ - "java.util.logging.Level.WARNING", - "com.ibm.websphere.samples.daytrader.util.Log.log" - ], - "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": 160, - "start_column": 5, - "end_line": 160, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "traceInterceptor(String, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202209,9 +199361,10 @@ "end_column": 66 } ], - "code": "{\n log.log(Level.SEVERE, message, parm1);\n}", + "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, @@ -202256,7 +199409,7 @@ "is_entrypoint": false }, "trace(String, Object, Object, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202308,9 +199461,10 @@ "end_column": 83 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\");\n}", + "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, @@ -202348,7 +199502,7 @@ "is_entrypoint": false }, "print(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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": [], @@ -202370,9 +199524,10 @@ "end_column": 41 } ], - "code": "{\n log(message);\n}", + "code": "{\n log(message);\n }", "start_line": 127, "end_line": 129, + "code_start_line": 127, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -202410,7 +199565,7 @@ "is_entrypoint": false }, "error(String, String, Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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": [], @@ -202452,9 +199607,10 @@ "end_column": 64 } ], - "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\\t\", e);\n}", + "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, @@ -202493,7 +199649,7 @@ "is_entrypoint": false }, "debug(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202515,9 +199671,10 @@ "end_column": 41 } ], - "code": "{\n log.log(Level.INFO, message);\n}", + "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, @@ -202561,7 +199718,7 @@ "is_entrypoint": false }, "log(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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": [], @@ -202583,9 +199740,10 @@ "end_column": 39 } ], - "code": "{\n log.log(Level.INFO, message);\n}", + "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, @@ -202629,7 +199787,7 @@ "is_entrypoint": false }, "trace(String, Object, Object, Object, Object, Object, Object, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202721,9 +199879,10 @@ "end_column": 139 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6 + \", \" + parm7);\n}", + "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, @@ -202761,7 +199920,7 @@ "is_entrypoint": false }, "trace(String, Object, Object, Object, Object, Object, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202843,9 +200002,10 @@ "end_column": 125 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6);\n}", + "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, @@ -202883,7 +200043,7 @@ "is_entrypoint": false }, "error(Throwable, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -202925,9 +200085,10 @@ "end_column": 64 } ], - "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\\t\", e);\n}", + "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\\t\", e);\n }", "start_line": 67, "end_line": 69, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -202966,7 +200127,7 @@ "is_entrypoint": false }, "trace(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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": [], @@ -202988,9 +200149,10 @@ "end_column": 41 } ], - "code": "{\n log.log(Level.FINE, message + \" threadID=\" + Thread.currentThread());\n}", + "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, @@ -203055,7 +200217,7 @@ "is_entrypoint": false }, "doDebug()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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()", "comments": [], "annotations": [], @@ -203066,9 +200228,10 @@ "thrown_exceptions": [], "declaration": "public static boolean doDebug()", "parameters": [], - "code": "{\n return true;\n}", + "code": "{\n return true;\n }", "start_line": 151, "end_line": 153, + "code_start_line": 151, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -203082,7 +200245,7 @@ "is_entrypoint": false }, "error(Throwable, String, String, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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": [], @@ -203134,9 +200297,10 @@ "end_column": 77 } ], - "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\", e);\n}", + "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, @@ -203175,7 +200339,7 @@ "is_entrypoint": false }, "error(String, String, String, Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -203227,9 +200391,10 @@ "end_column": 77 } ], - "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\", e);\n}", + "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, @@ -203268,7 +200433,7 @@ "is_entrypoint": false }, "trace(String, Object, Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -203310,9 +200475,10 @@ "end_column": 69 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \")\");\n}", + "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \")\");\n }", "start_line": 87, "end_line": 89, + "code_start_line": 87, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -203350,7 +200516,7 @@ "is_entrypoint": false }, "error(String, Throwable)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -203382,9 +200548,10 @@ "end_column": 54 } ], - "code": "{\n error(message + \"\\n\\t\" + e.toString());\n e.printStackTrace(System.out);\n}", + "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, @@ -203470,7 +200637,7 @@ "is_entrypoint": false }, "printCollection(String, Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "file_path": "/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)", "comments": [], "annotations": [], @@ -203502,9 +200669,10 @@ "end_column": 68 } ], - "code": "{\n log(message);\n printCollection(c);\n}", + "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, @@ -203598,8 +200766,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", + "/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": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", "comments": [ { @@ -203671,7 +200839,7 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "signature": "ActionMessage()", "comments": [], "annotations": [], @@ -203681,9 +200849,10 @@ "thrown_exceptions": [], "declaration": "public ActionMessage()", "parameters": [], - "code": "{\n}", + "code": "{ \n }", "start_line": 45, "end_line": 46, + "code_start_line": 45, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -203697,7 +200866,7 @@ "is_entrypoint": false }, "doDecoding(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "signature": "doDecoding(String)", "comments": [ { @@ -203727,9 +200896,10 @@ "end_column": 40 } ], - "code": "{\n String keyName = null;\n try {\n // JSON parse\n JsonParser parser = Json.createParser(new StringReader(jsonText));\n while (parser.hasNext()) {\n JsonParser.Event event = parser.next();\n switch(event) {\n case KEY_NAME:\n keyName = parser.getString();\n break;\n case VALUE_STRING:\n if (keyName != null && keyName.equals(\"action\")) {\n decodedAction = parser.getString();\n }\n break;\n default:\n break;\n }\n }\n } catch (Exception e) {\n Log.error(\"ActionMessage:doDecoding(\" + jsonText + \") --> failed\", e);\n }\n Log.trace(\"ActionMessage:doDecoding -- decoded action -->\" + decodedAction + \"<--\");\n}", + "code": "{\n\n String keyName = null;\n try \n {\n // JSON parse\n JsonParser parser = Json.createParser(new StringReader(jsonText));\n while (parser.hasNext()) {\n JsonParser.Event event = parser.next();\n switch(event) {\n case KEY_NAME:\n keyName=parser.getString();\n break;\n case VALUE_STRING:\n if (keyName != null && keyName.equals(\"action\")) {\n decodedAction=parser.getString();\n }\n break;\n default:\n break;\n }\n }\n } catch (Exception e) {\n Log.error(\"ActionMessage:doDecoding(\" + jsonText + \") --> failed\", e);\n }\n\n\n Log.trace(\"ActionMessage:doDecoding -- decoded action -->\" + decodedAction + \"<--\");\n\n }", "start_line": 48, "end_line": 77, + "code_start_line": 48, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -204002,7 +201172,7 @@ "is_entrypoint": false }, "getDecodedAction()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.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/ActionMessage.java", "signature": "getDecodedAction()", "comments": [], "annotations": [], @@ -204012,9 +201182,10 @@ "thrown_exceptions": [], "declaration": "public String getDecodedAction()", "parameters": [], - "code": "{\n return decodedAction;\n}", + "code": "{\n return decodedAction;\n}", "start_line": 80, "end_line": 82, + "code_start_line": 80, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -204059,8 +201230,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -204179,7 +201350,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -204204,9 +201375,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -204289,7 +201461,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -204325,9 +201497,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 55, "end_line": 58, + "code_start_line": 56, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -204366,7 +201539,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -204378,9 +201551,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n}", + "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, @@ -204394,7 +201568,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.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/ejb3/PingServlet2Session2CMROne2Many.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -204455,9 +201629,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String userID = null;\n StringBuffer output = new StringBuffer(100);\n output.append(\"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\");\n try {\n Collection orderDataBeans = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n userID = TradeConfig.rndUserID();\n // get the users orders and print the output.\n orderDataBeans = tradeSLSBLocal.getOrders(userID);\n }\n output.append(\"
    initTime: \" + initTime + \"
    Hit Count: \").append(hitCount++);\n output.append(\"
    One to Many CMR access of Account Orders from Account Entity
    \");\n output.append(\"
    User: \" + userID + \" currently has \" + orderDataBeans.size() + \" stock orders:\");\n Iterator it = orderDataBeans.iterator();\n while (it.hasNext()) {\n OrderDataBean orderData = (OrderDataBean) it.next();\n output.append(\"
    \" + orderData.toHTML());\n }\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2CMROne2Many.doGet(...): error\");\n // this will send an Error to teh web applications defined error\n // page.\n res.sendError(500, \"PingServlet2Session2CMROne2Many.doGet(...): error\" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n\n String userID = null;\n\n StringBuffer output = new StringBuffer(100);\n output.append(\"Servlet2Session2CMROne20ne\"\n + \"
    PingServlet2Session2CMROne2Many
    \"\n + \"
    PingServlet2Session2CMROne2Many uses the Trade Session EJB\"\n + \" to get the orders for a user using an EJB 3.0 Entity CMR one to many relationship\");\n try {\n\n Collection orderDataBeans = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n userID = TradeConfig.rndUserID();\n\n // get the users orders and print the output.\n orderDataBeans = tradeSLSBLocal.getOrders(userID);\n }\n\n output.append(\"
    initTime: \" + initTime + \"
    Hit Count: \").append(hitCount++);\n output.append(\"
    One to Many CMR access of Account Orders from Account Entity
    \");\n output.append(\"
    User: \" + userID + \" currently has \" + orderDataBeans.size() + \" stock orders:\");\n Iterator it = orderDataBeans.iterator();\n while (it.hasNext()) {\n OrderDataBean orderData = (OrderDataBean) it.next();\n output.append(\"
    \" + orderData.toHTML());\n }\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2CMROne2Many.doGet(...): error\");\n // this will send an Error to teh web applications defined error\n // page.\n res.sendError(500, \"PingServlet2Session2CMROne2Many.doGet(...): error\" + e.toString());\n\n }\n }", "start_line": 60, "end_line": 101, + "code_start_line": 61, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -205239,8 +202414,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -205309,7 +202484,7 @@ "nested_type_declarations": [], "callable_declarations": { "addTiming(String, long, long)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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)", "comments": [], "annotations": [], @@ -205350,9 +202525,10 @@ "end_column": 72 } ], - "code": "{\n TimerStat stats = null;\n synchronized (type) {\n stats = get(type);\n if (stats == null) {\n stats = new TimerStat();\n }\n long time = recvTime - sendTime;\n if (time > stats.getMax()) {\n stats.setMax(time);\n }\n if (time < stats.getMin()) {\n stats.setMin(time);\n }\n stats.setCount(stats.getCount() + 1);\n stats.setTotalTime(stats.getTotalTime() + time);\n put(type, stats);\n }\n return stats;\n}", + "code": "{\n TimerStat stats = null;\n synchronized (type) {\n\n stats = get(type);\n if (stats == null) {\n stats = new TimerStat();\n }\n\n long time = recvTime - sendTime;\n if (time > stats.getMax()) {\n stats.setMax(time);\n }\n if (time < stats.getMin()) {\n stats.setMin(time);\n }\n stats.setCount(stats.getCount() + 1);\n stats.setTotalTime(stats.getTotalTime() + time);\n\n put(type, stats);\n }\n return stats;\n }", "start_line": 40, "end_line": 62, + "code_start_line": 40, "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "is_implicit": false, "is_constructor": false, @@ -205648,7 +202824,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": [], @@ -205658,9 +202834,10 @@ "thrown_exceptions": [], "declaration": "private MDBStats()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 30, "end_line": 31, + "code_start_line": 30, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -205674,7 +202851,7 @@ "is_entrypoint": false }, "reset()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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()", "comments": [], "annotations": [], @@ -205685,9 +202862,10 @@ "thrown_exceptions": [], "declaration": "public synchronized void reset()", "parameters": [], - "code": "{\n clear();\n}", + "code": "{\n clear();\n }", "start_line": 64, "end_line": 66, + "code_start_line": 64, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -205723,7 +202901,7 @@ "is_entrypoint": false }, "getInstance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "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": "getInstance()", "comments": [], "annotations": [], @@ -205735,9 +202913,10 @@ "thrown_exceptions": [], "declaration": "public static synchronized MDBStats getInstance()", "parameters": [], - "code": "{\n if (mdbStats == null) {\n mdbStats = new MDBStats();\n }\n return mdbStats;\n}", + "code": "{\n if (mdbStats == null) {\n mdbStats = new MDBStats();\n }\n return mdbStats;\n }", "start_line": 33, "end_line": 38, + "code_start_line": 33, "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "is_implicit": false, "is_constructor": false, @@ -205830,8 +203009,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -205944,7 +203123,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.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/PingServlet2ServletRcv.java", "signature": "init(ServletConfig)", "comments": [ { @@ -205978,9 +203157,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n}", + "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, @@ -206062,7 +203242,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.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/PingServlet2ServletRcv.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -206107,9 +203287,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 54, "end_line": 57, + "code_start_line": 55, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -206148,7 +203329,7 @@ "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.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/PingServlet2ServletRcv.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -206193,9 +203374,10 @@ "end_column": 69 } ], - "code": "{\n PingBean ab;\n try {\n ab = (PingBean) req.getAttribute(\"ab\");\n res.setContentType(\"text/html\");\n PrintWriter out = res.getWriter();\n out.println(\"Ping Servlet2Servlet\" + \"

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

    Message from Servlet: \" + ab.getMsg() + \"\");\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2ServletRcv.doGet(...): general exception\");\n res.sendError(500, \"PingServlet2ServletRcv.doGet(...): general exception\" + ex.toString());\n }\n}", + "code": "{\n PingBean ab;\n try {\n ab = (PingBean) req.getAttribute(\"ab\");\n res.setContentType(\"text/html\");\n PrintWriter out = res.getWriter();\n out.println(\"Ping Servlet2Servlet\"\n + \"

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

    Message from Servlet: \" + ab.getMsg() + \"\");\n } catch (Exception ex) {\n Log.error(ex, \"PingServlet2ServletRcv.doGet(...): general exception\");\n res.sendError(500, \"PingServlet2ServletRcv.doGet(...): general exception\" + ex.toString());\n }\n\n }", "start_line": 68, "end_line": 83, + "code_start_line": 69, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -206485,8 +203667,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.entities", "comments": [ { @@ -206705,7 +203887,7 @@ "nested_type_declarations": [], "callable_declarations": { "(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -206806,9 +203988,10 @@ "end_column": 46 } ], - "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}", + "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, @@ -207040,7 +204223,7 @@ "is_entrypoint": false }, "getRandomInstance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getRandomInstance()", "comments": [], "annotations": [], @@ -207051,9 +204234,10 @@ "thrown_exceptions": [], "declaration": "public static OrderDataBean getRandomInstance()", "parameters": [], - "code": "{\n return new OrderDataBean(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());\n}", + "code": "{\n return new OrderDataBean(new Integer(TradeConfig.rndInt(100000)), TradeConfig.rndBoolean() ? \"buy\" : \"sell\", \"open\", new java.util.Date(\n TradeConfig.rndInt(Integer.MAX_VALUE)), new java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE)), TradeConfig.rndQuantity(),\n TradeConfig.rndBigDecimal(1000.0f), TradeConfig.rndBigDecimal(1000.0f), TradeConfig.rndSymbol());\n }", "start_line": 152, "end_line": 156, + "code_start_line": 152, "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, @@ -207348,7 +204532,7 @@ "is_entrypoint": false }, "setSymbol(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -207369,9 +204553,10 @@ "end_column": 39 } ], - "code": "{\n this.symbol = symbol;\n}", + "code": "{\n this.symbol = symbol;\n }", "start_line": 247, "end_line": 249, + "code_start_line": 247, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -207389,7 +204574,7 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "hashCode()", "comments": [], "annotations": [ @@ -207401,9 +204586,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n int hash = 0;\n hash += (this.orderID != null ? this.orderID.hashCode() : 0);\n return hash;\n}", + "code": "{\n int hash = 0;\n hash += (this.orderID != null ? this.orderID.hashCode() : 0);\n return hash;\n }", "start_line": 320, "end_line": 325, + "code_start_line": 321, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -207461,7 +204647,7 @@ "is_entrypoint": false }, "getPrice()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()", "comments": [], "annotations": [], @@ -207471,9 +204657,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getPrice()", "parameters": [], - "code": "{\n return price;\n}", + "code": "{\n return price;\n }", "start_line": 224, "end_line": 226, + "code_start_line": 224, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -207489,7 +204676,7 @@ "is_entrypoint": false }, "print()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "print()", "comments": [], "annotations": [], @@ -207499,9 +204686,10 @@ "thrown_exceptions": [], "declaration": "public void print()", "parameters": [], - "code": "{\n Log.log(this.toString());\n}", + "code": "{\n Log.log(this.toString());\n }", "start_line": 172, "end_line": 174, + "code_start_line": 172, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -207560,7 +204748,7 @@ "is_entrypoint": false }, "getHolding()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getHolding()", "comments": [], "annotations": [], @@ -207570,9 +204758,10 @@ "thrown_exceptions": [], "declaration": "public HoldingDataBean getHolding()", "parameters": [], - "code": "{\n return holding;\n}", + "code": "{\n return holding;\n }", "start_line": 267, "end_line": 269, + "code_start_line": 267, "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, @@ -207588,7 +204777,7 @@ "is_entrypoint": false }, "cancel()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "cancel()", "comments": [], "annotations": [], @@ -207598,9 +204787,10 @@ "thrown_exceptions": [], "declaration": "public void cancel()", "parameters": [], - "code": "{\n setOrderStatus(\"cancelled\");\n}", + "code": "{\n setOrderStatus(\"cancelled\");\n }", "start_line": 316, "end_line": 318, + "code_start_line": 316, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -207638,7 +204828,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()", "comments": [], "annotations": [], @@ -207648,9 +204838,10 @@ "thrown_exceptions": [], "declaration": "public OrderDataBean()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 122, "end_line": 123, + "code_start_line": 122, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -207664,7 +204855,7 @@ "is_entrypoint": false }, "setOrderID(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -207685,9 +204876,10 @@ "end_column": 42 } ], - "code": "{\n this.orderID = orderID;\n}", + "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, @@ -207705,7 +204897,7 @@ "is_entrypoint": false }, "toHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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()", "comments": [], "annotations": [], @@ -207715,9 +204907,10 @@ "thrown_exceptions": [], "declaration": "public String toHTML()", "parameters": [], - "code": "{\n return \"
    Order \" + getOrderID() + \"\" + \"
  • orderType: \" + getOrderType() + \"
  • \" + \"
  • orderStatus: \" + getOrderStatus() + \"
  • \" + \"
  • openDate: \" + getOpenDate() + \"
  • \" + \"
  • completionDate: \" + getCompletionDate() + \"
  • \" + \"
  • quantity: \" + getQuantity() + \"
  • \" + \"
  • price: \" + getPrice() + \"
  • \" + \"
  • orderFee: \" + getOrderFee() + \"
  • \" + \"
  • symbol: \" + getSymbol() + \"
  • \";\n}", + "code": "{\n return \"
    Order \" + getOrderID() + \"\" + \"
  • orderType: \" + getOrderType() + \"
  • \" + \"
  • orderStatus: \" + getOrderStatus()\n + \"
  • \" + \"
  • openDate: \" + getOpenDate() + \"
  • \" + \"
  • completionDate: \" + getCompletionDate() + \"
  • \"\n + \"
  • quantity: \" + getQuantity() + \"
  • \" + \"
  • price: \" + getPrice() + \"
  • \" + \"
  • orderFee: \" + getOrderFee()\n + \"
  • \" + \"
  • symbol: \" + getSymbol() + \"
  • \";\n }", "start_line": 165, "end_line": 170, + "code_start_line": 165, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -207921,7 +205114,7 @@ "is_entrypoint": false }, "(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -208032,9 +205225,10 @@ "end_column": 81 } ], - "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}", + "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, @@ -208290,7 +205484,7 @@ "is_entrypoint": false }, "getQuantity()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208300,9 +205494,10 @@ "thrown_exceptions": [], "declaration": "public double getQuantity()", "parameters": [], - "code": "{\n return quantity;\n}", + "code": "{\n return quantity;\n }", "start_line": 216, "end_line": 218, + "code_start_line": 216, "return_type": "double", "is_implicit": false, "is_constructor": false, @@ -208318,7 +205513,7 @@ "is_entrypoint": false }, "getOrderFee()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208328,9 +205523,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOrderFee()", "parameters": [], - "code": "{\n return orderFee;\n}", + "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, @@ -208346,7 +205542,7 @@ "is_entrypoint": false }, "setOrderType(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208367,9 +205563,10 @@ "end_column": 45 } ], - "code": "{\n this.orderType = orderType;\n}", + "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, @@ -208387,7 +205584,7 @@ "is_entrypoint": false }, "getQuote()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208397,9 +205594,10 @@ "thrown_exceptions": [], "declaration": "public QuoteDataBean getQuote()", "parameters": [], - "code": "{\n return quote;\n}", + "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, @@ -208415,7 +205613,7 @@ "is_entrypoint": false }, "setPrice(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208436,9 +205634,10 @@ "end_column": 41 } ], - "code": "{\n this.price = price;\n}", + "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, @@ -208456,7 +205655,7 @@ "is_entrypoint": false }, "equals(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [ @@ -208479,9 +205678,10 @@ "end_column": 39 } ], - "code": "{\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}", + "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, @@ -208542,7 +205742,7 @@ "is_entrypoint": false }, "getOrderStatus()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208552,9 +205752,10 @@ "thrown_exceptions": [], "declaration": "public String getOrderStatus()", "parameters": [], - "code": "{\n return orderStatus;\n}", + "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, @@ -208570,7 +205771,7 @@ "is_entrypoint": false }, "setOrderStatus(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208591,9 +205792,10 @@ "end_column": 49 } ], - "code": "{\n this.orderStatus = orderStatus;\n}", + "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, @@ -208611,7 +205813,7 @@ "is_entrypoint": false }, "getSymbol()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208621,9 +205823,10 @@ "thrown_exceptions": [], "declaration": "public String getSymbol()", "parameters": [], - "code": "{\n if (quote != null) {\n return quote.getSymbol();\n }\n return symbol;\n}", + "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, @@ -208662,7 +205865,7 @@ "is_entrypoint": false }, "getOrderID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -208672,9 +205875,10 @@ "thrown_exceptions": [], "declaration": "public Integer getOrderID()", "parameters": [], - "code": "{\n return orderID;\n}", + "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, @@ -208690,7 +205894,7 @@ "is_entrypoint": false }, "isOpen()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isOpen()", "comments": [], "annotations": [], @@ -208700,9 +205904,10 @@ "thrown_exceptions": [], "declaration": "public boolean isOpen()", "parameters": [], - "code": "{\n String orderStatus = getOrderStatus();\n if ((orderStatus.compareToIgnoreCase(\"open\") == 0) || (orderStatus.compareToIgnoreCase(\"processing\") == 0)) {\n return true;\n }\n return false;\n}", + "code": "{\n String orderStatus = getOrderStatus();\n if ((orderStatus.compareToIgnoreCase(\"open\") == 0) || (orderStatus.compareToIgnoreCase(\"processing\") == 0)) {\n return true;\n }\n return false;\n }", "start_line": 291, "end_line": 297, + "code_start_line": 291, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -208806,7 +206011,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "toString()", "comments": [], "annotations": [ @@ -208818,9 +206023,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return \"Order \" + getOrderID() + \"\\n\\t orderType: \" + getOrderType() + \"\\n\\t orderStatus: \" + getOrderStatus() + \"\\n\\t openDate: \" + getOpenDate() + \"\\n\\t completionDate: \" + getCompletionDate() + \"\\n\\t quantity: \" + getQuantity() + \"\\n\\t price: \" + getPrice() + \"\\n\\t orderFee: \" + getOrderFee() + \"\\n\\t symbol: \" + getSymbol();\n}", + "code": "{\n return \"Order \" + getOrderID() + \"\\n\\t orderType: \" + getOrderType() + \"\\n\\t orderStatus: \" + getOrderStatus() + \"\\n\\t openDate: \"\n + getOpenDate() + \"\\n\\t completionDate: \" + getCompletionDate() + \"\\n\\t quantity: \" + getQuantity() + \"\\n\\t price: \"\n + getPrice() + \"\\n\\t orderFee: \" + getOrderFee() + \"\\n\\t symbol: \" + getSymbol();\n }", "start_line": 158, "end_line": 163, + "code_start_line": 159, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -209024,7 +206230,7 @@ "is_entrypoint": false }, "setAccount(AccountDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -209045,9 +206251,10 @@ "end_column": 50 } ], - "code": "{\n this.account = account;\n}", + "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, @@ -209065,7 +206272,7 @@ "is_entrypoint": false }, "setOrderFee(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -209086,9 +206293,10 @@ "end_column": 47 } ], - "code": "{\n this.orderFee = orderFee;\n}", + "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, @@ -209106,7 +206314,7 @@ "is_entrypoint": false }, "getOpenDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": [], @@ -209116,9 +206324,10 @@ "thrown_exceptions": [], "declaration": "public Date getOpenDate()", "parameters": [], - "code": "{\n return openDate;\n}", + "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, @@ -209134,7 +206343,7 @@ "is_entrypoint": false }, "setOpenDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -209155,9 +206364,10 @@ "end_column": 41 } ], - "code": "{\n this.openDate = openDate;\n}", + "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, @@ -209175,7 +206385,7 @@ "is_entrypoint": false }, "setHolding(HoldingDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -209196,9 +206406,10 @@ "end_column": 50 } ], - "code": "{\n this.holding = holding;\n}", + "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, @@ -209216,7 +206427,7 @@ "is_entrypoint": false }, "getCompletionDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getCompletionDate()", "comments": [], "annotations": [], @@ -209226,9 +206437,10 @@ "thrown_exceptions": [], "declaration": "public Date getCompletionDate()", "parameters": [], - "code": "{\n return completionDate;\n}", + "code": "{\n return completionDate;\n }", "start_line": 208, "end_line": 210, + "code_start_line": 208, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, @@ -209244,7 +206456,7 @@ "is_entrypoint": false }, "isSell()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isSell()", "comments": [], "annotations": [], @@ -209254,9 +206466,10 @@ "thrown_exceptions": [], "declaration": "public boolean isSell()", "parameters": [], - "code": "{\n String orderType = getOrderType();\n if (orderType.compareToIgnoreCase(\"sell\") == 0) {\n return true;\n }\n return false;\n}", + "code": "{\n String orderType = getOrderType();\n if (orderType.compareToIgnoreCase(\"sell\") == 0) {\n return true;\n }\n return false;\n }", "start_line": 283, "end_line": 289, + "code_start_line": 283, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -209337,7 +206550,7 @@ "is_entrypoint": false }, "getOrderType()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getOrderType()", "comments": [], "annotations": [], @@ -209347,9 +206560,10 @@ "thrown_exceptions": [], "declaration": "public String getOrderType()", "parameters": [], - "code": "{\n return orderType;\n}", + "code": "{\n return orderType;\n }", "start_line": 184, "end_line": 186, + "code_start_line": 184, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -209365,7 +206579,7 @@ "is_entrypoint": false }, "isCompleted()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isCompleted()", "comments": [], "annotations": [], @@ -209375,9 +206589,10 @@ "thrown_exceptions": [], "declaration": "public boolean isCompleted()", "parameters": [], - "code": "{\n String orderStatus = getOrderStatus();\n if ((orderStatus.compareToIgnoreCase(\"completed\") == 0) || (orderStatus.compareToIgnoreCase(\"alertcompleted\") == 0) || (orderStatus.compareToIgnoreCase(\"cancelled\") == 0)) {\n return true;\n }\n return false;\n}", + "code": "{\n String orderStatus = getOrderStatus();\n if ((orderStatus.compareToIgnoreCase(\"completed\") == 0) || (orderStatus.compareToIgnoreCase(\"alertcompleted\") == 0)\n || (orderStatus.compareToIgnoreCase(\"cancelled\") == 0)) {\n return true;\n }\n return false;\n }", "start_line": 299, "end_line": 306, + "code_start_line": 299, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -209504,7 +206719,7 @@ "is_entrypoint": false }, "setQuote(QuoteDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -209525,9 +206740,10 @@ "end_column": 44 } ], - "code": "{\n this.quote = quote;\n}", + "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, @@ -209545,7 +206761,7 @@ "is_entrypoint": false }, "setQuantity(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -209566,9 +206782,10 @@ "end_column": 43 } ], - "code": "{\n this.quantity = quantity;\n}", + "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, @@ -209584,7 +206801,7 @@ "is_entrypoint": false }, "isBuy()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isBuy()", "comments": [], "annotations": [], @@ -209594,9 +206811,10 @@ "thrown_exceptions": [], "declaration": "public boolean isBuy()", "parameters": [], - "code": "{\n String orderType = getOrderType();\n if (orderType.compareToIgnoreCase(\"buy\") == 0) {\n return true;\n }\n return false;\n}", + "code": "{\n String orderType = getOrderType();\n if (orderType.compareToIgnoreCase(\"buy\") == 0) {\n return true;\n }\n return false;\n }", "start_line": 275, "end_line": 281, + "code_start_line": 275, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -209677,7 +206895,7 @@ "is_entrypoint": false }, "setCompletionDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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)", "comments": [], "annotations": [], @@ -209698,9 +206916,10 @@ "end_column": 53 } ], - "code": "{\n this.completionDate = completionDate;\n}", + "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, @@ -209718,7 +206937,7 @@ "is_entrypoint": false }, "getAccount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "getAccount()", "comments": [], "annotations": [], @@ -209728,9 +206947,10 @@ "thrown_exceptions": [], "declaration": "public AccountDataBean getAccount()", "parameters": [], - "code": "{\n return account;\n}", + "code": "{\n return account;\n }", "start_line": 251, "end_line": 253, + "code_start_line": 251, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -209746,7 +206966,7 @@ "is_entrypoint": false }, "isCancelled()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "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": "isCancelled()", "comments": [], "annotations": [], @@ -209756,9 +206976,10 @@ "thrown_exceptions": [], "declaration": "public boolean isCancelled()", "parameters": [], - "code": "{\n String orderStatus = getOrderStatus();\n if (orderStatus.compareToIgnoreCase(\"cancelled\") == 0) {\n return true;\n }\n return false;\n}", + "code": "{\n String orderStatus = getOrderStatus();\n if (orderStatus.compareToIgnoreCase(\"cancelled\") == 0) {\n return true;\n }\n return false;\n }", "start_line": 308, "end_line": 314, + "code_start_line": 308, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -210163,8 +207384,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -210336,7 +207557,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -210361,9 +207582,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -210446,7 +207668,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -210482,9 +207704,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 54, "end_line": 57, + "code_start_line": 55, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -210523,7 +207746,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -210535,9 +207758,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n}", + "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, @@ -210551,7 +207775,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.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/ejb3/PingServlet2Entity.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -210644,9 +207868,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n QuoteDataBean quote = null;\n String symbol = null;\n StringBuffer output = new StringBuffer(100);\n output.append(\"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\");\n try {\n // generate random symbol\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n // get a random symbol to look up and get the key to that\n // symbol.\n symbol = TradeConfig.rndSymbol();\n // find the EntityInstance.\n quote = em.find(QuoteDataBean.class, symbol);\n }\n } catch (Exception e) {\n Log.error(\"web_primtv.PingServlet2Entity.doGet(...): error performing find\");\n throw e;\n }\n // get the price and print the output.\n output.append(\"
    initTime: \" + initTime + \"
    Hit Count: \").append(hitCount++);\n output.append(\"
    Quote Information

    \" + quote.toHTML());\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Entity.doGet(...): error\");\n // this will send an Error to teh web applications defined error\n // page.\n res.sendError(500, \"PingServlet2Entity.doGet(...): error\" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n\n QuoteDataBean quote = null;\n String symbol = null;\n\n StringBuffer output = new StringBuffer(100);\n output.append(\"Servlet2Entity\" + \"
    PingServlet2Entity
    \"\n + \"
    PingServlet2Entity accesses an EntityManager\"\n + \" using a PersistenceContext annotaion and then gets the price of a random symbol (generated by TradeConfig)\"\n + \" through the EntityManager find method\");\n try {\n // generate random symbol\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n // get a random symbol to look up and get the key to that\n // symbol.\n symbol = TradeConfig.rndSymbol();\n // find the EntityInstance.\n quote = em.find(QuoteDataBean.class, symbol);\n }\n } catch (Exception e) {\n Log.error(\"web_primtv.PingServlet2Entity.doGet(...): error performing find\");\n throw e;\n }\n // get the price and print the output.\n\n output.append(\"
    initTime: \" + initTime + \"
    Hit Count: \").append(hitCount++);\n output.append(\"
    Quote Information

    \" + quote.toHTML());\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Entity.doGet(...): error\");\n // this will send an Error to teh web applications defined error\n // page.\n res.sendError(500, \"PingServlet2Entity.doGet(...): error\" + e.toString());\n\n }\n }", "start_line": 59, "end_line": 101, + "code_start_line": 60, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -211301,8 +208526,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -211412,7 +208637,7 @@ "nested_type_declarations": [], "callable_declarations": { "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.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/PingServlet2IncludeRcv.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -211457,9 +208682,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 50, "end_line": 53, + "code_start_line": 51, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -211498,7 +208724,7 @@ "is_entrypoint": true }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.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/PingServlet2IncludeRcv.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -211551,9 +208777,10 @@ "end_column": 69 } ], - "code": "{\n // do nothing but get included by PingServlet2Include\n}", + "code": "{\n // do nothing but get included by PingServlet2Include\n }", "start_line": 64, "end_line": 67, + "code_start_line": 65, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -211600,8 +208827,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -211640,7 +208867,7 @@ "nested_type_declarations": [], "callable_declarations": { "printGainHTML(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)", "comments": [], "annotations": [], @@ -211662,9 +208889,10 @@ "end_column": 54 } ], - "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 htmlString += gain.setScale(SCALE, ROUND) + \"\";\n return htmlString;\n}", + "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, @@ -211764,7 +208992,7 @@ "is_entrypoint": false }, "printQuoteLink(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)", "comments": [], "annotations": [], @@ -211786,9 +209014,10 @@ "end_column": 53 } ], - "code": "{\n return \"\" + symbol + \"\";\n}", + "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, @@ -211802,7 +209031,7 @@ "is_entrypoint": false }, "computeGain(BigDecimal, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)", "comments": [], "annotations": [], @@ -211834,9 +209063,10 @@ "end_column": 90 } ], - "code": "{\n return currentBalance.subtract(openBalance).setScale(SCALE);\n}", + "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, @@ -211899,7 +209129,7 @@ "is_entrypoint": false }, "computeGainPercent(BigDecimal, BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)", "comments": [], "annotations": [], @@ -211931,9 +209161,10 @@ "end_column": 97 } ], - "code": "{\n if (openBalance.doubleValue() == 0.0) {\n return ZERO;\n }\n BigDecimal gainPercent = currentBalance.divide(openBalance, ROUND).subtract(ONE).multiply(HUNDRED);\n return gainPercent;\n}", + "code": "{\n if (openBalance.doubleValue() == 0.0) {\n return ZERO;\n }\n BigDecimal gainPercent = currentBalance.divide(openBalance, ROUND).subtract(ONE).multiply(HUNDRED);\n return gainPercent;\n }", "start_line": 36, "end_line": 42, + "code_start_line": 36, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -212064,7 +209295,7 @@ "is_entrypoint": false }, "printGainPercentHTML(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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)", "comments": [], "annotations": [], @@ -212086,9 +209317,10 @@ "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 htmlString += gain.setScale(SCALE, ROUND);\n htmlString += \"%)\";\n return htmlString;\n}", + "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, @@ -212188,7 +209420,7 @@ "is_entrypoint": false }, "printChangeHTML(double)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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": "printChangeHTML(double)", "comments": [], "annotations": [], @@ -212210,9 +209442,10 @@ "end_column": 54 } ], - "code": "{\n String htmlString, arrow;\n if (change < 0.0) {\n htmlString = \"\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"\";\n arrow = \"arrowup.gif\";\n }\n htmlString += change + \"\";\n return htmlString;\n}", + "code": "{\n String htmlString, arrow;\n if (change < 0.0) {\n htmlString = \"\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"\";\n arrow = \"arrowup.gif\";\n }\n\n htmlString += change + \"\";\n return htmlString;\n }", "start_line": 72, "end_line": 84, + "code_start_line": 72, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -212263,7 +209496,7 @@ "is_entrypoint": false }, "computeHoldingsTotal(Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "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": [], @@ -212285,9 +209518,10 @@ "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}", + "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, @@ -212745,8 +209979,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.impl.ejb3", "comments": [ { @@ -212873,7 +210107,7 @@ "nested_type_declarations": [], "callable_declarations": { "updateMarketSummary()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "signature": "updateMarketSummary()", "comments": [ { @@ -212910,9 +210144,10 @@ "thrown_exceptions": [], "declaration": "private void updateMarketSummary()", "parameters": [], - "code": "{\n Log.trace(\"MarketSummarySingleton:updateMarketSummary -- updating market summary\");\n if (TradeConfig.getRunTimeMode() != TradeConfig.EJB3) {\n Log.trace(\"MarketSummarySingleton:updateMarketSummary -- Not EJB3 Mode, so not updating\");\n // Only do the actual work if in EJB3 Mode\n return;\n }\n List quotes;\n try {\n // Find Trade Stock Index Quotes (Top 100 quotes) ordered by their change in value\n CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();\n CriteriaQuery criteriaQuery = criteriaBuilder.createQuery(QuoteDataBean.class);\n Root quoteRoot = criteriaQuery.from(QuoteDataBean.class);\n criteriaQuery.orderBy(criteriaBuilder.desc(quoteRoot.get(\"change1\")));\n criteriaQuery.select(quoteRoot);\n TypedQuery q = entityManager.createQuery(criteriaQuery);\n quotes = q.getResultList();\n } catch (Exception e) {\n Log.debug(\"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.\");\n return;\n }\n /* TODO: Make this cleaner? */\n QuoteDataBean[] quoteArray = quotes.toArray(new QuoteDataBean[quotes.size()]);\n ArrayList topGainers = new ArrayList(5);\n ArrayList topLosers = new ArrayList(5);\n BigDecimal TSIA = FinancialUtils.ZERO;\n BigDecimal openTSIA = FinancialUtils.ZERO;\n double totalVolume = 0.0;\n if (quoteArray.length > 5) {\n for (int i = 0; i < 5; i++) {\n topGainers.add(quoteArray[i]);\n }\n for (int i = quoteArray.length - 1; i >= quoteArray.length - 5; i--) {\n topLosers.add(quoteArray[i]);\n }\n for (QuoteDataBean quote : quoteArray) {\n BigDecimal price = quote.getPrice();\n BigDecimal open = quote.getOpen();\n double volume = quote.getVolume();\n TSIA = TSIA.add(price);\n openTSIA = openTSIA.add(open);\n totalVolume += volume;\n }\n TSIA = TSIA.divide(new BigDecimal(quoteArray.length), FinancialUtils.ROUND);\n openTSIA = openTSIA.divide(new BigDecimal(quoteArray.length), FinancialUtils.ROUND);\n }\n setMarketSummaryDataBean(new MarketSummaryDataBean(TSIA, openTSIA, totalVolume, topGainers, topLosers));\n mkSummaryUpdateEvent.fireAsync(\"MarketSummaryUpdate\", NotificationOptions.builder().setExecutor(mes).build());\n}", + "code": "{ \n\n\n Log.trace(\"MarketSummarySingleton:updateMarketSummary -- updating market summary\");\n\n\n if (TradeConfig.getRunTimeMode() != TradeConfig.EJB3)\n {\n Log.trace(\"MarketSummarySingleton:updateMarketSummary -- Not EJB3 Mode, so not updating\");\n return; // Only do the actual work if in EJB3 Mode\n }\n\n List quotes;\n\n try { \n // Find Trade Stock Index Quotes (Top 100 quotes) ordered by their change in value\n CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();\n CriteriaQuery criteriaQuery = criteriaBuilder.createQuery(QuoteDataBean.class);\n Root quoteRoot = criteriaQuery.from(QuoteDataBean.class);\n criteriaQuery.orderBy(criteriaBuilder.desc(quoteRoot.get(\"change1\")));\n criteriaQuery.select(quoteRoot);\n TypedQuery q = entityManager.createQuery(criteriaQuery);\n quotes = q.getResultList();\n } catch (Exception e) {\n Log.debug(\"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.\");\n return;\n }\t\n\n /* TODO: Make this cleaner? */\n QuoteDataBean[] quoteArray = quotes.toArray(new QuoteDataBean[quotes.size()]);\n ArrayList topGainers = new ArrayList(5);\n ArrayList topLosers = new ArrayList(5);\n BigDecimal TSIA = FinancialUtils.ZERO;\n BigDecimal openTSIA = FinancialUtils.ZERO;\n double totalVolume = 0.0;\n\n if (quoteArray.length > 5) {\n for (int i = 0; i < 5; i++) {\n topGainers.add(quoteArray[i]);\n }\n for (int i = quoteArray.length - 1; i >= quoteArray.length - 5; i--) {\n topLosers.add(quoteArray[i]);\n }\n\n for (QuoteDataBean quote : quoteArray) {\n BigDecimal price = quote.getPrice();\n BigDecimal open = quote.getOpen();\n double volume = quote.getVolume();\n TSIA = TSIA.add(price);\n openTSIA = openTSIA.add(open);\n totalVolume += volume;\n }\n TSIA = TSIA.divide(new BigDecimal(quoteArray.length), FinancialUtils.ROUND);\n openTSIA = openTSIA.divide(new BigDecimal(quoteArray.length), FinancialUtils.ROUND);\n }\n\n setMarketSummaryDataBean(new MarketSummaryDataBean(TSIA, openTSIA, totalVolume, topGainers, topLosers));\n mkSummaryUpdateEvent.fireAsync(\"MarketSummaryUpdate\", NotificationOptions.builder().setExecutor(mes).build());\n }", "start_line": 63, "end_line": 122, + "code_start_line": 64, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -214005,7 +211240,7 @@ "is_entrypoint": false }, "setMarketSummaryDataBean(MarketSummaryDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "signature": "setMarketSummaryDataBean(MarketSummaryDataBean)", "comments": [], "annotations": [ @@ -214028,9 +211263,10 @@ "end_column": 82 } ], - "code": "{\n this.marketSummaryDataBean = marketSummaryDataBean;\n}", + "code": "{\n this.marketSummaryDataBean = marketSummaryDataBean;\n }", "start_line": 133, "end_line": 136, + "code_start_line": 134, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -214048,7 +211284,7 @@ "is_entrypoint": false }, "getMarketSummaryDataBean()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.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/ejb3/MarketSummarySingleton.java", "signature": "getMarketSummaryDataBean()", "comments": [], "annotations": [ @@ -214060,9 +211296,10 @@ "thrown_exceptions": [], "declaration": "public MarketSummaryDataBean getMarketSummaryDataBean()", "parameters": [], - "code": "{\n if (marketSummaryDataBean == null) {\n updateMarketSummary();\n }\n return marketSummaryDataBean;\n}", + "code": "{ \n if (marketSummaryDataBean == null){\n updateMarketSummary();\n }\n\n return marketSummaryDataBean;\n }", "start_line": 124, "end_line": 131, + "code_start_line": 125, "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "is_implicit": false, "is_constructor": false, @@ -214199,8 +211436,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.entities", "comments": [ { @@ -214570,7 +211807,7 @@ "nested_type_declarations": [], "callable_declarations": { "setLoginCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [], @@ -214591,9 +211828,10 @@ "end_column": 44 } ], - "code": "{\n this.loginCount = loginCount;\n}", + "code": "{\n this.loginCount = loginCount;\n }", "start_line": 169, "end_line": 171, + "code_start_line": 169, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -214609,7 +211847,7 @@ "is_entrypoint": false }, "getRandomInstance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getRandomInstance()", "comments": [ { @@ -214693,9 +211931,10 @@ "thrown_exceptions": [], "declaration": "public static AccountDataBean getRandomInstance()", "parameters": [], - "code": "{\n return new // accountID\n AccountDataBean(// accountID\n new Integer(TradeConfig.rndInt(100000)), // loginCount\n TradeConfig.rndInt(10000), // logoutCount\n TradeConfig.rndInt(10000), // lastLogin\n new java.util.Date(), // creationDate\n new java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE)), // balance\n TradeConfig.rndBigDecimal(1000000.0f), // openBalance\n TradeConfig.rndBigDecimal(1000000.0f), // profileID\n TradeConfig.rndUserID());\n}", + "code": "{\n return new AccountDataBean(new Integer(TradeConfig.rndInt(100000)), // accountID\n TradeConfig.rndInt(10000), // loginCount\n TradeConfig.rndInt(10000), // logoutCount\n new java.util.Date(), // lastLogin\n new java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE)), // creationDate\n TradeConfig.rndBigDecimal(1000000.0f), // balance\n TradeConfig.rndBigDecimal(1000000.0f), // openBalance\n TradeConfig.rndUserID() // profileID\n );\n }", "start_line": 127, "end_line": 137, + "code_start_line": 127, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -214982,7 +212221,7 @@ "is_entrypoint": false }, "setLogoutCount(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "setLogoutCount(int)", "comments": [], "annotations": [], @@ -215003,9 +212242,10 @@ "end_column": 46 } ], - "code": "{\n this.logoutCount = logoutCount;\n}", + "code": "{\n this.logoutCount = logoutCount;\n }", "start_line": 177, "end_line": 179, + "code_start_line": 177, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -215021,7 +212261,7 @@ "is_entrypoint": false }, "setLastLogin(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [], @@ -215042,9 +212282,10 @@ "end_column": 43 } ], - "code": "{\n this.lastLogin = lastLogin;\n}", + "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, @@ -215062,7 +212303,7 @@ "is_entrypoint": false }, "login(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": [], @@ -215083,9 +212324,10 @@ "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() + ((profile == null) ? \"null AccountProfile\" : \"\\n\\tIncorrect password-->\" + profile.getUserID() + \":\" + profile.getPassword());\n throw new EJBException(error);\n }\n setLastLogin(new Timestamp(System.currentTimeMillis()));\n setLoginCount(getLoginCount() + 1);\n}", + "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, @@ -215402,7 +212644,7 @@ "is_entrypoint": false }, "hashCode()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [ @@ -215414,9 +212656,10 @@ "thrown_exceptions": [], "declaration": "public int hashCode()", "parameters": [], - "code": "{\n int hash = 0;\n hash += (this.accountID != null ? this.accountID.hashCode() : 0);\n return hash;\n}", + "code": "{\n int hash = 0;\n hash += (this.accountID != null ? this.accountID.hashCode() : 0);\n return hash;\n }", "start_line": 265, "end_line": 270, + "code_start_line": 266, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -215474,7 +212717,7 @@ "is_entrypoint": false }, "print()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [], @@ -215484,9 +212727,10 @@ "thrown_exceptions": [], "declaration": "public void print()", "parameters": [], - "code": "{\n Log.log(this.toString());\n}", + "code": "{\n Log.log(this.toString());\n }", "start_line": 153, "end_line": 155, + "code_start_line": 153, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -215545,7 +212789,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [], @@ -215555,9 +212799,10 @@ "thrown_exceptions": [], "declaration": "public AccountDataBean()", "parameters": [], - "code": "{\n}", + "code": "{\n }", "start_line": 102, "end_line": 103, + "code_start_line": 102, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -215571,7 +212816,7 @@ "is_entrypoint": false }, "setHoldings(Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": [], @@ -215592,9 +212837,10 @@ "end_column": 64 } ], - "code": "{\n this.holdings = holdings;\n}", + "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, @@ -215612,7 +212858,7 @@ "is_entrypoint": false }, "getCreationDate()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [], @@ -215622,9 +212868,10 @@ "thrown_exceptions": [], "declaration": "public Date getCreationDate()", "parameters": [], - "code": "{\n return creationDate;\n}", + "code": "{\n return creationDate;\n }", "start_line": 189, "end_line": 191, + "code_start_line": 189, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, @@ -215640,7 +212887,7 @@ "is_entrypoint": false }, "getLogoutCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLogoutCount()", "comments": [], "annotations": [], @@ -215650,9 +212897,10 @@ "thrown_exceptions": [], "declaration": "public int getLogoutCount()", "parameters": [], - "code": "{\n return logoutCount;\n}", + "code": "{\n return logoutCount;\n }", "start_line": 173, "end_line": 175, + "code_start_line": 173, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -215668,7 +212916,7 @@ "is_entrypoint": false }, "toHTML()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toHTML()", "comments": [], "annotations": [], @@ -215678,9 +212926,10 @@ "thrown_exceptions": [], "declaration": "public String toHTML()", "parameters": [], - "code": "{\n return \"
    Account Data for account: \" + getAccountID() + \"\" + \"
  • loginCount:\" + getLoginCount() + \"
  • \" + \"
  • logoutCount:\" + getLogoutCount() + \"
  • \" + \"
  • lastLogin:\" + getLastLogin() + \"
  • \" + \"
  • creationDate:\" + getCreationDate() + \"
  • \" + \"
  • balance:\" + getBalance() + \"
  • \" + \"
  • openBalance:\" + getOpenBalance() + \"
  • \" + \"
  • profileID:\" + getProfileID() + \"
  • \";\n}", + "code": "{\n return \"
    Account Data for account: \" + getAccountID() + \"\" + \"
  • loginCount:\" + getLoginCount() + \"
  • \" + \"
  • logoutCount:\"\n + getLogoutCount() + \"
  • \" + \"
  • lastLogin:\" + getLastLogin() + \"
  • \" + \"
  • creationDate:\" + getCreationDate() + \"
  • \"\n + \"
  • balance:\" + getBalance() + \"
  • \" + \"
  • openBalance:\" + getOpenBalance() + \"
  • \" + \"
  • profileID:\" + getProfileID()\n + \"
  • \";\n }", "start_line": 146, "end_line": 151, + "code_start_line": 146, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -215863,7 +213112,7 @@ "is_entrypoint": false }, "getHoldings()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getHoldings()", "comments": [], "annotations": [], @@ -215873,9 +213122,10 @@ "thrown_exceptions": [], "declaration": "public Collection getHoldings()", "parameters": [], - "code": "{\n return holdings;\n}", + "code": "{\n return holdings;\n }", "start_line": 233, "end_line": 235, + "code_start_line": 233, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -215891,7 +213141,7 @@ "is_entrypoint": false }, "setAccountID(Integer)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [], @@ -215912,9 +213162,10 @@ "end_column": 46 } ], - "code": "{\n this.accountID = accountID;\n}", + "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, @@ -215932,7 +213183,7 @@ "is_entrypoint": false }, "getLoginCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [], @@ -215942,9 +213193,10 @@ "thrown_exceptions": [], "declaration": "public int getLoginCount()", "parameters": [], - "code": "{\n return loginCount;\n}", + "code": "{\n return loginCount;\n }", "start_line": 165, "end_line": 167, + "code_start_line": 165, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -215960,7 +213212,7 @@ "is_entrypoint": false }, "getAccountID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getAccountID()", "comments": [], "annotations": [], @@ -215970,9 +213222,10 @@ "thrown_exceptions": [], "declaration": "public Integer getAccountID()", "parameters": [], - "code": "{\n return accountID;\n}", + "code": "{\n return accountID;\n }", "start_line": 157, "end_line": 159, + "code_start_line": 157, "return_type": "java.lang.Integer", "is_implicit": false, "is_constructor": false, @@ -215988,7 +213241,7 @@ "is_entrypoint": false }, "equals(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [ @@ -216011,9 +213264,10 @@ "end_column": 39 } ], - "code": "{\n if (!(object instanceof AccountDataBean)) {\n return false;\n }\n AccountDataBean other = (AccountDataBean) object;\n if (this.accountID != other.accountID && (this.accountID == null || !this.accountID.equals(other.accountID))) {\n return false;\n }\n return true;\n}", + "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, @@ -216074,7 +213328,7 @@ "is_entrypoint": false }, "logout()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "logout()", "comments": [], "annotations": [], @@ -216084,9 +213338,10 @@ "thrown_exceptions": [], "declaration": "public void logout()", "parameters": [], - "code": "{\n setLogoutCount(getLogoutCount() + 1);\n}", + "code": "{\n setLogoutCount(getLogoutCount() + 1);\n }", "start_line": 261, "end_line": 263, + "code_start_line": 261, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -216145,7 +213400,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "toString()", "comments": [], "annotations": [ @@ -216157,9 +213412,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n return \"\\n\\tAccount Data for account: \" + getAccountID() + \"\\n\\t\\t loginCount:\" + getLoginCount() + \"\\n\\t\\t logoutCount:\" + getLogoutCount() + \"\\n\\t\\t lastLogin:\" + getLastLogin() + \"\\n\\t\\t creationDate:\" + getCreationDate() + \"\\n\\t\\t balance:\" + getBalance() + \"\\n\\t\\t openBalance:\" + getOpenBalance() + \"\\n\\t\\t profileID:\" + getProfileID();\n}", + "code": "{\n return \"\\n\\tAccount Data for account: \" + getAccountID() + \"\\n\\t\\t loginCount:\" + getLoginCount() + \"\\n\\t\\t logoutCount:\" + getLogoutCount()\n + \"\\n\\t\\t lastLogin:\" + getLastLogin() + \"\\n\\t\\t creationDate:\" + getCreationDate() + \"\\n\\t\\t balance:\" + getBalance()\n + \"\\n\\t\\t openBalance:\" + getOpenBalance() + \"\\n\\t\\t profileID:\" + getProfileID();\n }", "start_line": 139, "end_line": 144, + "code_start_line": 140, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -216342,7 +213598,7 @@ "is_entrypoint": false }, "setOpenBalance(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [], @@ -216363,9 +213619,10 @@ "end_column": 53 } ], - "code": "{\n this.openBalance = openBalance;\n}", + "code": "{\n this.openBalance = openBalance;\n }", "start_line": 209, "end_line": 211, + "code_start_line": 209, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -216383,7 +213640,7 @@ "is_entrypoint": false }, "getProfileID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getProfileID()", "comments": [], "annotations": [], @@ -216393,9 +213650,10 @@ "thrown_exceptions": [], "declaration": "public String getProfileID()", "parameters": [], - "code": "{\n return profileID;\n}", + "code": "{\n return profileID;\n }", "start_line": 213, "end_line": 215, + "code_start_line": 213, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -216411,7 +213669,7 @@ "is_entrypoint": false }, "(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [], @@ -216502,9 +213760,10 @@ "end_column": 28 } ], - "code": "{\n setAccountID(accountID);\n setLoginCount(loginCount);\n setLogoutCount(logoutCount);\n setLastLogin(lastLogin);\n setCreationDate(creationDate);\n setBalance(balance);\n setOpenBalance(openBalance);\n setProfileID(profileID);\n}", + "code": "{\n setAccountID(accountID);\n setLoginCount(loginCount);\n setLogoutCount(logoutCount);\n setLastLogin(lastLogin);\n setCreationDate(creationDate);\n setBalance(balance);\n setOpenBalance(openBalance);\n setProfileID(profileID);\n }", "start_line": 105, "end_line": 115, + "code_start_line": 106, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -216712,7 +213971,7 @@ "is_entrypoint": false }, "setCreationDate(Date)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": [], @@ -216733,9 +213992,10 @@ "end_column": 49 } ], - "code": "{\n this.creationDate = creationDate;\n}", + "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, @@ -216753,7 +214013,7 @@ "is_entrypoint": false }, "setProfileID(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [], @@ -216774,9 +214034,10 @@ "end_column": 45 } ], - "code": "{\n this.profileID = profileID;\n}", + "code": "{\n this.profileID = profileID;\n }", "start_line": 217, "end_line": 219, + "code_start_line": 217, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -216794,7 +214055,7 @@ "is_entrypoint": false }, "setProfile(AccountProfileDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": [], @@ -216815,9 +214076,10 @@ "end_column": 57 } ], - "code": "{\n this.profile = profile;\n}", + "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, @@ -216835,7 +214097,7 @@ "is_entrypoint": false }, "setOrders(Collection)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": [], @@ -216856,9 +214118,10 @@ "end_column": 58 } ], - "code": "{\n this.orders = orders;\n}", + "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, @@ -216876,7 +214139,7 @@ "is_entrypoint": false }, "getOrders()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [], @@ -216886,9 +214149,10 @@ "thrown_exceptions": [], "declaration": "public Collection getOrders()", "parameters": [], - "code": "{\n return orders;\n}", + "code": "{\n return orders;\n }", "start_line": 225, "end_line": 227, + "code_start_line": 225, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -216904,7 +214168,7 @@ "is_entrypoint": false }, "getLastLogin()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getLastLogin()", "comments": [], "annotations": [], @@ -216914,9 +214178,10 @@ "thrown_exceptions": [], "declaration": "public Date getLastLogin()", "parameters": [], - "code": "{\n return lastLogin;\n}", + "code": "{\n return lastLogin;\n }", "start_line": 181, "end_line": 183, + "code_start_line": 181, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, @@ -216932,7 +214197,7 @@ "is_entrypoint": false }, "getBalance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": "getBalance()", "comments": [], "annotations": [], @@ -216942,9 +214207,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getBalance()", "parameters": [], - "code": "{\n return balance;\n}", + "code": "{\n return balance;\n }", "start_line": 197, "end_line": 199, + "code_start_line": 197, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -216960,7 +214226,7 @@ "is_entrypoint": false }, "getProfile()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [], @@ -216970,9 +214236,10 @@ "thrown_exceptions": [], "declaration": "public AccountProfileDataBean getProfile()", "parameters": [], - "code": "{\n return profile;\n}", + "code": "{\n return profile;\n }", "start_line": 241, "end_line": 243, + "code_start_line": 241, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, @@ -216988,7 +214255,7 @@ "is_entrypoint": false }, "getOpenBalance()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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()", "comments": [], "annotations": [], @@ -216998,9 +214265,10 @@ "thrown_exceptions": [], "declaration": "public BigDecimal getOpenBalance()", "parameters": [], - "code": "{\n return openBalance;\n}", + "code": "{\n return openBalance;\n }", "start_line": 205, "end_line": 207, + "code_start_line": 205, "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, @@ -217016,7 +214284,7 @@ "is_entrypoint": false }, "setBalance(BigDecimal)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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)", "comments": [], "annotations": [], @@ -217037,9 +214305,10 @@ "end_column": 45 } ], - "code": "{\n this.balance = balance;\n}", + "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, @@ -217057,7 +214326,7 @@ "is_entrypoint": false }, "(int, int, Date, Date, BigDecimal, BigDecimal, String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "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": [], @@ -217138,9 +214407,10 @@ "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}", + "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, @@ -217622,8 +214892,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/QuotePriceChange.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/QuotePriceChange.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/QuotePriceChange.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/QuotePriceChange.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -217669,8 +214939,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -217807,7 +215077,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -217832,9 +215102,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -217917,7 +215188,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -217953,9 +215224,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 61, "end_line": 64, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -217994,7 +215266,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -218006,9 +215278,10 @@ "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}", + "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, @@ -218022,7 +215295,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.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/ejb3/PingServlet2Session2EntityCollection.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -218091,9 +215364,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String userID = null;\n Collection holdingDataBeans = null;\n StringBuffer output = new StringBuffer(100);\n output.append(\"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.
    \");\n try {\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n userID = TradeConfig.rndUserID();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n holdingDataBeans = tradeSLSBLocal.getHoldings(userID);\n // trade.remove();\n }\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2Session2EntityCollection.goGet(...): exception getting HoldingData collection through Trade for user \" + userID);\n throw ne;\n }\n output.append(\"
    initTime: \" + initTime).append(\"
    Hit Count: \" + hitCount++);\n output.append(\"
    User: \" + userID + \" is currently holding \" + holdingDataBeans.size() + \" stock holdings:\");\n Iterator it = holdingDataBeans.iterator();\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n output.append(\"
    \" + holdingData.toHTML());\n }\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2EntityCollection.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String userID = null;\n Collection holdingDataBeans = null;\n StringBuffer output = new StringBuffer(100);\n\n output.append(\"PingServlet2Session2EntityCollection\"\n + \"
    PingServlet2Session2EntityCollection
    \" + \"\"\n + \"PingServlet2Session2EntityCollection tests the common path of a Servlet calling a Session EJB \"\n + \"which in turn calls a finder on an Entity EJB returning a collection of Entity EJBs.
    \");\n\n try {\n\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n userID = TradeConfig.rndUserID();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n holdingDataBeans = tradeSLSBLocal.getHoldings(userID);\n // trade.remove();\n }\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2Session2EntityCollection.goGet(...): exception getting HoldingData collection through Trade for user \" + userID);\n throw ne;\n }\n\n output.append(\"
    initTime: \" + initTime).append(\"
    Hit Count: \" + hitCount++);\n output.append(\"
    User: \" + userID + \" is currently holding \" + holdingDataBeans.size() + \" stock holdings:\");\n Iterator it = holdingDataBeans.iterator();\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n output.append(\"
    \" + holdingData.toHTML());\n }\n out.println(output.toString());\n\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2EntityCollection.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n }", "start_line": 66, "end_line": 110, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -218846,8 +216120,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocal.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocal.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -218922,7 +216196,7 @@ "nested_type_declarations": [], "callable_declarations": { "getMsg()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocal.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/cdi/PingEJBLocal.java", "signature": "getMsg()", "comments": [], "annotations": [ @@ -218934,9 +216208,10 @@ "thrown_exceptions": [], "declaration": "public String getMsg()", "parameters": [], - "code": "{\n return \"PingEJBLocal: \" + hitCount++;\n}", + "code": "{\n\n return \"PingEJBLocal: \" + hitCount++;\n }", "start_line": 35, "end_line": 39, + "code_start_line": 36, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -218984,8 +216259,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.jsf", "comments": [ { @@ -219351,7 +216626,7 @@ "nested_type_declarations": [], "callable_declarations": { "logout()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "logout()", "comments": [ { @@ -219418,9 +216693,10 @@ "thrown_exceptions": [], "declaration": "public String logout()", "parameters": [], - "code": "{\n try {\n setResults(\"\");\n tradeAction.logout(userID);\n } catch (java.lang.IllegalArgumentException e) {\n // this is a user error so I will\n // forward them to another page, at the end of the page.\n setResults(\"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.doLogout(...)\", \"illegal argument, information should be in exception string\", \"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, \"TradeAppJSF.logout():\", \"Error logging out\" + userID, \"fowarding to an error page\");\n }\n HttpSession session = (HttpSession) context.getSession(false);\n if (session != null) {\n session.invalidate();\n }\n // Added to actually remove a user from the authentication cache\n try {\n ((HttpServletRequest) context.getRequest()).logout();\n } catch (ServletException e) {\n Log.error(e, \"TradeAppJSF.logout():\", \"Error logging out request\" + userID, \"fowarding to an error page\");\n }\n // Go to welcome page\n return \"welcome\";\n}", + "code": "{\n\n try {\n setResults(\"\");\n tradeAction.logout(userID);\n } catch (java.lang.IllegalArgumentException e) {\n // this is a user error so I will\n // forward them to another page, at the end of the page.\n setResults(\"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, \"TradeAppJSF.logout():\", \"Error logging out\" + userID, \"fowarding to an error page\");\n }\n\n HttpSession session = (HttpSession)context.getSession(false);\n\n if (session != null) {\n session.invalidate();\n }\n\n // Added to actually remove a user from the authentication cache\n try {\n ((HttpServletRequest) context.getRequest()).logout();\n } catch (ServletException e) {\n Log.error(e, \"TradeAppJSF.logout():\", \"Error logging out request\" + userID, \"fowarding to an error page\");\n }\n\n // Go to welcome page\n return \"welcome\";\n }", "start_line": 189, "end_line": 223, + "code_start_line": 189, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -219734,7 +217010,7 @@ "is_entrypoint": false }, "getCpassword()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getCpassword()", "comments": [], "annotations": [], @@ -219744,9 +217020,10 @@ "thrown_exceptions": [], "declaration": "public String getCpassword()", "parameters": [], - "code": "{\n return cpassword;\n}", + "code": "{\n return cpassword;\n }", "start_line": 241, "end_line": 243, + "code_start_line": 241, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -219762,7 +217039,7 @@ "is_entrypoint": false }, "setEmail(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setEmail(String)", "comments": [], "annotations": [], @@ -219783,9 +217060,10 @@ "end_column": 35 } ], - "code": "{\n this.email = email;\n}", + "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, @@ -219803,7 +217081,7 @@ "is_entrypoint": false }, "setCcn(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setCcn(String)", "comments": [], "annotations": [], @@ -219824,9 +217102,10 @@ "end_column": 31 } ], - "code": "{\n this.ccn = ccn;\n}", + "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, @@ -219844,7 +217123,7 @@ "is_entrypoint": false }, "getCcn()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getCcn()", "comments": [], "annotations": [], @@ -219854,9 +217133,10 @@ "thrown_exceptions": [], "declaration": "public String getCcn()", "parameters": [], - "code": "{\n return ccn;\n}", + "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, @@ -219872,7 +217152,7 @@ "is_entrypoint": false }, "setUserID(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setUserID(String)", "comments": [], "annotations": [], @@ -219893,9 +217173,10 @@ "end_column": 37 } ], - "code": "{\n this.userID = userID;\n}", + "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, @@ -219913,7 +217194,7 @@ "is_entrypoint": false }, "updateProfile()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "updateProfile()", "comments": [ { @@ -219964,9 +217245,10 @@ "thrown_exceptions": [], "declaration": "public String updateProfile()", "parameters": [], - "code": "{\n // First verify input data\n boolean doUpdate = true;\n if (password.equals(cpassword) == false) {\n results = \"Update profile error: passwords do not match\";\n doUpdate = false;\n }\n AccountProfileDataBean accountProfileData = new AccountProfileDataBean(userID, password, fullname, address, email, ccn);\n try {\n if (doUpdate) {\n accountProfileData = tradeAction.updateAccountProfile(accountProfileData);\n results = \"Account profile update successful\";\n }\n } catch (java.lang.IllegalArgumentException e) {\n // this is a user error so I will\n // forward them to another page rather than throw a 500\n setResults(\"invalid argument, check userID is correct, and the database is populated\" + userID);\n Log.error(e, \"TradeServletAction.doAccount(...)\", \"illegal argument, information should be in exception string\", \"treating this as a user error and forwarding on to a new page\");\n } catch (Exception e) {\n // log the exception with error page\n e.printStackTrace();\n }\n // Go to account.xhtml\n return \"Go to account\";\n}", + "code": "{\n\n // First verify input data\n boolean doUpdate = true;\n\n if (password.equals(cpassword) == false) {\n results = \"Update profile error: passwords do not match\";\n doUpdate = false;\n }\n\n AccountProfileDataBean accountProfileData = new AccountProfileDataBean(userID, password, fullname, address, email, ccn);\n\n try {\n if (doUpdate) {\n accountProfileData = tradeAction.updateAccountProfile(accountProfileData);\n results = \"Account profile update successful\";\n }\n\n } catch (java.lang.IllegalArgumentException e) {\n // this is a user error so I will\n // forward them to another page rather than throw a 500\n setResults(\"invalid argument, check userID is correct, and the database is populated\" + userID);\n Log.error(e, \"TradeServletAction.doAccount(...)\", \"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 with error page\n e.printStackTrace();\n }\n // Go to account.xhtml\n return \"Go to account\";\n }", "start_line": 157, "end_line": 187, + "code_start_line": 157, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -220186,7 +217468,7 @@ "is_entrypoint": false }, "getEmail()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getEmail()", "comments": [], "annotations": [], @@ -220196,9 +217478,10 @@ "thrown_exceptions": [], "declaration": "public String getEmail()", "parameters": [], - "code": "{\n return email;\n}", + "code": "{\n return email;\n }", "start_line": 275, "end_line": 277, + "code_start_line": 275, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -220214,7 +217497,7 @@ "is_entrypoint": false }, "login()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "login()", "comments": [ { @@ -220241,9 +217524,10 @@ "thrown_exceptions": [], "declaration": "public String login()", "parameters": [], - "code": "{\n try {\n AccountDataBean accountData = tradeAction.login(userID, password);\n AccountProfileDataBean accountProfileData = tradeAction.getAccountProfileData(userID);\n if (accountData != null) {\n HttpSession session = (HttpSession) context.getSession(true);\n session.setAttribute(\"uidBean\", userID);\n session.setAttribute(\"sessionCreationDate\", new java.util.Date());\n setResults(\"Ready to Trade\");\n // Get account profile information\n setAddress(accountProfileData.getAddress());\n setCcn(accountProfileData.getCreditCard());\n setEmail(accountProfileData.getEmail());\n setFullname(accountProfileData.getFullName());\n setCpassword(accountProfileData.getPassword());\n return \"Ready to Trade\";\n } else {\n Log.log(\"TradeServletAction.doLogin(...)\", \"Error finding account for user \" + userID + \"\", \"user entered a bad username or the database is not populated\");\n throw new NullPointerException(\"User does not exist or password is incorrect!\");\n }\n } catch (Exception se) {\n // Go to welcome page\n setResults(\"Could not find account\");\n return \"welcome\";\n }\n}", + "code": "{\n try { \t\n AccountDataBean accountData = tradeAction.login(userID, password);\n\n AccountProfileDataBean accountProfileData = tradeAction.getAccountProfileData(userID);\n if (accountData != null) {\n HttpSession session = (HttpSession) context.getSession(true);\n\n session.setAttribute(\"uidBean\", userID);\n session.setAttribute(\"sessionCreationDate\", new java.util.Date());\n setResults(\"Ready to Trade\");\n\n // Get account profile information\n setAddress(accountProfileData.getAddress());\n setCcn(accountProfileData.getCreditCard());\n setEmail(accountProfileData.getEmail());\n setFullname(accountProfileData.getFullName());\n setCpassword(accountProfileData.getPassword());\n return \"Ready to Trade\";\n } else {\n Log.log(\"TradeServletAction.doLogin(...)\", \"Error finding account for user \" + userID + \"\",\n \"user entered a bad username or the database is not populated\");\n throw new NullPointerException(\"User does not exist or password is incorrect!\");\n }\n }\n\n catch (Exception se) {\n // Go to welcome page\n setResults(\"Could not find account\");\n return \"welcome\";\n }\n }", "start_line": 84, "end_line": 115, + "code_start_line": 84, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -220786,7 +218070,7 @@ "is_entrypoint": false }, "register()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "register()", "comments": [ { @@ -220837,9 +218121,10 @@ "thrown_exceptions": [], "declaration": "public String register()", "parameters": [], - "code": "{\n // Validate user passwords match and are atleast 1 char in length\n try {\n if ((password.equals(cpassword)) && (password.length() >= 1)) {\n AccountDataBean accountData = tradeAction.register(userID, password, fullname, address, email, ccn, new BigDecimal(money));\n if (accountData == null) {\n setResults(\"Registration operation failed;\");\n // Go to register page\n return \"Registration operation failed\";\n } else {\n login();\n setResults(\"Registration operation succeeded; Account \" + accountData.getAccountID() + \" has been created.\");\n return \"Registration operation succeeded\";\n }\n } else {\n // Password validation failed\n setResults(\"Registration operation failed, your passwords did not match\");\n // Go to register page\n return \"Registration operation failed\";\n }\n } catch (Exception e) {\n // log the exception with error page\n Log.log(\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID);\n try {\n throw new Exception(\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID, e);\n } catch (Exception e1) {\n e1.printStackTrace();\n }\n }\n return \"Registration operation succeeded\";\n}", + "code": "{\n\n // Validate user passwords match and are atleast 1 char in length\n try {\n if ((password.equals(cpassword)) && (password.length() >= 1)) {\n AccountDataBean accountData = tradeAction.register(userID, password, fullname, address, email, ccn, new BigDecimal(money));\n\n if (accountData == null) {\n setResults(\"Registration operation failed;\");\n // Go to register page\n return \"Registration operation failed\";\n\n } else {\n login();\n setResults(\"Registration operation succeeded; Account \" + accountData.getAccountID() + \" has been created.\");\n return \"Registration operation succeeded\";\n }\n }\n\n else {\n // Password validation failed\n setResults(\"Registration operation failed, your passwords did not match\");\n // Go to register page\n return \"Registration operation failed\";\n }\n }\n\n catch (Exception e) {\n // log the exception with error page\n Log.log(\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID);\n try {\n throw new Exception(\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID, e);\n } catch (Exception e1) {\n e1.printStackTrace();\n }\n\n }\n return \"Registration operation succeeded\";\n }", "start_line": 117, "end_line": 155, + "code_start_line": 117, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -221173,7 +218458,7 @@ "is_entrypoint": false }, "getUserID()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getUserID()", "comments": [], "annotations": [], @@ -221183,9 +218468,10 @@ "thrown_exceptions": [], "declaration": "public String getUserID()", "parameters": [], - "code": "{\n return userID;\n}", + "code": "{\n return userID;\n }", "start_line": 225, "end_line": 227, + "code_start_line": 225, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -221201,7 +218487,7 @@ "is_entrypoint": false }, "getAddress()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getAddress()", "comments": [], "annotations": [], @@ -221211,9 +218497,10 @@ "thrown_exceptions": [], "declaration": "public String getAddress()", "parameters": [], - "code": "{\n return address;\n}", + "code": "{\n return address;\n }", "start_line": 267, "end_line": 269, + "code_start_line": 267, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -221229,7 +218516,7 @@ "is_entrypoint": false }, "getPassword()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getPassword()", "comments": [], "annotations": [], @@ -221239,9 +218526,10 @@ "thrown_exceptions": [], "declaration": "public String getPassword()", "parameters": [], - "code": "{\n return password;\n}", + "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, @@ -221257,7 +218545,7 @@ "is_entrypoint": false }, "setCpassword(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setCpassword(String)", "comments": [], "annotations": [], @@ -221278,9 +218566,10 @@ "end_column": 43 } ], - "code": "{\n this.cpassword = cpassword;\n}", + "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, @@ -221298,7 +218587,7 @@ "is_entrypoint": false }, "setMoney(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setMoney(String)", "comments": [], "annotations": [], @@ -221319,9 +218608,10 @@ "end_column": 35 } ], - "code": "{\n this.money = money;\n}", + "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, @@ -221339,7 +218629,7 @@ "is_entrypoint": false }, "getMoney()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getMoney()", "comments": [], "annotations": [], @@ -221349,9 +218639,10 @@ "thrown_exceptions": [], "declaration": "public String getMoney()", "parameters": [], - "code": "{\n return money;\n}", + "code": "{\n return money;\n }", "start_line": 291, "end_line": 293, + "code_start_line": 291, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -221367,7 +218658,7 @@ "is_entrypoint": false }, "getFullname()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getFullname()", "comments": [], "annotations": [], @@ -221377,9 +218668,10 @@ "thrown_exceptions": [], "declaration": "public String getFullname()", "parameters": [], - "code": "{\n return fullname;\n}", + "code": "{\n return fullname;\n }", "start_line": 249, "end_line": 251, + "code_start_line": 249, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -221395,7 +218687,7 @@ "is_entrypoint": false }, "getResults()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "getResults()", "comments": [], "annotations": [], @@ -221405,9 +218697,10 @@ "thrown_exceptions": [], "declaration": "public String getResults()", "parameters": [], - "code": "{\n String tempResults = results;\n results = \"\";\n return tempResults;\n}", + "code": "{\n String tempResults=results;\n results=\"\";\n return tempResults;\n }", "start_line": 257, "end_line": 261, + "code_start_line": 257, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -221443,7 +218736,7 @@ "is_entrypoint": false }, "(Instance)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "TradeAppJSF(Instance)", "comments": [], "annotations": [ @@ -221468,9 +218761,10 @@ "end_column": 58 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", + "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, @@ -221596,7 +218890,7 @@ "is_entrypoint": false }, "setResults(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setResults(String)", "comments": [], "annotations": [], @@ -221617,9 +218911,10 @@ "end_column": 39 } ], - "code": "{\n this.results = results;\n}", + "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, @@ -221637,7 +218932,7 @@ "is_entrypoint": false }, "setFullname(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setFullname(String)", "comments": [], "annotations": [], @@ -221658,9 +218953,10 @@ "end_column": 41 } ], - "code": "{\n this.fullname = fullname;\n}", + "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, @@ -221678,7 +218974,7 @@ "is_entrypoint": false }, "setPassword(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setPassword(String)", "comments": [], "annotations": [], @@ -221699,9 +218995,10 @@ "end_column": 41 } ], - "code": "{\n this.password = password;\n}", + "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, @@ -221719,7 +219016,7 @@ "is_entrypoint": false }, "setAddress(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.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/jsf/TradeAppJSF.java", "signature": "setAddress(String)", "comments": [], "annotations": [], @@ -221740,9 +219037,10 @@ "end_column": 39 } ], - "code": "{\n this.address = address;\n}", + "code": "{\n this.address = address;\n }", "start_line": 271, "end_line": 273, + "code_start_line": 271, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -222042,8 +219340,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims", "comments": [ { @@ -222159,7 +219457,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "signature": "init(ServletConfig)", "comments": [ { @@ -222193,9 +219491,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n}", + "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, @@ -222278,7 +219577,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -222323,9 +219622,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 52, "end_line": 55, + "code_start_line": 53, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -222364,7 +219664,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "signature": "getServletInfo()", "comments": [ { @@ -222385,9 +219685,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"Tests a ManagedThread asynchronous servlet\";\n}", + "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, @@ -222401,7 +219702,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.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/PingManagedThread.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -222446,9 +219747,10 @@ "end_column": 69 } ], - "code": "{\n final AsyncContext asyncContext = req.startAsync();\n final ServletOutputStream out = res.getOutputStream();\n try {\n res.setContentType(\"text/html\");\n out.println(\"Ping ManagedThread\" + \"

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

    \");\n Thread thread = managedThreadFactory.newThread(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 });\n thread.start();\n } catch (Exception e) {\n Log.error(e, \"PingManagedThreadServlet.doGet(...): general exception caught\");\n res.sendError(500, e.toString());\n }\n}", + "code": "{\n \t\n\t\tfinal AsyncContext asyncContext = req.startAsync();\n\t\tfinal ServletOutputStream out = res.getOutputStream();\t\n\t\t\n\t\ttry {\n\t\t\t\n\t\t\tres.setContentType(\"text/html\");\n\t\t\t\t\t\n\t\t\tout.println(\"Ping ManagedThread\"\n + \"

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

    \");\t\t\t\n\t\t\n\t\t\tThread thread = managedThreadFactory.newThread(new Runnable() {\n \t\t\t@Override\n \t\t\tpublic void run() {\n \t\t\t\ttry {\n\t\t\t\t\t\tout.println(\"HitCount: \" + ++hitCount +\"
    \");\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n \t\t\t\tasyncContext.complete();\n \t\t\t}\n \t\t}); \t\t \t\t\n\t\t\t\n\t\t\tthread.start();\n\t\t\n\t\t} catch (Exception e) {\n\t\t\tLog.error(e, \"PingManagedThreadServlet.doGet(...): general exception caught\");\n\t\t\tres.sendError(500, e.toString());\n\t\t}\n\t\t\n\t}", "start_line": 66, "end_line": 98, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -222736,7 +220038,7 @@ "receiver_type": "java.lang.Runnable", "argument_types": [], "return_type": "java.lang.Runnable", - "callee_signature": "Anonymous-2d3e10d9-09c7-4ad7-9b52-3ad9ca9af848()", + "callee_signature": "Anonymous-fcae5bf6-c992-4131-bc93-1639be08ea79()", "is_public": false, "is_protected": false, "is_private": false, @@ -222910,8 +220212,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -223031,7 +220333,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -223056,9 +220358,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n if (tradeSLSBLocal == null) {\n Log.error(\"PingServlet2Session2Entity:init - Injection of tradeSLSBLocal failed - performing JNDI lookup!\");\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}", + "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, @@ -223273,7 +220576,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -223309,9 +220612,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 59, "end_line": 62, + "code_start_line": 60, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -223350,7 +220654,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -223362,9 +220666,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB path\";\n}", + "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, @@ -223378,7 +220683,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.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/ejb3/PingServlet2Session2Entity.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -223439,9 +220744,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n QuoteDataBean quoteData = null;\n StringBuffer output = new StringBuffer(100);\n output.append(\"PingServlet2Session2Entity\" + \"
    PingServlet2Session2Entity
    \" + \"\" + \"PingServlet2Session2Entity tests the common path of a Servlet calling a Session EJB \" + \"which in turn calls an Entity EJB.
    \");\n try {\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n symbol = TradeConfig.rndSymbol();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n quoteData = tradeSLSBLocal.getQuote(symbol);\n }\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2Session2Entity.goGet(...): exception getting QuoteData through Trade\");\n throw ne;\n }\n output.append(\"
    initTime: \" + initTime).append(\"
    Hit Count: \" + hitCount++);\n output.append(\"
    Quote Information

    \" + quoteData.toHTML());\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2Entity.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n String symbol = null;\n QuoteDataBean quoteData = null;\n StringBuffer output = new StringBuffer(100);\n\n output.append(\"PingServlet2Session2Entity\"\n + \"
    PingServlet2Session2Entity
    \" + \"\"\n + \"PingServlet2Session2Entity tests the common path of a Servlet calling a Session EJB \" + \"which in turn calls an Entity EJB.
    \");\n\n try {\n try {\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n symbol = TradeConfig.rndSymbol();\n // getQuote will call findQuote which will instaniate the\n // Quote Entity Bean\n // and then will return a QuoteObject\n quoteData = tradeSLSBLocal.getQuote(symbol);\n }\n } catch (Exception ne) {\n Log.error(ne, \"PingServlet2Session2Entity.goGet(...): exception getting QuoteData through Trade\");\n throw ne;\n }\n\n output.append(\"
    initTime: \" + initTime).append(\"
    Hit Count: \" + hitCount++);\n output.append(\"
    Quote Information

    \" + quoteData.toHTML());\n out.println(output.toString());\n\n } catch (Exception e) {\n Log.error(e, \"PingServlet2Session2Entity.doGet(...): General Exception caught\");\n res.sendError(500, \"General Exception caught, \" + e.toString());\n }\n }", "start_line": 64, "end_line": 100, + "code_start_line": 65, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -224051,8 +221357,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -224093,7 +221399,7 @@ "nested_type_declarations": [], "callable_declarations": { "(String)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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)", "comments": [], "annotations": [], @@ -224114,9 +221420,10 @@ "end_column": 47 } ], - "code": "{\n this.value = value;\n}", + "code": "{\n this.value = value;\n }", "start_line": 26, "end_line": 28, + "code_start_line": 26, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -224134,7 +221441,7 @@ "is_entrypoint": false }, "value()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", + "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": "value()", "comments": [], "annotations": [ @@ -224146,9 +221453,10 @@ "thrown_exceptions": [], "declaration": "public String value()", "parameters": [], - "code": "{\n return value;\n}", + "code": "{\n return value;\n }", "start_line": 30, "end_line": 33, + "code_start_line": 31, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -224218,8 +221526,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.servlet", "comments": [ { @@ -224506,7 +221814,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "signature": "init(ServletConfig)", "comments": [ { @@ -224556,9 +221864,10 @@ "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}", + "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, @@ -224785,7 +222094,7 @@ "is_entrypoint": false }, "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { @@ -224830,9 +222139,10 @@ "end_column": 114 } ], - "code": "{\n performTask(request, response);\n}", + "code": "{\n performTask(request, response);\n }", "start_line": 91, "end_line": 94, + "code_start_line": 92, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -224871,7 +222181,7 @@ "is_entrypoint": true }, "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { @@ -224916,9 +222226,10 @@ "end_column": 115 } ], - "code": "{\n performTask(request, response);\n}", + "code": "{\n performTask(request, response);\n }", "start_line": 104, "end_line": 107, + "code_start_line": 105, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -224957,7 +222268,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "signature": "getServletInfo()", "comments": [ { @@ -224978,9 +222289,10 @@ "thrown_exceptions": [], "declaration": "public java.lang.String getServletInfo()", "parameters": [], - "code": "{\n return \"TradeAppServlet provides the standard web interface to Trade\";\n}", + "code": "{\n return \"TradeAppServlet provides the standard web interface to Trade\";\n }", "start_line": 78, "end_line": 81, + "code_start_line": 79, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -224994,7 +222306,7 @@ "is_entrypoint": false }, "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "signature": "performTask(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -225093,9 +222405,10 @@ "end_column": 74 } ], - "code": "{\n String action = null;\n String userID = null;\n // String to create full dispatch path to TradeAppServlet w/ request\n // Parameters\n resp.setContentType(\"text/html\");\n // Dyna - need status string - prepended to output\n action = req.getParameter(\"action\");\n ServletContext ctx = getServletConfig().getServletContext();\n if (action == null) {\n tsAction.doWelcome(ctx, req, resp, \"\");\n return;\n } else if (action.equals(\"login\")) {\n userID = req.getParameter(\"uid\");\n String passwd = req.getParameter(\"passwd\");\n tsAction.doLogin(ctx, req, resp, userID, passwd);\n return;\n } else if (action.equals(\"register\")) {\n userID = req.getParameter(\"user id\");\n String passwd = req.getParameter(\"passwd\");\n String cpasswd = req.getParameter(\"confirm passwd\");\n String fullname = req.getParameter(\"Full Name\");\n String ccn = req.getParameter(\"Credit Card Number\");\n String money = req.getParameter(\"money\");\n String email = req.getParameter(\"email\");\n String smail = req.getParameter(\"snail mail\");\n tsAction.doRegister(ctx, req, resp, userID, passwd, cpasswd, fullname, ccn, money, email, smail);\n return;\n }\n // The rest of the operations require the user to be logged in -\n // Get the Session and validate the user.\n HttpSession session = req.getSession();\n userID = (String) session.getAttribute(\"uidBean\");\n if (userID == null) {\n System.out.println(\"TradeAppServlet service error: User Not Logged in\");\n tsAction.doWelcome(ctx, req, resp, \"User Not Logged in\");\n return;\n }\n // try http/2 push if we get here\n // should be logged in and doing real work by this point\n if (!action.equals(\"logout\") && TradeConfig.getWebInterface() == TradeConfig.JSP_Images_HTTP2) {\n pushHeaderImages(req.newPushBuilder());\n }\n if (action.equals(\"quotes\")) {\n String symbols = req.getParameter(\"symbols\");\n tsAction.doQuotes(ctx, req, resp, userID, symbols);\n } else if (action.equals(\"buy\")) {\n String symbol = req.getParameter(\"symbol\");\n String quantity = req.getParameter(\"quantity\");\n tsAction.doBuy(ctx, req, resp, userID, symbol, quantity);\n } else if (action.equals(\"sell\")) {\n int holdingID = Integer.parseInt(req.getParameter(\"holdingID\"));\n tsAction.doSell(ctx, req, resp, userID, new Integer(holdingID));\n } else if (action.equals(\"portfolio\") || action.equals(\"portfolioNoEdge\")) {\n tsAction.doPortfolio(ctx, req, resp, userID, \"Portfolio as of \" + new java.util.Date());\n } else if (action.equals(\"logout\")) {\n tsAction.doLogout(ctx, req, resp, userID);\n } else if (action.equals(\"home\")) {\n tsAction.doHome(ctx, req, resp, userID, \"Ready to Trade\");\n } else if (action.equals(\"account\")) {\n tsAction.doAccount(ctx, req, resp, userID, \"\");\n } else if (action.equals(\"update_profile\")) {\n String password = req.getParameter(\"password\");\n String cpassword = req.getParameter(\"cpassword\");\n String fullName = req.getParameter(\"fullname\");\n String address = req.getParameter(\"address\");\n String creditcard = req.getParameter(\"creditcard\");\n String email = req.getParameter(\"email\");\n tsAction.doAccountUpdate(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());\n } else if (action.equals(\"mksummary\")) {\n tsAction.doMarketSummary(ctx, req, resp, userID);\n } else {\n System.out.println(\"TradeAppServlet: Invalid Action=\" + action);\n tsAction.doWelcome(ctx, req, resp, \"TradeAppServlet: Invalid Action\" + action);\n }\n}", + "code": "{\n\n String action = null;\n String userID = null;\n // String to create full dispatch path to TradeAppServlet w/ request\n // Parameters\n\n resp.setContentType(\"text/html\");\n\n // Dyna - need status string - prepended to output\n action = req.getParameter(\"action\");\n\n ServletContext ctx = getServletConfig().getServletContext();\n\n if (action == null) {\n tsAction.doWelcome(ctx, req, resp, \"\");\n return;\n } else if (action.equals(\"login\")) {\n userID = req.getParameter(\"uid\");\n String passwd = req.getParameter(\"passwd\");\n tsAction.doLogin(ctx, req, resp, userID, passwd);\n return;\n } else if (action.equals(\"register\")) {\n userID = req.getParameter(\"user id\");\n String passwd = req.getParameter(\"passwd\");\n String cpasswd = req.getParameter(\"confirm passwd\");\n String fullname = req.getParameter(\"Full Name\");\n String ccn = req.getParameter(\"Credit Card Number\");\n String money = req.getParameter(\"money\");\n String email = req.getParameter(\"email\");\n String smail = req.getParameter(\"snail mail\");\n tsAction.doRegister(ctx, req, resp, userID, passwd, cpasswd, fullname, ccn, money, email, smail);\n return;\n }\n\n // The rest of the operations require the user to be logged in -\n // Get the Session and validate the user.\n HttpSession session = req.getSession();\n userID = (String) session.getAttribute(\"uidBean\");\n\n if (userID == null) {\n System.out.println(\"TradeAppServlet service error: User Not Logged in\");\n tsAction.doWelcome(ctx, req, resp, \"User Not Logged in\");\n return;\n }\n \n // try http/2 push if we get here\n // should be logged in and doing real work by this point\n if (!action.equals(\"logout\") && TradeConfig.getWebInterface() == TradeConfig.JSP_Images_HTTP2) {\n pushHeaderImages(req.newPushBuilder());\n }\n \n if (action.equals(\"quotes\")) {\n String symbols = req.getParameter(\"symbols\");\n tsAction.doQuotes(ctx, req, resp, userID, symbols);\n } else if (action.equals(\"buy\")) {\n String symbol = req.getParameter(\"symbol\");\n String quantity = req.getParameter(\"quantity\");\n tsAction.doBuy(ctx, req, resp, userID, symbol, quantity);\n } else if (action.equals(\"sell\")) {\n int holdingID = Integer.parseInt(req.getParameter(\"holdingID\"));\n tsAction.doSell(ctx, req, resp, userID, new Integer(holdingID));\n } else if (action.equals(\"portfolio\") || action.equals(\"portfolioNoEdge\")) {\n tsAction.doPortfolio(ctx, req, resp, userID, \"Portfolio as of \" + new java.util.Date());\n } else if (action.equals(\"logout\")) {\n tsAction.doLogout(ctx, req, resp, userID);\n } else if (action.equals(\"home\")) {\n tsAction.doHome(ctx, req, resp, userID, \"Ready to Trade\");\n } else if (action.equals(\"account\")) {\n tsAction.doAccount(ctx, req, resp, userID, \"\");\n } else if (action.equals(\"update_profile\")) { \n String password = req.getParameter(\"password\");\n String cpassword = req.getParameter(\"cpassword\");\n String fullName = req.getParameter(\"fullname\");\n String address = req.getParameter(\"address\");\n String creditcard = req.getParameter(\"creditcard\");\n String email = req.getParameter(\"email\");\n tsAction.doAccountUpdate(ctx, req, resp, userID, password == null ? \"\" : password.trim(), cpassword == null ? \"\" : cpassword.trim(),\n fullName == null ? \"\" : fullName.trim(), address == null ? \"\" : address.trim(), creditcard == null ? \"\" : creditcard.trim(),\n email == null ? \"\" : email.trim());\n } else if (action.equals(\"mksummary\")) {\n tsAction.doMarketSummary(ctx, req, resp, userID);\n } else {\n System.out.println(\"TradeAppServlet: Invalid Action=\" + action);\n tsAction.doWelcome(ctx, req, resp, \"TradeAppServlet: Invalid Action\" + action);\n }\n }", "start_line": 117, "end_line": 203, + "code_start_line": 117, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -227071,10 +224384,10 @@ "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 23, - "is_entrypoint": false + "is_entrypoint": true }, "pushHeaderImages(PushBuilder)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.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/servlet/TradeAppServlet.java", "signature": "pushHeaderImages(PushBuilder)", "comments": [], "annotations": [], @@ -227095,9 +224408,10 @@ "end_column": 55 } ], - "code": "{\n if (pushBuilder != null) {\n pushBuilder.path(\"images/menuHome.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/account.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/portfolio.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/quotes.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/logout.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/graph.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/line.gif\").addHeader(\"content-type\", \"image/gif\").push();\n Log.trace(\"HTTP/2 is enabled\");\n } else {\n Log.error(\"HTTP/2 not enabled\");\n }\n}", + "code": "{ \n if (pushBuilder != null) {\n pushBuilder.path(\"images/menuHome.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/account.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/portfolio.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/quotes.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/logout.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/graph.gif\").addHeader(\"content-type\", \"image/gif\").push();\n pushBuilder.path(\"images/line.gif\").addHeader(\"content-type\", \"image/gif\").push();\n Log.trace(\"HTTP/2 is enabled\");\n } else {\n Log.error(\"HTTP/2 not enabled\");\n }\n \n }", "start_line": 205, "end_line": 219, + "code_start_line": 205, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -227688,8 +225002,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/ObjectFactory.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/ObjectFactory.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/ObjectFactory.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/jaxrs/ObjectFactory.java", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs", "comments": [ { @@ -227727,7 +225041,7 @@ "nested_type_declarations": [], "callable_declarations": { "createXMLObject()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/ObjectFactory.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/jaxrs/ObjectFactory.java", "signature": "createXMLObject()", "comments": [], "annotations": [], @@ -227737,9 +225051,10 @@ "thrown_exceptions": [], "declaration": "public XMLObject createXMLObject()", "parameters": [], - "code": "{\n XMLObject xo = new XMLObject();\n return xo;\n}", + "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, @@ -227804,8 +225119,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", + "/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": [ { @@ -227962,7 +225277,7 @@ "nested_type_declarations": [], "callable_declarations": { "getNextID(Connection, String, boolean, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "getNextID(Connection, String, boolean, boolean)", "comments": [ { @@ -228058,9 +225373,10 @@ "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 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 Log.trace(\"KeySequenceDirect:getNextID inSession(\" + inSession + \") - return new PK ID for Entity type: \" + keyName + \" ID=\" + nextID);\n return nextID;\n}", + "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, @@ -228338,7 +225654,7 @@ "is_entrypoint": false }, "allocNewBlock(Connection, String, boolean, boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/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", "signature": "allocNewBlock(Connection, String, boolean, boolean)", "comments": [ { @@ -228409,9 +225725,10 @@ "end_column": 118 } ], - "code": "{\n try {\n if (inGlobalTxn == false && !inSession) {\n // commit any pending txns\n conn.commit();\n }\n PreparedStatement stmt = conn.prepareStatement(getKeyForUpdateSQL);\n stmt.setString(1, keyName);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n // No keys found for this name - create a new one\n PreparedStatement stmt2 = conn.prepareStatement(createKeySQL);\n int keyVal = 0;\n stmt2.setString(1, keyName);\n stmt2.setInt(2, keyVal);\n stmt2.executeUpdate();\n stmt2.close();\n stmt.close();\n stmt = conn.prepareStatement(getKeyForUpdateSQL);\n stmt.setString(1, keyName);\n rs = stmt.executeQuery();\n rs.next();\n }\n int keyVal = rs.getInt(\"keyval\");\n stmt.close();\n stmt = conn.prepareStatement(updateKeyValueSQL);\n stmt.setInt(1, keyVal + TradeConfig.KEYBLOCKSIZE);\n stmt.setString(2, keyName);\n stmt.executeUpdate();\n stmt.close();\n Collection block = new KeyBlock(keyVal, keyVal + TradeConfig.KEYBLOCKSIZE - 1);\n keyMap.put(keyName, block);\n if (inGlobalTxn == false && !inSession) {\n conn.commit();\n }\n return block;\n } catch (Exception e) {\n String error = \"KeySequenceDirect:allocNewBlock - failure to allocate new block of keys for Entity type: \" + keyName;\n Log.error(e, error);\n throw new Exception(error + e.toString());\n }\n}", + "code": "{\n try {\n\n if (inGlobalTxn == false && !inSession) {\n conn.commit(); // commit any pending txns\n }\n\n PreparedStatement stmt = conn.prepareStatement(getKeyForUpdateSQL);\n stmt.setString(1, keyName);\n ResultSet rs = stmt.executeQuery();\n\n if (!rs.next()) {\n // No keys found for this name - create a new one\n PreparedStatement stmt2 = conn.prepareStatement(createKeySQL);\n int keyVal = 0;\n stmt2.setString(1, keyName);\n stmt2.setInt(2, keyVal);\n stmt2.executeUpdate();\n stmt2.close();\n stmt.close();\n stmt = conn.prepareStatement(getKeyForUpdateSQL);\n stmt.setString(1, keyName);\n rs = stmt.executeQuery();\n rs.next();\n }\n\n int keyVal = rs.getInt(\"keyval\");\n\n stmt.close();\n\n stmt = conn.prepareStatement(updateKeyValueSQL);\n stmt.setInt(1, keyVal + TradeConfig.KEYBLOCKSIZE);\n stmt.setString(2, keyName);\n stmt.executeUpdate();\n stmt.close();\n\n Collection block = new KeyBlock(keyVal, keyVal + TradeConfig.KEYBLOCKSIZE - 1);\n keyMap.put(keyName, block);\n\n if (inGlobalTxn == false && !inSession) {\n conn.commit();\n }\n\n return block;\n } catch (Exception e) {\n String error = \"KeySequenceDirect:allocNewBlock - failure to allocate new block of keys for Entity type: \" + keyName;\n Log.error(e, error);\n throw new Exception(error + e.toString());\n }\n }", "start_line": 57, "end_line": 106, + "code_start_line": 57, "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, @@ -229292,8 +226609,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -229368,7 +226685,7 @@ "nested_type_declarations": [], "callable_declarations": { "isEmpty()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": "isEmpty()", "comments": [], "annotations": [], @@ -229378,9 +226695,10 @@ "thrown_exceptions": [], "declaration": "public boolean isEmpty()", "parameters": [], - "code": "{\n return list.isEmpty();\n}", + "code": "{\n return list.isEmpty();\n }", "start_line": 68, "end_line": 70, + "code_start_line": 68, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -229418,7 +226736,7 @@ "is_entrypoint": false }, "add(QuoteDataBean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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": [ { @@ -229448,9 +226766,10 @@ "end_column": 44 } ], - "code": "{\n int symbolNumber = new Integer(quoteData.getSymbol().substring(2));\n if (symbolNumber < TradeConfig.getMAX_QUOTES() * TradeConfig.getListQuotePriceChangeFrequency() * 0.01) {\n list.add(0, quoteData);\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}", + "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, @@ -229775,7 +227094,7 @@ "is_entrypoint": false }, "recentList()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "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()", "comments": [], "annotations": [ @@ -229788,9 +227107,10 @@ "thrown_exceptions": [], "declaration": "public List<@NotNull QuoteDataBean> recentList()", "parameters": [], - "code": "{\n return list;\n}", + "code": "{\n return list;\n }", "start_line": 72, "end_line": 76, + "code_start_line": 74, "return_type": "java.util.List", "is_implicit": false, "is_constructor": false, @@ -229903,8 +227223,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -229989,7 +227309,7 @@ "nested_type_declarations": [], "callable_declarations": { "resetTrade(boolean)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java", "signature": "resetTrade(boolean)", "comments": [ { @@ -230022,6 +227342,7 @@ "code": "", "start_line": 29, "end_line": 29, + "code_start_line": -1, "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "is_implicit": false, "is_constructor": false, @@ -230035,7 +227356,7 @@ "is_entrypoint": false }, "checkDBProductName()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java", + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeDB.java", "signature": "checkDBProductName()", "comments": [ { @@ -230057,6 +227378,7 @@ "code": "", "start_line": 36, "end_line": 36, + "code_start_line": -1, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -230079,8 +227401,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIJSFBean.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIJSFBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIJSFBean.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/cdi/PingCDIJSFBean.java", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.cdi", "comments": [ { @@ -230123,7 +227445,7 @@ "nested_type_declarations": [], "callable_declarations": { "getHitCount()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIJSFBean.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/cdi/PingCDIJSFBean.java", "signature": "getHitCount()", "comments": [], "annotations": [], @@ -230133,9 +227455,10 @@ "thrown_exceptions": [], "declaration": "public int getHitCount()", "parameters": [], - "code": "{\n return ++hitCount;\n}", + "code": "{\n return ++hitCount;\n }", "start_line": 30, "end_line": 32, + "code_start_line": 30, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -230205,8 +227528,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.util", "comments": [ { @@ -230428,7 +227751,7 @@ "nested_type_declarations": [], "callable_declarations": { "hasNext()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "hasNext()", "comments": [ { @@ -230449,9 +227772,10 @@ "thrown_exceptions": [], "declaration": "public boolean hasNext()", "parameters": [], - "code": "{\n return index <= max;\n}", + "code": "{\n return index <= max;\n }", "start_line": 69, "end_line": 72, + "code_start_line": 70, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -230465,7 +227789,7 @@ "is_entrypoint": false }, "nextIndex()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": [ { @@ -230486,9 +227810,10 @@ "thrown_exceptions": [], "declaration": "public int nextIndex()", "parameters": [], - "code": "{\n return index - min;\n}", + "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, @@ -230502,7 +227827,7 @@ "is_entrypoint": false }, "set(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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)", "comments": [ { @@ -230534,9 +227859,10 @@ "end_column": 35 } ], - "code": "{\n}", + "code": "{\n }", "start_line": 136, "end_line": 138, + "code_start_line": 137, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -230550,7 +227876,7 @@ "is_entrypoint": false }, "next()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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()", "comments": [ { @@ -230572,9 +227898,10 @@ "thrown_exceptions": [], "declaration": "public synchronized Object next()", "parameters": [], - "code": "{\n if (index > max) {\n throw new java.lang.RuntimeException(\"KeyBlock:next() -- Error KeyBlock depleted\");\n }\n return new Integer(index++);\n}", + "code": "{\n if (index > max) {\n throw new java.lang.RuntimeException(\"KeyBlock:next() -- Error KeyBlock depleted\");\n }\n return new Integer(index++);\n }", "start_line": 77, "end_line": 83, + "code_start_line": 78, "return_type": "java.lang.Object", "is_implicit": false, "is_constructor": false, @@ -230635,7 +227962,7 @@ "is_entrypoint": false }, "previous()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "previous()", "comments": [ { @@ -230656,9 +227983,10 @@ "thrown_exceptions": [], "declaration": "public Object previous()", "parameters": [], - "code": "{\n return new Integer(--index);\n}", + "code": "{\n return new Integer(--index);\n }", "start_line": 96, "end_line": 99, + "code_start_line": 97, "return_type": "java.lang.Object", "is_implicit": false, "is_constructor": false, @@ -230696,7 +228024,7 @@ "is_entrypoint": false }, "previousIndex()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "previousIndex()", "comments": [ { @@ -230717,9 +228045,10 @@ "thrown_exceptions": [], "declaration": "public int previousIndex()", "parameters": [], - "code": "{\n throw new UnsupportedOperationException(\"KeyBlock: previousIndex() not supported\");\n}", + "code": "{\n throw new UnsupportedOperationException(\"KeyBlock: previousIndex() not supported\");\n }", "start_line": 112, "end_line": 115, + "code_start_line": 113, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -230757,7 +228086,7 @@ "is_entrypoint": false }, "hasPrevious()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "hasPrevious()", "comments": [ { @@ -230778,9 +228107,10 @@ "thrown_exceptions": [], "declaration": "public boolean hasPrevious()", "parameters": [], - "code": "{\n return index > min;\n}", + "code": "{\n return index > min;\n }", "start_line": 88, "end_line": 91, + "code_start_line": 89, "return_type": "boolean", "is_implicit": false, "is_constructor": false, @@ -230794,7 +228124,7 @@ "is_entrypoint": false }, "remove()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "remove()", "comments": [ { @@ -230815,9 +228145,10 @@ "thrown_exceptions": [], "declaration": "public void remove()", "parameters": [], - "code": "{\n throw new UnsupportedOperationException(\"KeyBlock: remove() not supported\");\n}", + "code": "{\n throw new UnsupportedOperationException(\"KeyBlock: remove() not supported\");\n }", "start_line": 128, "end_line": 131, + "code_start_line": 129, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -230855,7 +228186,7 @@ "is_entrypoint": false }, "add(Object)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": [ { @@ -230887,9 +228218,10 @@ "end_column": 32 } ], - "code": "{\n throw new UnsupportedOperationException(\"KeyBlock: add() not supported\");\n}", + "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, @@ -231070,7 +228402,7 @@ ], "callable_declarations": { "(int, int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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)", "comments": [ { @@ -231110,9 +228442,10 @@ "end_column": 36 } ], - "code": "{\n super();\n this.min = min;\n this.max = max;\n index = min;\n}", + "code": "{\n super();\n this.min = min;\n this.max = max;\n index = min;\n }", "start_line": 41, "end_line": 46, + "code_start_line": 41, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -231130,7 +228463,7 @@ "is_entrypoint": false }, "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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()", "comments": [ { @@ -231149,9 +228482,10 @@ "thrown_exceptions": [], "declaration": "public KeyBlock()", "parameters": [], - "code": "{\n super();\n min = 0;\n max = 0;\n index = min;\n}", + "code": "{\n super();\n min = 0;\n max = 0;\n index = min;\n }", "start_line": 31, "end_line": 36, + "code_start_line": 31, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -231169,7 +228503,7 @@ "is_entrypoint": false }, "listIterator(int)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "listIterator(int)", "comments": [ { @@ -231201,9 +228535,10 @@ "end_column": 53 } ], - "code": "{\n return new KeyBlockIterator();\n}", + "code": "{\n return new KeyBlockIterator();\n }", "start_line": 59, "end_line": 62, + "code_start_line": 60, "return_type": "java.util.ListIterator", "is_implicit": false, "is_constructor": false, @@ -231239,7 +228574,7 @@ "is_entrypoint": false }, "size()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "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": "size()", "comments": [ { @@ -231260,9 +228595,10 @@ "thrown_exceptions": [], "declaration": "public int size()", "parameters": [], - "code": "{\n return (max - min) + 1;\n}", + "code": "{\n return (max - min) + 1;\n }", "start_line": 51, "end_line": 54, + "code_start_line": 52, "return_type": "int", "is_implicit": false, "is_constructor": false, @@ -231352,8 +228688,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/RuntimeMode.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/RuntimeMode.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/RuntimeMode.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/RuntimeMode.java", "package_name": "com.ibm.websphere.samples.daytrader.interfaces", "comments": [ { @@ -231416,70 +228752,62 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java": { + "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", "package_name": "com.ibm.websphere.samples.daytrader.mdb", "comments": [ { - "content": " For Glassfish/Payara - take jms/ off of the destination name", + "content": " For Glassfish - take jms/ off of the destination name", "start_line": 42, "end_line": 42, "start_column": 1, - "end_column": 63, - "is_javadoc": false - }, - { - "content": "@ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"TradeBrokerQueue\"),", - "start_line": 49, - "end_line": 49, - "start_column": 5, - "end_column": 98, + "end_column": 56, "is_javadoc": false }, { "content": " Order has been cancelled -- ignore returned messages", - "start_line": 86, - "end_line": 86, + "start_line": 85, + "end_line": 85, "start_column": 9, "end_column": 63, "is_javadoc": false }, { "content": " Get the Order ID and complete the Order ", - "start_line": 95, - "end_line": 95, + "start_line": 94, + "end_line": 94, "start_column": 9, "end_column": 53, "is_javadoc": false }, { "content": "TODO: why direct?", - "start_line": 103, - "end_line": 103, + "start_line": 102, + "end_line": 102, "start_column": 11, "end_column": 29, "is_javadoc": false }, { "content": "trade = getTrade(direct);", - "start_line": 104, - "end_line": 104, + "start_line": 103, + "end_line": 103, "start_column": 11, "end_column": 37, "is_javadoc": false }, { "content": "\n * UPDATE - order is cancelled in trade if an error is\n * caught try { trade.cancelOrder(orderID, twoPhase); }\n * catch (Exception e2) { Log.error(\"order cancel failed\",\n * e); }\n ", - "start_line": 123, - "end_line": 128, + "start_line": 122, + "end_line": 127, "start_column": 11, "end_column": 13, "is_javadoc": false }, { "content": " JMS onMessage should handle all exceptions", - "start_line": 151, - "end_line": 151, + "start_line": 150, + "end_line": 150, "start_column": 7, "end_column": 51, "is_javadoc": false @@ -231529,58 +228857,50 @@ "is_local_class": false, "extends_list": [], "comments": [ - { - "content": "@ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"TradeBrokerQueue\"),", - "start_line": 49, - "end_line": 49, - "start_column": 5, - "end_column": 98, - "is_javadoc": false - }, { "content": " Order has been cancelled -- ignore returned messages", - "start_line": 86, - "end_line": 86, + "start_line": 85, + "end_line": 85, "start_column": 9, "end_column": 63, "is_javadoc": false }, { "content": " Get the Order ID and complete the Order ", - "start_line": 95, - "end_line": 95, + "start_line": 94, + "end_line": 94, "start_column": 9, "end_column": 53, "is_javadoc": false }, { "content": "TODO: why direct?", - "start_line": 103, - "end_line": 103, + "start_line": 102, + "end_line": 102, "start_column": 11, "end_column": 29, "is_javadoc": false }, { "content": "trade = getTrade(direct);", - "start_line": 104, - "end_line": 104, + "start_line": 103, + "end_line": 103, "start_column": 11, "end_column": 37, "is_javadoc": false }, { "content": "\n * UPDATE - order is cancelled in trade if an error is\n * caught try { trade.cancelOrder(orderID, twoPhase); }\n * catch (Exception e2) { Log.error(\"order cancel failed\",\n * e); }\n ", - "start_line": 123, - "end_line": 128, + "start_line": 122, + "end_line": 127, "start_column": 11, "end_column": 13, "is_javadoc": false }, { "content": " JMS onMessage should handle all exceptions", - "start_line": 151, - "end_line": 151, + "start_line": 150, + "end_line": 150, "start_column": 7, "end_column": 51, "is_javadoc": false @@ -231595,14 +228915,14 @@ "annotations": [ "@TransactionAttribute(TransactionAttributeType.REQUIRED)", "@TransactionManagement(TransactionManagementType.CONTAINER)", - "@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = \"acknowledgeMode\", propertyValue = \"Auto-acknowledge\"), @ActivationConfigProperty(propertyName = \"destinationType\", propertyValue = \"javax.jms.Queue\"), @ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"jms/TradeBrokerQueue\"), //@ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"TradeBrokerQueue\"),\n@ActivationConfigProperty(propertyName = \"subscriptionDurability\", propertyValue = \"NonDurable\") })", + "@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = \"acknowledgeMode\", propertyValue = \"Auto-acknowledge\"), @ActivationConfigProperty(propertyName = \"destinationType\", propertyValue = \"javax.jms.Queue\"), @ActivationConfigProperty(propertyName = \"destination\", propertyValue = \"jms/TradeBrokerQueue\"), @ActivationConfigProperty(propertyName = \"subscriptionDurability\", propertyValue = \"NonDurable\") })", "@Trace" ], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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": [], @@ -231612,9 +228932,10 @@ "thrown_exceptions": [], "declaration": "public DTBroker3MDB()", "parameters": [], - "code": "{\n if (statInterval <= 0) {\n statInterval = 10000;\n }\n mdbStats = MDBStats.getInstance();\n}", - "start_line": 64, - "end_line": 70, + "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, @@ -231640,9 +228961,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 69, + "start_line": 68, "start_column": 16, - "end_line": 69, + "end_line": 68, "end_column": 37 } ], @@ -231653,7 +228974,7 @@ "is_entrypoint": false }, "boostrapTradeServices()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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": [ @@ -231663,9 +228984,10 @@ "thrown_exceptions": [], "declaration": "void boostrapTradeServices()", "parameters": [], - "code": "{\n trade = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n}", - "start_line": 72, - "end_line": 75, + "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, @@ -231691,9 +229013,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, + "start_line": 73, "start_column": 13, - "end_line": 74, + "end_line": 73, "end_column": 127 }, { @@ -231714,9 +229036,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, + "start_line": 73, "start_column": 13, - "end_line": 74, + "end_line": 73, "end_column": 121 }, { @@ -231735,9 +229057,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, + "start_line": 73, "start_column": 57, - "end_line": 74, + "end_line": 73, "end_column": 89 }, { @@ -231756,9 +229078,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, + "start_line": 73, "start_column": 91, - "end_line": 74, + "end_line": 73, "end_column": 118 }, { @@ -231779,9 +229101,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 74, + "start_line": 73, "start_column": 29, - "end_line": 74, + "end_line": 73, "end_column": 120 } ], @@ -231792,53 +229114,53 @@ "is_entrypoint": true }, "onMessage(Message)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "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)", "comments": [ { "content": " Order has been cancelled -- ignore returned messages", - "start_line": 86, - "end_line": 86, + "start_line": 85, + "end_line": 85, "start_column": 9, "end_column": 63, "is_javadoc": false }, { "content": " Get the Order ID and complete the Order ", - "start_line": 95, - "end_line": 95, + "start_line": 94, + "end_line": 94, "start_column": 9, "end_column": 53, "is_javadoc": false }, { "content": "TODO: why direct?", - "start_line": 103, - "end_line": 103, + "start_line": 102, + "end_line": 102, "start_column": 11, "end_column": 29, "is_javadoc": false }, { "content": "trade = getTrade(direct);", - "start_line": 104, - "end_line": 104, + "start_line": 103, + "end_line": 103, "start_column": 11, "end_column": 37, "is_javadoc": false }, { "content": "\n * UPDATE - order is cancelled in trade if an error is\n * caught try { trade.cancelOrder(orderID, twoPhase); }\n * catch (Exception e2) { Log.error(\"order cancel failed\",\n * e); }\n ", - "start_line": 123, - "end_line": 128, + "start_line": 122, + "end_line": 127, "start_column": 11, "end_column": 13, "is_javadoc": false }, { "content": " JMS onMessage should handle all exceptions", - "start_line": 151, - "end_line": 151, + "start_line": 150, + "end_line": 150, "start_column": 7, "end_column": 51, "is_javadoc": false @@ -231858,15 +229180,16 @@ "name": "message", "annotations": [], "modifiers": [], - "start_line": 78, - "end_line": 78, + "start_line": 77, + "end_line": 77, "start_column": 25, "end_column": 39 } ], - "code": "{\n try {\n Log.trace(\"TradeBroker:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"command-->\" + message.getStringProperty(\"command\") + \"<--\");\n if (message.getJMSRedelivered()) {\n Log.log(\"DTBroker3MDB: The following JMS message was redelivered due to a rollback:\\n\" + ((TextMessage) message).getText());\n // Order has been cancelled -- ignore returned messages\n return;\n }\n String command = message.getStringProperty(\"command\");\n if (command == null) {\n Log.debug(\"DTBroker3MDB:onMessage -- received message with null command. Message-->\" + message);\n return;\n }\n if (command.equalsIgnoreCase(\"neworder\")) {\n /* Get the Order ID and complete the Order */\n Integer orderID = new Integer(message.getIntProperty(\"orderID\"));\n boolean twoPhase = message.getBooleanProperty(\"twoPhase\");\n boolean direct = message.getBooleanProperty(\"direct\");\n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n try {\n //TODO: why direct?\n //trade = getTrade(direct);\n Log.trace(\"DTBroker3MDB:onMessage - completing order \" + orderID + \" twoPhase=\" + twoPhase + \" direct=\" + direct);\n trade.completeOrder(orderID, twoPhase);\n TimerStat currentStats = mdbStats.addTiming(\"DTBroker3MDB:neworder\", publishTime, receiveTime);\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTBroker3MDB: processed \" + statInterval + \" stock trading orders.\" + \" Total NewOrders process = \" + currentStats.getCount() + \"Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs());\n }\n } catch (Exception e) {\n Log.error(\"DTBroker3MDB:onMessage Exception completing order: \" + orderID + \"\\n\", e);\n mdc.setRollbackOnly();\n /*\n * UPDATE - order is cancelled in trade if an error is\n * caught try { trade.cancelOrder(orderID, twoPhase); }\n * catch (Exception e2) { Log.error(\"order cancel failed\",\n * e); }\n */\n }\n } else if (command.equalsIgnoreCase(\"ping\")) {\n Log.trace(\"DTBroker3MDB:onMessage received test command -- message: \" + ((TextMessage) message).getText());\n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n TimerStat currentStats = mdbStats.addTiming(\"DTBroker3MDB:ping\", publishTime, receiveTime);\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTBroker3MDB: received \" + statInterval + \" ping messages.\" + \" Total ping message count = \" + currentStats.getCount() + \" Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs());\n }\n } else {\n Log.error(\"DTBroker3MDB:onMessage - unknown message request command-->\" + command + \"<-- message=\" + ((TextMessage) message).getText());\n }\n } catch (Throwable t) {\n // JMS onMessage should handle all exceptions\n Log.error(\"DTBroker3MDB: Error rolling back transaction\", t);\n mdc.setRollbackOnly();\n }\n}", - "start_line": 77, - "end_line": 155, + "code": "{\n try {\n\n Log.trace(\"TradeBroker:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"command-->\"\n + message.getStringProperty(\"command\") + \"<--\");\n\n if (message.getJMSRedelivered()) {\n Log.log(\"DTBroker3MDB: The following JMS message was redelivered due to a rollback:\\n\" + ((TextMessage) message).getText());\n // Order has been cancelled -- ignore returned messages\n return;\n }\n String command = message.getStringProperty(\"command\");\n if (command == null) {\n Log.debug(\"DTBroker3MDB:onMessage -- received message with null command. Message-->\" + message);\n return;\n }\n if (command.equalsIgnoreCase(\"neworder\")) {\n /* Get the Order ID and complete the Order */\n Integer orderID = new Integer(message.getIntProperty(\"orderID\"));\n boolean twoPhase = message.getBooleanProperty(\"twoPhase\");\n boolean direct = message.getBooleanProperty(\"direct\");\n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n\n try {\n //TODO: why direct?\n //trade = getTrade(direct);\n\n Log.trace(\"DTBroker3MDB:onMessage - completing order \" + orderID + \" twoPhase=\" + twoPhase + \" direct=\" + direct);\n\n trade.completeOrder(orderID, twoPhase);\n\n TimerStat currentStats = mdbStats.addTiming(\"DTBroker3MDB:neworder\", publishTime, receiveTime);\n\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTBroker3MDB: processed \" + statInterval + \" stock trading orders.\" +\n \" Total NewOrders process = \" + currentStats.getCount() +\n \"Time (in seconds):\" +\n \" min: \" +currentStats.getMinSecs()+\n \" max: \" +currentStats.getMaxSecs()+\n \" avg: \" +currentStats.getAvgSecs());\n }\n } catch (Exception e) {\n Log.error(\"DTBroker3MDB:onMessage Exception completing order: \" + orderID + \"\\n\", e);\n mdc.setRollbackOnly();\n /*\n * UPDATE - order is cancelled in trade if an error is\n * caught try { trade.cancelOrder(orderID, twoPhase); }\n * catch (Exception e2) { Log.error(\"order cancel failed\",\n * e); }\n */\n }\n } else if (command.equalsIgnoreCase(\"ping\")) {\n\n Log.trace(\"DTBroker3MDB:onMessage received test command -- message: \" + ((TextMessage) message).getText());\n\n long publishTime = message.getLongProperty(\"publishTime\");\n long receiveTime = System.currentTimeMillis();\n\n TimerStat currentStats = mdbStats.addTiming(\"DTBroker3MDB:ping\", publishTime, receiveTime);\n\n if ((currentStats.getCount() % statInterval) == 0) {\n Log.log(\" DTBroker3MDB: received \" + statInterval + \" ping messages.\" +\n \" Total ping message count = \" + currentStats.getCount() +\n \" Time (in seconds):\" +\n \" min: \" +currentStats.getMinSecs()+\n \" max: \" +currentStats.getMaxSecs()+\n \" avg: \" +currentStats.getAvgSecs());\n }\n } else {\n Log.error(\"DTBroker3MDB:onMessage - unknown message request command-->\" + command + \"<-- message=\" + ((TextMessage) message).getText());\n }\n } catch (Throwable t) {\n // JMS onMessage should handle all exceptions\n Log.error(\"DTBroker3MDB: Error rolling back transaction\", t);\n mdc.setRollbackOnly();\n }\n }", + "start_line": 76, + "end_line": 154, + "code_start_line": 77, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -231900,9 +229223,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 81, + "start_line": 80, "start_column": 7, - "end_line": 82, + "end_line": 81, "end_column": 57 }, { @@ -231921,9 +229244,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 81, + "start_line": 80, "start_column": 67, - "end_line": 81, + "end_line": 80, "end_column": 99 }, { @@ -231944,9 +229267,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 82, + "start_line": 81, "start_column": 13, - "end_line": 82, + "end_line": 81, "end_column": 48 }, { @@ -231965,9 +229288,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 84, + "start_line": 83, "start_column": 11, - "end_line": 84, + "end_line": 83, "end_column": 37 }, { @@ -231988,9 +229311,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 85, + "start_line": 84, "start_column": 9, - "end_line": 85, + "end_line": 84, "end_column": 131 }, { @@ -232009,9 +229332,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 85, + "start_line": 84, "start_column": 98, - "end_line": 85, + "end_line": 84, "end_column": 130 }, { @@ -232032,9 +229355,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 89, + "start_line": 88, "start_column": 24, - "end_line": 89, + "end_line": 88, "end_column": 59 }, { @@ -232055,9 +229378,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, + "start_line": 90, "start_column": 9, - "end_line": 91, + "end_line": 90, "end_column": 103 }, { @@ -232078,9 +229401,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, + "start_line": 93, "start_column": 11, - "end_line": 94, + "end_line": 93, "end_column": 46 }, { @@ -232101,9 +229424,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, + "start_line": 95, "start_column": 39, - "end_line": 96, + "end_line": 95, "end_column": 71 }, { @@ -232124,9 +229447,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 97, + "start_line": 96, "start_column": 28, - "end_line": 97, + "end_line": 96, "end_column": 65 }, { @@ -232147,9 +229470,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 98, + "start_line": 97, "start_column": 26, - "end_line": 98, + "end_line": 97, "end_column": 61 }, { @@ -232170,9 +229493,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 99, + "start_line": 98, "start_column": 28, - "end_line": 99, + "end_line": 98, "end_column": 65 }, { @@ -232191,9 +229514,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, + "start_line": 99, "start_column": 28, - "end_line": 100, + "end_line": 99, "end_column": 53 }, { @@ -232214,9 +229537,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, + "start_line": 105, "start_column": 11, - "end_line": 106, + "end_line": 105, "end_column": 123 }, { @@ -232238,9 +229561,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, + "start_line": 107, "start_column": 11, - "end_line": 108, + "end_line": 107, "end_column": 48 }, { @@ -232263,9 +229586,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 110, + "start_line": 109, "start_column": 36, - "end_line": 110, + "end_line": 109, "end_column": 104 }, { @@ -232284,9 +229607,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 112, + "start_line": 111, "start_column": 16, - "end_line": 112, + "end_line": 111, "end_column": 38 }, { @@ -232307,9 +229630,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 113, + "start_line": 112, "start_column": 13, - "end_line": 118, + "end_line": 117, "end_column": 52 }, { @@ -232328,9 +229651,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 114, + "start_line": 113, "start_column": 49, - "end_line": 114, + "end_line": 113, "end_column": 71 }, { @@ -232349,9 +229672,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 116, + "start_line": 115, "start_column": 27, - "end_line": 116, + "end_line": 115, "end_column": 51 }, { @@ -232370,9 +229693,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 117, + "start_line": 116, "start_column": 27, - "end_line": 117, + "end_line": 116, "end_column": 51 }, { @@ -232391,9 +229714,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 118, + "start_line": 117, "start_column": 27, - "end_line": 118, + "end_line": 117, "end_column": 51 }, { @@ -232415,9 +229738,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, + "start_line": 120, "start_column": 11, - "end_line": 121, + "end_line": 120, "end_column": 94 }, { @@ -232436,9 +229759,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 122, + "start_line": 121, "start_column": 11, - "end_line": 122, + "end_line": 121, "end_column": 31 }, { @@ -232459,9 +229782,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, + "start_line": 129, "start_column": 18, - "end_line": 130, + "end_line": 129, "end_column": 49 }, { @@ -232482,9 +229805,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, + "start_line": 131, "start_column": 9, - "end_line": 132, + "end_line": 131, "end_column": 115 }, { @@ -232503,9 +229826,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, + "start_line": 131, "start_column": 82, - "end_line": 132, + "end_line": 131, "end_column": 114 }, { @@ -232526,9 +229849,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 134, + "start_line": 133, "start_column": 28, - "end_line": 134, + "end_line": 133, "end_column": 65 }, { @@ -232547,9 +229870,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, + "start_line": 134, "start_column": 28, - "end_line": 135, + "end_line": 134, "end_column": 53 }, { @@ -232572,9 +229895,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 137, + "start_line": 136, "start_column": 34, - "end_line": 137, + "end_line": 136, "end_column": 98 }, { @@ -232593,9 +229916,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 139, + "start_line": 138, "start_column": 14, - "end_line": 139, + "end_line": 138, "end_column": 36 }, { @@ -232616,9 +229939,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, + "start_line": 139, "start_column": 11, - "end_line": 145, + "end_line": 144, "end_column": 50 }, { @@ -232637,9 +229960,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 141, + "start_line": 140, "start_column": 48, - "end_line": 141, + "end_line": 140, "end_column": 70 }, { @@ -232658,9 +229981,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 143, + "start_line": 142, "start_column": 25, - "end_line": 143, + "end_line": 142, "end_column": 49 }, { @@ -232679,9 +230002,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 144, + "start_line": 143, "start_column": 25, - "end_line": 144, + "end_line": 143, "end_column": 49 }, { @@ -232700,9 +230023,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 145, + "start_line": 144, "start_column": 25, - "end_line": 145, + "end_line": 144, "end_column": 49 }, { @@ -232723,9 +230046,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 148, + "start_line": 147, "start_column": 9, - "end_line": 148, + "end_line": 147, "end_column": 143 }, { @@ -232744,17 +230067,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 148, + "start_line": 147, "start_column": 110, - "end_line": 148, + "end_line": 147, "end_column": 142 }, { "method_name": "error", "comment": { "content": " JMS onMessage should handle all exceptions", - "start_line": 151, - "end_line": 151, + "start_line": 150, + "end_line": 150, "start_column": 7, "end_column": 51, "is_javadoc": false @@ -232775,9 +230098,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 152, + "start_line": 151, "start_column": 7, - "end_line": 152, + "end_line": 151, "end_column": 66 }, { @@ -232796,9 +230119,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 153, + "start_line": 152, "start_column": 7, - "end_line": 153, + "end_line": 152, "end_column": 27 }, { @@ -232819,9 +230142,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 96, + "start_line": 95, "start_column": 27, - "end_line": 96, + "end_line": 95, "end_column": 72 } ], @@ -232838,9 +230161,9 @@ "name": "command", "type": "java.lang.String", "initializer": "message.getStringProperty(\"command\")", - "start_line": 89, + "start_line": 88, "start_column": 14, - "end_line": 89, + "end_line": 88, "end_column": 59 }, { @@ -232855,9 +230178,9 @@ "name": "orderID", "type": "java.lang.Integer", "initializer": "new Integer(message.getIntProperty(\"orderID\"))", - "start_line": 96, + "start_line": 95, "start_column": 17, - "end_line": 96, + "end_line": 95, "end_column": 72 }, { @@ -232872,9 +230195,9 @@ "name": "twoPhase", "type": "boolean", "initializer": "message.getBooleanProperty(\"twoPhase\")", - "start_line": 97, + "start_line": 96, "start_column": 17, - "end_line": 97, + "end_line": 96, "end_column": 65 }, { @@ -232889,9 +230212,9 @@ "name": "direct", "type": "boolean", "initializer": "message.getBooleanProperty(\"direct\")", - "start_line": 98, + "start_line": 97, "start_column": 17, - "end_line": 98, + "end_line": 97, "end_column": 61 }, { @@ -232906,9 +230229,9 @@ "name": "publishTime", "type": "long", "initializer": "message.getLongProperty(\"publishTime\")", - "start_line": 99, + "start_line": 98, "start_column": 14, - "end_line": 99, + "end_line": 98, "end_column": 65 }, { @@ -232923,9 +230246,9 @@ "name": "receiveTime", "type": "long", "initializer": "System.currentTimeMillis()", - "start_line": 100, + "start_line": 99, "start_column": 14, - "end_line": 100, + "end_line": 99, "end_column": 53 }, { @@ -232940,9 +230263,9 @@ "name": "currentStats", "type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "initializer": "mdbStats.addTiming(\"DTBroker3MDB:neworder\", publishTime, receiveTime)", - "start_line": 110, + "start_line": 109, "start_column": 21, - "end_line": 110, + "end_line": 109, "end_column": 104 }, { @@ -232957,9 +230280,9 @@ "name": "publishTime", "type": "long", "initializer": "message.getLongProperty(\"publishTime\")", - "start_line": 134, + "start_line": 133, "start_column": 14, - "end_line": 134, + "end_line": 133, "end_column": 65 }, { @@ -232974,9 +230297,9 @@ "name": "receiveTime", "type": "long", "initializer": "System.currentTimeMillis()", - "start_line": 135, + "start_line": 134, "start_column": 14, - "end_line": 135, + "end_line": 134, "end_column": 53 }, { @@ -232991,9 +230314,9 @@ "name": "currentStats", "type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "initializer": "mdbStats.addTiming(\"DTBroker3MDB:ping\", publishTime, receiveTime)", - "start_line": 137, + "start_line": 136, "start_column": 19, - "end_line": 137, + "end_line": 136, "end_column": 98 } ], @@ -233015,8 +230338,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "start_line": 53, - "end_line": 53, + "start_line": 52, + "end_line": 52, "variables": [ "mdbStats" ], @@ -233037,8 +230360,8 @@ }, "name": null, "type": "int", - "start_line": 54, - "end_line": 54, + "start_line": 53, + "end_line": 53, "variables": [ "statInterval" ], @@ -233058,8 +230381,8 @@ }, "name": null, "type": "javax.ejb.MessageDrivenContext", - "start_line": 56, - "end_line": 57, + "start_line": 55, + "end_line": 56, "variables": [ "mdc" ], @@ -233081,8 +230404,8 @@ }, "name": null, "type": "javax.enterprise.inject.Instance", - "start_line": 59, - "end_line": 60, + "start_line": 58, + "end_line": 59, "variables": [ "services" ], @@ -233103,8 +230426,8 @@ }, "name": null, "type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "start_line": 62, - "end_line": 62, + "start_line": 61, + "end_line": 61, "variables": [ "trade" ], @@ -233122,8 +230445,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.ejb3", "comments": [ { @@ -233274,7 +230597,7 @@ "nested_type_declarations": [], "callable_declarations": { "init(ServletConfig)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "signature": "init(ServletConfig)", "comments": [], "annotations": [ @@ -233299,9 +230622,10 @@ "end_column": 41 } ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n}", + "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, @@ -233384,7 +230708,7 @@ "is_entrypoint": false }, "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "signature": "doPost(HttpServletRequest, HttpServletResponse)", "comments": [], "annotations": [ @@ -233420,9 +230744,10 @@ "end_column": 70 } ], - "code": "{\n doGet(req, res);\n}", + "code": "{\n doGet(req, res);\n }", "start_line": 61, "end_line": 64, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -233461,7 +230786,7 @@ "is_entrypoint": true }, "getServletInfo()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "signature": "getServletInfo()", "comments": [], "annotations": [ @@ -233473,9 +230798,10 @@ "thrown_exceptions": [], "declaration": "public String getServletInfo()", "parameters": [], - "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n}", + "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, @@ -233489,7 +230815,7 @@ "is_entrypoint": false }, "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.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/ejb3/PingServlet2MDBQueue.java", "signature": "doGet(HttpServletRequest, HttpServletResponse)", "comments": [ { @@ -233558,9 +230884,10 @@ "end_column": 69 } ], - "code": "{\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n // use a stringbuffer to avoid concatenation of Strings\n StringBuffer output = new StringBuffer(100);\n output.append(\"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.\");\n try {\n Connection conn = queueConnectionFactory.createConnection();\n try {\n TextMessage message = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n /*Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);\n try {\n MessageProducer producer = sess.createProducer(tradeBrokerQueue);\n\n message = sess.createTextMessage();\n\n String command = \"ping\";\n message.setStringProperty(\"command\", command);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for queue java:comp/env/jms/TradeBrokerQueue sent from PingServlet2MDBQueue at \" + new java.util.Date());\n producer.send(message);\n } finally {\n sess.close();\n }*/\n JMSContext context = queueConnectionFactory.createContext();\n message = context.createTextMessage();\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 PingServlet2MDBQueue at \" + new java.util.Date());\n context.createProducer().send(tradeBrokerQueue, message);\n }\n // write out the output\n output.append(\"
    initTime: \").append(initTime);\n output.append(\"
    Hit Count: \").append(hitCount++);\n output.append(\"
    Posted Text message to java:comp/env/jms/TradeBrokerQueue destination\");\n output.append(\"
    Message: \").append(message);\n output.append(\"

    Message text: \").append(message.getText());\n output.append(\"

    \");\n out.println(output.toString());\n } catch (Exception e) {\n Log.error(\"PingServlet2MDBQueue.doGet(...):exception posting message to TradeBrokerQueue destination \");\n throw e;\n } finally {\n conn.close();\n }\n }// this is where I actually handle the exceptions\n catch (Exception e) {\n Log.error(e, \"PingServlet2MDBQueue.doGet(...): error\");\n res.sendError(500, \"PingServlet2MDBQueue.doGet(...): error, \" + e.toString());\n }\n}", + "code": "{\n\n res.setContentType(\"text/html\");\n java.io.PrintWriter out = res.getWriter();\n // use a stringbuffer to avoid concatenation of Strings\n StringBuffer output = new StringBuffer(100);\n output.append(\"PingServlet2MDBQueue\"\n + \"
    PingServlet2MDBQueue
    \" + \"\"\n + \"Tests the basic operation of a servlet posting a message to an EJB MDB through a JMS Queue.
    \"\n + \"Note: Not intended for performance testing.\");\n\n try {\n Connection conn = queueConnectionFactory.createConnection();\n\n try {\n TextMessage message = null;\n int iter = TradeConfig.getPrimIterations();\n for (int ii = 0; ii < iter; ii++) {\n /*Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);\n try {\n MessageProducer producer = sess.createProducer(tradeBrokerQueue);\n\n message = sess.createTextMessage();\n\n String command = \"ping\";\n message.setStringProperty(\"command\", command);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for queue java:comp/env/jms/TradeBrokerQueue sent from PingServlet2MDBQueue at \" + new java.util.Date());\n producer.send(message);\n } finally {\n sess.close();\n }*/\n \t\n \tJMSContext context = queueConnectionFactory.createContext();\n \t\t\n \t\tmessage = context.createTextMessage();\n\n \t\tmessage.setStringProperty(\"command\", \"ping\");\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for queue java:comp/env/jms/TradeBrokerQueue sent from PingServlet2MDBQueue at \" + new java.util.Date());\n \t\t\n \t\tcontext.createProducer().send(tradeBrokerQueue, message);\n }\n\n // write out the output\n output.append(\"
    initTime: \").append(initTime);\n output.append(\"
    Hit Count: \").append(hitCount++);\n output.append(\"
    Posted Text message to java:comp/env/jms/TradeBrokerQueue destination\");\n output.append(\"
    Message: \").append(message);\n output.append(\"

    Message text: \").append(message.getText());\n output.append(\"

    \");\n out.println(output.toString());\n\n } catch (Exception e) {\n Log.error(\"PingServlet2MDBQueue.doGet(...):exception posting message to TradeBrokerQueue destination \");\n throw e;\n } finally {\n conn.close();\n }\n } // this is where I actually handle the exceptions\n catch (Exception e) {\n Log.error(e, \"PingServlet2MDBQueue.doGet(...): error\");\n res.sendError(500, \"PingServlet2MDBQueue.doGet(...): error, \" + e.toString());\n\n }\n }", "start_line": 66, "end_line": 132, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -234576,8 +231903,8 @@ }, "is_modified": false }, - "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "/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": { + "file_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", "package_name": "com.ibm.websphere.samples.daytrader.web.prims.beanval", "comments": [ { @@ -234658,7 +231985,7 @@ "nested_type_declarations": [], "callable_declarations": { "()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "signature": "SimpleBean1()", "comments": [], "annotations": [], @@ -234670,9 +231997,10 @@ ], "declaration": "public SimpleBean1() throws Exception", "parameters": [], - "code": "{\n if (validatorFactory == null) {\n Context nContext = new InitialContext();\n validatorFactory = (ValidatorFactory) nContext.lookup(\"java:comp/ValidatorFactory\");\n }\n validator = validatorFactory.getValidator();\n}", + "code": "{\n if (validatorFactory == null) {\n Context nContext = new InitialContext();\n validatorFactory = (ValidatorFactory) nContext.lookup(\"java:comp/ValidatorFactory\");\n\n }\n validator = validatorFactory.getValidator();\n }", "start_line": 61, "end_line": 68, + "code_start_line": 61, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -234775,7 +232103,7 @@ "is_entrypoint": false }, "formatConstraintViolations(Set)": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "signature": "formatConstraintViolations(Set)", "comments": [ { @@ -234805,9 +232133,10 @@ "end_column": 86 } ], - "code": "{\n traceLogger.entering(thisClass, \"formatConstraintViolations \" + cvSet);\n StringBuffer msg = new StringBuffer();\n for (ConstraintViolation cv : cvSet) {\n msg.append(\"\\n\\t\" + cv.toString());\n }\n traceLogger.exiting(thisClass, \"formatConstraintViolations \" + msg);\n return msg.toString();\n}", + "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, @@ -234997,7 +232326,7 @@ "is_entrypoint": false }, "checkInjectionValidation()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "signature": "checkInjectionValidation()", "comments": [], "annotations": [], @@ -235007,9 +232336,10 @@ "thrown_exceptions": [], "declaration": "public void checkInjectionValidation()", "parameters": [], - "code": "{\n traceLogger.entering(thisClass, \"checkInjectionValidation\", this);\n Set> cvSet = validator.validate(this);\n if (!cvSet.isEmpty()) {\n String msg = formatConstraintViolations(cvSet);\n traceLogger.log(Level.INFO, \"Some reason cvSet was not null: \" + cvSet + \", \" + msg);\n throw new IllegalStateException(\"validation should not have found constraints: \" + msg);\n }\n traceLogger.exiting(thisClass, \"checkInjectionValidation \");\n}", + "code": "{\n\n traceLogger.entering(thisClass, \"checkInjectionValidation\", this);\n\n Set> cvSet = validator.validate(this);\n\n if (!cvSet.isEmpty()) {\n String msg = formatConstraintViolations(cvSet);\n traceLogger.log(Level.INFO, \"Some reason cvSet was not null: \" + cvSet + \", \" + msg);\n\n throw new IllegalStateException(\"validation should not have found constraints: \" + msg);\n }\n\n traceLogger.exiting(thisClass, \"checkInjectionValidation \");\n }", "start_line": 75, "end_line": 89, + "code_start_line": 75, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -235231,7 +232561,7 @@ "is_entrypoint": false }, "toString()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "signature": "toString()", "comments": [], "annotations": [ @@ -235243,9 +232573,10 @@ "thrown_exceptions": [], "declaration": "public String toString()", "parameters": [], - "code": "{\n String result = \"iMin:\" + iMin + \" iMax:\" + iMax + \" iMinArray:\" + iMinArray + \" iMaxArray:\" + iMaxArray + \" pattern:\" + pattern + \" setToFail:\" + setToFail;\n return result;\n}", + "code": "{\n String result = \"iMin:\" + iMin + \" iMax:\" + iMax + \" iMinArray:\" + iMinArray + \" iMaxArray:\" + iMaxArray + \" pattern:\" + pattern\n + \" setToFail:\" + setToFail;\n\n return result;\n }", "start_line": 92, "end_line": 98, + "code_start_line": 93, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -235286,7 +232617,7 @@ "is_entrypoint": false }, "getDesc()": { - "file_path": "/Users/rkrsn/Downloads/sample.daytrader8/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.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/beanval/SimpleBean1.java", "signature": "getDesc()", "comments": [], "annotations": [ @@ -235298,9 +232629,10 @@ "thrown_exceptions": [], "declaration": "public String getDesc()", "parameters": [], - "code": "{\n return pattern;\n}", + "code": "{\n return pattern;\n }", "start_line": 70, "end_line": 73, + "code_start_line": 71, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -235539,5 +232871,5 @@ "is_modified": false } }, - "version": "2.3.1" + "version": "2.3.4" } \ No newline at end of file diff --git a/tests/resources/java/application/WeatherServlet.java b/tests/resources/java/application/WeatherServlet.java new file mode 100644 index 0000000..1c456f7 --- /dev/null +++ b/tests/resources/java/application/WeatherServlet.java @@ -0,0 +1,283 @@ +package com.acme.modres; + +import com.acme.modres.db.ModResortsCustomerInformation; +import com.acme.modres.exception.ExceptionHandler; +import com.acme.modres.mbean.AppInfo; + +import java.io.BufferedReader; + +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.Serializable; +import java.lang.management.ManagementFactory; +import java.net.HttpURLConnection; +import java.net.MalformedURLException; +import java.net.ProtocolException; +import java.net.URI; +import java.net.URL; +import java.util.Hashtable; +import java.util.logging.Level; +import java.util.logging.Logger; + +import javax.servlet.ServletException; +import javax.servlet.ServletOutputStream; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import javax.inject.Inject; +import javax.management.InstanceAlreadyExistsException; +import javax.management.InstanceNotFoundException; +import javax.management.IntrospectionException; +import javax.management.MBeanInfo; +import javax.management.MBeanRegistrationException; +import javax.management.MBeanServer; +import javax.management.MalformedObjectNameException; +import javax.management.NotCompliantMBeanException; +import javax.management.ObjectInstance; +import javax.management.ObjectName; +import javax.management.ReflectionException; +import javax.naming.InitialContext; +import javax.naming.NamingException; +import javax.servlet.annotation.WebServlet; + +// changed annotation +@WebServlet( + name={"weather"}, + urlPatterns={"/resorts/weather"} +) +public class WeatherServlet extends HttpServlet implements Serializable { // changed declaration + private static final long serialVersionUID = 1L; // added comment + + @Inject + private ModResortsCustomerInformation customerInfo; // mod + + private int newField; // added field + + // local OS environment variable key name. The key value should provide an API + // key that will be used to + // get weather information from site: http://www.wunderground.com + private static final String WEATHER_API_KEY = "WEATHER_API_KEY"; + + private static final Logger logger = Logger.getLogger(WeatherServlet.class.getName()); + + private static InitialContext context; + + MBeanServer server; + ObjectName weatherON; + ObjectInstance mbean; + + @Override + public void init() { + server = ManagementFactory.getPlatformMBeanServer(); + try { + weatherON = new ObjectName("com.acme.modres.mbean:name=appInfo"); + } catch (MalformedObjectNameException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + try { + if (weatherON != null) { + mbean = server.registerMBean(new AppInfo(), weatherON); + } + } catch (InstanceAlreadyExistsException | MBeanRegistrationException | NotCompliantMBeanException e) { + e.printStackTrace(); + } + context = setInitialContextProps(); + } + + @Override + public void destroy() { + if (mbean != null) { + try { + server.unregisterMBean(weatherON); + } catch (MBeanRegistrationException | InstanceNotFoundException e) { + // TODO Auto-generated catch block + System.out.println(e.getMessage()); + } + } + } + + @Override + protected void doGet(HttpServletRequest request, + HttpServletResponse response) throws IOException, ServletException { + + String methodName = "doGet"; + logger.entering(WeatherServlet.class.getName(), methodName); + + try { + MBeanInfo weatherConfig = server.getMBeanInfo(weatherON); + } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) { + e.printStackTrace(); + } + + String city = request.getParameter("selectedCity"); + logger.log(Level.FINE, "requested city is " + city); + + String weatherAPIKey = System.getenv(WEATHER_API_KEY); + String mockedKey = mockKey(weatherAPIKey); + logger.log(Level.FINE, "weatherAPIKey is " + mockedKey); + + if (weatherAPIKey != null && weatherAPIKey.trim().length() > 0) { + logger.info("weatherAPIKey is found, system will provide the real time weather data for the city " + city); + getRealTimeWeatherData(city, weatherAPIKey, response); + } else { + logger.info( + "weatherAPIKey is not found, will provide the weather data dated August 10th, 2018 for the city " + city); + getDefaultWeatherData(city, response); + } + } + + private void getRealTimeWeatherData(String city, String apiKey, HttpServletResponse response) + throws ServletException, IOException { + String resturl = null; + String resturlbase = Constants.WUNDERGROUND_API_PREFIX + apiKey + Constants.WUNDERGROUND_API_PART; + + if (Constants.PARIS.equals(city)) { + resturl = resturlbase + "France/Paris.json"; + } else if (Constants.LAS_VEGAS.equals(city)) { + resturl = resturlbase + "NV/Las_Vegas.json"; + } else if (Constants.SAN_FRANCISCO.equals(city)) { + resturl = resturlbase + "/CA/San_Francisco.json"; + } else if (Constants.MIAMI.equals(city)) { + resturl = resturlbase + "FL/Miami.json"; + } else if (Constants.CORK.equals(city)) { + resturl = resturlbase + "ireland/cork.json"; + } else if (Constants.BARCELONA.equals(city)) { + resturl = resturlbase + "Spain/Barcelona.json"; + } else { + String errorMsg = "Sorry, the weather information for your selected city: " + city + + " is not available. Valid selections are: " + Constants.SUPPORTED_CITIES; + ExceptionHandler.handleException(null, errorMsg, logger); + } + + URL obj = null; + HttpURLConnection con = null; + try { + obj = URI.create(resturl).toURL(); + con = (HttpURLConnection) obj.openConnection(); + con.setRequestMethod("GET"); + } catch (MalformedURLException e1) { + String errorMsg = "Caught MalformedURLException. Please make sure the url is correct."; + ExceptionHandler.handleException(e1, errorMsg, logger); + } catch (ProtocolException e2) { + String errorMsg = "Caught ProtocolException: " + e2.getMessage() + + ". Not able to set request method to http connection."; + ExceptionHandler.handleException(e2, errorMsg, logger); + } catch (IOException e3) { + String errorMsg = "Caught IOException: " + e3.getMessage() + ". Not able to open connection."; + ExceptionHandler.handleException(e3, errorMsg, logger); + } + + int responseCode = con.getResponseCode(); + logger.log(Level.FINEST, "Response Code: " + responseCode); + + if (responseCode >= 200 && responseCode < 300) { + + BufferedReader in = null; + ServletOutputStream out = null; + + try { + in = new BufferedReader(new InputStreamReader(con.getInputStream())); + String inputLine = null; + StringBuffer responseStr = new StringBuffer(); + + while ((inputLine = in.readLine()) != null) { + responseStr.append(inputLine); + } + + response.setContentType("application/json"); + out = response.getOutputStream(); + out.print(responseStr.toString()); + logger.log(Level.FINE, "responseStr: " + responseStr); + } catch (Exception e) { + String errorMsg = "Problem occured when processing the weather server response."; + ExceptionHandler.handleException(e, errorMsg, logger); + } finally { + if (in != null) { + in.close(); + } + if (out != null) { + out.close(); + } + in = null; + out = null; + } + } else { + String errorMsg = "REST API call " + resturl + " returns an error response: " + responseCode; + ExceptionHandler.handleException(null, errorMsg, logger); + } + } + + private void getDefaultWeatherData(String city, HttpServletResponse response) + throws ServletException, IOException { + DefaultWeatherData defaultWeatherData = null; + + try { + defaultWeatherData = new DefaultWeatherData(city); + } catch (UnsupportedOperationException e) { + ExceptionHandler.handleException(e, e.getMessage(), logger); + } + + ServletOutputStream out = null; + + try { + String responseStr = defaultWeatherData.getDefaultWeatherData(); + response.setContentType("application/json"); + out = response.getOutputStream(); + out.print(responseStr.toString()); + logger.log(Level.FINEST, "responseStr: " + responseStr); + } catch (Exception e) { + String errorMsg = "Problem occured when getting the default weather data."; + ExceptionHandler.handleException(e, errorMsg, logger); + } finally { + + if (out != null) { + out.close(); + } + + out = null; + } + } + + /** + * Returns the weather information for a given city + */ + protected void doPost(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + + doGet(request, response); + } + + private static String mockKey(String toBeMocked) { + if (toBeMocked == null) { + return null; + } + String lastToKeep = toBeMocked.substring(toBeMocked.length() - 3); + return "*********" + lastToKeep; + } + + private String configureEnvDiscovery() { + + String serverEnv = ""; + + serverEnv += System.getProperty("wlp.server.name"); + serverEnv += System.getProperty("wlp.server.name"); + + return serverEnv; + } + + private InitialContext setInitialContextProps() { + + Hashtable ht = new Hashtable(); + + InitialContext ctx = null; + try { + ctx = new InitialContext(ht); + } catch (NamingException e) { + e.printStackTrace(); + } + + return ctx; + } +} diff --git a/tests/resources/java/codeanalyzer_jars/.gitignore b/tests/resources/java/codeanalyzer_jars/.gitignore deleted file mode 100644 index 87762bd..0000000 --- a/tests/resources/java/codeanalyzer_jars/.gitignore +++ /dev/null @@ -1 +0,0 @@ -!*.jar \ No newline at end of file diff --git a/tests/resources/java/codeanalyzer_jars/2.0.0/codeanalyzer-2.0.0.jar b/tests/resources/java/codeanalyzer_jars/2.0.0/codeanalyzer-2.0.0.jar deleted file mode 100644 index 055b2d5..0000000 Binary files a/tests/resources/java/codeanalyzer_jars/2.0.0/codeanalyzer-2.0.0.jar and /dev/null differ diff --git a/tests/resources/java/codeanalyzer_jars/2.1.0/codeanalyzer-2.1.0.jar b/tests/resources/java/codeanalyzer_jars/2.1.0/codeanalyzer-2.1.0.jar deleted file mode 100644 index b881df5..0000000 Binary files a/tests/resources/java/codeanalyzer_jars/2.1.0/codeanalyzer-2.1.0.jar and /dev/null differ diff --git a/tests/resources/java/codeanalyzer_jars/2.2.0/codeanalyzer-2.2.0-dev.jar b/tests/resources/java/codeanalyzer_jars/2.2.0/codeanalyzer-2.2.0-dev.jar deleted file mode 100644 index 1348f92..0000000 Binary files a/tests/resources/java/codeanalyzer_jars/2.2.0/codeanalyzer-2.2.0-dev.jar and /dev/null differ