@Override public Actor get(CommandArgs arguments, List<? extends Annotation> modifiers) throws ArgumentException, ProvisionException { Namespace namespace = arguments.getNamespace(); checkState(namespace.containsKey(Actor.class), "Namespace does not contain an Actor"); return namespace.get(Actor.class); }