HomeSort by relevance Sort by last modified time
    Searched refs:refactoring (Results 26 - 50 of 103) sorted by null

12 3 4 5

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
AndroidTypeMoveParticipantTest.java 28 import org.eclipse.jdt.internal.corext.refactoring.reorg.IReorgPolicy.IMovePolicy;
29 import org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor;
30 import org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgDestinationFactory;
31 import org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory;
32 import org.eclipse.jdt.internal.ui.refactoring.reorg.CreateTargetQueries;
33 import org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgQueries;
34 import org.eclipse.ltk.core.refactoring.participants.MoveRefactoring;
132 MoveRefactoring refactoring = new MoveRefactoring(processor); local
133 checkRefactoring(refactoring, expected);
AndroidTypeRenameParticipantTest.java 24 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
25 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
157 RenameRefactoring refactoring = new RenameRefactoring(processor); local
158 checkRefactoring(refactoring, expected);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UseCompoundDrawableRefactoringTest.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import static com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UseCompoundDrawableRefactoring.combine;
24 import org.eclipse.ltk.core.refactoring.Change;
25 import org.eclipse.ltk.core.refactoring.CompositeChange;
51 checkRefactoring("refactoring/usecompound/compound1.xml", "@+id/layout1");
56 checkRefactoring("refactoring/usecompound/compound2.xml", "@+id/layout2");
61 checkRefactoring("refactoring/usecompound/compound3.xml", "@+id/layout3");
66 checkRefactoring("refactoring/usecompound/compound4.xml", "@+id/layout4");
72 checkRefactoring("refactoring/usecompound/compound_all.xml", "@+id/layout2");
78 checkRefactoring("refactoring/usecompound/compound_all.xml", "@+id/layout3")
103 UseCompoundDrawableRefactoring refactoring = new UseCompoundDrawableRefactoring( local
    [all...]
ExtractIncludeRefactoringTest.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
27 import org.eclipse.ltk.core.refactoring.Change;
28 import org.eclipse.ltk.core.refactoring.TextFileChange;
143 ExtractIncludeRefactoring refactoring = new ExtractIncludeRefactoring(selectedElements, local
145 refactoring.setLayoutName(layoutName);
146 refactoring.setReplaceOccurrences(replaceOccurrences);
147 List<Change> changes = refactoring.computeChanges(new NullProgressMonitor());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
RenameResourceProcessor.java 29 import org.eclipse.ltk.core.refactoring.Change;
30 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
31 import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
32 import org.eclipse.ltk.core.refactoring.participants.ParticipantManager;
33 import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant;
34 import org.eclipse.ltk.core.refactoring.participants.RenameArguments;
35 import org.eclipse.ltk.core.refactoring.participants.RenameProcessor;
36 import org.eclipse.ltk.core.refactoring.participants.SharableParticipants;
120 * Returns {@code true} if the refactoring processor also updates references
122 * @return {@code true} if the refactoring processor also updates reference
    [all...]
AndroidPackageRenameParticipant.java 54 import org.eclipse.jdt.internal.corext.refactoring.changes.RenamePackageChange;
55 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameCompilationUnitProcessor;
56 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
59 import org.eclipse.ltk.core.refactoring.Change;
60 import org.eclipse.ltk.core.refactoring.CompositeChange;
61 import org.eclipse.ltk.core.refactoring.FileStatusContext;
62 import org.eclipse.ltk.core.refactoring.NullChange;
63 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
64 import org.eclipse.ltk.core.refactoring.RefactoringStatusContext;
65 import org.eclipse.ltk.core.refactoring.TextFileChange
    [all...]
AndroidTypeRenameParticipant.java 60 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameCompilationUnitProcessor;
61 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
62 import org.eclipse.ltk.core.refactoring.Change;
63 import org.eclipse.ltk.core.refactoring.CompositeChange;
64 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
65 import org.eclipse.ltk.core.refactoring.TextFileChange;
66 import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
67 import org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor;
68 import org.eclipse.ltk.core.refactoring.participants.RenameParticipant;
69 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring
279 RenameRefactoring refactoring = local
    [all...]
RenameResourcePage.java 24 import org.eclipse.jdt.internal.ui.refactoring.TextInputWizardPage;
26 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
27 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
40 @SuppressWarnings("restriction") // JDT refactoring UI
133 RenameRefactoring refactoring = (RenameRefactoring) getRefactoring(); local
134 return (RenameResourceProcessor) refactoring.getProcessor();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ExtractStringContribution.java 19 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
20 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
30 * @see org.eclipse.ltk.core.refactoring.RefactoringContribution#createDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, int)
ExtractStringWizard.java 20 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
ExtractStringDescriptor.java 20 import org.eclipse.ltk.core.refactoring.Refactoring;
21 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
22 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
33 "com.android.ide.eclipse.adt.refactoring.extract.string"; //$NON-NLS-1$
50 * Creates a new refactoring instance for this refactoring descriptor based on
51 * an argument map. The argument map is created by the refactoring itself in
54 * This is apparently used to replay a refactoring.
61 public Refactoring createRefactoring(RefactoringStatus status) throws CoreException
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
UseCompoundDrawableDetectorFix.java 22 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UseCompoundDrawableRefactoring;
30 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
31 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
74 // Invoke refactoring
82 UseCompoundDrawableRefactoring refactoring = local
84 RefactoringWizard wizard = refactoring.createWizard();
ExtractStringFix.java 28 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
29 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
68 ExtractStringRefactoring refactoring = local
70 RefactoringWizard wizard = new ExtractStringWizard(refactoring, file.getProject());
RemoveUselessViewFix.java 20 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UnwrapRefactoring;
28 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
29 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
65 // Invoke refactoring
73 UnwrapRefactoring refactoring = local
75 RefactoringWizard wizard = refactoring.createWizard();
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
AndroidPackageRenameParticipantTest.java 27 import org.eclipse.jdt.internal.corext.refactoring.rename.RenamePackageProcessor;
28 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
234 RenameRefactoring refactoring = new RenameRefactoring(processor); local
235 checkRefactoring(refactoring, expected, expectedWarnings);
257 "INFO: You are refactoring the same package as your application's package (specified in the manifest).\n" +
263 "INFO: Note that this refactoring does NOT also update your application package.\n" +
RefactoringTestBase.java 21 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.AdtProjectTest;
31 import org.eclipse.jdt.internal.corext.refactoring.changes.RenameCompilationUnitChange;
32 import org.eclipse.jdt.internal.corext.refactoring.changes.RenamePackageChange;
35 import org.eclipse.ltk.core.refactoring.Change;
36 import org.eclipse.ltk.core.refactoring.CompositeChange;
37 import org.eclipse.ltk.core.refactoring.Refactoring;
38 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
39 import org.eclipse.ltk.core.refactoring.TextChange;
40 import org.eclipse.ltk.core.refactoring.TextFileChange
    [all...]
RenameResourceParticipantTest.java 29 import org.eclipse.jdt.internal.corext.refactoring.rename.RenameFieldProcessor;
30 import org.eclipse.ltk.core.refactoring.participants.RenameProcessor;
31 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
207 // Test refactoring initiated on a file rename
237 // Test refactoring initiated on a Java field rename
380 org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor p;
381 p = new org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor(r);
399 RenameRefactoring refactoring = new RenameRefactoring(processor); local
400 checkRefactoring(refactoring, expected, expectedWarnings);
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
ClassRenameTest.java 8 import com.intellij.refactoring.MultiFileTestCase;
9 import com.intellij.refactoring.rename.RenameProcessor;
FieldRenameTest.java 9 import com.intellij.refactoring.MultiFileTestCase;
10 import com.intellij.refactoring.rename.RenameProcessor;
MethodRenameTest.java 9 import com.intellij.refactoring.MultiFileTestCase;
10 import com.intellij.refactoring.rename.RenameProcessor;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
ApplicationPackageNameRefactoringTest.java 124 ApplicationPackageNameRefactoring refactoring = local
126 checkRefactoring(refactoring, expected);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ExtractIncludeWizard.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
116 ExtractIncludeRefactoring refactoring = local
118 refactoring.setLayoutName(text);
119 refactoring.setReplaceOccurrences(mReplaceAllOccurrences.getSelection());
RefactoringAssistant.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
43 import org.eclipse.ltk.core.refactoring.Refactoring;
44 import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
45 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
46 import org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation;
64 * QuickAssistProcessor which helps invoke refactoring operations on text elements.
101 // Ensure that we are over a tag name (for element-based refactoring
102 // operations) or a value (for the extract include refactoring)
189 RenameRefactoring refactoring = new RenameRefactoring(processor) local
294 RenameRefactoring refactoring = (RenameRefactoring) mRefactoring; local
    [all...]
ChangeLayoutWizard.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
173 ChangeLayoutRefactoring refactoring = local
175 refactoring.setType(type);
176 refactoring.setFlatten(mFlatten.getSelection());
184 refactoring.setInitializedAttributes(initializedAttributes);
187 refactoring.setInitializedAttributes(null);
UnwrapRefactoring.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
35 import org.eclipse.ltk.core.refactoring.Change;
36 import org.eclipse.ltk.core.refactoring.Refactoring;
37 import org.eclipse.ltk.core.refactoring.RefactoringStatus;
38 import org.eclipse.ltk.core.refactoring.TextFileChange;
61 * to replay a previous refactoring.
237 super("com.android.ide.eclipse.adt.refactoring.unwrap", //$NON-NLS-1$
242 protected Refactoring createRefactoring(Map<String, String> args) {

Completed in 154 milliseconds

12 3 4 5