Skip to content

Commit 9a19e0b

Browse files
committed
Rename classes
1 parent 14f1370 commit 9a19e0b

33 files changed

+85
-85
lines changed

src/Core/JVM/Accessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Accessor implements AccessorInterface
2020
private $methodAccessor;
2121

2222
/**
23-
* @param PHPJava\Kernel\Structures\_MethodInfo[] $methods
23+
* @param PHPJava\Kernel\Structures\MethodInfo[] $methods
2424
*/
2525
public function __construct(
2626
ClassInvokerInterface $invoker,

src/Core/JVM/FieldPool.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
use PHPJava\Core\Stream\Reader\ReaderInterface;
66
use PHPJava\Exceptions\ReadOnlyException;
7-
use PHPJava\Kernel\Structures\_FieldInfo;
7+
use PHPJava\Kernel\Structures\FieldInfo;
88
use PHPJava\Utilities\DebugTool;
99

1010
class FieldPool implements \ArrayAccess, \Countable, \IteratorAggregate
1111
{
1212
/**
13-
* @var _FieldInfo[]
13+
* @var FieldInfo[]
1414
*/
1515
private $entries = [];
1616

@@ -27,15 +27,15 @@ public function __construct(
2727
) {
2828
$this->reader = $reader;
2929
for ($i = 0; $i < $entries; $i++) {
30-
$this->entries[$i] = new _FieldInfo($reader);
30+
$this->entries[$i] = new FieldInfo($reader);
3131
$this->entries[$i]->setConstantPool($constantPool);
3232
$this->entries[$i]->setDebugTool($debugTool);
3333
$this->entries[$i]->execute();
3434
}
3535
}
3636

3737
/**
38-
* @return _FieldInfo[]
38+
* @return FieldInfo[]
3939
*/
4040
public function getEntries()
4141
{
@@ -53,7 +53,7 @@ public function offsetExists($offset)
5353

5454
/**
5555
* @param int $offset
56-
* @return _FieldInfo
56+
* @return FieldInfo
5757
*/
5858
public function offsetGet($offset)
5959
{
@@ -85,7 +85,7 @@ public function offsetUnset($offset)
8585
}
8686

8787
/**
88-
* @return \ArrayIterator<_FieldInfo>
88+
* @return \ArrayIterator<FieldInfo>
8989
*/
9090
public function getIterator()
9191
{

src/Core/JVM/Invoker/Extended/JavaMethodCallable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use PHPJava\Kernel\Provider\DependencyInjectionProvider;
2222
use PHPJava\Kernel\Resolvers\AttributionResolver;
2323
use PHPJava\Kernel\Resolvers\TypeResolver;
24-
use PHPJava\Kernel\Structures\_MethodInfo;
24+
use PHPJava\Kernel\Structures\MethodInfo;
2525
use PHPJava\Kernel\Types\Char_;
2626
use PHPJava\Kernel\Types\Double_;
2727
use PHPJava\Kernel\Types\Long_;
@@ -65,7 +65,7 @@ public function call(string $name, ...$arguments)
6565
$convertedPassedArguments = $this->stringifyArguments(...$arguments);
6666

6767
/**
68-
* @var _MethodInfo $method
68+
* @var MethodInfo $method
6969
*/
7070
$method = $operationCache->fetchOrPush(
7171
"{$name}.{$convertedPassedArguments}",

src/Core/JVM/Invoker/Extended/JavaMethodFindable.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use PHPJava\Exceptions\UndefinedMethodException;
88
use PHPJava\Kernel\Resolvers\SuperClassResolver;
99
use PHPJava\Kernel\Resolvers\TypeResolver;
10-
use PHPJava\Kernel\Structures\_MethodInfo;
10+
use PHPJava\Kernel\Structures\MethodInfo;
1111
use PHPJava\Packages\java\lang\NoSuchMethodException;
1212
use PHPJava\Utilities\Formatter;
1313

@@ -19,7 +19,7 @@ trait JavaMethodFindable
1919
* @throws \PHPJava\Exceptions\TypeException
2020
* @throws \ReflectionException
2121
*/
22-
protected function findMethod(string $name, ...$arguments): _MethodInfo
22+
protected function findMethod(string $name, ...$arguments): MethodInfo
2323
{
2424
$superClassMethods = $this->isDynamic()
2525
? SuperClassResolver::resolveDynamicMethods($name, $this->javaClassInvoker->getJavaClass())
@@ -54,7 +54,7 @@ protected function findMethod(string $name, ...$arguments): _MethodInfo
5454
}
5555

5656
/**
57-
* @var _MethodInfo $methodReference
57+
* @var MethodInfo $methodReference
5858
*/
5959
$methodSignature = Formatter::buildArgumentsSignature($formattedArguments);
6060

src/Core/JVM/Invoker/Extended/MethodListable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
declare(strict_types=1);
33
namespace PHPJava\Core\JVM\Invoker\Extended;
44

5-
use PHPJava\Kernel\Structures\_MethodInfo;
5+
use PHPJava\Kernel\Structures\MethodInfo;
66

77
trait MethodListable
88
{
99
/**
10-
* @return _MethodInfo[]
10+
* @return MethodInfo[]
1111
*/
1212
public function getList(): array
1313
{

src/Core/JVM/Invoker/Extended/Specifics/JavaMethodSpecifics.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
namespace PHPJava\Core\JVM\Invoker\Extended\Specifics;
44

55
use PHPJava\Kernel\Maps\MethodAccessFlag;
6-
use PHPJava\Kernel\Structures\_MethodInfo;
6+
use PHPJava\Kernel\Structures\MethodInfo;
77

88
class JavaMethodSpecifics implements MethodSpecificsInterface
99
{
1010
/**
11-
* @var _MethodInfo
11+
* @var MethodInfo
1212
*/
1313
private $methodInfo;
1414

15-
public function __construct(_MethodInfo $methodInfo)
15+
public function __construct(MethodInfo $methodInfo)
1616
{
1717
$this->methodInfo = $methodInfo;
1818
}

src/Core/JVM/Invoker/InvokerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
interface InvokerInterface
99
{
1010
/**
11-
* @param PHPJava\Kernel\Structures\_MethodInfo[] $methods
11+
* @param PHPJava\Kernel\Structures\MethodInfo[] $methods
1212
*/
1313
public function __construct(ClassInvokerInterface $javaClassInvoker, array $methods);
1414

@@ -17,7 +17,7 @@ public function call(string $name, ...$arguments);
1717
public function isDynamic(): bool;
1818

1919
/**
20-
* @return PHPJava\Kernel\Structures\_MethodInfo[]
20+
* @return PHPJava\Kernel\Structures\MethodInfo[]
2121
*/
2222
public function getList(): array;
2323

src/Core/JVM/Invoker/JavaClassMethodInvoker.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace PHPJava\Core\JVM\Invoker;
44

55
use PHPJava\Core\JVM\ClassInvokerInterface;
6-
use PHPJava\Kernel\Structures\_MethodInfo;
6+
use PHPJava\Kernel\Structures\MethodInfo;
77
use PHPJava\Utilities\DebugTool;
88

99
class JavaClassMethodInvoker implements InvokerInterface
@@ -23,7 +23,7 @@ class JavaClassMethodInvoker implements InvokerInterface
2323
private $javaClassInvoker;
2424

2525
/**
26-
* @var _MethodInfo[]
26+
* @var MethodInfo[]
2727
*/
2828
private $methods = [];
2929

@@ -38,7 +38,7 @@ class JavaClassMethodInvoker implements InvokerInterface
3838
private $debugTool;
3939

4040
/**
41-
* @param _MethodInfo[] $methods
41+
* @param MethodInfo[] $methods
4242
*/
4343
public function __construct(ClassInvokerInterface $javaClassInvoker, array $methods, array $options = [])
4444
{

src/Core/JVM/Invoker/PHPClassMethodInvoker.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use PHPJava\Core\JVM\ClassInvokerInterface;
66
use PHPJava\Core\JVM\Parameters\Runtime;
7-
use PHPJava\Kernel\Structures\_MethodInfo;
7+
use PHPJava\Kernel\Structures\MethodInfo;
88
use PHPJava\Utilities\DebugTool;
99

1010
class PHPClassMethodInvoker implements InvokerInterface
@@ -22,7 +22,7 @@ class PHPClassMethodInvoker implements InvokerInterface
2222
private $javaClassInvoker;
2323

2424
/**
25-
* @var _MethodInfo[]
25+
* @var MethodInfo[]
2626
*/
2727
private $methods = [];
2828

@@ -37,7 +37,7 @@ class PHPClassMethodInvoker implements InvokerInterface
3737
private $debugTool;
3838

3939
/**
40-
* @param _MethodInfo[] $methods
40+
* @param MethodInfo[] $methods
4141
*/
4242
public function __construct(ClassInvokerInterface $javaClassInvoker, array $methods, array $options = [])
4343
{

src/Core/JVM/JavaClassInvoker.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
use PHPJava\Kernel\Filters\Normalizer;
1111
use PHPJava\Kernel\Maps\FieldAccessFlag;
1212
use PHPJava\Kernel\Maps\MethodAccessFlag;
13-
use PHPJava\Kernel\Structures\_FieldInfo;
14-
use PHPJava\Kernel\Structures\_MethodInfo;
13+
use PHPJava\Kernel\Structures\FieldInfo;
14+
use PHPJava\Kernel\Structures\MethodInfo;
1515

1616
class JavaClassInvoker implements ClassInvokerInterface
1717
{
@@ -21,22 +21,22 @@ class JavaClassInvoker implements ClassInvokerInterface
2121
use Extended\StaticAccessorProvidable;
2222

2323
/**
24-
* @var _MethodInfo[]
24+
* @var MethodInfo[]
2525
*/
2626
private $dynamicMethods = [];
2727

2828
/**
29-
* @var _MethodInfo[]
29+
* @var MethodInfo[]
3030
*/
3131
private $staticMethods = [];
3232

3333
/**
34-
* @var _FieldInfo[]
34+
* @var FieldInfo[]
3535
*/
3636
private $dynamicFields = [];
3737

3838
/**
39-
* @var _FieldInfo[]
39+
* @var FieldInfo[]
4040
*/
4141
private $staticFields = [];
4242

@@ -61,7 +61,7 @@ public function __construct(JavaClassInterface $javaClass, array $options)
6161

6262
foreach ($this->javaClass->getDefinedMethods() as $methodInfo) {
6363
/**
64-
* @var _MethodInfo $methodInfo
64+
* @var MethodInfo $methodInfo
6565
*/
6666
$methodName = $cpInfo[$methodInfo->getNameIndex()]->getString();
6767

@@ -74,7 +74,7 @@ public function __construct(JavaClassInterface $javaClass, array $options)
7474

7575
foreach ($this->javaClass->getDefinedFields() as $fieldInfo) {
7676
/**
77-
* @var _FieldInfo $fieldInfo
77+
* @var FieldInfo $fieldInfo
7878
*/
7979
$fieldName = $cpInfo[$fieldInfo->getNameIndex()]->getString();
8080

0 commit comments

Comments
 (0)