@Test public void gettingTerminalShouldWork() { assertEquals("INSERT_BEFORE", StructHelper.get(map, "patch.operation", String.class)); }
public static <T> T get(Map<String, Object> struct, String dotSeparatedPath, Class<T> expectedType) { final String[] parts = dotSeparatedPath.split("\\."); return get(struct, parts, expectedType, new LinkedList<>(), dotSeparatedPath); }
StructHelper { public static <T> T get(Map<String, Object> struct, String dotSeparatedPath, Class<T> expectedType) { final String[] parts = dotSeparatedPath.split("\\."); return get(struct, parts, expectedType, new LinkedList<>(), dotSeparatedPath); } }
StructHelper { public static <T> T get(Map<String, Object> struct, String dotSeparatedPath, Class<T> expectedType) { final String[] parts = dotSeparatedPath.split("\\."); return get(struct, parts, expectedType, new LinkedList<>(), dotSeparatedPath); }  }
StructHelper { public static <T> T get(Map<String, Object> struct, String dotSeparatedPath, Class<T> expectedType) { final String[] parts = dotSeparatedPath.split("\\."); return get(struct, parts, expectedType, new LinkedList<>(), dotSeparatedPath); }  static T get(Map<String, Object> struct, String dotSeparatedPath, Class<T> expectedType); }
StructHelper { public static <T> T get(Map<String, Object> struct, String dotSeparatedPath, Class<T> expectedType) { final String[] parts = dotSeparatedPath.split("\\."); return get(struct, parts, expectedType, new LinkedList<>(), dotSeparatedPath); }  static T get(Map<String, Object> struct, String dotSeparatedPath, Class<T> expectedType);  }