(@NotNull Class<?> klass)
| 490 | } |
| 491 | |
| 492 | static @NotNull Field @NotNull [] getDeclaredFields(@NotNull Class<?> klass) { |
| 493 | try { |
| 494 | return (Field[])getDeclaredFields0MH.invokeExact(klass, false); |
| 495 | } catch (RuntimeException | Error e) { |
| 496 | throw e; |
| 497 | } catch (Throwable e) { // MethodHandle.invoke |
| 498 | throw new RuntimeException(e); |
| 499 | } |
| 500 | } |
| 501 | |
| 502 | @SuppressWarnings("SameParameterValue") |
| 503 | static @Nullable Field getDeclaredField(@NotNull Class<?> klass, @NotNull String fieldName) { |
no outgoing calls