NamingClassEmitter namingEmitter = new NamingClassEmitter(getEnvironment(), MODULE_NAME);
OrderingClassEmitter orderingEmitter = new OrderingClassEmitter(getEnvironment(), MODULE_NAME);
List<Slot> slots = Lists.create();
for (Output output : context.getOutputs()) {
DirectFileOutputDescription desc = extract(output.getDescription());
DataClass dataType = getEnvironment().getDataClasses().load(desc.getModelType());
List<CompiledResourcePattern> namingInfo =
OutputPattern.compileResourcePattern(desc.getResourcePattern(), dataType);
Set<OutputPattern.SourceKind> kinds = pickSourceKinds(namingInfo);
if (kinds.contains(OutputPattern.SourceKind.ENVIRONMENT)) {
assert kinds.contains(OutputPattern.SourceKind.PROPERTY) == false;