27 @param methods list of method names of the class |
27 @param methods list of method names of the class |
28 (list of strings) |
28 (list of strings) |
29 @param attributes list of attribute names of the class |
29 @param attributes list of attribute names of the class |
30 (list of strings) |
30 (list of strings) |
31 """ |
31 """ |
32 super(ClassModel, self).__init__(name) |
32 super().__init__(name) |
33 |
33 |
34 self.methods = [] if methods is None else methods[:] |
34 self.methods = [] if methods is None else methods[:] |
35 self.attributes = [] if attributes is None else attributes[:] |
35 self.attributes = [] if attributes is None else attributes[:] |
36 |
36 |
37 def addMethod(self, method): |
37 def addMethod(self, method): |