HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/fm-agent/dependencies/linux/python3.9/jpype/__pycache__/_jpackage.cpython-39.pyc
a

��i	�@s8ddlZdgZGdd�de�ZGdd�dejed�ZdS)�N�JPackagec@seZdZdd�Zdd�ZdS)�
_JPackageMetacCst|tj�S�N)�
isinstance�_jpype�	_JPackage��self�other�r�A/usr/lib/fm-agent/dependencies/linux/python3.9/jpype/_jpackage.py�__instancecheck__sz_JPackageMeta.__instancecheck__cCst|tj�Sr)�
issubclassrrrrrr�__subclasscheck__sz_JPackageMeta.__subclasscheck__N)�__name__�
__module__�__qualname__r
rrrrrrsrc@seZdZdZdS)ra� Gateway for automatic importation of Java classes.

    This class allows structured access to Java packages and classes.
    This functionality has been replaced by ``jpype.imports``, but is still
    useful in some cases.

    Only the root of the package tree needs to be declared with the ``JPackage``
    constructor. Sub-packages will be created on demand.

    For example, to import the w3c DOM package:

    .. code-block:: python

      Document = JPackage('org').w3c.dom.Document

    Under some situations such as a missing jar file, the resulting object
    will be a JPackage object rather than the expected java class. This
    results in rather challanging debugging messages. Due to this 
    restriction, the ``jpype.imports`` module is preferred. To prevent these
    types of errors, a package can be declares as ``strict`` which prevents
    expanding package names that do not comply with Java package name
    conventions.

    Args:
      path (str): Path into the Java class tree.

    Example:

      .. code-block:: python

        # Alias into a library
        google = JPackage("com").google

        # Access members in the library
        result = google.common.IntMath.pow(x,m)

    N)rrr�__doc__rrrrrs%)�	metaclass)r�__all__�typerrrrrrr�<module>s