code: private boolean isNotAssignedToOwnSlice(JavaClass javaClass) {
          List<String> dependencyIdentifier = sliceAssignment.getIdentifierOf(javaClass).getParts();
          return !dependencyIdentifier.equals(matchingGroups);
      }
docs: We cannot check 'contains' here, because there might be classes in the same slice that have not been originally imported (e.g. array types)