22namespace PHPJava \Core \JVM \Invoker ;
33
44use ByteUnits \Metric ;
5- use Monolog \Handler \StreamHandler ;
6- use Monolog \Logger ;
7- use PHPJava \Core \JavaClass ;
85use PHPJava \Core \JavaClassInvoker ;
96use PHPJava \Core \JVM \Cache \OperationCache ;
107use PHPJava \Core \JVM \FlexibleMethod ;
118use PHPJava \Core \JVM \Parameters \GlobalOptions ;
9+ use PHPJava \Core \JVM \Parameters \Runtime ;
1210use PHPJava \Core \JVM \Stream \BinaryReader ;
1311use PHPJava \Exceptions \IllegalJavaClassException ;
1412use PHPJava \Exceptions \RuntimeException ;
1513use PHPJava \Exceptions \UndefinedMethodException ;
1614use PHPJava \Exceptions \UndefinedOpCodeException ;
17- use PHPJava \Kernel \Provider \DependencyInjectionProvider ;
18- use PHPJava \Packages \java \lang \NoSuchMethodException ;
19- use PHPJava \Kernel \Attributes \AttributeInfo ;
20- use PHPJava \Kernel \Attributes \AttributeInterface ;
2115use PHPJava \Kernel \Attributes \CodeAttribute ;
2216use PHPJava \Kernel \Core \Accumulator ;
2317use PHPJava \Kernel \Core \ConstantPool ;
2418use PHPJava \Kernel \Maps \OpCode ;
2519use PHPJava \Kernel \Mnemonics \OperationInterface ;
20+ use PHPJava \Kernel \Provider \DependencyInjectionProvider ;
2621use PHPJava \Kernel \Structures \_MethodInfo ;
2722use PHPJava \Kernel \Types \_Char ;
23+ use PHPJava \Packages \java \lang \NoSuchMethodException ;
2824use PHPJava \Utilities \AttributionResolver ;
2925use PHPJava \Utilities \DebugTool ;
3026use PHPJava \Utilities \Formatter ;
3127use PHPJava \Utilities \SuperClassResolver ;
3228use PHPJava \Utilities \TypeResolver ;
33- use PHPJava \Core \JVM \Parameters \Runtime ;
3429
3530trait Invokable
3631{
@@ -39,7 +34,6 @@ trait Invokable
3934 private $ options = [];
4035 private $ debugTool ;
4136
42-
4337 public function __construct (JavaClassInvoker $ javaClassInvoker , array $ methods , array $ options = [])
4438 {
4539 $ this ->javaClassInvoker = $ javaClassInvoker ;
@@ -51,11 +45,8 @@ public function __construct(JavaClassInvoker $javaClassInvoker, array $methods,
5145 );
5246 }
5347
54-
5548 /**
56- * @param string $name
5749 * @param mixed ...$arguments
58- * @return null
5950 * @throws IllegalJavaClassException
6051 * @throws RuntimeException
6152 * @throws UndefinedOpCodeException
@@ -238,7 +229,7 @@ function ($item) {
238229 }
239230
240231 /**
241- * @var OperationInterface| Accumulator|ConstantPool $executor
232+ * @var Accumulator|ConstantPool|OperationInterface $executor
242233 */
243234 $ executor = $ operationCache ->fetchOrPush (
244235 $ fullName ,
@@ -299,7 +290,6 @@ public function has(string $name): bool
299290 /**
300291 * @param $name
301292 * @param mixed ...$arguments
302- * @return _MethodInfo
303293 * @throws NoSuchMethodException
304294 * @throws UndefinedMethodException
305295 * @throws \PHPJava\Exceptions\TypeException
@@ -371,7 +361,6 @@ private function findMethod($name, ...$arguments): _MethodInfo
371361
372362 /**
373363 * @param mixed ...$arguments
374- * @return string
375364 */
376365 private function stringifyArguments (...$ arguments ): string
377366 {
0 commit comments