-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathClassInvokerInterface.php
More file actions
33 lines (25 loc) · 947 Bytes
/
ClassInvokerInterface.php
File metadata and controls
33 lines (25 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
declare(strict_types=1);
namespace PHPJava\Core\JVM;
use PHPJava\Core\JavaClassInterface;
use PHPJava\Core\JVM\Field\JavaDynamicField;
use PHPJava\Core\JVM\Field\JavaStaticField;
use PHPJava\Core\JVM\Field\PHPDynamicField;
use PHPJava\Core\JVM\Field\PHPStaticField;
use PHPJava\Kernel\Provider\ProviderInterface;
interface ClassInvokerInterface
{
public function __construct(JavaClassInterface $javaClass, array $options);
public function getJavaClass(): JavaClassInterface;
public function construct(...$arguments): ClassInvokerInterface;
/**
* @return AccessorInterface|JavaDynamicField|PHPDynamicField
*/
public function getDynamic(): AccessorInterface;
/**
* @return AccessorInterface|JavaStaticField|PHPStaticField
*/
public function getStatic(): AccessorInterface;
public function getProvider(string $providerName): ProviderInterface;
public function getClassObject();
}