File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,6 @@ class JavaClass implements JavaClassInterface
8484 private $ startTime = 0.0 ;
8585
8686 /**
87- * JavaClass constructor.
88- *
8987 * @param ReaderInterface $reader
9088 * @param array $options
9189 * @throws ValidatorException
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public function execute(): void
2121 $ signature = Formatter::parseSignature ($ cpInfo [$ cpInfo [$ cp ->getNameAndTypeIndex ()]->getDescriptorIndex ()]->getString ());
2222
2323 if ($ cp instanceof _Fieldref) {
24- foreach ($ this ->javaClass ->getFields () as $ field ) {
24+ foreach ($ this ->javaClass ->getDefinedFields () as $ field ) {
2525 if ($ cpInfo [$ field ->getNameIndex ()]->getString () === $ cpInfo [$ cpInfo [$ cp ->getNameAndTypeIndex ()]->getNameIndex ()]->getString ()) {
2626 // push stack
2727 $ fieldName = $ cpInfo [$ field ->getNameIndex ()]->getString ();
You can’t perform that action at this time.
0 commit comments