@Test public void testComponents() { assertThat(PackageValidator.components("foo.bar.baz")).containsExactly("foo", "bar", "baz"); }
public static List<String> components(String name) { return ImmutableList.copyOf(Splitter.on('.').split(name)); }
PackageValidator { public static List<String> components(String name) { return ImmutableList.copyOf(Splitter.on('.').split(name)); } }
PackageValidator { public static List<String> components(String name) { return ImmutableList.copyOf(Splitter.on('.').split(name)); } private  PackageValidator(); }
PackageValidator { public static List<String> components(String name) { return ImmutableList.copyOf(Splitter.on('.').split(name)); } private  PackageValidator(); static List<String> components(String name); static void validate(String name); static String conjurePackage(Iterable<String> components); }
PackageValidator { public static List<String> components(String name) { return ImmutableList.copyOf(Splitter.on('.').split(name)); } private  PackageValidator(); static List<String> components(String name); static void validate(String name); static String conjurePackage(Iterable<String> components); static final String PRIMITIVE; }