@Test public void shouldCallMethodOnPackagePrivateClass() throws Exception { List<String> list = Lists.newArrayList(); list = Collections.synchronizedList(list); int size = (Integer) Beans.value(list, ImmutableList.of("size")); assertThat(size).isEqualTo(0); }
public static @Nullable Object value(@Nullable Object obj, List<String> path) throws Exception { return value(obj, path, 0); }
Beans { public static @Nullable Object value(@Nullable Object obj, List<String> path) throws Exception { return value(obj, path, 0); } }
Beans { public static @Nullable Object value(@Nullable Object obj, List<String> path) throws Exception { return value(obj, path, 0); } private  Beans(); }
Beans { public static @Nullable Object value(@Nullable Object obj, List<String> path) throws Exception { return value(obj, path, 0); } private  Beans(); static @Nullable Object value(@Nullable Object obj, List<String> path); }
Beans { public static @Nullable Object value(@Nullable Object obj, List<String> path) throws Exception { return value(obj, path, 0); } private  Beans(); static @Nullable Object value(@Nullable Object obj, List<String> path);  }