Configurable[] () { final FileType[] types = FileTypeUtil.getSupportedTypes().toArray(FileType.EMPTY_ARRAY); final Configurable[] children = new Configurable[types.length]; Arrays.sort(types, new FileTypeUtil.SortByName()); for (int i = 0; i < types.length; i++) { children[i] = FileTypeCopyrightConfigurableFactory.createFileTypeConfigurable(myProject, types[i], getOrCreateMainPanel()); } return children; }