public Stream<EntityType> getCompatibleEntityTypes(EntityType target) {
    return dataService
        .getMeta()
        .getEntityTypes()
        .filter(candidate -> !candidate.isAbstract())
        .filter(isCompatible(target));
  }
public Stream < EntityType > getCompatibleEntityTypes ( EntityType target ) { return dataService . getMeta ( ) . getEntityTypes ( ) . filter ( candidate -> ! candidate . isAbstract ( ) ) . filter ( isCompatible ( target ) ) ; }
Public for testability