DBLanguageFileType fileType = ddlFileType.getLanguageFileType();
List<FileNameMatcher> associations = fileTypeManager.getAssociations(fileType);
List<String> registeredExtension = new ArrayList<String>();
for (FileNameMatcher association : associations) {
if (association instanceof ExtensionFileNameMatcher) {
ExtensionFileNameMatcher extensionMatcher = (ExtensionFileNameMatcher) association;
registeredExtension.add(extensionMatcher.getExtension());
}
}
for (String extension : ddlFileType.getExtensions()) {
if (!registeredExtension.contains(extension)) {