This repository was archived by the owner on Jun 7, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +60
-0
lines changed
api-docs/classes/java/reflection
src-jvm/main/java/org/venity/javareflection/classes Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 2727- ` -> ` [ ` getDeclaredConstructors() ` ] ( #method-getdeclaredconstructors )
2828- ` -> ` [ ` getFields() ` ] ( #method-getfields )
2929- ` -> ` [ ` getDeclaredFields() ` ] ( #method-getdeclaredfields )
30+ - ` -> ` [ ` getName() ` ] ( #method-getname )
31+ - ` -> ` [ ` getCanonicalName() ` ] ( #method-getcanonicalname )
3032
3133---
3234# Static Methods
@@ -163,4 +165,22 @@ getFields(): ReflectionField[]
163165### getDeclaredFields()
164166``` php
165167getDeclaredFields(): ReflectionField[]
168+ ```
169+
170+ ---
171+
172+ <a name =" method-getname " ></a >
173+
174+ ### getName()
175+ ``` php
176+ getName(): string
177+ ```
178+
179+ ---
180+
181+ <a name =" method-getcanonicalname " ></a >
182+
183+ ### getCanonicalName()
184+ ``` php
185+ getCanonicalName(): string
166186```
Original file line number Diff line number Diff line change 2727- ` -> ` [ ` getDeclaredConstructors() ` ] ( #method-getdeclaredconstructors )
2828- ` -> ` [ ` getFields() ` ] ( #method-getfields )
2929- ` -> ` [ ` getDeclaredFields() ` ] ( #method-getdeclaredfields )
30+ - ` -> ` [ ` getName() ` ] ( #method-getname )
31+ - ` -> ` [ ` getCanonicalName() ` ] ( #method-getcanonicalname )
3032
3133---
3234# Статичные Методы
@@ -163,4 +165,22 @@ getFields(): ReflectionField[]
163165### getDeclaredFields()
164166``` php
165167getDeclaredFields(): ReflectionField[]
168+ ```
169+
170+ ---
171+
172+ <a name =" method-getname " ></a >
173+
174+ ### getName()
175+ ``` php
176+ getName(): string
177+ ```
178+
179+ ---
180+
181+ <a name =" method-getcanonicalname " ></a >
182+
183+ ### getCanonicalName()
184+ ``` php
185+ getCanonicalName(): string
166186```
Original file line number Diff line number Diff line change @@ -81,4 +81,14 @@ public function getFields(): array {}
8181 * @return ReflectionField[]
8282 */
8383 public function getDeclaredFields (): array {}
84+
85+ /**
86+ * @return string
87+ */
88+ public function getName (): string {}
89+
90+ /**
91+ * @return string
92+ */
93+ public function getCanonicalName (): string {}
8494}
Original file line number Diff line number Diff line change @@ -136,4 +136,14 @@ public ReflectionField[] getDeclaredFields() {
136136 public ReflectionField getDeclaredField (String name ) throws NoSuchFieldException {
137137 return new ReflectionField (__env__ , __wrappedObject .getDeclaredField (name ));
138138 }
139+
140+ @ Reflection .Signature
141+ public String getName () {
142+ return getWrappedObject ().getName ();
143+ }
144+
145+ @ Reflection .Signature
146+ public String getCanonicalName () {
147+ return getWrappedObject ().getCanonicalName ();
148+ }
139149}
You can’t perform that action at this time.
0 commit comments