Map map;
if (Modifier.isAbstract(type.getModifiers()) || Modifier.isInterface(type.getModifiers())) {
PluginMap typeMap = pluginRegistry.byClass().get(type);
@Nullable Class<?> defaultType;
if (typeMap != null) {
defaultType = typeMap.defaultSugar();
} else {
defaultType = null;
}
if (defaultType != null) {
try {