}
private List<Class<?>> getDescriptorTypes(List<JqassistantPlugin> plugins) throws PluginRepositoryException {
List<Class<?>> types = new ArrayList<>();
for (JqassistantPlugin plugin : plugins) {
ModelType modelType = plugin.getModel();
if (modelType != null) {
for (String typeName : modelType.getClazz()) {
types.add(getType(typeName));
}
}
}
return types;