@PublicAPI(usage = ACCESS)
    public static Transformer matching(String packageIdentifier) {
        PackageMatchingSliceIdentifier sliceIdentifier = new PackageMatchingSliceIdentifier(packageIdentifier);
        String description = "slices matching " + sliceIdentifier.getDescription();
        return new Transformer(sliceIdentifier, description);
    }
@Test
    public void name_parts_are_resolved_correctly() {
        JavaClasses classes = importClassesWithContext(Object.class);
        DescribedIterable<Slice> slices = Slices.matching("(*).(*)..").transform(classes);

        assertThat(getOnlyElement(slices).getNamePart(1)).isEqualTo("java");
        assertThat(getOnlyElement(slices).getNamePart(2)).isEqualTo("lang");
    }