8000 Added missing attributes in compilation unit model · codellm-devkit/python-sdk@c2fa8bf · GitHub
[go: up one dir, main page]

Skip to content

Commit c2fa8bf

Browse files
committed
Added missing attributes in compilation unit model
Signed-off-by: Saurabh Sinha <sinha108@gmail.com>
1 parent 329f156 commit c2fa8bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cldk/models/java/models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,15 @@ class JCompilationUnit(BaseModel):
363363
"""Represents a compilation unit in Java.
364364
365365
Attributes:
366+
727A file_path (str): The path to the source file.
367+
package_name (str): The name of the package for the comppilation unit.
366368
comments (List[JComment]): A list of comments in the compilation unit.
367369
imports (List[str]): A list of import statements in the compilation unit.
368370
type_declarations (Dict[str, JType]): A dictionary mapping type names to their corresponding JType representations.
369371
"""
370372

373+
file_path: str
374+
package_name: str
371375
comments: List[JComment]
372376
imports: List[str]
373377
type_declarations: Dict[str, JType]

0 commit comments

Comments
 (0)
0