java-api 17.26.5__py2-none-any.whl → 25.26.1__py2-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
java/io/__init__.py CHANGED
@@ -31,7 +31,7 @@ __all__ = [
31
31
  "Writer",
32
32
  ]
33
33
 
34
- from typing import Any, Optional, Union
34
+ from typing import Any, List, Optional, Union
35
35
 
36
36
  from java.lang import (
37
37
  Appendable,
@@ -220,6 +220,10 @@ class PrintStream(FilterOutputStream):
220
220
  # type: () -> bool
221
221
  return True
222
222
 
223
+ def charset(self):
224
+ # type: () -> Charset
225
+ pass
226
+
223
227
  def format(self, *args):
224
228
  # type: (*Any) -> PrintStream
225
229
  pass
@@ -305,6 +309,10 @@ class FileInputStream(InputStream):
305
309
  # type: () -> FileDescriptor
306
310
  pass
307
311
 
312
+ def transferTo(self, out):
313
+ # type: (OutputStream) -> long
314
+ pass
315
+
308
316
 
309
317
  class IOException(Exception):
310
318
  def __init__(self, message=None, cause=None):
@@ -335,10 +343,23 @@ class Reader(Object, Readable, Closeable):
335
343
  # type: () -> Reader
336
344
  pass
337
345
 
346
+ @staticmethod
347
+ def of(csq):
348
+ # type: (CharSequence) -> Reader
349
+ pass
350
+
338
351
  def read(self, cb):
339
352
  # type: (CharBuffer) -> int
340
353
  pass
341
354
 
355
+ def readAllAsString(self):
356
+ # type: () -> Union[str, unicode]
357
+ pass
358
+
359
+ def readAllLines(self):
360
+ # type: () -> List[Union[str, unicode]]
361
+ pass
362
+
342
363
  def ready(self):
343
364
  # type: () -> bool
344
365
  return True
java/lang/__init__.py CHANGED
@@ -14,10 +14,12 @@ __all__ = [
14
14
  "Comparable",
15
15
  "Enum",
16
16
  "Exception",
17
+ "IO",
17
18
  "IllegalArgumentException",
18
19
  "IllegalStateException",
19
20
  "IndexOutOfBoundsException",
20
21
  "Iterable",
22
+ "MatchException",
21
23
  "NullPointerException",
22
24
  "Number",
23
25
  "Object",
@@ -25,26 +27,34 @@ __all__ = [
25
27
  "Record",
26
28
  "Runnable",
27
29
  "RuntimeException",
30
+ "ScopedValue",
28
31
  "StackTraceElement",
29
32
  "String",
30
33
  "StringBuffer",
31
34
  "StringBuilder",
35
+ "System",
32
36
  "Thread",
33
37
  "Throwable",
34
38
  "UnsupportedOperationException",
39
+ "WrongThreadException",
35
40
  ]
36
41
 
37
42
  import __builtin__ as builtins
38
43
  import array
44
+ import os
39
45
  import time
40
- from typing import TYPE_CHECKING, Any, List, Optional, Union
46
+ from typing import TYPE_CHECKING, Any, List, Optional, Set, Union
41
47
 
42
- from java.lang.reflect import Type
48
+ from java.lang.reflect import AccessFlag, Type
43
49
 
44
50
  if TYPE_CHECKING:
51
+ from java.io import InputStream, PrintStream
45
52
  from java.nio import CharBuffer
46
- from java.util import Iterator, Spliterator
47
- from java.util.function import Consumer
53
+ from java.nio.channels import Channel
54
+ from java.time import Duration
55
+ from java.util import Iterator, Properties, Spliterator
56
+ from java.util.concurrent import ThreadFactory
57
+ from java.util.function import Consumer, Supplier
48
58
  from java.util.stream import IntStream, Stream
49
59
 
50
60
 
@@ -134,6 +144,10 @@ class CharSequence(object):
134
144
  # type: (CharSequence, CharSequence) -> int
135
145
  pass
136
146
 
147
+ def getChars(self, srcBegin, srcEnd, dst, dstBegin):
148
+ # type: (int, int, object, int) -> None
149
+ pass
150
+
137
151
  def length(self):
138
152
  # type: () -> int
139
153
  raise NotImplementedError
@@ -180,6 +194,10 @@ class Runnable(object):
180
194
 
181
195
 
182
196
  class Class(Object, Type):
197
+ def accessFlags(self):
198
+ # type: () -> Set[AccessFlag]
199
+ pass
200
+
183
201
  def asSubClass(self, clazz):
184
202
  # type: (Class) -> Any
185
203
  pass
@@ -188,6 +206,11 @@ class Class(Object, Type):
188
206
  # type: (Object) -> Any
189
207
  pass
190
208
 
209
+ @staticmethod
210
+ def forPrimitiveName(name):
211
+ # type: (Union[str, unicode]) -> Class
212
+ pass
213
+
191
214
  def getTypeName(self):
192
215
  # type: () -> Union[str, unicode]
193
216
  pass
@@ -374,8 +397,8 @@ class String(unicode):
374
397
  # type: () -> int
375
398
  return hash(self)
376
399
 
377
- def indexOf(self, arg, fromIndex=None):
378
- # type: (Union[int, String], Optional[int]) -> int
400
+ def indexOf(self, arg, fromIndex=None, toIndex=None):
401
+ # type: (Union[int, String], Optional[int], Optional[int]) -> int # noqa: W505
379
402
  pass
380
403
 
381
404
  def intern(self):
@@ -434,6 +457,10 @@ class String(unicode):
434
457
  # type: (String, String) -> String
435
458
  pass
436
459
 
460
+ def splitWithDelimiters(self, regex, limit):
461
+ # type: (String, int) -> List[Union[str, unicode]]
462
+ pass
463
+
437
464
  def startsWith(self, prefix, offset=0):
438
465
  # type: (String, int) -> bool
439
466
  return self.startswith(prefix, offset)
@@ -532,7 +559,7 @@ class StringBuffer(Object, CharSequence):
532
559
  pass
533
560
 
534
561
  def getChars(self, srcBegin, srcEnd, dst, dstBegin):
535
- # type: (int, int, str, int) -> None
562
+ # type: (int, int, object, int) -> None
536
563
  pass
537
564
 
538
565
  def indexOf(self, string, fromIndex=0):
@@ -555,6 +582,10 @@ class StringBuffer(Object, CharSequence):
555
582
  # type: (int, int) -> int
556
583
  pass
557
584
 
585
+ def repeat(self, *args):
586
+ # type: (*Any) -> StringBuffer
587
+ pass
588
+
558
589
  def replace(self, start, end, string):
559
590
  # type: (int, int, str) -> StringBuffer
560
591
  pass
@@ -631,7 +662,7 @@ class StringBuilder(Object, CharSequence):
631
662
  pass
632
663
 
633
664
  def getChars(self, srcBegin, srcEnd, dst, dstBegin):
634
- # type: (int, int, str, int) -> None
665
+ # type: (int, int, object, int) -> None
635
666
  pass
636
667
 
637
668
  def indexOf(self, str_, fromIndex=0):
@@ -654,6 +685,10 @@ class StringBuilder(Object, CharSequence):
654
685
  # type: (int, int) -> int
655
686
  pass
656
687
 
688
+ def repeat(self, *args):
689
+ # type: (*Any) -> StringBuilder
690
+ pass
691
+
657
692
  def replace(self, start, end, str_):
658
693
  # type: (int, int, int) -> StringBuilder
659
694
  pass
@@ -683,6 +718,153 @@ class StringBuilder(Object, CharSequence):
683
718
  pass
684
719
 
685
720
 
721
+ class System(Object):
722
+ """The System class contains several useful class fields and
723
+ methods.
724
+
725
+ It cannot be instantiated. Among the facilities provided by the
726
+ System class are standard input, standard output, and error output
727
+ streams; access to externally defined properties and environment
728
+ variables; a means of loading files and libraries; and a utility
729
+ method for quickly copying a portion of an array.
730
+ """
731
+
732
+ err = None # type: PrintStream
733
+ in_ = None # type: InputStream
734
+ out = None # type: PrintStream
735
+
736
+ @staticmethod
737
+ def arraycopy(src, srcPos, dest, destPos, length):
738
+ # type: (Any, int, Any, int, int) -> None
739
+ dest[destPos : destPos + length] = src[srcPos : srcPos + length]
740
+
741
+ @staticmethod
742
+ def clearProperty(key):
743
+ # type: (Union[str, unicode]) -> Union[str, unicode]
744
+ pass
745
+
746
+ @staticmethod
747
+ def console():
748
+ # type: () -> Any
749
+ pass
750
+
751
+ @staticmethod
752
+ def currentTimeMillis():
753
+ # type: () -> long
754
+ return long(time.time() * 1000)
755
+
756
+ @staticmethod
757
+ def exit(status):
758
+ # type: (int) -> None
759
+ pass
760
+
761
+ @staticmethod
762
+ def gc():
763
+ # type: () -> None
764
+ pass
765
+
766
+ @staticmethod
767
+ def getenv(name=None):
768
+ # type: (Optional[Union[str, unicode]]) -> Any
769
+ return dict(os.environ) if name is None else os.environ.get(str(name))
770
+
771
+ @staticmethod
772
+ def getLogger(name, bundle=None):
773
+ # type: (Union[str, unicode], Optional[Any]) -> Any
774
+ pass
775
+
776
+ @staticmethod
777
+ def getProperties():
778
+ # type: () -> Properties
779
+ pass
780
+
781
+ @staticmethod
782
+ def getProperty(
783
+ key, # type: Union[str, unicode]
784
+ def_=None, # type: Optional[Union[str, unicode]]
785
+ ):
786
+ # type: (...) -> Union[str, unicode]
787
+ pass
788
+
789
+ @staticmethod
790
+ def getSecurityManager():
791
+ # type: () -> Any
792
+ pass
793
+
794
+ @staticmethod
795
+ def identityHashCode(x):
796
+ # type: (Object) -> int
797
+ return id(x)
798
+
799
+ @staticmethod
800
+ def inheritedChannel():
801
+ # type: () -> Channel
802
+ pass
803
+
804
+ @staticmethod
805
+ def lineSeparator():
806
+ # type: () -> Union[str, unicode]
807
+ return os.linesep
808
+
809
+ @staticmethod
810
+ def load(filename):
811
+ # type: (Union[str, unicode]) -> None
812
+ pass
813
+
814
+ @staticmethod
815
+ def loadLibrary(libname):
816
+ # type: (Union[str, unicode]) -> None
817
+ pass
818
+
819
+ @staticmethod
820
+ def mapLibraryName(libname):
821
+ # type: (Union[str, unicode]) -> Union[str, unicode]
822
+ pass
823
+
824
+ @staticmethod
825
+ def nanoTime():
826
+ # type: () -> long
827
+ return long(time.time() * 1000000000)
828
+
829
+ @staticmethod
830
+ def runFinalization():
831
+ # type: () -> None
832
+ pass
833
+
834
+ @staticmethod
835
+ def setErr(err):
836
+ # type: (PrintStream) -> None
837
+ pass
838
+
839
+ @staticmethod
840
+ def setIn(in_):
841
+ # type: (InputStream) -> None
842
+ pass
843
+
844
+ @staticmethod
845
+ def setOut(out):
846
+ # type: (PrintStream) -> None
847
+ pass
848
+
849
+ @staticmethod
850
+ def setProperties(props):
851
+ # type: (Properties) -> None
852
+ pass
853
+
854
+ @staticmethod
855
+ def setProperty(
856
+ key, # type: Union[str, unicode]
857
+ value, # type: Union[str, unicode]
858
+ ):
859
+ # type: (...) -> Union[str, unicode]
860
+ pass
861
+
862
+ @staticmethod
863
+ def setSecurityManager(sm):
864
+ # type: (Any) -> None
865
+ pass
866
+
867
+
686
868
  class Throwable(Object, builtins.Exception):
687
869
  """The Throwable class is the superclass of all errors and
688
870
  exceptions in the Java language.
@@ -856,12 +1038,86 @@ class UnsupportedOperationException(RuntimeException):
856
1038
  super(UnsupportedOperationException, self).__init__(message, cause)
857
1039
 
858
1040
 
1041
+ class MatchException(RuntimeException):
1042
+ """Thrown when an exhaustive switch expression or pattern matching
1043
+ statement fails to match.
1044
+ """
1045
+
1046
+ def __init__(self, message=None, cause=None):
1047
+ # type: (Optional[str], Optional[Throwable]) -> None
1048
+ super(MatchException, self).__init__(message, cause)
1049
+
1050
+
1051
+ class WrongThreadException(RuntimeException):
1052
+ """Thrown to indicate that a method has been called by a thread that
1053
+ is not the correct thread for the operation.
1054
+ """
1055
+
1056
+ def __init__(self, message=None, cause=None):
1057
+ # type: (Optional[str], Optional[Throwable]) -> None
1058
+ super(WrongThreadException, self).__init__(message, cause)
1059
+
1060
+
859
1061
  class Record(Object):
860
1062
  def __init__(self):
861
1063
  # type: () -> None
862
1064
  super(Record, self).__init__()
863
1065
 
864
1066
 
1067
+ class ScopedValue(Object):
1068
+ """A value that may be bound to the current thread for a bounded
1069
+ period of execution.
1070
+ """
1071
+
1072
+ class CallableOp(object):
1073
+ def call(self):
1074
+ # type: () -> Any
1075
+ raise NotImplementedError
1076
+
1077
+ class Carrier(object):
1078
+ def call(self, op):
1079
+ # type: (ScopedValue.CallableOp) -> Any
1080
+ pass
1081
+
1082
+ def get(self, key):
1083
+ # type: (ScopedValue) -> Any
1084
+ pass
1085
+
1086
+ def run(self, op):
1087
+ # type: (Runnable) -> None
1088
+ pass
1089
+
1090
+ def where(self, key, value):
1091
+ # type: (ScopedValue, Any) -> ScopedValue.Carrier
1092
+ pass
1093
+
1094
+ def get(self):
1095
+ # type: () -> Any
1096
+ pass
1097
+
1098
+ def isBound(self):
1099
+ # type: () -> bool
1100
+ return True
1101
+
1102
+ @staticmethod
1103
+ def newInstance():
1104
+ # type: () -> ScopedValue
1105
+ pass
1106
+
1107
+ def orElse(self, other):
1108
+ # type: (Any) -> Any
1109
+ pass
1110
+
1111
+ def orElseThrow(self, supplier=None):
1112
+ # type: (Optional[Supplier]) -> Any
1113
+ pass
1114
+
1115
+ @staticmethod
1116
+ def where(key, value):
1117
+ # type: (ScopedValue, Any) -> ScopedValue.Carrier
1118
+ pass
1119
+
1120
+
865
1121
  class Thread(Object):
866
1122
  """A thread is a thread of execution in a program.
867
1123
 
@@ -876,7 +1132,121 @@ class Thread(Object):
876
1132
  method in this class will cause a NullPointerException to be thrown.
877
1133
  """
878
1134
 
1135
+ class Builder(object):
1136
+ def factory(self):
1137
+ # type: () -> ThreadFactory
1138
+ pass
1139
+
1140
+ def inheritInheritableThreadLocals(self, inherit):
1141
+ # type: (bool) -> Thread.Builder
1142
+ pass
1143
+
1144
+ def name(self, *args):
1145
+ # type: (*Any) -> Thread.Builder
1146
+ pass
1147
+
1148
+ def start(self, task):
1149
+ # type: (Runnable) -> Thread
1150
+ pass
1151
+
1152
+ def uncaughtExceptionHandler(self, handler):
1153
+ # type: (Any) -> Thread.Builder
1154
+ pass
1155
+
1156
+ def unstarted(self, task):
1157
+ # type: (Runnable) -> Thread
1158
+ pass
1159
+
1160
+ class OfPlatform(Builder):
1161
+ def daemon(self, on=None):
1162
+ # type: (Optional[bool]) -> Thread.OfPlatform
1163
+ pass
1164
+
1165
+ def group(self, group):
1166
+ # type: (Any) -> Thread.OfPlatform
1167
+ pass
1168
+
1169
+ def inheritInheritableThreadLocals(self, inherit):
1170
+ # type: (bool) -> Thread.OfPlatform
1171
+ pass
1172
+
1173
+ def name(self, *args):
1174
+ # type: (*Any) -> Thread.OfPlatform
1175
+ pass
1176
+
1177
+ def priority(self, priority):
1178
+ # type: (int) -> Thread.OfPlatform
1179
+ pass
1180
+
1181
+ def stackSize(self, stackSize):
1182
+ # type: (long) -> Thread.OfPlatform
1183
+ pass
1184
+
1185
+ def uncaughtExceptionHandler(self, handler):
1186
+ # type: (Any) -> Thread.OfPlatform
1187
+ pass
1188
+
1189
+ class OfVirtual(Builder):
1190
+ def inheritInheritableThreadLocals(self, inherit):
1191
+ # type: (bool) -> Thread.OfVirtual
1192
+ pass
1193
+
1194
+ def name(self, *args):
1195
+ # type: (*Any) -> Thread.OfVirtual
1196
+ pass
1197
+
1198
+ def uncaughtExceptionHandler(self, handler):
1199
+ # type: (Any) -> Thread.OfVirtual
1200
+ pass
1201
+
1202
+ def isVirtual(self):
1203
+ # type: () -> bool
1204
+ return True
1205
+
1206
+ def join(self, *args):
1207
+ # type: (*Any) -> Optional[bool]
1208
+ pass
1209
+
1210
+ @staticmethod
1211
+ def ofPlatform():
1212
+ # type: () -> Thread.OfPlatform
1213
+ pass
1214
+
1215
+ @staticmethod
1216
+ def ofVirtual():
1217
+ # type: () -> Thread.OfVirtual
1218
+ pass
1219
+
1220
+ @staticmethod
1221
+ def sleep(millis, nanos=0):
1222
+ # type: (Union[long, Duration], int) -> None
1223
+ if isinstance(millis, (int, long)):
1224
+ time.sleep(millis // 1000)
1225
+
1226
+ @staticmethod
1227
+ def startVirtualThread(task):
1228
+ # type: (Runnable) -> Thread
1229
+ pass
1230
+
1231
+ def threadId(self):
1232
+ # type: () -> long
1233
+ pass
1234
+
1235
+
1236
+ class IO(object):
1237
+ """A utility class for basic console input and output."""
1238
+
879
1239
  @staticmethod
880
- def sleep(millis):
881
- # type: (long) -> None
882
- time.sleep(millis // 1000)
1240
+ def print(obj=None):
1241
+ # type: (Optional[Object]) -> None
1242
+ pass
1243
+
1244
+ @staticmethod
1245
+ def println(obj=None):
1246
+ # type: (Optional[Object]) -> None
1247
+ pass
1248
+
1249
+ @staticmethod
1250
+ def readln(prompt=None):
1251
+ # type: (Optional[Union[str, unicode]]) -> Union[str, unicode]
1252
+ pass
@@ -1,9 +1,158 @@
1
- __all__ = ["Type"]
1
+ __all__ = ["AccessFlag", "ClassFileFormatVersion", "Type"]
2
2
 
3
- from typing import Union
3
+ from typing import Any, List, Optional, Set, Union
4
4
 
5
5
 
6
6
  class Type(object):
7
7
  def getTypeName(self):
8
8
  # type: () -> Union[str, unicode]
9
9
  raise NotImplementedError
10
+
11
+
12
+ class AccessFlag(object):
13
+ """Represents a JVM access flag.
14
+
15
+ Access flags were added in Java 20.
16
+ """
17
+
18
+ class Location(object):
19
+ CLASS = None # type: AccessFlag.Location
20
+ FIELD = None # type: AccessFlag.Location
21
+ METHOD = None # type: AccessFlag.Location
22
+ INNER_CLASS = None # type: AccessFlag.Location
23
+ METHOD_PARAMETER = None # type: AccessFlag.Location
24
+ MODULE = None # type: AccessFlag.Location
25
+ MODULE_REQUIRES = None # type: AccessFlag.Location
26
+ MODULE_EXPORTS = None # type: AccessFlag.Location
27
+ MODULE_OPENS = None # type: AccessFlag.Location
28
+
29
+ def flagsMask(self, classFileFormatVersion=None):
30
+ # type: (Optional[ClassFileFormatVersion]) -> int
31
+ pass
32
+
33
+ def flags(self, classFileFormatVersion=None):
34
+ # type: (Optional[ClassFileFormatVersion]) -> Set[AccessFlag] # noqa: W505
35
+ pass
36
+
37
+ @staticmethod
38
+ def values():
39
+ # type: () -> List[AccessFlag.Location]
40
+ pass
41
+
42
+ @staticmethod
43
+ def valueOf(name):
44
+ # type: (Union[str, unicode]) -> AccessFlag.Location
45
+ pass
46
+
47
+ PUBLIC = None # type: AccessFlag
48
+ PRIVATE = None # type: AccessFlag
49
+ PROTECTED = None # type: AccessFlag
50
+ STATIC = None # type: AccessFlag
51
+ FINAL = None # type: AccessFlag
52
+ SUPER = None # type: AccessFlag
53
+ OPEN = None # type: AccessFlag
54
+ TRANSITIVE = None # type: AccessFlag
55
+ SYNCHRONIZED = None # type: AccessFlag
56
+ STATIC_PHASE = None # type: AccessFlag
57
+ VOLATILE = None # type: AccessFlag
58
+ BRIDGE = None # type: AccessFlag
59
+ TRANSIENT = None # type: AccessFlag
60
+ VARARGS = None # type: AccessFlag
61
+ NATIVE = None # type: AccessFlag
62
+ INTERFACE = None # type: AccessFlag
63
+ ABSTRACT = None # type: AccessFlag
64
+ STRICT = None # type: AccessFlag
65
+ SYNTHETIC = None # type: AccessFlag
66
+ ANNOTATION = None # type: AccessFlag
67
+ ENUM = None # type: AccessFlag
68
+ MANDATED = None # type: AccessFlag
69
+ MODULE = None # type: AccessFlag
70
+
71
+ def locations(self, classFileFormatVersion=None):
72
+ # type: (Optional[ClassFileFormatVersion]) -> Set[AccessFlag.Location] # noqa: W505
73
+ pass
74
+
75
+ def mask(self):
76
+ # type: () -> int
77
+ pass
78
+
79
+ @staticmethod
80
+ def maskToAccessFlags(mask, location, classFileFormatVersion=None):
81
+ # type: (int, AccessFlag.Location, Optional[ClassFileFormatVersion]) -> Set[AccessFlag] # noqa: W505
82
+ pass
83
+
84
+ def sourceModifier(self):
85
+ # type: () -> bool
86
+ pass
87
+
88
+ @staticmethod
89
+ def values():
90
+ # type: () -> List[AccessFlag]
91
+ pass
92
+
93
+ @staticmethod
94
+ def valueOf(name):
95
+ # type: (Union[str, unicode]) -> AccessFlag
96
+ pass
97
+
98
+
99
+ class ClassFileFormatVersion(object):
100
+ """Represents a class file format version.
101
+
102
+ Class file format versions were added in Java 20.
103
+ """
104
+
105
+ RELEASE_0 = None # type: ClassFileFormatVersion
106
+ RELEASE_1 = None # type: ClassFileFormatVersion
107
+ RELEASE_2 = None # type: ClassFileFormatVersion
108
+ RELEASE_3 = None # type: ClassFileFormatVersion
109
+ RELEASE_4 = None # type: ClassFileFormatVersion
110
+ RELEASE_5 = None # type: ClassFileFormatVersion
111
+ RELEASE_6 = None # type: ClassFileFormatVersion
112
+ RELEASE_7 = None # type: ClassFileFormatVersion
113
+ RELEASE_8 = None # type: ClassFileFormatVersion
114
+ RELEASE_9 = None # type: ClassFileFormatVersion
115
+ RELEASE_10 = None # type: ClassFileFormatVersion
116
+ RELEASE_11 = None # type: ClassFileFormatVersion
117
+ RELEASE_12 = None # type: ClassFileFormatVersion
118
+ RELEASE_13 = None # type: ClassFileFormatVersion
119
+ RELEASE_14 = None # type: ClassFileFormatVersion
120
+ RELEASE_15 = None # type: ClassFileFormatVersion
121
+ RELEASE_16 = None # type: ClassFileFormatVersion
122
+ RELEASE_17 = None # type: ClassFileFormatVersion
123
+ RELEASE_18 = None # type: ClassFileFormatVersion
124
+ RELEASE_19 = None # type: ClassFileFormatVersion
125
+ RELEASE_20 = None # type: ClassFileFormatVersion
126
+ RELEASE_21 = None # type: ClassFileFormatVersion
127
+ RELEASE_22 = None # type: ClassFileFormatVersion
128
+ RELEASE_23 = None # type: ClassFileFormatVersion
129
+ RELEASE_24 = None # type: ClassFileFormatVersion
130
+ RELEASE_25 = None # type: ClassFileFormatVersion
131
+
132
+ @staticmethod
133
+ def fromMajor(major):
134
+ # type: (int) -> ClassFileFormatVersion
135
+ pass
136
+
137
+ @staticmethod
138
+ def latest():
139
+ # type: () -> ClassFileFormatVersion
140
+ pass
141
+
142
+ def major(self):
143
+ # type: () -> int
144
+ pass
145
+
146
+ def runtimeVersion(self):
147
+ # type: () -> Any
148
+ pass
149
+
150
+ @staticmethod
151
+ def values():
152
+ # type: () -> List[ClassFileFormatVersion]
153
+ pass
154
+
155
+ @staticmethod
156
+ def valueOf(arg):
157
+ # type: (Any) -> ClassFileFormatVersion
158
+ pass