@Test public void shouldGetMap() throws Exception { @SuppressWarnings("unchecked") Map<String, String> value = (Map<String, String>) Beans.value(new SomeObject(), ImmutableList.of("nine")); assertThat(value).isEqualTo(ImmutableMap.of("a", "b", "c", "d", "e", "f")); }
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);  }