fixed constructors being listed as methods
removed constructor methods from the method list in classes
This commit is contained in:
parent
153ede2eda
commit
1807cfed7c
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@ def class_to_puml(filename:str, base_package_slug:str) -> JavaClass:
|
|||
elif is_line_method_declaration(javaline):
|
||||
visibility = get_method_visibility(javaline)
|
||||
method_name = get_method_name_from_line(javaline)
|
||||
class_methods[method_name] = visibility
|
||||
if method_name != class_name:
|
||||
class_methods[method_name] = visibility
|
||||
|
||||
for class_package_slug in imported_classes:
|
||||
if not class_package_slug in uml_relations:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue