(ReflectorMethod refMethod, Object... params)
| 447 | } |
| 448 | |
| 449 | public static int callInt(ReflectorMethod refMethod, Object... params) |
| 450 | { |
| 451 | try |
| 452 | { |
| 453 | Method method = refMethod.getTargetMethod(); |
| 454 | |
| 455 | if (method == null) |
| 456 | { |
| 457 | return 0; |
| 458 | } |
| 459 | else |
| 460 | { |
| 461 | Integer integer = (Integer)method.invoke((Object)null, params); |
| 462 | return integer.intValue(); |
| 463 | } |
| 464 | } |
| 465 | catch (Throwable throwable) |
| 466 | { |
| 467 | handleException(throwable, (Object)null, refMethod, params); |
| 468 | return 0; |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | public static float callFloat(ReflectorMethod refMethod, Object... params) |
| 473 | { |
no test coverage detected