private static void writeFactHandles(MarshallerWriteContext context, org.drools.marshalling.impl.ProtobufMessages.EntryPoint.Builder _epb, ObjectStore objectStore) throws IOException { ObjectMarshallingStrategyStore objectMarshallingStrategyStore = context.objectMarshallingStrategyStore; // Write out FactHandles for (InternalFactHandle handle : orderFacts(objectStore)) { ProtobufMessages.FactHandle _handle = writeFactHandle(context, objectMarshallingStrategyStore, handle); _epb.addHandle(_handle); } }