Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • orekit/orekit_jpype
  • yzokras/orekit_jpype
2 results
Show changes
Commits on Source (14)
Showing
with 1238 additions and 164 deletions
......@@ -408,6 +408,7 @@ class CubicCurve2D(java.awt.Shape, java.lang.Cloneable):
@typing.overload
def contains(self, rectangle2D: 'Rectangle2D') -> bool: ...
def getBounds(self) -> java.awt.Rectangle: ...
def getBounds2D(self) -> 'Rectangle2D': ...
def getCtrlP1(self) -> 'Point2D': ...
def getCtrlP2(self) -> 'Point2D': ...
def getCtrlX1(self) -> float: ...
......@@ -481,7 +482,6 @@ class CubicCurve2D(java.awt.Shape, java.lang.Cloneable):
def __init__(self): ...
@typing.overload
def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float): ...
def getBounds2D(self) -> 'Rectangle2D': ...
def getCtrlP1(self) -> 'Point2D': ...
def getCtrlP2(self) -> 'Point2D': ...
def getCtrlX1(self) -> float: ...
......@@ -517,7 +517,6 @@ class CubicCurve2D(java.awt.Shape, java.lang.Cloneable):
def __init__(self): ...
@typing.overload
def __init__(self, float: float, float2: float, float3: float, float4: float, float5: float, float6: float, float7: float, float8: float): ...
def getBounds2D(self) -> 'Rectangle2D': ...
def getCtrlP1(self) -> 'Point2D': ...
def getCtrlP2(self) -> 'Point2D': ...
def getCtrlX1(self) -> float: ...
......@@ -928,6 +927,7 @@ class QuadCurve2D(java.awt.Shape, java.lang.Cloneable):
@typing.overload
def contains(self, rectangle2D: 'Rectangle2D') -> bool: ...
def getBounds(self) -> java.awt.Rectangle: ...
def getBounds2D(self) -> 'Rectangle2D': ...
def getCtrlPt(self) -> Point2D: ...
def getCtrlX(self) -> float: ...
def getCtrlY(self) -> float: ...
......@@ -996,7 +996,6 @@ class QuadCurve2D(java.awt.Shape, java.lang.Cloneable):
def __init__(self): ...
@typing.overload
def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ...
def getBounds2D(self) -> 'Rectangle2D': ...
def getCtrlPt(self) -> Point2D: ...
def getCtrlX(self) -> float: ...
def getCtrlY(self) -> float: ...
......@@ -1027,7 +1026,6 @@ class QuadCurve2D(java.awt.Shape, java.lang.Cloneable):
def __init__(self): ...
@typing.overload
def __init__(self, float: float, float2: float, float3: float, float4: float, float5: float, float6: float): ...
def getBounds2D(self) -> 'Rectangle2D': ...
def getCtrlPt(self) -> Point2D: ...
def getCtrlX(self) -> float: ...
def getCtrlY(self) -> float: ...
......
......@@ -38,7 +38,6 @@ class ColorModel(java.awt.Transparency):
def createCompatibleSampleModel(self, int: int, int2: int) -> 'SampleModel': ...
def createCompatibleWritableRaster(self, int: int, int2: int) -> 'WritableRaster': ...
def equals(self, object: typing.Any) -> bool: ...
def finalize(self) -> None: ...
@typing.overload
def getAlpha(self, int: int) -> int: ...
@typing.overload
......@@ -877,7 +876,6 @@ class IndexColorModel(ColorModel):
def createCompatibleSampleModel(self, int: int, int2: int) -> SampleModel: ...
def createCompatibleWritableRaster(self, int: int, int2: int) -> 'WritableRaster': ...
def equals(self, object: typing.Any) -> bool: ...
def finalize(self) -> None: ...
@typing.overload
def getAlpha(self, int: int) -> int: ...
@typing.overload
......
......@@ -713,6 +713,7 @@ class FileInputStream(InputStream):
@typing.overload
def readNBytes(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes], int: int, int2: int) -> int: ...
def skip(self, long: int) -> int: ...
def transferTo(self, outputStream: OutputStream) -> int: ...
class FileOutputStream(OutputStream):
@typing.overload
......@@ -817,10 +818,17 @@ class InvalidClassException(ObjectStreamException):
def __init__(self, string: str): ...
@typing.overload
def __init__(self, string: str, string2: str): ...
@typing.overload
def __init__(self, string: str, string2: str, throwable: java.lang.Throwable): ...
@typing.overload
def __init__(self, string: str, throwable: java.lang.Throwable): ...
def getMessage(self) -> str: ...
class InvalidObjectException(ObjectStreamException):
@typing.overload
def __init__(self, string: str): ...
@typing.overload
def __init__(self, string: str, throwable: java.lang.Throwable): ...
class NotActiveException(ObjectStreamException):
@typing.overload
......@@ -1150,6 +1158,7 @@ class SequenceInputStream(InputStream):
def read(self) -> int: ...
@typing.overload
def read(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes], int: int, int2: int) -> int: ...
def transferTo(self, outputStream: OutputStream) -> int: ...
class StreamCorruptedException(ObjectStreamException):
@typing.overload
......@@ -1228,13 +1237,14 @@ class BufferedInputStream(FilterInputStream):
def mark(self, int: int) -> None: ...
def markSupported(self) -> bool: ...
@typing.overload
def read(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> int: ...
@typing.overload
def read(self) -> int: ...
@typing.overload
def read(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes], int: int, int2: int) -> int: ...
@typing.overload
def read(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> int: ...
def reset(self) -> None: ...
def skip(self, long: int) -> int: ...
def transferTo(self, outputStream: OutputStream) -> int: ...
class BufferedOutputStream(FilterOutputStream):
@typing.overload
......@@ -1395,6 +1405,7 @@ class PrintStream(FilterOutputStream, java.lang.Appendable, Closeable):
def append(self, charSequence: typing.Union[java.lang.CharSequence, str]) -> 'PrintStream': ...
@typing.overload
def append(self, charSequence: typing.Union[java.lang.CharSequence, str], int: int, int2: int) -> 'PrintStream': ...
def charset(self) -> java.nio.charset.Charset: ...
def checkError(self) -> bool: ...
def close(self) -> None: ...
def flush(self) -> None: ...
......@@ -1469,6 +1480,7 @@ class PushbackInputStream(FilterInputStream):
def read(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes], int: int, int2: int) -> int: ...
def reset(self) -> None: ...
def skip(self, long: int) -> int: ...
def transferTo(self, outputStream: OutputStream) -> int: ...
@typing.overload
def unread(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> None: ...
@typing.overload
......
This diff is collapsed.
......@@ -76,9 +76,14 @@ class ConstantDescs:
CD_char: typing.ClassVar['ClassDesc'] = ...
CD_boolean: typing.ClassVar['ClassDesc'] = ...
CD_void: typing.ClassVar['ClassDesc'] = ...
BSM_CLASS_DATA: typing.ClassVar['DirectMethodHandleDesc'] = ...
BSM_CLASS_DATA_AT: typing.ClassVar['DirectMethodHandleDesc'] = ...
NULL: typing.ClassVar[ConstantDesc] = ...
TRUE: typing.ClassVar['DynamicConstantDesc'] = ...
FALSE: typing.ClassVar['DynamicConstantDesc'] = ...
INIT_NAME: typing.ClassVar[str] = ...
CLASS_INIT_NAME: typing.ClassVar[str] = ...
MTD_void: typing.ClassVar['MethodTypeDesc'] = ...
@staticmethod
def ofCallsiteBootstrap(classDesc: 'ClassDesc', string: str, classDesc2: 'ClassDesc', *classDesc3: 'ClassDesc') -> 'DirectMethodHandleDesc': ...
@staticmethod
......@@ -105,6 +110,21 @@ class DynamicCallSiteDesc:
def withArgs(self, *constantDesc: ConstantDesc) -> 'DynamicCallSiteDesc': ...
def withNameAndType(self, string: str, methodTypeDesc: 'MethodTypeDesc') -> 'DynamicCallSiteDesc': ...
class ModuleDesc:
def equals(self, object: typing.Any) -> bool: ...
def name(self) -> str: ...
@staticmethod
def of(string: str) -> 'ModuleDesc': ...
class PackageDesc:
def equals(self, object: typing.Any) -> bool: ...
def internalName(self) -> str: ...
def name(self) -> str: ...
@staticmethod
def of(string: str) -> 'PackageDesc': ...
@staticmethod
def ofInternalName(string: str) -> 'PackageDesc': ...
class ClassDesc(ConstantDesc, java.lang.invoke.TypeDescriptor.OfField['ClassDesc']):
@typing.overload
def arrayType(self) -> 'ClassDesc': ...
......@@ -129,7 +149,10 @@ class ClassDesc(ConstantDesc, java.lang.invoke.TypeDescriptor.OfField['ClassDesc
def of(string: str, string2: str) -> 'ClassDesc': ...
@staticmethod
def ofDescriptor(string: str) -> 'ClassDesc': ...
@staticmethod
def ofInternalName(string: str) -> 'ClassDesc': ...
def packageName(self) -> str: ...
def resolveConstantDesc(self, lookup: java.lang.invoke.MethodHandles.Lookup) -> typing.Type[typing.Any]: ...
_DynamicConstantDesc__T = typing.TypeVar('_DynamicConstantDesc__T') # <T>
class DynamicConstantDesc(ConstantDesc, typing.Generic[_DynamicConstantDesc__T]):
......@@ -169,6 +192,7 @@ class MethodHandleDesc(ConstantDesc):
def ofField(kind: 'DirectMethodHandleDesc.Kind', classDesc: ClassDesc, string: str, classDesc2: ClassDesc) -> 'DirectMethodHandleDesc': ...
@staticmethod
def ofMethod(kind: 'DirectMethodHandleDesc.Kind', classDesc: ClassDesc, string: str, methodTypeDesc: 'MethodTypeDesc') -> 'DirectMethodHandleDesc': ...
def resolveConstantDesc(self, lookup: java.lang.invoke.MethodHandles.Lookup) -> java.lang.invoke.MethodHandle: ...
class MethodTypeDesc(ConstantDesc, java.lang.invoke.TypeDescriptor.OfMethod[ClassDesc, 'MethodTypeDesc']):
def changeParameterType(self, int: int, classDesc: ClassDesc) -> 'MethodTypeDesc': ...
......@@ -178,14 +202,22 @@ class MethodTypeDesc(ConstantDesc, java.lang.invoke.TypeDescriptor.OfMethod[Clas
def dropParameterTypes(self, int: int, int2: int) -> 'MethodTypeDesc': ...
def equals(self, object: typing.Any) -> bool: ...
def insertParameterTypes(self, int: int, *classDesc: ClassDesc) -> 'MethodTypeDesc': ...
@typing.overload
@staticmethod
def of(classDesc: ClassDesc) -> 'MethodTypeDesc': ...
@typing.overload
@staticmethod
def of(classDesc: ClassDesc, *classDesc2: ClassDesc) -> 'MethodTypeDesc': ...
@typing.overload
@staticmethod
def of(classDesc: ClassDesc, list: java.util.List[ClassDesc]) -> 'MethodTypeDesc': ...
@staticmethod
def ofDescriptor(string: str) -> 'MethodTypeDesc': ...
def parameterArray(self) -> typing.MutableSequence[ClassDesc]: ...
def parameterCount(self) -> int: ...
def parameterList(self) -> java.util.List[ClassDesc]: ...
def parameterType(self, int: int) -> ClassDesc: ...
def resolveConstantDesc(self, lookup: java.lang.invoke.MethodHandles.Lookup) -> java.lang.invoke.MethodType: ...
def returnType(self) -> ClassDesc: ...
class DirectMethodHandleDesc(MethodHandleDesc):
......@@ -239,3 +271,5 @@ class __module_protocol__(Protocol):
DynamicConstantDesc: typing.Type[DynamicConstantDesc]
MethodHandleDesc: typing.Type[MethodHandleDesc]
MethodTypeDesc: typing.Type[MethodTypeDesc]
ModuleDesc: typing.Type[ModuleDesc]
PackageDesc: typing.Type[PackageDesc]
This diff is collapsed.
......@@ -9,6 +9,7 @@ import java
import java.io
import java.lang
import java.lang.constant
import java.lang.foreign
import java.lang.reflect
import java.nio
import java.util
......@@ -154,6 +155,8 @@ class MethodHandles:
@staticmethod
def collectArguments(methodHandle: MethodHandle, int: int, methodHandle2: MethodHandle) -> MethodHandle: ...
@staticmethod
def collectCoordinates(varHandle: 'VarHandle', int: int, methodHandle: MethodHandle) -> 'VarHandle': ...
@staticmethod
def constant(class_: typing.Type[typing.Any], object: typing.Any) -> MethodHandle: ...
@typing.overload
@staticmethod
......@@ -172,6 +175,8 @@ class MethodHandles:
@staticmethod
def dropArgumentsToMatch(methodHandle: MethodHandle, int: int, list: java.util.List[typing.Type[typing.Any]], int2: int) -> MethodHandle: ...
@staticmethod
def dropCoordinates(varHandle: 'VarHandle', int: int, *class_: typing.Type[typing.Any]) -> 'VarHandle': ...
@staticmethod
def dropReturn(methodHandle: MethodHandle) -> MethodHandle: ...
@staticmethod
def empty(methodType: 'MethodType') -> MethodHandle: ...
......@@ -182,7 +187,11 @@ class MethodHandles:
@staticmethod
def filterArguments(methodHandle: MethodHandle, int: int, *methodHandle2: MethodHandle) -> MethodHandle: ...
@staticmethod
def filterCoordinates(varHandle: 'VarHandle', int: int, *methodHandle: MethodHandle) -> 'VarHandle': ...
@staticmethod
def filterReturnValue(methodHandle: MethodHandle, methodHandle2: MethodHandle) -> MethodHandle: ...
@staticmethod
def filterValue(varHandle: 'VarHandle', methodHandle: MethodHandle, methodHandle2: MethodHandle) -> 'VarHandle': ...
@typing.overload
@staticmethod
def foldArguments(methodHandle: MethodHandle, int: int, methodHandle2: MethodHandle) -> MethodHandle: ...
......@@ -196,6 +205,8 @@ class MethodHandles:
@staticmethod
def insertArguments(methodHandle: MethodHandle, int: int, *object: typing.Any) -> MethodHandle: ...
@staticmethod
def insertCoordinates(varHandle: 'VarHandle', int: int, *object: typing.Any) -> 'VarHandle': ...
@staticmethod
def invoker(methodType: 'MethodType') -> MethodHandle: ...
@staticmethod
def iteratedLoop(methodHandle: MethodHandle, methodHandle2: MethodHandle, methodHandle3: MethodHandle) -> MethodHandle: ...
......@@ -204,8 +215,12 @@ class MethodHandles:
@staticmethod
def loop(*methodHandleArray: typing.Union[typing.List[MethodHandle], jpype.JArray]) -> MethodHandle: ...
@staticmethod
def memorySegmentViewVarHandle(valueLayout: java.lang.foreign.ValueLayout) -> 'VarHandle': ...
@staticmethod
def permuteArguments(methodHandle: MethodHandle, methodType: 'MethodType', *int: int) -> MethodHandle: ...
@staticmethod
def permuteCoordinates(varHandle: 'VarHandle', list: java.util.List[typing.Type[typing.Any]], *int: int) -> 'VarHandle': ...
@staticmethod
def privateLookupIn(class_: typing.Type[typing.Any], lookup: 'MethodHandles.Lookup') -> 'MethodHandles.Lookup': ...
@staticmethod
def publicLookup() -> 'MethodHandles.Lookup': ...
......@@ -236,13 +251,15 @@ class MethodHandles:
MODULE: typing.ClassVar[int] = ...
UNCONDITIONAL: typing.ClassVar[int] = ...
ORIGINAL: typing.ClassVar[int] = ...
def accessClass(self, class_: typing.Type[typing.Any]) -> typing.Type[typing.Any]: ...
_accessClass__T = typing.TypeVar('_accessClass__T') # <T>
def accessClass(self, class_: typing.Type[_accessClass__T]) -> typing.Type[_accessClass__T]: ...
def bind(self, object: typing.Any, string: str, methodType: 'MethodType') -> MethodHandle: ...
def defineClass(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> typing.Type[typing.Any]: ...
def defineHiddenClass(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes], boolean: bool, *classOption: 'MethodHandles.Lookup.ClassOption') -> 'MethodHandles.Lookup': ...
def defineHiddenClassWithClassData(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes], object: typing.Any, boolean: bool, *classOption: 'MethodHandles.Lookup.ClassOption') -> 'MethodHandles.Lookup': ...
def dropLookupMode(self, int: int) -> 'MethodHandles.Lookup': ...
def ensureInitialized(self, class_: typing.Type[typing.Any]) -> typing.Type[typing.Any]: ...
_ensureInitialized__T = typing.TypeVar('_ensureInitialized__T') # <T>
def ensureInitialized(self, class_: typing.Type[_ensureInitialized__T]) -> typing.Type[_ensureInitialized__T]: ...
def findClass(self, string: str) -> typing.Type[typing.Any]: ...
def findConstructor(self, class_: typing.Type[typing.Any], methodType: 'MethodType') -> MethodHandle: ...
def findGetter(self, class_: typing.Type[typing.Any], string: str, class2: typing.Type[typing.Any]) -> MethodHandle: ...
......@@ -303,10 +320,17 @@ class StringConcatException(java.lang.Exception):
def __init__(self, string: str, throwable: java.lang.Throwable): ...
class StringConcatFactory:
MAX_INDY_CONCAT_ARG_SLOTS: typing.ClassVar[int] = ...
@staticmethod
def makeConcat(lookup: MethodHandles.Lookup, string: str, methodType: 'MethodType') -> CallSite: ...
@staticmethod
def makeConcatWithConstants(lookup: MethodHandles.Lookup, string: str, methodType: 'MethodType', string2: str, *object: typing.Any) -> CallSite: ...
@staticmethod
def makeConcatWithTemplate(list: java.util.List[str], list2: java.util.List[typing.Type[typing.Any]]) -> MethodHandle: ...
@staticmethod
def makeConcatWithTemplateCluster(list: java.util.List[str], list2: java.util.List[typing.Type[typing.Any]], int: int) -> java.util.List[MethodHandle]: ...
@staticmethod
def makeConcatWithTemplateGetters(list: java.util.List[str], list2: java.util.List[MethodHandle], int: int) -> MethodHandle: ...
class SwitchPoint:
def __init__(self): ...
......
......@@ -7,6 +7,7 @@ else:
import java.io
import java.lang
import java.lang.reflect
import java.net
import java.nio
import java.nio.file
......@@ -53,6 +54,7 @@ class InvalidModuleDescriptorException(java.lang.RuntimeException):
def __init__(self, string: str): ...
class ModuleDescriptor(java.lang.Comparable['ModuleDescriptor']):
def accessFlags(self) -> java.util.Set[java.lang.reflect.AccessFlag]: ...
def compareTo(self, moduleDescriptor: 'ModuleDescriptor') -> int: ...
def equals(self, object: typing.Any) -> bool: ...
def exports(self) -> java.util.Set['ModuleDescriptor.Exports']: ...
......@@ -135,6 +137,7 @@ class ModuleDescriptor(java.lang.Comparable['ModuleDescriptor']):
@typing.overload
def version(self, version: 'ModuleDescriptor.Version') -> 'ModuleDescriptor.Builder': ...
class Exports(java.lang.Comparable['ModuleDescriptor.Exports']):
def accessFlags(self) -> java.util.Set[java.lang.reflect.AccessFlag]: ...
def compareTo(self, exports: 'ModuleDescriptor.Exports') -> int: ...
def equals(self, object: typing.Any) -> bool: ...
def hashCode(self) -> int: ...
......@@ -170,6 +173,7 @@ class ModuleDescriptor(java.lang.Comparable['ModuleDescriptor']):
@staticmethod
def values() -> typing.MutableSequence['ModuleDescriptor.Modifier']: ...
class Opens(java.lang.Comparable['ModuleDescriptor.Opens']):
def accessFlags(self) -> java.util.Set[java.lang.reflect.AccessFlag]: ...
def compareTo(self, opens: 'ModuleDescriptor.Opens') -> int: ...
def equals(self, object: typing.Any) -> bool: ...
def hashCode(self) -> int: ...
......@@ -198,6 +202,7 @@ class ModuleDescriptor(java.lang.Comparable['ModuleDescriptor']):
def service(self) -> str: ...
def toString(self) -> str: ...
class Requires(java.lang.Comparable['ModuleDescriptor.Requires']):
def accessFlags(self) -> java.util.Set[java.lang.reflect.AccessFlag]: ...
def compareTo(self, requires: 'ModuleDescriptor.Requires') -> int: ...
def compiledVersion(self) -> java.util.Optional['ModuleDescriptor.Version']: ...
def equals(self, object: typing.Any) -> bool: ...
......
......@@ -9,11 +9,73 @@ import java.io
import java.lang
import java.lang.annotation
import java.security
import java.util
import jpype
import typing
class AccessFlag(java.lang.Enum['AccessFlag']):
PUBLIC: typing.ClassVar['AccessFlag'] = ...
PRIVATE: typing.ClassVar['AccessFlag'] = ...
PROTECTED: typing.ClassVar['AccessFlag'] = ...
STATIC: typing.ClassVar['AccessFlag'] = ...
FINAL: typing.ClassVar['AccessFlag'] = ...
SUPER: typing.ClassVar['AccessFlag'] = ...
OPEN: typing.ClassVar['AccessFlag'] = ...
TRANSITIVE: typing.ClassVar['AccessFlag'] = ...
SYNCHRONIZED: typing.ClassVar['AccessFlag'] = ...
STATIC_PHASE: typing.ClassVar['AccessFlag'] = ...
VOLATILE: typing.ClassVar['AccessFlag'] = ...
BRIDGE: typing.ClassVar['AccessFlag'] = ...
TRANSIENT: typing.ClassVar['AccessFlag'] = ...
VARARGS: typing.ClassVar['AccessFlag'] = ...
NATIVE: typing.ClassVar['AccessFlag'] = ...
INTERFACE: typing.ClassVar['AccessFlag'] = ...
ABSTRACT: typing.ClassVar['AccessFlag'] = ...
STRICT: typing.ClassVar['AccessFlag'] = ...
SYNTHETIC: typing.ClassVar['AccessFlag'] = ...
ANNOTATION: typing.ClassVar['AccessFlag'] = ...
ENUM: typing.ClassVar['AccessFlag'] = ...
MANDATED: typing.ClassVar['AccessFlag'] = ...
MODULE: typing.ClassVar['AccessFlag'] = ...
@typing.overload
def locations(self) -> java.util.Set['AccessFlag.Location']: ...
@typing.overload
def locations(self, classFileFormatVersion: 'ClassFileFormatVersion') -> java.util.Set['AccessFlag.Location']: ...
def mask(self) -> int: ...
@staticmethod
def maskToAccessFlags(int: int, location: 'AccessFlag.Location') -> java.util.Set['AccessFlag']: ...
def sourceModifier(self) -> bool: ...
_valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # <T>
@typing.overload
@staticmethod
def valueOf(class_: typing.Type[_valueOf_0__T], string: str) -> _valueOf_0__T: ...
@typing.overload
@staticmethod
def valueOf(string: str) -> 'AccessFlag': ...
@staticmethod
def values() -> typing.MutableSequence['AccessFlag']: ...
class Location(java.lang.Enum['AccessFlag.Location']):
CLASS: typing.ClassVar['AccessFlag.Location'] = ...
FIELD: typing.ClassVar['AccessFlag.Location'] = ...
METHOD: typing.ClassVar['AccessFlag.Location'] = ...
INNER_CLASS: typing.ClassVar['AccessFlag.Location'] = ...
METHOD_PARAMETER: typing.ClassVar['AccessFlag.Location'] = ...
MODULE: typing.ClassVar['AccessFlag.Location'] = ...
MODULE_REQUIRES: typing.ClassVar['AccessFlag.Location'] = ...
MODULE_EXPORTS: typing.ClassVar['AccessFlag.Location'] = ...
MODULE_OPENS: typing.ClassVar['AccessFlag.Location'] = ...
_valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # <T>
@typing.overload
@staticmethod
def valueOf(class_: typing.Type[_valueOf_0__T], string: str) -> _valueOf_0__T: ...
@typing.overload
@staticmethod
def valueOf(string: str) -> 'AccessFlag.Location': ...
@staticmethod
def values() -> typing.MutableSequence['AccessFlag.Location']: ...
class AnnotatedElement:
_getAnnotation__T = typing.TypeVar('_getAnnotation__T', bound=java.lang.annotation.Annotation) # <T>
def getAnnotation(self, class_: typing.Type[_getAnnotation__T]) -> _getAnnotation__T: ...
......@@ -73,6 +135,48 @@ class Array:
@staticmethod
def setShort(object: typing.Any, int: int, short: int) -> None: ...
class ClassFileFormatVersion(java.lang.Enum['ClassFileFormatVersion']):
RELEASE_0: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_1: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_2: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_3: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_4: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_5: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_6: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_7: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_8: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_9: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_10: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_11: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_12: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_13: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_14: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_15: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_16: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_17: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_18: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_19: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_20: typing.ClassVar['ClassFileFormatVersion'] = ...
RELEASE_21: typing.ClassVar['ClassFileFormatVersion'] = ...
@staticmethod
def fromMajor(int: int) -> 'ClassFileFormatVersion': ...
@staticmethod
def latest() -> 'ClassFileFormatVersion': ...
def major(self) -> int: ...
def runtimeVersion(self) -> java.lang.Runtime.Version: ...
_valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # <T>
@typing.overload
@staticmethod
def valueOf(class_: typing.Type[_valueOf_0__T], string: str) -> _valueOf_0__T: ...
@typing.overload
@staticmethod
def valueOf(version: java.lang.Runtime.Version) -> 'ClassFileFormatVersion': ...
@typing.overload
@staticmethod
def valueOf(string: str) -> 'ClassFileFormatVersion': ...
@staticmethod
def values() -> typing.MutableSequence['ClassFileFormatVersion']: ...
class GenericSignatureFormatError(java.lang.ClassFormatError):
@typing.overload
def __init__(self): ...
......@@ -113,6 +217,7 @@ class MalformedParametersException(java.lang.RuntimeException):
class Member:
PUBLIC: typing.ClassVar[int] = ...
DECLARED: typing.ClassVar[int] = ...
def accessFlags(self) -> java.util.Set[AccessFlag]: ...
def getDeclaringClass(self) -> typing.Type[typing.Any]: ...
def getModifiers(self) -> int: ...
def getName(self) -> str: ...
......@@ -235,6 +340,7 @@ class GenericDeclaration(AnnotatedElement):
def getTypeParameters(self) -> typing.MutableSequence['TypeVariable'[typing.Any]]: ...
class Parameter(AnnotatedElement):
def accessFlags(self) -> java.util.Set[AccessFlag]: ...
def equals(self, object: typing.Any) -> bool: ...
def getAnnotatedType(self) -> AnnotatedType: ...
_getAnnotation__T = typing.TypeVar('_getAnnotation__T', bound=java.lang.annotation.Annotation) # <T>
......@@ -307,6 +413,7 @@ class AnnotatedWildcardType(AnnotatedType):
def getAnnotatedUpperBounds(self) -> typing.MutableSequence[AnnotatedType]: ...
class Executable(AccessibleObject, Member, GenericDeclaration):
def accessFlags(self) -> java.util.Set[AccessFlag]: ...
def getAnnotatedExceptionTypes(self) -> typing.MutableSequence[AnnotatedType]: ...
def getAnnotatedParameterTypes(self) -> typing.MutableSequence[AnnotatedType]: ...
def getAnnotatedReceiverType(self) -> AnnotatedType: ...
......@@ -332,6 +439,7 @@ class Executable(AccessibleObject, Member, GenericDeclaration):
def toGenericString(self) -> str: ...
class Field(AccessibleObject, Member):
def accessFlags(self) -> java.util.Set[AccessFlag]: ...
def equals(self, object: typing.Any) -> bool: ...
def get(self, object: typing.Any) -> typing.Any: ...
def getAnnotatedType(self) -> AnnotatedType: ...
......@@ -440,6 +548,7 @@ class Method(Executable):
class __module_protocol__(Protocol):
# A module protocol which reflects the result of ``jp.JPackage("java.lang.reflect")``.
AccessFlag: typing.Type[AccessFlag]
AccessibleObject: typing.Type[AccessibleObject]
AnnotatedArrayType: typing.Type[AnnotatedArrayType]
AnnotatedElement: typing.Type[AnnotatedElement]
......@@ -448,6 +557,7 @@ class __module_protocol__(Protocol):
AnnotatedTypeVariable: typing.Type[AnnotatedTypeVariable]
AnnotatedWildcardType: typing.Type[AnnotatedWildcardType]
Array: typing.Type[Array]
ClassFileFormatVersion: typing.Type[ClassFileFormatVersion]
Constructor: typing.Type[Constructor]
Executable: typing.Type[Executable]
Field: typing.Type[Field]
......
......@@ -20,9 +20,18 @@ class SwitchBootstraps:
@staticmethod
def typeSwitch(lookup: java.lang.invoke.MethodHandles.Lookup, string: str, methodType: java.lang.invoke.MethodType, *object: typing.Any) -> java.lang.invoke.CallSite: ...
class TemplateRuntime:
@staticmethod
def newLargeStringTemplate(lookup: java.lang.invoke.MethodHandles.Lookup, string: str, methodType: java.lang.invoke.MethodType) -> java.lang.invoke.CallSite: ...
@staticmethod
def newStringTemplate(lookup: java.lang.invoke.MethodHandles.Lookup, string: str, methodType: java.lang.invoke.MethodType, *string2: str) -> java.lang.invoke.CallSite: ...
@staticmethod
def processStringTemplate(lookup: java.lang.invoke.MethodHandles.Lookup, string: str, methodType: java.lang.invoke.MethodType, methodHandle: java.lang.invoke.MethodHandle, *string2: str) -> java.lang.invoke.CallSite: ...
class __module_protocol__(Protocol):
# A module protocol which reflects the result of ``jp.JPackage("java.lang.runtime")``.
ObjectMethods: typing.Type[ObjectMethods]
SwitchBootstraps: typing.Type[SwitchBootstraps]
TemplateRuntime: typing.Type[TemplateRuntime]
......@@ -18,6 +18,7 @@ import typing
class BigDecimal(java.lang.Number, java.lang.Comparable['BigDecimal'], _JBigDecimal):
ZERO: typing.ClassVar['BigDecimal'] = ...
ONE: typing.ClassVar['BigDecimal'] = ...
TWO: typing.ClassVar['BigDecimal'] = ...
TEN: typing.ClassVar['BigDecimal'] = ...
ROUND_UP: typing.ClassVar[int] = ...
ROUND_DOWN: typing.ClassVar[int] = ...
......@@ -210,6 +211,7 @@ class BigInteger(java.lang.Number, java.lang.Comparable['BigInteger']):
def nextProbablePrime(self) -> 'BigInteger': ...
def not_(self) -> 'BigInteger': ...
def or_(self, bigInteger: 'BigInteger') -> 'BigInteger': ...
def parallelMultiply(self, bigInteger: 'BigInteger') -> 'BigInteger': ...
def pow(self, int: int) -> 'BigInteger': ...
@staticmethod
def probablePrime(int: int, random: java.util.Random) -> 'BigInteger': ...
......
......@@ -500,6 +500,10 @@ class SocketException(java.io.IOException):
def __init__(self): ...
@typing.overload
def __init__(self, string: str): ...
@typing.overload
def __init__(self, string: str, throwable: java.lang.Throwable): ...
@typing.overload
def __init__(self, throwable: java.lang.Throwable): ...
class SocketImplFactory:
def createSocketImpl(self) -> 'SocketImpl': ...
......@@ -639,6 +643,8 @@ class URL(java.io.Serializable):
def getRef(self) -> str: ...
def getUserInfo(self) -> str: ...
def hashCode(self) -> int: ...
@staticmethod
def of(uRI: URI, uRLStreamHandler: 'URLStreamHandler') -> 'URL': ...
@typing.overload
def openConnection(self) -> 'URLConnection': ...
@typing.overload
......
......@@ -23,12 +23,15 @@ import typing
class HttpClient:
class HttpClient(java.lang.AutoCloseable):
def authenticator(self) -> java.util.Optional[java.net.Authenticator]: ...
def awaitTermination(self, duration: java.time.Duration) -> bool: ...
def close(self) -> None: ...
def connectTimeout(self) -> java.util.Optional[java.time.Duration]: ...
def cookieHandler(self) -> java.util.Optional[java.net.CookieHandler]: ...
def executor(self) -> java.util.Optional[java.util.concurrent.Executor]: ...
def followRedirects(self) -> 'HttpClient.Redirect': ...
def isTerminated(self) -> bool: ...
@staticmethod
def newBuilder() -> 'HttpClient.Builder': ...
@staticmethod
......@@ -43,6 +46,8 @@ class HttpClient:
def sendAsync(self, httpRequest: 'HttpRequest', bodyHandler: typing.Union['HttpResponse.BodyHandler'[_sendAsync_0__T], typing.Callable[['HttpResponse.ResponseInfo'], 'HttpResponse.BodySubscriber'[typing.Any]]]) -> java.util.concurrent.CompletableFuture['HttpResponse'[_sendAsync_0__T]]: ...
@typing.overload
def sendAsync(self, httpRequest: 'HttpRequest', bodyHandler: typing.Union['HttpResponse.BodyHandler'[_sendAsync_1__T], typing.Callable[['HttpResponse.ResponseInfo'], 'HttpResponse.BodySubscriber'[typing.Any]]], pushPromiseHandler: typing.Union['HttpResponse.PushPromiseHandler'[_sendAsync_1__T], typing.Callable[['HttpRequest', 'HttpRequest', java.util.function.Function['HttpResponse.BodyHandler'[typing.Any], java.util.concurrent.CompletableFuture['HttpResponse'[typing.Any]]]], None]]) -> java.util.concurrent.CompletableFuture['HttpResponse'[_sendAsync_1__T]]: ...
def shutdown(self) -> None: ...
def shutdownNow(self) -> None: ...
def sslContext(self) -> javax.net.ssl.SSLContext: ...
def sslParameters(self) -> javax.net.ssl.SSLParameters: ...
def version(self) -> 'HttpClient.Version': ...
......@@ -54,6 +59,7 @@ class HttpClient:
def cookieHandler(self, cookieHandler: java.net.CookieHandler) -> 'HttpClient.Builder': ...
def executor(self, executor: typing.Union[java.util.concurrent.Executor, typing.Callable]) -> 'HttpClient.Builder': ...
def followRedirects(self, redirect: 'HttpClient.Redirect') -> 'HttpClient.Builder': ...
def localAddress(self, inetAddress: java.net.InetAddress) -> 'HttpClient.Builder': ...
def priority(self, int: int) -> 'HttpClient.Builder': ...
def proxy(self, proxySelector: java.net.ProxySelector) -> 'HttpClient.Builder': ...
def sslContext(self, sSLContext: javax.net.ssl.SSLContext) -> 'HttpClient.Builder': ...
......@@ -149,6 +155,7 @@ class HttpRequest:
class Builder:
def DELETE(self) -> 'HttpRequest.Builder': ...
def GET(self) -> 'HttpRequest.Builder': ...
def HEAD(self) -> 'HttpRequest.Builder': ...
def POST(self, bodyPublisher: 'HttpRequest.BodyPublisher') -> 'HttpRequest.Builder': ...
def PUT(self, bodyPublisher: 'HttpRequest.BodyPublisher') -> 'HttpRequest.Builder': ...
def build(self) -> 'HttpRequest': ...
......
......@@ -6,14 +6,37 @@ else:
from typing_extensions import Protocol
import java.net
import java.util.stream
import jpype
import typing
class InetAddressResolver:
def lookupByAddress(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> str: ...
def lookupByName(self, string: str, lookupPolicy: 'InetAddressResolver.LookupPolicy') -> java.util.stream.Stream[java.net.InetAddress]: ...
class LookupPolicy:
IPV4: typing.ClassVar[int] = ...
IPV6: typing.ClassVar[int] = ...
IPV4_FIRST: typing.ClassVar[int] = ...
IPV6_FIRST: typing.ClassVar[int] = ...
def characteristics(self) -> int: ...
@staticmethod
def of(int: int) -> 'InetAddressResolver.LookupPolicy': ...
class InetAddressResolverProvider:
def get(self, configuration: 'InetAddressResolverProvider.Configuration') -> InetAddressResolver: ...
def name(self) -> str: ...
class Configuration:
def builtinResolver(self) -> InetAddressResolver: ...
def lookupLocalHostName(self) -> str: ...
class URLStreamHandlerProvider(java.net.URLStreamHandlerFactory): ...
class __module_protocol__(Protocol):
# A module protocol which reflects the result of ``jp.JPackage("java.net.spi")``.
InetAddressResolver: typing.Type[InetAddressResolver]
InetAddressResolverProvider: typing.Type[InetAddressResolverProvider]
URLStreamHandlerProvider: typing.Type[URLStreamHandlerProvider]
......@@ -7,6 +7,7 @@ else:
import java.io
import java.lang
import java.lang.foreign
import java.net
import java.nio
import java.nio.channels.spi
......@@ -508,8 +509,11 @@ class FileChannel(java.nio.channels.spi.AbstractInterruptibleChannel, SeekableBy
def lock(self, long: int, long2: int, boolean: bool) -> FileLock: ...
@typing.overload
def lock(self) -> FileLock: ...
@typing.overload
def map(self, mapMode: 'FileChannel.MapMode', long: int, long2: int) -> java.nio.MappedByteBuffer: ...
@typing.overload
def map(self, mapMode: 'FileChannel.MapMode', long: int, long2: int, arena: java.lang.foreign.Arena) -> java.lang.foreign.MemorySegment: ...
@typing.overload
@staticmethod
def open(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], *openOption: java.nio.file.OpenOption) -> 'FileChannel': ...
@typing.overload
......
......@@ -37,8 +37,12 @@ class Charset(java.lang.Comparable['Charset']):
@typing.overload
def encode(self, charBuffer: java.nio.CharBuffer) -> java.nio.ByteBuffer: ...
def equals(self, object: typing.Any) -> bool: ...
@typing.overload
@staticmethod
def forName(string: str) -> 'Charset': ...
@typing.overload
@staticmethod
def forName(string: str, charset: 'Charset') -> 'Charset': ...
def hashCode(self) -> int: ...
def isRegistered(self) -> bool: ...
@staticmethod
......
......@@ -25,6 +25,7 @@ class FileSystemProvider:
def createSymbolicLink(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], path2: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], *fileAttribute: java.nio.file.attribute.FileAttribute[typing.Any]) -> None: ...
def delete(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ...
def deleteIfExists(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> bool: ...
def exists(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], *linkOption: java.nio.file.LinkOption) -> bool: ...
_getFileAttributeView__V = typing.TypeVar('_getFileAttributeView__V', bound=java.nio.file.attribute.FileAttributeView) # <V>
def getFileAttributeView(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], class_: typing.Type[_getFileAttributeView__V], *linkOption: java.nio.file.LinkOption) -> _getFileAttributeView__V: ...
def getFileStore(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.nio.file.FileStore: ...
......@@ -51,6 +52,8 @@ class FileSystemProvider:
def readAttributes(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], class_: typing.Type[_readAttributes_0__A], *linkOption: java.nio.file.LinkOption) -> _readAttributes_0__A: ...
@typing.overload
def readAttributes(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], string: str, *linkOption: java.nio.file.LinkOption) -> java.util.Map[str, typing.Any]: ...
_readAttributesIfExists__A = typing.TypeVar('_readAttributesIfExists__A', bound=java.nio.file.attribute.BasicFileAttributes) # <A>
def readAttributesIfExists(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], class_: typing.Type[_readAttributesIfExists__A], *linkOption: java.nio.file.LinkOption) -> _readAttributesIfExists__A: ...
def readSymbolicLink(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.nio.file.Path: ...
def setAttribute(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], string: str, object: typing.Any, *linkOption: java.nio.file.LinkOption) -> None: ...
......
......@@ -253,6 +253,10 @@ class InvalidParameterException(java.lang.IllegalArgumentException):
def __init__(self): ...
@typing.overload
def __init__(self, string: str): ...
@typing.overload
def __init__(self, string: str, throwable: java.lang.Throwable): ...
@typing.overload
def __init__(self, throwable: java.lang.Throwable): ...
class Key(java.io.Serializable):
serialVersionUID: typing.ClassVar[int] = ...
......@@ -316,6 +320,7 @@ class KeyStoreSpi:
def engineContainsAlias(self, string: str) -> bool: ...
def engineDeleteEntry(self, string: str) -> None: ...
def engineEntryInstanceOf(self, string: str, class_: typing.Type['KeyStore.Entry']) -> bool: ...
def engineGetAttributes(self, string: str) -> java.util.Set['KeyStore.Entry.Attribute']: ...
def engineGetCertificate(self, string: str) -> java.security.cert.Certificate: ...
def engineGetCertificateAlias(self, certificate: java.security.cert.Certificate) -> str: ...
def engineGetCertificateChain(self, string: str) -> typing.MutableSequence[java.security.cert.Certificate]: ...
......@@ -955,6 +960,7 @@ class KeyStore:
def containsAlias(self, string: str) -> bool: ...
def deleteEntry(self, string: str) -> None: ...
def entryInstanceOf(self, string: str, class_: typing.Type['KeyStore.Entry']) -> bool: ...
def getAttributes(self, string: str) -> java.util.Set['KeyStore.Entry.Attribute']: ...
def getCertificate(self, string: str) -> java.security.cert.Certificate: ...
def getCertificateAlias(self, certificate: java.security.cert.Certificate) -> str: ...
def getCertificateChain(self, string: str) -> typing.MutableSequence[java.security.cert.Certificate]: ...
......
......@@ -243,6 +243,7 @@ class DecimalFormatSymbols(java.lang.Cloneable, java.io.Serializable):
@staticmethod
def getInstance(locale: java.util.Locale) -> 'DecimalFormatSymbols': ...
def getInternationalCurrencySymbol(self) -> str: ...
def getLocale(self) -> java.util.Locale: ...
def getMinusSign(self) -> str: ...
def getMonetaryDecimalSeparator(self) -> str: ...
def getMonetaryGroupingSeparator(self) -> str: ...
......
......@@ -77,6 +77,7 @@ class Duration(java.time.temporal.TemporalAmount, java.lang.Comparable['Duration
def getUnits(self) -> java.util.List[java.time.temporal.TemporalUnit]: ...
def hashCode(self) -> int: ...
def isNegative(self) -> bool: ...
def isPositive(self) -> bool: ...
def isZero(self) -> bool: ...
@typing.overload
def minus(self, duration: 'Duration') -> 'Duration': ...
......@@ -1183,6 +1184,7 @@ class ZoneOffset(ZoneId, java.time.temporal.TemporalAccessor, java.time.temporal
def getTotalSeconds(self) -> int: ...
def hashCode(self) -> int: ...
def isSupported(self, temporalField: java.time.temporal.TemporalField) -> bool: ...
def normalized(self) -> ZoneId: ...
@typing.overload
@staticmethod
def of(string: str) -> ZoneId: ...
......