Home
last modified time | relevance | path

Searched refs:LintFix (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintFix.java59 abstract class LintFix implements ICompletionProposal { class
63 protected LintFix(String id, IMarker marker) { in LintFix() method in LintFix
147 private static final Map<String, Class<? extends LintFix>> sFixes =
148 new HashMap<String, Class<? extends LintFix>>();
192 public static List<LintFix> getFixes(@NonNull String id, @NonNull IMarker marker) { in getFixes()
193 Class<? extends LintFix> clazz = sFixes.get(id); in getFixes()
196 Constructor<? extends LintFix> constructor = clazz.getDeclaredConstructor( in getFixes()
199 LintFix fix = constructor.newInstance(id, marker); in getFixes()
200 List<LintFix> alternatives = fix.getAllFixes(); in getFixes()
223 protected List<LintFix> getAllFixes() { in getAllFixes()
DTypoFix.java105 protected List<LintFix> getAllFixes() { in getAllFixes()
110 List<LintFix> allFixes = new ArrayList<LintFix>(replacements.size()); in getAllFixes()
DLintListDialog.java214 List<LintFix> fixes = LintFix.getFixes(EclipseLintClient.getId(marker), marker); in widgetSelected()
218 LintFix fix = fixes.get(0); in widgetSelected()
273 if (!LintFix.hasFix(EclipseLintClient.getId(marker))) { in updateSelectionState()
280 List<LintFix> fixes = LintFix.getFixes(EclipseLintClient.getId(marker), marker); in updateSelectionState()
DDosLineEndingsFix.java25 class DosLineEndingsFix extends LintFix {
DLintViewPart.java333 if (!LintFix.hasFix(EclipseLintClient.getId(marker))) { in enableActions()
340 List<LintFix> fixes = LintFix.getFixes(EclipseLintClient.getId(marker), marker); in enableActions()
491 List<LintFix> fixes = LintFix.getFixes(EclipseLintClient.getId(marker), in run()
496 LintFix fix = fixes.get(0); in run()
DDocumentFix.java30 abstract class DocumentFix extends LintFix {
DLintFixGenerator.java183 List<LintFix> fixes = LintFix.getFixes(id, marker); in computeQuickAssistProposals()
185 for (LintFix fix : fixes) { in computeQuickAssistProposals()
DLintColumn.java185 if (LintFix.hasFix(EclipseLintClient.getId(marker))) { in getImage()
190 if (LintFix.hasFix(EclipseLintClient.getId(marker))) { in getImage()