|
5 | 5 |
|
6 | 6 | :authors: Volodymyr Buell, Thomas Calmant |
7 | 7 | :license: Apache License 2.0 |
8 | | -:version: 0.4.4 |
| 8 | +:version: 0.5.0 |
9 | 9 | :status: Alpha |
10 | 10 |
|
11 | 11 | .. |
12 | 12 |
|
13 | | - Copyright 2024 Thomas Calmant |
| 13 | + Copyright 2026 Thomas Calmant |
14 | 14 |
|
15 | 15 | Licensed under the Apache License, Version 2.0 (the "License"); |
16 | 16 | you may not use this file except in compliance with the License. |
|
27 | 27 |
|
28 | 28 | from __future__ import absolute_import |
29 | 29 |
|
30 | | -from typing import List |
31 | 30 | import struct |
| 31 | +from typing import List # noqa: F401 |
32 | 32 |
|
33 | 33 | from ..utils import UNICODE_TYPE |
34 | 34 |
|
@@ -62,12 +62,12 @@ def __init__(self): |
62 | 62 | """ |
63 | 63 | Sets up members |
64 | 64 | """ |
65 | | - self.name = None # type: str |
66 | | - self.serialVersionUID = None # type: int # pylint:disable=C0103 |
67 | | - self.flags = None # type: int |
| 65 | + self.name = None # type: str | None |
| 66 | + self.serialVersionUID = None # type: int | None # pylint:disable=C0103 |
| 67 | + self.flags = None # type: int | None |
68 | 68 | self.fields_names = [] # type: List[str] |
69 | 69 | self.fields_types = [] # type: List[JavaString] |
70 | | - self.superclass = None # type: JavaClass |
| 70 | + self.superclass = None # type: JavaClass | None |
71 | 71 |
|
72 | 72 | def __str__(self): |
73 | 73 | """ |
@@ -110,7 +110,7 @@ def __init__(self): |
110 | 110 | """ |
111 | 111 | Sets up members |
112 | 112 | """ |
113 | | - self.classdesc = None # type: JavaClass |
| 113 | + self.classdesc = None # type: JavaClass | None |
114 | 114 | self.annotations = [] |
115 | 115 |
|
116 | 116 | def get_class(self): |
|
0 commit comments