if (list != null && !list.isEmpty())
types.add(e.getKey());
}
throw new UnknownValueException(String.format("No object of type %s is available from the Environment.", type.getName()),
new AvailableValues("Environmentals",
F.flow(typeToStack.entrySet()).remove(new Predicate<Entry<Class, LinkedList>>() {
public boolean accept(Entry<Class, LinkedList> element) {
return element.getValue().isEmpty();
}