@Test public void shouldGetArray() throws Exception { String[] value = (String[]) Beans.value(new SomeObject(), ImmutableList.of("seven")); assertThat(value).containsExactly("a", "x", "z"); }
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);  }