try {
Class<DefaultPaletteCustomizer> clazz = (Class<DefaultPaletteCustomizer>) cl.loadClass(type.getFullyQualifiedName());
if (DefaultPaletteCustomizer.class.isAssignableFrom(clazz)) {
try {
DefaultPaletteCustomizer DefaultPaletteCustomizer = (DefaultPaletteCustomizer) clazz.newInstance();
// Add this DefaultPaletteCustomizer to the result
result.addAll(DefaultPaletteCustomizer.disablePaletteEntries());
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block