diff --git a/src/main/java/com/buschmais/jqassistant/plugin/common/impl/scanner/AbstractContainerScannerPlugin.java b/src/main/java/com/buschmais/jqassistant/plugin/common/impl/scanner/AbstractContainerScannerPlugin.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/buschmais/jqassistant/plugin/common/impl/scanner/AbstractContainerScannerPlugin.java
+++ b/src/main/java/com/buschmais/jqassistant/plugin/common/impl/scanner/AbstractContainerScannerPlugin.java
@@ -38,7 +38,7 @@ public abstract class AbstractContainerScannerPlugin<I, E> extends AbstractScann
                 descriptor = getStore().create(FileDescriptor.class);
             }
             descriptor.setFileName(relativePath);
-            containerDescriptor.addContains(descriptor);
+            containerDescriptor.getContains().add(descriptor);
         }
         return containerDescriptor;
     }
#<I> disable Neo4j cache and rework adding files to artifacts