class Splitting {

    protected List<TNodeTemplate> getNodeTemplatesWithoutIncomingHostedOnRelationships(TTopologyTemplate topologyTemplate) {

        return ModelUtilities.getAllNodeTemplates(topologyTemplate)
            .stream()
            .filter(nt -> getHostedOnPredecessorsOfNodeTemplate(topologyTemplate, nt).isEmpty())
            .collect(Collectors.toList());
    }

}