List<? extends IntentionAction> fixes = Collections.emptyList();
//noinspection EnumSwitchStatementWhichMissesCases
switch (message.getErrorCode().getType()) {
case STATIC_WARNING:
final DartResolverErrorCode resolverErrorCode = DartResolverErrorCode.findError(message.getErrorCode().toString());
if (resolverErrorCode != null) {
fixes = resolverErrorCode.getFixes(psiFile, message.getOffset(), message.getMessage());
}
break;
case STATIC_TYPE_WARNING:
case COMPILE_TIME_ERROR:
final DartTypeErrorCode typeErrorCode = DartTypeErrorCode.findError(message.getErrorCode().toString());