@Test public void testFindSeparator() { }
public static int findSeparator(String s) { int found = -1; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (found == -1 && ((c == '.') || (c == '['))) { found = i; } else if (c == '/') { found = -1; } } return found; }
AggregateUtil { public static int findSeparator(String s) { int found = -1; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (found == -1 && ((c == '.') || (c == '['))) { found = i; } else if (c == '/') { found = -1; } } return found; } }
AggregateUtil { public static int findSeparator(String s) { int found = -1; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (found == -1 && ((c == '.') || (c == '['))) { found = i; } else if (c == '/') { found = -1; } } return found; }  }
AggregateUtil { public static int findSeparator(String s) { int found = -1; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (found == -1 && ((c == '.') || (c == '['))) { found = i; } else if (c == '/') { found = -1; } } return found; }  static int findSeparator(String s); static PathElement[] parseReference(String name); static boolean verifyPath(ParameterType parameterType, PathElement[] path); static PartialParameterValue extractMember(ParameterValue pv, PathElement[] path); static void updateMember(ParameterValue pv, PartialParameterValue patch); static Value getMemberValue(Value value, PathElement[] path); static String toString(PathElement[] path); static AggregateParameterType createParameterType(String name, AggregateValue v); }
AggregateUtil { public static int findSeparator(String s) { int found = -1; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (found == -1 && ((c == '.') || (c == '['))) { found = i; } else if (c == '/') { found = -1; } } return found; }  static int findSeparator(String s); static PathElement[] parseReference(String name); static boolean verifyPath(ParameterType parameterType, PathElement[] path); static PartialParameterValue extractMember(ParameterValue pv, PathElement[] path); static void updateMember(ParameterValue pv, PartialParameterValue patch); static Value getMemberValue(Value value, PathElement[] path); static String toString(PathElement[] path); static AggregateParameterType createParameterType(String name, AggregateValue v);  }