/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
ProjectSetupBuilder.java | 106 for (IJavaProject javaProject : selectedProjects) { 109 if (javaProject.getProject().hasNature(AdtConstants.NATURE_DEFAULT)) { 110 module = processAndroidProject(javaProject); 112 module = processJavaProject(javaProject); 142 public GradleModule getModule(IJavaProject javaProject) { 143 return mModules.get(javaProject); 146 public boolean isOriginalProject(@NonNull IJavaProject javaProject) { 147 GradleModule module = mModules.get(javaProject); 197 private GradleModule processAndroidProject(@NonNull IJavaProject javaProject) 201 GradleModule module = createModuleOnDemand(javaProject); [all...] |
GradleModule.java | 42 GradleModule(@NonNull IJavaProject javaProject) { 43 mJavaProject = javaProject;
|
ProjectSelectionPage.java | 248 for (IJavaProject javaProject : projects) { 249 if (hasCyclicDependency(javaProject)) { 250 cyclicProjects.add(javaProject.getProject().getName()); 261 private static boolean hasCyclicDependency(IJavaProject javaProject) 263 IMarker[] markers = javaProject.getProject().findMarkers(
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
Mocks.java | 50 IJavaProject javaProject = createMock(IJavaProject.class); 57 expect(javaProject.getProject()).andReturn(project).anyTimes(); 58 expect(javaProject.getOutputLocation()).andReturn(capturedOutput.getValue()).anyTimes(); 60 expect(javaProject.getRawClasspath()).andAnswer(new IAnswer<IClasspathEntry[]>() { 67 javaProject.setRawClasspath(capture(capturedEntries), isA(IProgressMonitor.class)); 70 javaProject.setRawClasspath(capture(capturedEntries), capture(capturedOutput), 81 expect(javaProject.getOption(JavaCore.COMPILER_COMPLIANCE, true)).andAnswer( 88 expect(javaProject.getOption(JavaCore.COMPILER_SOURCE, true)).andAnswer( 95 expect(javaProject.getOption(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, true)).andAnswer( 103 javaProject.setOption(eq(JavaCore.COMPILER_COMPLIANCE), capture(capturedCompliance)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/project/ |
ProjectHelperTest.java | 49 IJavaProject javaProject = Mocks.createProject( 58 ProjectHelper.fixProjectClasspathEntries(javaProject); 60 IClasspathEntry[] fixedEntries = javaProject.getRawClasspath();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
InstrumentationRunnerValidator.java | 44 * @param javaProject the {@link IJavaProject} for the Android project to validate 46 InstrumentationRunnerValidator(IJavaProject javaProject) { 47 mJavaProject = javaProject; 48 ManifestData manifestData = AndroidManifestHelper.parseForData(javaProject.getProject()); 65 * @param javaProject the {@link IJavaProject} for the Android project to validate 68 InstrumentationRunnerValidator(IJavaProject javaProject, ManifestData manifestData) { 69 mJavaProject = javaProject;
|
AndroidJUnitLaunchConfigurationTab.java | 555 IJavaProject javaProject = getJavaProject(); 565 types = TestSearchEngine.findTests(getLaunchConfigurationDialog(), javaProject, 593 javaProject = type.getJavaProject(); 594 mProjText.setText(javaProject.getElementName()); 670 IJavaProject javaProject = getJavaModel().getJavaProject(projText); 671 if (javaProject != null && javaProject.exists()) { 672 setContainerElement(javaProject); 713 IJavaProject javaProject = JavaCore.create(project); 714 validateJavaProject(javaProject); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidTypeRenameParticipantTest.java | 143 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 144 assertNotNull(javaProject); 145 IType type = javaProject.findType(typeFqcn);
|
AndroidTypeMoveParticipantTest.java | 110 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 111 assertNotNull(javaProject); 112 IType type = javaProject.findType(typeFqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ProjectHelper.java | 122 * @param javaProject The java project of which path entries to update. 126 public static void addEntryToClasspath(IJavaProject javaProject, IClasspathEntry newEntry) 129 IClasspathEntry[] entries = javaProject.getRawClasspath(); 131 javaProject.setRawClasspath(entries, new NullProgressMonitor()); 137 * @param javaProject The java project of which path entries to check. 142 public static boolean isEntryInClasspath(IJavaProject javaProject, IClasspathEntry newEntry) 145 IClasspathEntry[] entries = javaProject.getRawClasspath(); 293 IJavaProject javaProject = JavaCore.create(project); 294 fixProjectClasspathEntries(javaProject); 305 * @param javaProject The project to fix [all...] |
BaseProjectHelper.java | 77 * @param javaProject 80 public static List<IPath> getSourceClasspaths(IJavaProject javaProject) { 82 IClasspathEntry[] classpaths = javaProject.readRawClasspath(); 99 IJavaProject javaProject = JavaCore.create(project); 100 return getSourceClasspaths(javaProject); 228 * @param javaProject the {@link IJavaProject} containing the class. 235 public final static String testClassForManifest(IJavaProject javaProject, String className, 242 IType type = javaProject.findType(javaClassName); 361 IJavaProject javaProject = JavaCore.create(project); 365 IType result = javaProject.findType(className) [all...] |
LibraryClasspathContainerInitializer.java | 110 IJavaProject javaProject = JavaCore.create(p.getProject()); 111 if (javaProject != null) { 112 javaProjectList.add(javaProject); 144 private static IClasspathContainer allocateLibraryContainer(IJavaProject javaProject) { 145 final IProject iProject = javaProject.getProject(); 194 return allocateContainer(javaProject, entries, new Path(AdtConstants.CONTAINER_PRIVATE_LIBRARIES), 303 private static IClasspathContainer allocateDependencyContainer(IJavaProject javaProject) { 304 final IProject iProject = javaProject.getProject(); 361 return allocateContainer(javaProject, entries, new Path(CONTAINER_DEPENDENCIES), 365 private static IClasspathContainer allocateContainer(IJavaProject javaProject, [all...] |
ProjectChooserHelper.java | 147 IJavaProject javaProject = null; 149 javaProject = javaModel.getJavaProject(projectName); 153 if (javaProject != null) { 154 dialog.setInitialSelections(new Object[] { javaProject }); 197 for (IJavaProject javaProject : javaProjects) { 198 if (javaProject.getElementName().equals(projectName)) { 199 iproject = javaProject.getProject();
|
XmlErrorHandler.java | 62 public XmlErrorHandler(IJavaProject javaProject, IFile file, XmlErrorListener errorListener) { 63 mJavaProject = javaProject;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestInfo.java | 450 IJavaProject javaProject = BaseProjectHelper.getJavaProject(mProject); 451 if (javaProject != null) { 452 IPackageFragmentRoot root = ManifestInfo.getSourcePackageRoot(javaProject); 517 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 518 if (javaProject == null) { 530 IType type = javaProject.findType(typeFqcn); 536 search(requestor, javaProject, pattern); 561 final IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 562 if (javaProject != null) { 564 IType activityType = javaProject.findType(CLASS_ACTIVITY) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
ExportGradleTest.java | 66 final IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 69 builder.setProject(Collections.singletonList(javaProject)); 76 File buildfile = new File(javaProject.getResource().getLocation().toString(), 147 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 150 builder.setProject(Collections.singletonList(javaProject)); 153 File buildfile = new File(javaProject.getResource().getLocation().toString(), 211 final IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 214 builder.setProject(Collections.singletonList(javaProject)); 221 File buildfile = new File(javaProject.getResource().getLocation().toString(), "build.gradle");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidPackageRenameParticipantTest.java | 241 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 242 assertNotNull(javaProject); 243 IPackageFragment[] fragments = javaProject.getPackageFragments();
|
RenameResourceParticipantTest.java | 240 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 241 assertNotNull(javaProject); 242 IType type = javaProject.findType("com.example.refactoringtest.R.layout"); 244 type = javaProject.findType("com.example.refactoringtest.R$layout");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sourcelookup/ |
AdtSourceLookupDirector.java | 68 IJavaProject javaProject = JavaCore.create(project); 69 if (javaProject != null && javaProject.isOpen()) { 70 IClasspathEntry[] entries = javaProject.getResolvedClasspath(true);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
MainLaunchConfigTab.java | 301 IJavaProject javaProject = mProjectChooserHelper.chooseJavaProject( 304 if (javaProject == null) { 307 String projectName = javaProject.getElementName(); 311 IProject project = javaProject.getProject(); 401 IJavaProject javaProject = getJavaProject(javaModel); 403 if (javaProject != null) { 404 resources = AndroidLaunchController.getResourcesToMap(javaProject.getProject()); 471 for (IJavaProject javaProject : projects) { 472 if (javaProject.getProject().getName().equals(text)) { 473 found = javaProject.getProject() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
ResourceManagerBuilder.java | 80 IJavaProject javaProject = JavaCore.create(project); 88 abortOnBadSetup(javaProject, null); 133 IClasspathEntry[] classpaths = javaProject.readRawClasspath(); 177 List<IPath> sourceFolders = BaseProjectHelper.getSourceClasspaths(javaProject); 197 IClasspathEntry[] entries = javaProject.getRawClasspath(); 200 javaProject.setRawClasspath(entries, new SubProgressMonitor(monitor, 10)); 244 javaProject.setOutputLocation(newJavaOutput.getFullPath(), monitor);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
ProjectCheckPage.java | 109 IJavaProject javaProject = mProjectChooserHelper.chooseJavaProject( 113 if (javaProject != null) { 114 IProject project = javaProject.getProject(); 269 for (IJavaProject javaProject : projects) { 270 if (javaProject.getProject().getName().equals(text)) { 271 found = javaProject.getProject();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
SourceProcessor.java | 92 protected SourceProcessor(@NonNull IJavaProject javaProject, 95 mJavaProject = javaProject; 102 IProject project = javaProject.getProject(); 120 protected SourceProcessor(@NonNull IJavaProject javaProject, 122 this(javaProject, buildToolInfo, genFolder, new SourceChangeHandler());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
ProjectClassLoader.java | 93 for (IJavaProject javaProject : referencedJavaProjects) { 94 clazz = loadFromProject(javaProject, name); 257 IJavaProject javaProject = JavaCore.create(mJavaProject.getProject()); 260 IClasspathEntry[] classpaths = javaProject.readRawClasspath(); 275 e.getPath(), javaProject);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ClientRulesEngine.java | 422 final IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 423 if (javaProject != null) { 424 IType oldFragmentType = javaProject.findType(CLASS_V4_FRAGMENT); 463 IType fragmentType = javaProject.findType(CLASS_FRAGMENT); 498 String fqcn = createNewFragmentClass(javaProject); 553 final IJavaProject javaProject = BaseProjectHelper.getJavaProject(project); 554 if (javaProject != null) { 559 IType fragmentType = javaProject.findType(CLASS_VIEW); 590 String fqcn = createNewCustomViewClass(javaProject); 680 private String createNewFragmentClass(IJavaProject javaProject) { [all...] |