HomeSort by relevance Sort by last modified time
    Searched refs:javaProject (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /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 46 * @param javaProject the {@link IJavaProject} for the Android project to validate
48 InstrumentationRunnerValidator(IJavaProject javaProject) {
49 mJavaProject = javaProject;
50 ManifestData manifestData = AndroidManifestHelper.parseForData(javaProject.getProject());
67 * @param javaProject the {@link IJavaProject} for the Android project to validate
70 InstrumentationRunnerValidator(IJavaProject javaProject, ManifestData manifestData) {
71 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.adt/src/com/android/ide/eclipse/adt/internal/project/
ProjectHelper.java 124 * @param javaProject The java project of which path entries to update.
128 public static void addEntryToClasspath(IJavaProject javaProject, IClasspathEntry newEntry)
131 IClasspathEntry[] entries = javaProject.getRawClasspath();
133 javaProject.setRawClasspath(entries, new NullProgressMonitor());
139 * @param javaProject The java project of which path entries to check.
144 public static boolean isEntryInClasspath(IJavaProject javaProject, IClasspathEntry newEntry)
147 IClasspathEntry[] entries = javaProject.getRawClasspath();
295 IJavaProject javaProject = JavaCore.create(project);
296 fixProjectClasspathEntries(javaProject);
307 * @param javaProject The project to fix
    [all...]
BaseProjectHelper.java 78 * @param javaProject
82 public static List<IPath> getSourceClasspaths(IJavaProject javaProject) {
84 IClasspathEntry[] classpaths = javaProject.readRawClasspath();
102 IJavaProject javaProject = JavaCore.create(project);
103 return getSourceClasspaths(javaProject);
231 * @param javaProject the {@link IJavaProject} containing the class.
238 public final static String testClassForManifest(IJavaProject javaProject, String className,
245 IType type = javaProject.findType(javaClassName);
364 IJavaProject javaProject = JavaCore.create(project);
368 IType result = javaProject.findType(className)
    [all...]
LibraryClasspathContainerInitializer.java 113 IJavaProject javaProject = JavaCore.create(p.getProject());
114 if (javaProject != null) {
115 javaProjectList.add(javaProject);
147 private static IClasspathContainer allocateLibraryContainer(IJavaProject javaProject) {
148 final IProject iProject = javaProject.getProject();
197 return allocateContainer(javaProject, entries, new Path(AdtConstants.CONTAINER_PRIVATE_LIBRARIES),
306 private static IClasspathContainer allocateDependencyContainer(IJavaProject javaProject) {
307 final IProject iProject = javaProject.getProject();
391 return allocateContainer(javaProject, entries, new Path(CONTAINER_DEPENDENCIES),
396 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.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.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 239 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project);
240 assertNotNull(javaProject);
241 IType type = javaProject.findType("com.example.refactoringtest.R.layout");
243 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/editors/manifest/
ManifestInfo.java 590 IJavaProject javaProject = BaseProjectHelper.getJavaProject(mProject);
591 if (javaProject != null) {
592 IPackageFragmentRoot root = ManifestInfo.getSourcePackageRoot(javaProject);
657 IJavaProject javaProject = BaseProjectHelper.getJavaProject(project);
658 if (javaProject == null) {
670 IType type = javaProject.findType(typeFqcn);
676 search(requestor, javaProject, pattern);
701 final IJavaProject javaProject = BaseProjectHelper.getJavaProject(project);
702 if (javaProject != null) {
704 IType activityType = javaProject.findType(CLASS_ACTIVITY)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
ResourceManagerBuilder.java 84 IJavaProject javaProject = JavaCore.create(project);
92 abortOnBadSetup(javaProject, null);
164 IClasspathEntry[] classpaths = javaProject.readRawClasspath();
208 List<IPath> sourceFolders = BaseProjectHelper.getSourceClasspaths(javaProject);
228 IClasspathEntry[] entries = javaProject.getRawClasspath();
231 javaProject.setRawClasspath(entries, new SubProgressMonitor(monitor, 10));
275 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 93 @NonNull IJavaProject javaProject,
97 mJavaProject = javaProject;
104 IProject project = javaProject.getProject();
123 @NonNull IJavaProject javaProject,
126 this(javaProject, buildToolInfo, genFolder, new DefaultSourceChangeHandler());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
ProjectClassLoader.java 97 for (IJavaProject javaProject : referencedJavaProjects) {
98 clazz = loadFromProject(javaProject, name);
296 IJavaProject javaProject = JavaCore.create(mJavaProject.getProject());
299 IClasspathEntry[] classpaths = javaProject.readRawClasspath();
314 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...]

Completed in 239 milliseconds

1 2 3 4