
    q&i	                     P    S SK r S/r " S S\5      r " S S\ R                  \S9rg)    NJPackagec                        \ rS rSrS rS rSrg)_JPackageMeta   c                 6    [        U[        R                  5      $ N)
isinstance_jpype	_JPackageselfothers     O/var/www/html/banglarbhumi/venv/lib/python3.13/site-packages/jpype/_jpackage.py__instancecheck___JPackageMeta.__instancecheck__       %!1!122    c                 6    [        U[        R                  5      $ r   )
issubclassr
   r   r   s     r   __subclasscheck___JPackageMeta.__subclasscheck__   r   r    N)__name__
__module____qualname____firstlineno__r   r   __static_attributes__r   r   r   r   r      s    33r   r   c                       \ rS rSrSrSrg)r      a`  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)

r   N)r   r   r   r   __doc__r   r   r   r   r   r      s    $J 	r   )	metaclass)r
   __all__typer   r   r   r   r   r   <module>r$      s1   $ ,3D 3&	v= &	r   