private void addToCompilationData(CompilationData.Builder _cdata,
JavaDialectRuntimeData runtimeData,
List<String> types) {
for ( Entry<String, byte[]> entry : runtimeData.getStore().entrySet() ) {
if ( !types.contains( entry.getKey() ) ) {
CompDataEntry _entry = KieModuleCache.CompDataEntry.newBuilder()
.setId( entry.getKey() )
.setData( ByteString.copyFrom( entry.getValue() ) )
.build();
_cdata.addEntry( _entry );
}