File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44use PHPJava \Exceptions \NotImplementedException ;
55use PHPJava \Exceptions \UnableToCatchException ;
66use PHPJava \Kernel \Attributes \CodeAttribute ;
7+ use PHPJava \Kernel \Structures \_ExceptionTable ;
78use PHPJava \Utilities \AttributionResolver ;
89use PHPJava \Utilities \BinaryTool ;
910use PHPJava \Utilities \Formatter ;
@@ -20,13 +21,19 @@ public function execute(): void
2021
2122 $ className = str_replace ('\\' , '/ ' , get_class ($ objectref ));
2223
24+ /**
25+ * @var $codeAttribute CodeAttribute
26+ */
2327 $ codeAttribute = AttributionResolver::resolve (
2428 $ this ->getAttributes (),
2529 CodeAttribute::class
2630 );
2731
2832 $ className = Formatter::convertPHPNamespacesToJava ($ className );
2933 foreach ($ codeAttribute ->getExceptionTables () as $ exception ) {
34+ /**
35+ * @var $exception _ExceptionTable
36+ */
3037 $ catchClass = Formatter::convertPHPNamespacesToJava ($ cpInfo [$ cpInfo [$ exception ->getCatchType ()]->getClassIndex ()]->getString ());
3138 if ($ catchClass === $ className &&
3239 $ exception ->getStartPc () <= $ this ->getProgramCounter () &&
You can’t perform that action at this time.
0 commit comments