@Test public void shouldGetArrayLength() throws Exception { Integer value = (Integer) Beans.value(new SomeObject(), ImmutableList.of("seven", "length")); assertThat(value).isEqualTo(3); }
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);  }