fixed class path slug for relations
This commit is contained in:
parent
bfc67364b9
commit
9239c8f40a
1 changed files with 3 additions and 2 deletions
|
@ -243,8 +243,9 @@ def class_to_puml(filename:str) -> JavaClass:
|
|||
class_methods[method_name] = get_method_visibility(javaline)
|
||||
next_line_setter = False
|
||||
elif javaline.startswith("import"):
|
||||
importline_package_slug = javaline.strip().split(" ")[1].replace(";", "")
|
||||
imported_classes[importline_package_slug.split(".")[-1]] = importline_package_slug
|
||||
if "*" not in javaline:
|
||||
importline_package_slug = javaline.strip().split(" ")[1].replace(";", "")
|
||||
imported_classes[importline_package_slug] = importline_package_slug
|
||||
|
||||
if javaline.startswith("@"):
|
||||
if "@Getter" in javaline and "@Setter" in javaline:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue