Uses of Interface
org.eclipse.jdt.core.IJavaProject
-
Packages that use IJavaProject Package Description org.eclipse.jdt.apt.core.env This package contains Eclipse extensions to some of the Sun annotation processing APIs.org.eclipse.jdt.apt.core.util This package contains miscellaneous APIs related to Java annotation processing.org.eclipse.jdt.core The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program.org.eclipse.jdt.core.compiler This package contains compiler associated infrastructure APIs.org.eclipse.jdt.core.dom The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document.org.eclipse.jdt.core.eval Provides support for the evaluation of code snippets in a scrapbook or inside the debugger.org.eclipse.jdt.core.manipulation Application programming interface for the JDT core manipulation plug-in class.org.eclipse.jdt.core.search Provides support for searching the workspace Java elements that match a particular description.org.eclipse.jdt.core.util Provides a set of tools and utilities for manipulating .class files and Java model elements.org.eclipse.jdt.debug.eval Provides a set classes and interfaces that support evaluations in the Java debugger.org.eclipse.jdt.debug.ui Provides an implementation of a source locator for the Java debug model.org.eclipse.jdt.debug.ui.launchConfigurations Provides an implementation launch configuration tabs for local and remote Java applications.org.eclipse.jdt.junit.model Application programming interfaces representing test elements as shown in the JUnit view.org.eclipse.jdt.launching Application programming interfaces for interaction with the Eclipse Java launching support.org.eclipse.jdt.launching.environments Application programming interfaces and classes for execution environments.org.eclipse.jdt.launching.sourcelookup Application programming interfaces and classes for source lookup.org.eclipse.jdt.launching.sourcelookup.advanced Provides advanced source lookup support for the Java debugger.org.eclipse.jdt.launching.sourcelookup.containers Provides source lookup support for the Java debugger.org.eclipse.jdt.ui Application programming interfaces for interaction with the Eclipse Java User Interface.org.eclipse.jdt.ui.cleanup Application programming interfaces for code clean up.org.eclipse.jdt.ui.refactoring Application programming interfaces for rename refactorings.org.eclipse.jdt.ui.text.java Application programming interfaces for interaction with the Eclipse Java User Interface.org.eclipse.jdt.ui.wizards Application programming interfaces for interaction with the Eclipse Java User Interface wizards. -
-
Uses of IJavaProject in org.eclipse.jdt.apt.core.env
Methods in org.eclipse.jdt.apt.core.env that return IJavaProject Modifier and Type Method Description IJavaProjectEclipseAnnotationProcessorEnvironment. getJavaProject()Methods in org.eclipse.jdt.apt.core.env with parameters of type IJavaProject Modifier and Type Method Description static AnnotationProcessorEnvironmentEnvironmentFactory. getEnvironment(ICompilationUnit compilationUnit, IJavaProject javaProject)Return a processor environment for use outside of building or reconciling. -
Uses of IJavaProject in org.eclipse.jdt.apt.core.util
Methods in org.eclipse.jdt.apt.core.util with parameters of type IJavaProject Modifier and Type Method Description static voidAptConfig. addProcessorOption(IJavaProject jproj, String key, String val)Add the equivalent of -Akey=val to the list of processor options.static IFactoryPathAptConfig. getDefaultFactoryPath(IJavaProject jproj)Get a factory path corresponding to the default values: if jproj is non-null, return the current workspace factory path (workspace prefs are the default for a project); if jproj is null, return the default list of plugin factories (which is the "factory default").static AnnotationProcessorFactoryAptUtil. getFactoryForAnnotation(String fullyQualifiedAnnotation, IJavaProject jproj)Returns the matching annotation processor factory for a given annotation in a given project.static IFactoryPathAptConfig. getFactoryPath(IJavaProject jproj)Get the factory path for a given project or for the workspace.static StringAptConfig. getGenSrcDir(IJavaProject jproject)static StringAptConfig. getGenTestSrcDir(IJavaProject jproject)static Map<String,String>AptConfig. getProcessorOptions(IJavaProject jproj)static Map<String,String>AptConfig. getProcessorOptions(IJavaProject jproj, boolean isTestCode)Get the options that are presented to annotation processors by the AnnotationProcessorEnvironment.static Map<String,String>AptConfig. getRawProcessorOptions(IJavaProject jproj)Get the options that are presented to annotation processors by the AnnotationProcessorEnvironment.static StringAptConfig. getString(IJavaProject jproj, String optionName)Helper method to get a single preference setting, e.g., APT_GENSRCDIR.static booleanAptConfig. hasProjectSpecificFactoryPath(IJavaProject jproj)Does this project have a factory path that is different from the workspace default?static booleanAptConfig. isEnabled(IJavaProject jproject)Is annotation processing turned on for this project?static voidAptConfig. removeProcessorOption(IJavaProject jproj, String key)Remove an option from the list of processor options.static voidAptConfig. setEnabled(IJavaProject jproject, boolean enabled)Turn annotation processing on or off for this project.static voidAptConfig. setFactoryPath(IJavaProject jproj, IFactoryPath path)Set the factory path for a given project or for the workspace.static voidAptConfig. setGenSrcDir(IJavaProject jproject, String dirString)static voidAptConfig. setGenTestSrcDir(IJavaProject jproject, String dirString)static voidAptConfig. setProcessDuringReconcile(IJavaProject jproject, boolean enabled)Turn processing during reconcile on or off.static voidAptConfig. setProcessorOptions(Map<String,String> options, IJavaProject jproj)Set all the processor options in one call.static booleanAptConfig. shouldProcessDuringReconcile(IJavaProject jproject)Is annotation processing turned on during reconcile, or only during build?static booleanAptConfig. validateGenSrcDir(IJavaProject jproject, String dirName) -
Uses of IJavaProject in org.eclipse.jdt.core
Methods in org.eclipse.jdt.core that return IJavaProject Modifier and Type Method Description static IJavaProjectJavaCore. create(IProject project)Returns the Java project corresponding to the given project.IJavaProjectIJavaElement. getJavaProject()Returns the Java project this element is contained in, ornullif this element is not contained in any Java project (for instance, theIJavaModelis not contained in any Java project).IJavaProjectIJavaModel. getJavaProject(String name)Returns the Java project with the given name.IJavaProject[]IJavaModel. getJavaProjects()Returns the Java projects in this Java model, or an empty array if there are none.Methods in org.eclipse.jdt.core with parameters of type IJavaProject Modifier and Type Method Description booleanClasspathContainerInitializer. canUpdateClasspathContainer(IPath containerPath, IJavaProject project)Returnstrueif this container initializer can be requested to perform updates on its own container values.static IJavaElementJavaCore. create(IResource resource, IJavaProject project)Returns the Java element corresponding to the given file, its project being the given project.IStatusClasspathContainerInitializer. getAccessRulesStatus(IPath containerPath, IJavaProject project)Returns the access rules attribute status according to this initializer.IStatusClasspathContainerInitializer. getAttributeStatus(IPath containerPath, IJavaProject project, String attributeKey)Returns the extra attribute status according to this initializer.static StringNamingConventions. getBaseName(int variableKind, String variableName, IJavaProject javaProject)Returns a base name which could be used to generate the given variable name withNamingConventions.suggestVariableNames(int, int, String, IJavaProject, int, String[], boolean).static IClasspathContainerJavaCore. getClasspathContainer(IPath containerPath, IJavaProject project)Answers the project specific value for a given classpath container.ObjectClasspathContainerInitializer. getComparisonID(IPath containerPath, IJavaProject project)Returns an object which identifies a container for comparison purpose.StringClasspathContainerInitializer. getDescription(IPath containerPath, IJavaProject project)Returns a readable description for a container path.IClasspathContainerClasspathContainerInitializer. getFailureContainer(IPath containerPath, IJavaProject project)Returns a classpath container that is used after this initializer failed to bind a classpath container to aIClasspathContainerfor the given project.static IClasspathEntry[]JavaCore. getReferencedClasspathEntries(IClasspathEntry libraryEntry, IJavaProject project)Returns an array of classpath entries that are referenced directly or indirectly by a given classpath entry.static String[]JavaCore. getReferencedModules(IJavaProject project)Returns an array of module names referenced by this project indirectly.IStatusClasspathContainerInitializer. getSourceAttachmentStatus(IPath containerPath, IJavaProject project)Returns the source attachment attribute status according to this initializer.abstract voidClasspathContainerInitializer. initialize(IPath containerPath, IJavaProject project)Binds a classpath container to aIClasspathContainerfor a given project, or silently fails if unable to do so.ITypeHierarchyIType. newTypeHierarchy(IJavaProject project, IProgressMonitor monitor)Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the context of the given project.ITypeHierarchyIType. newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, IProgressMonitor monitor)Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the context of the given project, considering types in the working copies with the given owner.static char[]NamingConventions. removePrefixAndSuffixForArgumentName(IJavaProject javaProject, char[] argumentName)Deprecated.UseNamingConventions.getBaseName(int, String, IJavaProject)instead withNamingConventions.VK_PARAMETERas variable kind.static StringNamingConventions. removePrefixAndSuffixForArgumentName(IJavaProject javaProject, String argumentName)Deprecated.UseNamingConventions.getBaseName(int, String, IJavaProject)instead withNamingConventions.VK_PARAMETERas variable kind.static char[]NamingConventions. removePrefixAndSuffixForFieldName(IJavaProject javaProject, char[] fieldName, int modifiers)Deprecated.UseNamingConventions.getBaseName(int, String, IJavaProject)instead withNamingConventions.VK_INSTANCE_FIELDorNamingConventions.VK_STATIC_FIELDas variable kind.static StringNamingConventions. removePrefixAndSuffixForFieldName(IJavaProject javaProject, String fieldName, int modifiers)Deprecated.UseNamingConventions.getBaseName(int, String, IJavaProject)instead withNamingConventions.VK_INSTANCE_FIELDorNamingConventions.VK_STATIC_FIELDas variable kind.static char[]NamingConventions. removePrefixAndSuffixForLocalVariableName(IJavaProject javaProject, char[] localName)Deprecated.UseNamingConventions.getBaseName(int, String, IJavaProject)instead withNamingConventions.VK_LOCALas variable kind.static StringNamingConventions. removePrefixAndSuffixForLocalVariableName(IJavaProject javaProject, String localName)Deprecated.UseNamingConventions.getBaseName(int, String, IJavaProject)instead withNamingConventions.VK_LOCALas variable kind.voidClasspathContainerInitializer. requestClasspathContainerUpdate(IPath containerPath, IJavaProject project, IClasspathContainer containerSuggestion)Request a registered container definition to be updated according to a container suggestion.static voidJavaCore. setClasspathContainer(IPath containerPath, IJavaProject[] affectedProjects, IClasspathContainer[] respectiveContainers, IProgressMonitor monitor)Bind a container reference path to some actual containers (IClasspathContainer).static char[][]NamingConventions. suggestArgumentNames(IJavaProject javaProject, char[] packageName, char[] qualifiedTypeName, int dim, char[][] excludedNames)Deprecated.UseNamingConventions.suggestVariableNames(int, int, String, IJavaProject, int, String[], boolean)instead withNamingConventions.VK_PARAMETERas variable kind.static String[]NamingConventions. suggestArgumentNames(IJavaProject javaProject, String packageName, String qualifiedTypeName, int dim, String[] excludedNames)Deprecated.UseNamingConventions.suggestVariableNames(int, int, String, IJavaProject, int, String[], boolean)instead withNamingConventions.VK_PARAMETERas variable kind.static char[][]NamingConventions. suggestFieldNames(IJavaProject javaProject, char[] packageName, char[] qualifiedTypeName, int dim, int modifiers, char[][] excludedNames)Deprecated.static String[]NamingConventions. suggestFieldNames(IJavaProject javaProject, String packageName, String qualifiedTypeName, int dim, int modifiers, String[] excludedNames)Deprecated.static char[]NamingConventions. suggestGetterName(IJavaProject project, char[] fieldName, int modifiers, boolean isBoolean, char[][] excludedNames)Suggest name for a getter method.static StringNamingConventions. suggestGetterName(IJavaProject project, String fieldName, int modifiers, boolean isBoolean, String[] excludedNames)Suggest name for a getter method.static char[][]NamingConventions. suggestLocalVariableNames(IJavaProject javaProject, char[] packageName, char[] qualifiedTypeName, int dim, char[][] excludedNames)Deprecated.UseNamingConventions.suggestVariableNames(int, int, String, IJavaProject, int, String[], boolean)instead withNamingConventions.VK_LOCALas variable kind.static String[]NamingConventions. suggestLocalVariableNames(IJavaProject javaProject, String packageName, String qualifiedTypeName, int dim, String[] excludedNames)Deprecated.UseNamingConventions.suggestVariableNames(int, int, String, IJavaProject, int, String[], boolean)instead withNamingConventions.VK_LOCALas variable kind.static char[]NamingConventions. suggestSetterName(IJavaProject project, char[] fieldName, int modifiers, boolean isBoolean, char[][] excludedNames)Suggest name for a setter method.static StringNamingConventions. suggestSetterName(IJavaProject project, String fieldName, int modifiers, boolean isBoolean, String[] excludedNames)Suggest name for a setter method.static String[]NamingConventions. suggestVariableNames(int variableKind, int baseNameKind, String baseName, IJavaProject javaProject, int dim, String[] excluded, boolean evaluateDefault)Suggests names for a variable.static IJavaModelStatusJavaConventions. validateClasspath(IJavaProject javaProject, IClasspathEntry[] rawClasspath, IPath projectOutputLocation)Validate a given classpath and output location for a project, using the following rules: Classpath entries cannot collide with each other; that is, all entry paths must be unique.static IJavaModelStatusJavaConventions. validateClasspathEntry(IJavaProject project, IClasspathEntry entry, boolean checkSourceAttachment)Returns a Java model status describing the problem related to this classpath entry if any, a status object with codeIStatus.OKif the entry is fine (that is, if the given classpath entry denotes a valid element to be referenced onto a classpath). -
Uses of IJavaProject in org.eclipse.jdt.core.compiler
Methods in org.eclipse.jdt.core.compiler with parameters of type IJavaProject Modifier and Type Method Description intCompilationParticipant. aboutToBuild(IJavaProject project)Notifies this participant that a build is about to start and provides it the opportunity to create missing source folders for generated source files.voidCompilationParticipant. buildFinished(IJavaProject project)Notifies this participant that a build has finished for the project.voidCompilationParticipant. cleanStarting(IJavaProject project)Notifies this participant that a clean is about to start and provides it the opportunity to delete generated source files.booleanCompilationParticipant. isActive(IJavaProject project)Returns whether this participant is active for a given project. -
Uses of IJavaProject in org.eclipse.jdt.core.dom
Methods in org.eclipse.jdt.core.dom with parameters of type IJavaProject Modifier and Type Method Description static CompilationUnitAST. parseCompilationUnit(char[] source, String unitName, IJavaProject project)Deprecated.UseASTParserinstead.voidASTParser. setProject(IJavaProject project)Sets the Java project used when resolving bindings. -
Uses of IJavaProject in org.eclipse.jdt.core.eval
Methods in org.eclipse.jdt.core.eval that return IJavaProject Modifier and Type Method Description IJavaProjectIEvaluationContext. getProject()Returns the Java project this evaluation context was created for. -
Uses of IJavaProject in org.eclipse.jdt.core.manipulation
Methods in org.eclipse.jdt.core.manipulation with parameters of type IJavaProject Modifier and Type Method Description static voidImportReferencesCollector. collect(ASTNode node, IJavaProject project, Region rangeLimit, boolean skipMethodBodies, Collection<SimpleName> resultingTypeImports, Collection<SimpleName> resultingStaticImports)Collect import statements from an AST node.static voidImportReferencesCollector. collect(ASTNode node, IJavaProject project, Region rangeLimit, Collection<SimpleName> resultingTypeImports, Collection<SimpleName> resultingStaticImports)Collect import statements from an AST node.static StringJavaManipulation. getPreference(String key, IJavaProject project)Returns the value for the given key in the given context for the JDT UI plug-in. -
Uses of IJavaProject in org.eclipse.jdt.core.search
Methods in org.eclipse.jdt.core.search with parameters of type IJavaProject Modifier and Type Method Description static IJavaSearchScopeSearchEngine. createStrictHierarchyScope(IJavaProject project, IType type, boolean onlySubtypes, boolean includeFocusType, WorkingCopyOwner owner)Returns a Java search scope limited to the hierarchy of the given type and to a given project. -
Uses of IJavaProject in org.eclipse.jdt.core.util
Methods in org.eclipse.jdt.core.util with parameters of type IJavaProject Modifier and Type Method Description static IFileExternalAnnotationUtil. getAnnotationFile(IJavaProject project, ITypeBinding type, IProgressMonitor monitor)Answer the external annotation file corresponding to the given type as seen from the given project. -
Uses of IJavaProject in org.eclipse.jdt.debug.eval
Methods in org.eclipse.jdt.debug.eval that return IJavaProject Modifier and Type Method Description IJavaProjectIEvaluationEngine. getJavaProject()Returns the Java project in which expressions are compiled.Methods in org.eclipse.jdt.debug.eval with parameters of type IJavaProject Modifier and Type Method Description static IAstEvaluationEngineEvaluationManager. newAstEvaluationEngine(IJavaProject project, IJavaDebugTarget target)Creates and returns a new evaluation engine that performs evaluations by compiling expressions into abstract syntax trees (ASTs), and interpreting the AST over a JDI connection.static IClassFileEvaluationEngineEvaluationManager. newClassFileEvaluationEngine(IJavaProject project, IJavaDebugTarget target, File directory)Creates and returns a new evaluation engine that performs evaluations for local Java applications by deploying class files. -
Uses of IJavaProject in org.eclipse.jdt.debug.ui
Constructors in org.eclipse.jdt.debug.ui with parameters of type IJavaProject Constructor Description JavaUISourceLocator(IJavaProject project)Deprecated.Constructs a source locator that searches for source in the given Java project, and all of its required projects, as specified by its build path or default source lookup settings.JavaUISourceLocator(IJavaProject[] projects, boolean includeRequired)Deprecated.Constructs a new source locator that looks in the specified project for source, and required projects, ifincludeRequiredistrue. -
Uses of IJavaProject in org.eclipse.jdt.debug.ui.launchConfigurations
Methods in org.eclipse.jdt.debug.ui.launchConfigurations that return IJavaProject Modifier and Type Method Description protected IJavaProjectJavaJRETab. getJavaProject()Returns the Java project associated with the current config being edited, ornullif none. -
Uses of IJavaProject in org.eclipse.jdt.junit.model
Methods in org.eclipse.jdt.junit.model that return IJavaProject Modifier and Type Method Description IJavaProjectITestRunSession. getLaunchedProject()Returns the Java project from which this test run session has been launched, ornullif not available. -
Uses of IJavaProject in org.eclipse.jdt.launching
Methods in org.eclipse.jdt.launching that return IJavaProject Modifier and Type Method Description IJavaProjectAbstractJavaLaunchConfigurationDelegate. getJavaProject(ILaunchConfiguration configuration)Returns the Java project specified by the given launch configuration, ornullif none.IJavaProjectIRuntimeClasspathEntry. getJavaProject()Returns the Java project associated with this runtime classpath entry ornullif none.static IJavaProjectJavaRuntime. getJavaProject(ILaunchConfiguration configuration)Return theIJavaProjectreferenced in the specified configuration ornullif none.IJavaProjectAbstractJavaLaunchConfigurationDelegate. verifyJavaProject(ILaunchConfiguration configuration)Verifies a Java project is specified by the given launch configuration, and returns the Java project.Methods in org.eclipse.jdt.launching with parameters of type IJavaProject Modifier and Type Method Description static String[]JavaRuntime. computeDefaultRuntimeClassPath(IJavaProject jproject)Computes the default application classpath entries for the given project.static String[]JavaRuntime. computeJavaLibraryPath(IJavaProject project, boolean requiredProjects)Returns a collection of paths that should be appended to the given project'sjava.library.pathsystem property when launched.static IRuntimeClasspathEntryJavaRuntime. computeJREEntry(IJavaProject project)Returns a runtime classpath entry identifying the JRE referenced by the specified project, ornullif none.static IRuntimeClasspathEntryJavaRuntime. computeModularJREEntry(IJavaProject project)Returns a runtime classpath or modulepath entry identifying the JRE referenced by the specified project, ornullif none.static IRuntimeClasspathEntry[]JavaRuntime. computeUnresolvedRuntimeClasspath(IJavaProject project)Computes and returns the default unresolved runtime classpath for the given project.static IRuntimeClasspathEntry[]JavaRuntime. computeUnresolvedRuntimeClasspath(IJavaProject project, boolean excludeTestCode)Computes and returns the default unresolved runtime classpath for the given project.static IRuntimeClasspathEntry[]JavaRuntime. computeUnresolvedRuntimeDependencies(IJavaProject project)Computes and returns the default unresolved runtime classpath and modulepath for the given project.static IRuntimeClasspathEntry[]JavaRuntime. computeUnresolvedRuntimeDependencies(IJavaProject project, boolean excludeTestCode)Computes and returns the default unresolved runtime classpath and modulepath for the given project.static IVMInstallJavaRuntime. getVMInstall(IJavaProject project)Returns the VM assigned to build the given Java project.static booleanJavaRuntime. isModularProject(IJavaProject proj)Checks if project entry is modularstatic booleanJavaRuntime. isModule(IClasspathEntry entry, IJavaProject proj)Checks if classpath entry is modular and project is modular .static IRuntimeClasspathEntryJavaRuntime. newArchiveRuntimeClasspathEntry(IPath path, int classpathProperty, IJavaProject javaProject)Returns a new runtime classpath entry for the given archive(possibly external).static IRuntimeClasspathEntryJavaRuntime. newDefaultProjectClasspathEntry(IJavaProject project)Returns a new runtime classpath entry containing the default classpath for the specified Java project.static IRuntimeClasspathEntryJavaRuntime. newProjectRuntimeClasspathEntry(IJavaProject project)Returns a new runtime classpath entry for the given project.static IRuntimeClasspathEntryJavaRuntime. newProjectRuntimeClasspathEntry(IJavaProject project, int classpathProperty)Returns a new runtime classpath entry for the given project.static IRuntimeClasspathEntryJavaRuntime. newRuntimeContainerClasspathEntry(IPath path, int classpathProperty, IJavaProject project)Returns a runtime classpath entry for the given container path with the given classpath property to be resolved in the context of the given Java project.IRuntimeClasspathEntry[]IRuntimeClasspathEntryResolver. resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, IJavaProject project)Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given Java project.default IRuntimeClasspathEntry[]IRuntimeClasspathEntryResolver. resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, IJavaProject project, boolean excludeTestCode)Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given Java project.static IRuntimeClasspathEntry[]JavaRuntime. resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, IJavaProject project)Returns resolved entries for the given entry in the context of the given Java project.static IRuntimeClasspathEntry[]JavaRuntime. resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, IJavaProject project, boolean excludeTestCode)Returns resolved entries for the given entry in the context of the given Java project. -
Uses of IJavaProject in org.eclipse.jdt.launching.environments
Methods in org.eclipse.jdt.launching.environments with parameters of type IJavaProject Modifier and Type Method Description IAccessRule[][]IAccessRuleParticipant. getAccessRules(IExecutionEnvironment environment, IVMInstall vm, LibraryLocation[] libraries, IJavaProject project)Returns a collection of access rules to be applied to the specified VM libraries and execution environment in the context of the given project.IAccessRule[][]IExecutionEnvironment. getAccessRules(IVMInstall vm, LibraryLocation[] libraries, IJavaProject project)Returns a collection of access rules to be applied to the specified VM libraries for this execution environment in the context of the given project. -
Uses of IJavaProject in org.eclipse.jdt.launching.sourcelookup
Methods in org.eclipse.jdt.launching.sourcelookup that return IJavaProject Modifier and Type Method Description IJavaProjectJavaProjectSourceLocation. getJavaProject()Deprecated.Returns the Java project associated with this source location.Methods in org.eclipse.jdt.launching.sourcelookup with parameters of type IJavaProject Modifier and Type Method Description protected static voidJavaSourceLocator. collectRequiredProjects(IJavaProject proj, ArrayList<IJavaProject> res)Deprecated.Adds all projects required byprojto the listresstatic IJavaSourceLocation[]JavaSourceLocator. getDefaultSourceLocations(IJavaProject project)Deprecated.Returns a default collection of source locations for the given Java project.Method parameters in org.eclipse.jdt.launching.sourcelookup with type arguments of type IJavaProject Modifier and Type Method Description protected static voidJavaSourceLocator. collectRequiredProjects(IJavaProject proj, ArrayList<IJavaProject> res)Deprecated.Adds all projects required byprojto the listresConstructors in org.eclipse.jdt.launching.sourcelookup with parameters of type IJavaProject Constructor Description JavaProjectSourceLocation(IJavaProject project)Deprecated.Constructs a new source location that will retrieve source elements from the given Java project.JavaSourceLocator(IJavaProject project)Deprecated.Constructs a new JavaSourceLocator that searches the default set of source locations for the given Java project.JavaSourceLocator(IJavaProject[] projects, boolean includeRequired)Deprecated.Constructs a new Java source locator that looks in the specified project for source, and required projects, ifincludeRequiredistrue. -
Uses of IJavaProject in org.eclipse.jdt.launching.sourcelookup.advanced
Methods in org.eclipse.jdt.launching.sourcelookup.advanced with parameters of type IJavaProject Modifier and Type Method Description voidIWorkspaceProjectDescriber. describeProject(IJavaProject project, IWorkspaceProjectDescriber.IJavaProjectSourceDescription description)Populate the given description with the given project's description.static Map<File,IPackageFragmentRoot>AdvancedSourceLookup. getClasspath(IJavaProject project)static Set<File>AdvancedSourceLookup. getOutputDirectories(IJavaProject project)static booleanAdvancedSourceLookup. isSourceProject(IJavaProject project)Returnstrueif the given project has sources folders,falseotherwise. -
Uses of IJavaProject in org.eclipse.jdt.launching.sourcelookup.containers
Methods in org.eclipse.jdt.launching.sourcelookup.containers that return IJavaProject Modifier and Type Method Description IJavaProjectJavaProjectSourceContainer. getJavaProject()Returns the Java project associated with this source container.Constructors in org.eclipse.jdt.launching.sourcelookup.containers with parameters of type IJavaProject Constructor Description JavaProjectSourceContainer(IJavaProject project)Constructs a source container on the given Java project. -
Uses of IJavaProject in org.eclipse.jdt.ui
Methods in org.eclipse.jdt.ui with parameters of type IJavaProject Modifier and Type Method Description static SelectionDialogJavaUI. createPackageDialog(Shell parent, IJavaProject project, int style)Creates a selection dialog that lists all packages of the given Java project.static SelectionDialogJavaUI. createPackageDialog(Shell parent, IJavaProject project, int style, String filter)Creates a selection dialog that lists all packages of the given Java project.static StringJavaElementLabels. getContainerEntryLabel(IPath containerPath, IJavaProject project)Returns the label of a classpath container.protected Object[]StandardJavaElementContentProvider. getPackageFragmentRoots(IJavaProject project)Evaluates all children of a givenIJavaProject.static StringPreferenceConstants. getPreference(String key, IJavaProject project)Returns the value for the given key in the given context.static URLJavaUI. getProjectJavadocLocation(IJavaProject project)Returns the Javadoc location for a Java project ornullif no location is available.static StyledStringJavaElementLabels. getStyledContainerEntryLabel(IPath containerPath, IJavaProject project)Returns the styled label of a classpath container.static voidJavaUI. setProjectJavadocLocation(IJavaProject project, URL url)Sets the Javadoc location for a Java project. -
Uses of IJavaProject in org.eclipse.jdt.ui.cleanup
Methods in org.eclipse.jdt.ui.cleanup with parameters of type IJavaProject Modifier and Type Method Description RefactoringStatusICleanUp. checkPreConditions(IJavaProject project, ICompilationUnit[] compilationUnits, IProgressMonitor monitor)After call to checkPreConditions clients will start creating fixes forcompilationUnitsinprojectunless the result of checkPreConditions contains a fatal error -
Uses of IJavaProject in org.eclipse.jdt.ui.refactoring
Methods in org.eclipse.jdt.ui.refactoring with parameters of type IJavaProject Modifier and Type Method Description static RenameSupportRenameSupport. create(IJavaProject project, String newName, int flags)Creates a new rename support for the givenIJavaProject. -
Uses of IJavaProject in org.eclipse.jdt.ui.text.java
Methods in org.eclipse.jdt.ui.text.java that return IJavaProject Modifier and Type Method Description IJavaProjectJavaContentAssistInvocationContext. getProject()Returns the project of the compilation unit that content assist is invoked in,nullif none.Methods in org.eclipse.jdt.ui.text.java with parameters of type IJavaProject Modifier and Type Method Description static ClasspathFixProcessor.ClasspathFixProposal[]ClasspathFixProcessor. getContributedFixImportProposals(IJavaProject project, String name, MultiStatus status)Evaluates all contributed proposals that can fix non-resolvable imports.abstract ClasspathFixProcessor.ClasspathFixProposal[]ClasspathFixProcessor. getFixImportProposals(IJavaProject project, String name)Returns proposal that can fix non-resolvable imports.static ChangeClasspathFixProcessor.ClasspathFixProposal. newAddClasspathChange(IJavaProject project, IClasspathEntry entryToAdd)A helper method to create aChangethat adds an entry to the class path.static ChangeClasspathFixProcessor.ClasspathFixProposal. newClasspathChange(IJavaProject project, IClasspathEntry[] newClasspath, IPath outputLocation)A helper method to create aChangethat modifies a class path.Constructors in org.eclipse.jdt.ui.text.java with parameters of type IJavaProject Constructor Description CompletionProposalCollector(IJavaProject project)Creates a new instance ready to collect proposals.JavaContentAssistInvocationContext(IJavaProject javaProject)Creates a new context. -
Uses of IJavaProject in org.eclipse.jdt.ui.wizards
Methods in org.eclipse.jdt.ui.wizards that return IJavaProject Modifier and Type Method Description abstract IJavaProjectClasspathAttributeConfiguration.ClasspathAttributeAccess. getJavaProject()Returns the Java project the current attribute is part of.IJavaProjectJavaCapabilityConfigurationPage. getJavaProject()Returns the Java project that was passed inJavaCapabilityConfigurationPage.init(IJavaProject, IPath, IClasspathEntry[], boolean)ornullif the page has not been initialized yet.IJavaProjectNewContainerWizardPage. getJavaProject()Returns the Java project of the currently selected package fragment root ornullif no package fragment root is configured.IJavaProjectNewModuleInfoWizardPage. getJavaProject()IJavaProjectNewJavaProjectWizardPage. getNewJavaProject()Deprecated.Returns the Java project handle by converting the result ofgetProjectHandle()into a Java project.IJavaProjectNewModuleInfoWizardPage. getProject()Methods in org.eclipse.jdt.ui.wizards with parameters of type IJavaProject Modifier and Type Method Description static IClasspathEntry[]BuildPathDialogAccess. chooseContainerEntries(Shell shell, IJavaProject project, IClasspathEntry[] currentClasspath)Shows the UI to choose new classpath container classpath entries.static IClasspathEntryBuildPathDialogAccess. configureContainerEntry(Shell shell, IClasspathEntry initialEntry, IJavaProject project, IClasspathEntry[] currentClasspath)Shows the UI to configure a classpath container classpath entry.voidJavaCapabilityConfigurationPage. init(IJavaProject jproject, IPath defaultOutputLocation, IClasspathEntry[] defaultEntries, boolean defaultsOverrideExistingClasspath)Initializes the page with the project and default classpath.voidNewModuleInfoWizardPage. init(IJavaProject project)The wizard owning this page is responsible for calling this method with the current selection's project.voidIClasspathContainerPageExtension. initialize(IJavaProject project, IClasspathEntry[] currentEntries)Methodinitialize()is called beforeIClasspathContainerPage.setSelectionto give additional information about the context the classpath container entry is configured in.protected voidNewJavaProjectWizardPageTwo. initializeBuildPath(IJavaProject javaProject, IProgressMonitor monitor)Evaluates the new build path and output folder according to the settings on the first page.
-