Skip to content
This repository was archived by the owner on Jun 7, 2019. It is now read-only.

Commit 2d7066d

Browse files
committed
upd
1 parent d2d3863 commit 2d7066d

File tree

8 files changed

+360
-2
lines changed

8 files changed

+360
-2
lines changed

api-docs/classes/java/reflection/ReflectionClass.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,17 @@
1616
- `->`[`__construct()`](#method-__construct)
1717
- `->`[`newInstance()`](#method-newinstance)
1818
- `->`[`getConstructor()`](#method-getconstructor)
19+
- `->`[`getDeclaredConstructor()`](#method-getdeclaredconstructor)
1920
- `->`[`getMethod()`](#method-getmethod)
21+
- `->`[`getDeclaredMethod()`](#method-getdeclaredmethod)
2022
- `->`[`getField()`](#method-getfield)
23+
- `->`[`getDeclaredField()`](#method-getdeclaredfield)
24+
- `->`[`getMethods()`](#method-getmethods)
25+
- `->`[`getDeclaredMethods()`](#method-getdeclaredmethods)
26+
- `->`[`getConstructors()`](#method-getconstructors)
27+
- `->`[`getDeclaredConstructors()`](#method-getdeclaredconstructors)
28+
- `->`[`getFields()`](#method-getfields)
29+
- `->`[`getDeclaredFields()`](#method-getdeclaredfields)
2130

2231
---
2332
# Static Methods
@@ -59,6 +68,15 @@ getConstructor(java\reflection\ReflectionClass $types): java\reflection\Reflecti
5968

6069
---
6170

71+
<a name="method-getdeclaredconstructor"></a>
72+
73+
### getDeclaredConstructor()
74+
```php
75+
getDeclaredConstructor(java\reflection\ReflectionClass $types): java\reflection\ReflectionConstructor
76+
```
77+
78+
---
79+
6280
<a name="method-getmethod"></a>
6381

6482
### getMethod()
@@ -68,9 +86,81 @@ getMethod(string $method, java\reflection\ReflectionClass $types): java\reflecti
6886

6987
---
7088

89+
<a name="method-getdeclaredmethod"></a>
90+
91+
### getDeclaredMethod()
92+
```php
93+
getDeclaredMethod(string $method, java\reflection\ReflectionClass $types): java\reflection\ReflectionMethod
94+
```
95+
96+
---
97+
7198
<a name="method-getfield"></a>
7299

73100
### getField()
74101
```php
75102
getField(string $name): java\reflection\ReflectionField
103+
```
104+
105+
---
106+
107+
<a name="method-getdeclaredfield"></a>
108+
109+
### getDeclaredField()
110+
```php
111+
getDeclaredField(string $name): java\reflection\ReflectionField
112+
```
113+
114+
---
115+
116+
<a name="method-getmethods"></a>
117+
118+
### getMethods()
119+
```php
120+
getMethods(): ReflectionMethod[]
121+
```
122+
123+
---
124+
125+
<a name="method-getdeclaredmethods"></a>
126+
127+
### getDeclaredMethods()
128+
```php
129+
getDeclaredMethods(): ReflectionMethod[]
130+
```
131+
132+
---
133+
134+
<a name="method-getconstructors"></a>
135+
136+
### getConstructors()
137+
```php
138+
getConstructors(): ReflectionConstructor[]
139+
```
140+
141+
---
142+
143+
<a name="method-getdeclaredconstructors"></a>
144+
145+
### getDeclaredConstructors()
146+
```php
147+
getDeclaredConstructors(): ReflectionConstructor[]
148+
```
149+
150+
---
151+
152+
<a name="method-getfields"></a>
153+
154+
### getFields()
155+
```php
156+
getFields(): ReflectionField[]
157+
```
158+
159+
---
160+
161+
<a name="method-getdeclaredfields"></a>
162+
163+
### getDeclaredFields()
164+
```php
165+
getDeclaredFields(): ReflectionField[]
76166
```

api-docs/classes/java/reflection/ReflectionClass.ru.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,17 @@
1616
- `->`[`__construct()`](#method-__construct)
1717
- `->`[`newInstance()`](#method-newinstance)
1818
- `->`[`getConstructor()`](#method-getconstructor)
19+
- `->`[`getDeclaredConstructor()`](#method-getdeclaredconstructor)
1920
- `->`[`getMethod()`](#method-getmethod)
21+
- `->`[`getDeclaredMethod()`](#method-getdeclaredmethod)
2022
- `->`[`getField()`](#method-getfield)
23+
- `->`[`getDeclaredField()`](#method-getdeclaredfield)
24+
- `->`[`getMethods()`](#method-getmethods)
25+
- `->`[`getDeclaredMethods()`](#method-getdeclaredmethods)
26+
- `->`[`getConstructors()`](#method-getconstructors)
27+
- `->`[`getDeclaredConstructors()`](#method-getdeclaredconstructors)
28+
- `->`[`getFields()`](#method-getfields)
29+
- `->`[`getDeclaredFields()`](#method-getdeclaredfields)
2130

2231
---
2332
# Статичные Методы
@@ -59,6 +68,15 @@ getConstructor(java\reflection\ReflectionClass $types): java\reflection\Reflecti
5968

6069
---
6170

71+
<a name="method-getdeclaredconstructor"></a>
72+
73+
### getDeclaredConstructor()
74+
```php
75+
getDeclaredConstructor(java\reflection\ReflectionClass $types): java\reflection\ReflectionConstructor
76+
```
77+
78+
---
79+
6280
<a name="method-getmethod"></a>
6381

6482
### getMethod()
@@ -68,9 +86,81 @@ getMethod(string $method, java\reflection\ReflectionClass $types): java\reflecti
6886

6987
---
7088

89+
<a name="method-getdeclaredmethod"></a>
90+
91+
### getDeclaredMethod()
92+
```php
93+
getDeclaredMethod(string $method, java\reflection\ReflectionClass $types): java\reflection\ReflectionMethod
94+
```
95+
96+
---
97+
7198
<a name="method-getfield"></a>
7299

73100
### getField()
74101
```php
75102
getField(string $name): java\reflection\ReflectionField
103+
```
104+
105+
---
106+
107+
<a name="method-getdeclaredfield"></a>
108+
109+
### getDeclaredField()
110+
```php
111+
getDeclaredField(string $name): java\reflection\ReflectionField
112+
```
113+
114+
---
115+
116+
<a name="method-getmethods"></a>
117+
118+
### getMethods()
119+
```php
120+
getMethods(): ReflectionMethod[]
121+
```
122+
123+
---
124+
125+
<a name="method-getdeclaredmethods"></a>
126+
127+
### getDeclaredMethods()
128+
```php
129+
getDeclaredMethods(): ReflectionMethod[]
130+
```
131+
132+
---
133+
134+
<a name="method-getconstructors"></a>
135+
136+
### getConstructors()
137+
```php
138+
getConstructors(): ReflectionConstructor[]
139+
```
140+
141+
---
142+
143+
<a name="method-getdeclaredconstructors"></a>
144+
145+
### getDeclaredConstructors()
146+
```php
147+
getDeclaredConstructors(): ReflectionConstructor[]
148+
```
149+
150+
---
151+
152+
<a name="method-getfields"></a>
153+
154+
### getFields()
155+
```php
156+
getFields(): ReflectionField[]
157+
```
158+
159+
---
160+
161+
<a name="method-getdeclaredfields"></a>
162+
163+
### getDeclaredFields()
164+
```php
165+
getDeclaredFields(): ReflectionField[]
76166
```

api-docs/classes/java/reflection/ReflectionObject.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,28 @@
55

66
---
77

8+
#### Static Methods
9+
10+
- `ReflectionObject ::`[`fromMemory()`](#method-frommemory)
11+
12+
---
13+
814
#### Methods
915

1016
- `->`[`getReflectionClass()`](#method-getreflectionclass)
1117
- `->`[`equals()`](#method-equals)
1218
- `->`[`toMemory()`](#method-tomemory) - _Get jPHP data_
1319

20+
---
21+
# Static Methods
22+
23+
<a name="method-frommemory"></a>
24+
25+
### fromMemory()
26+
```php
27+
ReflectionObject::fromMemory(mixed $data): java\reflection\ReflectionObject
28+
```
29+
1430
---
1531
# Methods
1632

api-docs/classes/java/reflection/ReflectionObject.ru.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,28 @@
55

66
---
77

8+
#### Статичные Методы
9+
10+
- `ReflectionObject ::`[`fromMemory()`](#method-frommemory)
11+
12+
---
13+
814
#### Методы
915

1016
- `->`[`getReflectionClass()`](#method-getreflectionclass)
1117
- `->`[`equals()`](#method-equals)
1218
- `->`[`toMemory()`](#method-tomemory) - _Get jPHP data_
1319

20+
---
21+
# Статичные Методы
22+
23+
<a name="method-frommemory"></a>
24+
25+
### fromMemory()
26+
```php
27+
ReflectionObject::fromMemory(mixed $data): java\reflection\ReflectionObject
28+
```
29+
1430
---
1531
# Методы
1632

sdk/java/reflection/ReflectionClass.php

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace java\reflection;
44

5-
65
class ReflectionClass
76
{
87
private function __construct() {}
@@ -21,16 +20,65 @@ public function newInstance(): ReflectionObject {}
2120
*/
2221
public function getConstructor(ReflectionClass... $types): ReflectionConstructor {}
2322

23+
/**
24+
* @param ReflectionClass ...$types
25+
* @return ReflectionConstructor
26+
*/
27+
public function getDeclaredConstructor(ReflectionClass... $types): ReflectionConstructor {}
28+
2429
/**
2530
* @param string $method
2631
* @param ReflectionClass ...$types
2732
* @return ReflectionMethod
2833
*/
2934
public function getMethod(string $method, ReflectionClass... $types): ReflectionMethod {}
3035

36+
/**
37+
* @param string $method
38+
* @param ReflectionClass ...$types
39+
* @return ReflectionMethod
40+
*/
41+
public function getDeclaredMethod(string $method, ReflectionClass... $types): ReflectionMethod {}
42+
3143
/**
3244
* @param string $name
3345
* @return ReflectionField
3446
*/
3547
public function getField(string $name): ReflectionField {}
48+
49+
/**
50+
* @param string $name
51+
* @return ReflectionField
52+
*/
53+
public function getDeclaredField(string $name): ReflectionField {}
54+
55+
/**
56+
* @return ReflectionMethod[]
57+
*/
58+
public function getMethods(): array {}
59+
60+
/**
61+
* @return ReflectionMethod[]
62+
*/
63+
public function getDeclaredMethods(): array {}
64+
65+
/**
66+
* @return ReflectionConstructor[]
67+
*/
68+
public function getConstructors(): array {}
69+
70+
/**
71+
* @return ReflectionConstructor[]
72+
*/
73+
public function getDeclaredConstructors(): array {}
74+
75+
/**
76+
* @return ReflectionField[]
77+
*/
78+
public function getFields(): array {}
79+
80+
/**
81+
* @return ReflectionField[]
82+
*/
83+
public function getDeclaredFields(): array {}
3684
}

sdk/java/reflection/ReflectionObject.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@ public function equals($data): bool {}
2020
* Get jPHP data
2121
*/
2222
public function toMemory() {}
23+
24+
/**
25+
* @param $data
26+
* @return ReflectionObject
27+
*/
28+
public static function fromMemory($data): ReflectionObject {}
2329
}

0 commit comments

Comments
 (0)