class ActorsProcessor extends AbstractProcessor {

    @VisibleForTesting
    /* package */ void parseModel(@NotNull ActorParsedModel model, @NotNull RoundEnvironment environment) {
        if (model.collectInterfaces) {
            final Set<? extends Element> elements = environment.getElementsAnnotatedWith(ActorInterface.class);
            for (Element element : elements) {
                model.interfaces.add(mModelFactory.createInterfaceDescription(element));
            }
        }

        if (model.collectPackages) {
            Set<? extends Element> packages = environment.getElementsAnnotatedWith(ActorsPackage.class);
            for (Element _package : packages) {
                model.packages.add(mModelFactory.createPackageDescription(_package));
            }
        }
    }

    @SuppressWarnings("unused") public  ActorsProcessor();
    @VisibleForTesting  ActorsProcessor(@NotNull ModelFactory modelFactory);

}