MigrateGuavaTypeFix (CommonProblemDescriptor descriptor) { final QuickFix<?>[] fixes = descriptor.getFixes(); LOG.assertTrue(fixes != null); for (QuickFix<?> fix : fixes) { if (fix instanceof MigrateGuavaTypeFix) { return (MigrateGuavaTypeFix)fix; } } throw new AssertionError(); }