Uses of Class
org.aspectj.org.eclipse.jdt.core.JavaModelException
Packages that use JavaModelException
Package
Description
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
This package contains compiler associated infrastructure APIs.
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.
Provides support for the evaluation of code snippets
in a scrapbook or inside the debugger.
Provides support for searching the workspace Java
elements that match a particular description.
Provides a set of tools and utilities for manipulating .class files and Java model elements.
-
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core
Methods in org.aspectj.org.eclipse.jdt.core that throw JavaModelExceptionModifier and TypeMethodDescriptionorg.eclipse.text.edits.UndoEditIBuffer.ITextEditCapability.applyTextEdit(org.eclipse.text.edits.TextEdit edit, org.eclipse.core.runtime.IProgressMonitor monitor) Applies a text edit to this underlying buffer.org.eclipse.text.edits.UndoEditICompilationUnit.applyTextEdit(org.eclipse.text.edits.TextEdit edit, org.eclipse.core.runtime.IProgressMonitor monitor) Applies a text edit to the compilation unit's buffer.voidIPackageFragmentRoot.attachSource(org.eclipse.core.runtime.IPath sourcePath, org.eclipse.core.runtime.IPath rootPath, org.eclipse.core.runtime.IProgressMonitor monitor) Attaches the source archive identified by the given absolute path to this binary package fragment root.IClassFile.becomeWorkingCopy(IProblemRequestor problemRequestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.voidICompilationUnit.becomeWorkingCopy(IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.UseICompilationUnit.becomeWorkingCopy(IProgressMonitor)instead.voidICompilationUnit.becomeWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor) Changes this compilation unit handle into a working copy.voidIOpenable.close()Closes this element and its buffer (if any).voidICodeAssist.codeComplete(int offset, CompletionRequestor requestor) Performs code completion at the given offset position in this compilation unit, reporting results to the given completion requestor.voidICodeAssist.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner) Performs code completion at the given offset position in this compilation unit, reporting results to the given completion requestor.voidICodeAssist.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Performs code completion at the given offset position in this compilation unit, reporting results to the given completion requestor.voidICodeAssist.codeComplete(int offset, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Performs code completion at the given offset position in this compilation unit, reporting results to the given completion requestor.voidICodeAssist.codeComplete(int offset, ICodeCompletionRequestor requestor) Deprecated.UseICodeAssist.codeComplete(int, ICompletionRequestor)instead.voidICodeAssist.codeComplete(int offset, ICompletionRequestor requestor) Deprecated.UseICodeAssist.codeComplete(int, CompletionRequestor)instead.voidICodeAssist.codeComplete(int offset, ICompletionRequestor requestor, WorkingCopyOwner owner) Deprecated.voidIType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor) Do code completion inside a code snippet in the context of the current type.voidIType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner) Do code completion inside a code snippet in the context of the current type.voidIType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Do code completion inside a code snippet in the context of the current type.voidIType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Do code completion inside a code snippet in the context of the current type.voidIType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor) Deprecated.voidIType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor, WorkingCopyOwner owner) ICodeAssist.codeSelect(int offset, int length) Returns the Java elements corresponding to the given selected text in this compilation unit.ICodeAssist.codeSelect(int offset, int length, WorkingCopyOwner owner) Returns the Java elements corresponding to the given selected text in this compilation unit.voidIWorkingCopy.commit(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.voidICompilationUnit.commitWorkingCopy(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Commits the contents of this working copy to its underlying resource.static byte[]JavaCore.compileWithAttributes(IModuleDescription module, Map<String, String> classFileAttributes) Compile the given module description in the context of its enclosing Java project and add class file attributes using the given map of attribute values.voidCorrectionEngine.computeCorrections(IProblem problem, ICompilationUnit targetUnit, ICorrectionRequestor requestor) Performs code correction for the given IProblem, reporting results to the given correction requestor.voidCorrectionEngine.computeCorrections(org.eclipse.core.resources.IMarker marker, ICompilationUnit targetUnit, int positionOffset, ICorrectionRequestor requestor) Performs code correction for the given marker, reporting results to the given correction requestor.booleanIPackageFragment.containsJavaResources()Returns whether this fragment contains at least one Java resource.voidIJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Copies the given elements to the specified container(s).voidIPackageFragmentRoot.copy(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor) Copies the resource of this package fragment root to the destination path as specified byIResource.copy(IPath, int, IProgressMonitor)but excluding nested source folders.voidISourceManipulation.copy(IJavaElement container, IJavaElement sibling, String rename, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Copies this element to the given container.IPackageFragment.createCompilationUnit(String name, String contents, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a compilation unit in this package fragment with the specified name and contents.IType.createField(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a field in this type with the given contents.ICompilationUnit.createImport(String name, IJavaElement sibling, int flags, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns an import declaration in this compilation unit with the given name.ICompilationUnit.createImport(String name, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns an non-static import declaration in this compilation unit with the given name.IType.createInitializer(String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a static initializer in this type with the given contents.IType.createMethod(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a method or constructor in this type with the given contents.ICompilationUnit.createPackageDeclaration(String name, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a package declaration in this compilation unit with the given package name.IPackageFragmentRoot.createPackageFragment(String name, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a package fragment in this root with the given dot-separated package name.ICompilationUnit.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type in this compilation unit with the given contents.IType.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type in this type with the given contents.voidIJavaModel.delete(IJavaElement[] elements, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Deletes the given elements, forcing the operation if necessary and specified.voidIPackageFragmentRoot.delete(int updateResourceFlags, int updateModelFlags, org.eclipse.core.runtime.IProgressMonitor monitor) Deletes the resource of this package fragment root as specified byIResource.delete(int, IProgressMonitor)but excluding nested source folders.voidISourceManipulation.delete(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Deletes this element, forcing if specified and necessary.IJavaProject.determineModulesOfProjectsWithNonEmptyClasspath()When compiling test code in a modular project that has non-source classpath entries which don't have theIClasspathAttribute.MODULEset, the module is assumed to read the unnamed module (which is useful for test-only dependencies that should not be mentioned in the module-info.java).voidICompilationUnit.discardWorkingCopy()Changes this compilation unit in working copy mode back to its original mode.IJavaProject.findElement(String bindingKey, WorkingCopyOwner owner) Finds the Java element corresponding to the given binding key if any, else returnsnull.IJavaProject.findElement(org.eclipse.core.runtime.IPath path) Returns theIJavaElementcorresponding to the given classpath-relative path, ornullif no suchIJavaElementis found.IJavaProject.findElement(org.eclipse.core.runtime.IPath path, WorkingCopyOwner owner) Returns theIJavaElementcorresponding to the given classpath-relative path, ornullif no suchIJavaElementis found.IJavaProject.findModule(String moduleName, WorkingCopyOwner owner) Finds the first module with the given name found following this project's module path.IJavaProject.findPackageFragment(org.eclipse.core.runtime.IPath path) Returns the first existing package fragment on this project's classpath whose path matches the given (absolute) path, ornullif none exist.IJavaProject.findPackageFragmentRoot(org.eclipse.core.runtime.IPath path) Returns the existing package fragment root on this project's classpath whose path matches the given (absolute) path, ornullif one does not exist.IOpenable.findRecommendedLineSeparator()Finds and returns the recommended line separator for this element.Returns the first type (excluding secondary types) found following this project's classpath with the given fully qualified name ornullif none is found.Returns the first type (excluding secondary types) found following this project's classpath with the given package name and type qualified name ornullif none is found.IJavaProject.findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner) Returns the first type (excluding secondary types) found following this project's classpath with the given package name and type qualified name ornullif none is found.IJavaProject.findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Same functionality asIJavaProject.findType(String, String, WorkingCopyOwner)but also looks for secondary types if the given name does not match a compilation unit name.IJavaProject.findType(String packageName, String typeQualifiedName, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Same functionality asIJavaProject.findType(String, String)but also looks for secondary types if the given name does not match a compilation unit name.IJavaProject.findType(String fullyQualifiedName, WorkingCopyOwner owner) Returns the first type (excluding secondary types) found following this project's classpath with the given fully qualified name ornullif none is found.IJavaProject.findType(String fullyQualifiedName, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Same functionality asIJavaProject.findType(String, WorkingCopyOwner)but also looks for secondary types if the given name does not match a compilation unit name.IJavaProject.findType(String fullyQualifiedName, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Same functionality asIJavaProject.findType(String)but also looks for secondary types if the given name does not match a compilation unit name.IPackageFragment.getAllClassFiles()Returns all of the class files in this package fragment.IJavaProject.getAllPackageFragmentRoots()Returns all of the existing package fragment roots that exist on the classpath, in the order they are defined by the classpath.IType[]ICompilationUnit.getAllTypes()Returns all types declared in this compilation unit in the order in which they appear in the source.IAnnotatable.getAnnotations()Returns the annotations for this element.IJavaElement.getAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor) Returns the Javadoc as HTML source if this element has attached Javadoc,nullotherwise.static IModuleDescriptionJavaCore.getAutomaticModuleDescription(IJavaElement element) Returns theIModuleDescriptionthat the given java element contains when regarded as an automatic module.String[]ITypeParameter.getBounds()Returns the names of the class and interface bounds of this type parameter.String[]ITypeParameter.getBoundsSignatures()Returns the signatures for this type parameter's bounds.IOpenable.getBuffer()Returns the buffer opened for this element, ornullif this element does not have a buffer.byte[]IClassFile.getBytes()Returns the bytes contained in this class file.String[]IMember.getCategories()Returns the categories defined by this member's Javadoc.IParent.getChildren()Returns the immediate children of this element.IType.getChildrenForCategory(String category) Returns the children of this type that have the given category as a@categorytag.IPackageFragment.getClassFiles()Deprecated.Clients are advised to specifically use eitherIPackageFragment.getOrdinaryClassFiles()orIPackageFragment.getAllClassFiles()to express their intent.static IClasspathContainerJavaCore.getClasspathContainer(org.eclipse.core.runtime.IPath containerPath, IJavaProject project) Answers the project specific value for a given classpath container.IJavaProject.getClasspathEntryFor(org.eclipse.core.runtime.IPath path) Returns the classpath entry that refers to the given path ornullif there is no reference to the path.IPackageFragment.getCompilationUnits()Returns all of the compilation units in this package fragment.IPackageFragment.getCompilationUnits(WorkingCopyOwner owner) Returns all of the compilation units in this package fragment that are in working copy mode and that have the given owner.IField.getConstant()Returns the constant value associated with this field ornullif this field has none.org.eclipse.core.resources.IResourceIJavaElement.getCorrespondingResource()Returns the resource that corresponds directly to this element, ornullif there is no resource that corresponds to this element.IMethod.getDefaultValue()Returns amember value pairrepresenting the default value of this method if any, ornullif this method's parent is not an annotation type, or else if this method does not have a default value.ITypeRoot.getElementAt(int position) Returns the smallest element within this Java type root that includes the given source position (that is, a method, field, etc.), ornullif there is no element other than the Java type root itself at the given position, or if the given position is not within the source range of the source of this Java type root.String[]IMethod.getExceptionTypes()Returns the type signatures of the exceptions this method throws, in the order declared in the source.String[]IModuleDescription.getExportedPackageNames(IModuleDescription targetModule) Get names of exported packages.IField[]IType.getFields()Returns the fields declared by this type in the order in which they appear in the source or class file.intIImportDeclaration.getFlags()Returns the modifier flags for this import.intIMember.getFlags()Returns the modifier flags for this member.Returns this type's fully qualified name using a '.' enclosing type separator followed by its type parameters between angle brackets if it is a generic type.ICompilationUnit.getImports()Returns the import declarations in this compilation unit in the order in which they appear in the source.IType.getInitializers()Returns the initializers declared by this type.IMember.getJavadocRange()Returns the Javadoc range if this element is from source or if this element is a binary element with an attached source, null otherwise.IJavaModel.getJavaProjects()Returns the Java projects in this Java model, or an empty array if there are none.intIPackageFragment.getKind()Returns this package fragment's root kind encoded as an integer.intIPackageFragmentRoot.getKind()Returns this package fragment root's kind encoded as an integer.IAnnotation.getMemberValuePairs()Returns the member-value pairs of this annotation.IMethod[]IType.getMethods()Returns the methods and constructors declared by this type.IModularClassFile.getModule()Returns the module description contained in this type root.default IModuleDescriptionITypeRoot.getModule()Returns the module description contained in this type root or null if there is no module in this type root.IJavaProject.getModuleDescription()Returns theIModuleDescriptionthis project represents or null if the Java project doesn't represent any named module.ISourceReference.getNameRange()Returns the name range associated with this element.Object[]IJavaModel.getNonJavaResources()Returns an array of non-Java resources (that is, non-Java projects) in the workspace.Object[]IJavaProject.getNonJavaResources()Returns an array of non-Java resources directly contained in this project.Object[]IPackageFragment.getNonJavaResources()Returns an array of non-Java resources contained in this package fragment.Object[]IPackageFragmentRoot.getNonJavaResources()Returns an array of non-Java resources contained in this package fragment root.String[]IModuleDescription.getOpenedPackageNames(IModuleDescription targetModule) Get names of opened packages.IPackageFragment.getOrdinaryClassFiles()Returns all of the ordinary class files in this package fragment, i.e., not including the modular class file "module-info.class".org.eclipse.core.runtime.IPathIJavaProject.getOutputLocation()Returns the default output location for this project as a workspace- relative absolute path.IJavaProject.getOwnModuleDescription()Returns theIModuleDescriptionowned by this project or null if the Java project doesn't own a valid Java module descriptor.ICompilationUnit.getPackageDeclarations()Returns the package declarations in this compilation unit in the order in which they appear in the source.IJavaProject.getPackageFragmentRoots()Returns all of the package fragment roots contained in this project, identified on this project's resolved classpath.IJavaProject.getPackageFragments()Returns all package fragments in all package fragment roots contained in this project.String[]IMethod.getParameterNames()Returns the names of parameters in this method.IMethod.getParameters()Returns the parameters of this method.String[]IType.getPermittedSubtypeNames()Returns the names of types that this sealed type permits to be its sub types.String[]IModuleDescription.getProvidedServiceNames()Get provided service names for this module.IJavaProject.getRawClasspath()Returns the raw classpath for the project, as a list of classpath entries.IPackageFragmentRoot.getRawClasspathEntry()Returns the first raw classpath entry that corresponds to this package fragment root.String[]IMethod.getRawParameterNames()Returns the names of parameters in this method.default IField[]IType.getRecordComponents()Returns the record components declared by this record class, or an empty array if this is not a record.IJavaProject.getReferencedClasspathEntries()Returns the list of referenced classpath entries stored in the .classpath file ofthisjava project.String[]IModuleDescription.getRequiredModuleNames()Answer the names of all modules directly required from this module.String[]IJavaProject.getRequiredProjectNames()Returns the names of the projects that are directly required by this project.IJavaProject.getResolvedClasspath(boolean ignoreUnresolvedEntry) This is a helper method returning the resolved classpath for the project as a list of simple (non-variable, non-container) classpath entries.IPackageFragmentRoot.getResolvedClasspathEntry()Returns the first resolved classpath entry that corresponds to this package fragment root.IMethod.getReturnType()Returns the type signature of the return value of this method.IWorkingCopy.getSharedWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.IMethod.getSignature()Returns the signature of this method.ISourceReference.getSource()Returns the source code associated with this element.org.eclipse.core.runtime.IPathIPackageFragmentRoot.getSourceAttachmentPath()Returns the absolute path to the source archive attached to this package fragment root's binary archive.org.eclipse.core.runtime.IPathIPackageFragmentRoot.getSourceAttachmentRootPath()Returns the path within this package fragment root's source archive.ISourceReference.getSourceRange()Returns the source range associated with this element.IType.getSuperclassName()Returns the name of this type's superclass, ornullfor source types that do not specify a superclass.IType.getSuperclassTypeSignature()Returns the type signature of this type's superclass, ornullif none.String[]IType.getSuperInterfaceNames()Returns the names of interfaces that this type implements or extends, in the order in which they are listed in the source.String[]IType.getSuperInterfaceTypeSignatures()Returns the type signatures of the interfaces that this type implements or extends, in the order in which they are listed in the source.IMethod.getTypeParameters()Returns the formal type parameters for this method.IType.getTypeParameters()Returns the formal type parameters for this type.String[]IMethod.getTypeParameterSignatures()Deprecated.UseIMethod.getTypeParameters()insteadString[]IType.getTypeParameterSignatures()Returns the formal type parameter signatures for this type.IType[]ICompilationUnit.getTypes()Returns the top-level types declared in this compilation unit in the order in which they appear in the source.IType[]IType.getTypes()Returns the immediate member types declared by this type.IField.getTypeSignature()Returns the type signature of this field.org.eclipse.core.resources.IResourceIJavaElement.getUnderlyingResource()Returns the smallest underlying resource that contains this element, ornullif this element is not contained in a resource.String[]IModuleDescription.getUsedServiceNames()Get used service names for this module.IClassFile.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory) Deprecated.ICompilationUnit.getWorkingCopy(WorkingCopyOwner owner, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.ICompilationUnit.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor) Returns a new working copy of this compilation unit if it is a primary compilation unit, or this compilation unit if it is already a non-primary working copy.ITypeRoot.getWorkingCopy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Returns a shared working copy on this compilation unit or class file using the given working copy owner to create the buffer.IWorkingCopy.getWorkingCopy()Deprecated.UseICompilationUnit.getWorkingCopy(IProgressMonitor)instead.IWorkingCopy.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.booleanIParent.hasChildren()Returns whether this element has one or more immediate children.booleanIPackageFragment.hasSubpackages()Returns whether this package fragment's name is a prefix of other package fragments in this package fragment's root.booleanIOpenable.hasUnsavedChanges()Returnstrueif this element is open and: its buffer has unsaved changes, or one of its descendants has unsaved changes, or a working copy has been created on one of this element's children and has not yet destroyedbooleanIType.isAnnotation()Returns whether this type represents an annotation type.booleanIType.isAnonymous()Returns whether this type represents an anonymous type.booleanIClassFile.isClass()Returns whether this type represents a class.booleanIType.isClass()Returns whether this type represents a class.booleanIOpenable.isConsistent()Returns whether the element is consistent with its underlying resource or buffer.booleanIMethod.isConstructor()Returns whether this method is a constructor.booleanIType.isEnum()Returns whether this type represents an enumeration class.booleanIField.isEnumConstant()Returns whether this field represents an enum constant.booleanIClassFile.isInterface()Returns whether this type represents an interface.booleanIType.isInterface()Returns whether this type represents an interface.booleanIType.isLocal()Returns whether this type represents a local type.booleanIMethod.isMainMethod()Returns whether this method is a main method.booleanIMethod.isMainMethodCandidate()Returns whether this method is a main method candidate.booleanIType.isMember()Returns whether this type represents a member type.booleanIType.isRecord()Returns whether this type represents a record class.booleanIField.isRecordComponent()Returns whether this field represents a record component.booleanIType.isSealed()Returns whether this type is a sealed type.booleanIJavaElement.isStructureKnown()Returns whether the structure of this element is known.IType.loadTypeHierachy(InputStream input, org.eclipse.core.runtime.IProgressMonitor monitor) Loads a previously saved ITypeHierarchy from an input stream.voidIOpenable.makeConsistent(org.eclipse.core.runtime.IProgressMonitor progress) Makes this element consistent with its underlying resource or buffer by updating the element's structure and properties as necessary.voidIJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Moves the given elements to the specified container(s).voidIPackageFragmentRoot.move(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor) Moves the resource of this package fragment root to the destination path as specified byIResource.move(IPath,int,IProgressMonitor)but excluding nested source folders.voidISourceManipulation.move(IJavaElement container, IJavaElement sibling, String rename, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Moves this element to the given container.IType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type and all of its supertypes, considering types in the given working copies.IType.newSupertypeHierarchy(IWorkingCopy[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.IType.newSupertypeHierarchy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type and all of its supertypes, considering types in the working copies with the given owner.IType.newSupertypeHierarchy(org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type and all of its supertypes.IJavaProject.newTypeHierarchy(IRegion region, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region and considering types in the working copies with the given owner.IJavaProject.newTypeHierarchy(IRegion region, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region.IJavaProject.newTypeHierarchy(IType type, IRegion region, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for the given type considering subtypes in the specified region and considering types in the working copies with the given owner.IJavaProject.newTypeHierarchy(IType type, IRegion region, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for the given type considering subtypes in the specified region.IType.newTypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace, considering types in the given working copies.IType.newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, org.eclipse.core.runtime.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.IType.newTypeHierarchy(IJavaProject project, org.eclipse.core.runtime.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.IType.newTypeHierarchy(IWorkingCopy[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.IType.newTypeHierarchy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace, considering types in the working copies with the given owner.IType.newTypeHierarchy(org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace.static ITypeHierarchyJavaCore.newTypeHierarchy(IRegion region, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region and considering types in the working copies with the given owner.final ICompilationUnitWorkingCopyOwner.newWorkingCopy(String name, IClasspathEntry[] classpath, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.final ICompilationUnitWorkingCopyOwner.newWorkingCopy(String name, IClasspathEntry[] classpath, org.eclipse.core.runtime.IProgressMonitor monitor) Returns a new working copy with the given name using this working copy owner to create its buffer.voidIOpenable.open(org.eclipse.core.runtime.IProgressMonitor progress) Opens this element and all parent elements that are not already open.ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.ICompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.org.eclipse.core.resources.IMarker[]IWorkingCopy.reconcile()Deprecated.voidIWorkingCopy.reconcile(boolean forceProblemDetection, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.voidITypeHierarchy.refresh(org.eclipse.core.runtime.IProgressMonitor monitor) Re-computes the type hierarchy reporting progress.voidIJavaModel.refreshExternalArchives(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor) Triggers an update of the JavaModel with respect to the referenced external archives.voidIJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, String[] names, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Renames the given elements as specified.voidISourceManipulation.rename(String name, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Renames this element to the given name.String[][]IType.resolveType(String typeName) Resolves the given type name within the context of this type (depending on the type hierarchy and its imports).String[][]IType.resolveType(String typeName, WorkingCopyOwner owner) Resolves the given type name within the context of this type (depending on the type hierarchy and its imports) and using the given owner's working copies, considering types in the working copies with the given owner.voidICompilationUnit.restore()Restores the contents of this working copy to the current contents of this working copy's original element.voidIWorkingCopy.restore()Deprecated.UseICompilationUnit.restore()instead.voidIBuffer.save(org.eclipse.core.runtime.IProgressMonitor progress, boolean force) Saves the contents of this buffer to its underlying resource.voidIOpenable.save(org.eclipse.core.runtime.IProgressMonitor progress, boolean force) Saves any changes in this element's buffer to its underlying resource via a workspace resource operation.static voidJavaCore.setClasspathContainer(org.eclipse.core.runtime.IPath containerPath, IJavaProject[] affectedProjects, IClasspathContainer[] respectiveContainers, org.eclipse.core.runtime.IProgressMonitor monitor) Bind a container reference path to some actual containers (IClasspathContainer).static voidJavaCore.setClasspathVariable(String variableName, org.eclipse.core.runtime.IPath path) Deprecated.static voidJavaCore.setClasspathVariable(String variableName, org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the value of the given classpath variable.static voidJavaCore.setClasspathVariables(String[] variableNames, org.eclipse.core.runtime.IPath[] paths, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the values of all the given classpath variables at once.voidIJavaProject.setOutputLocation(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the default output location of this project to the location described by the given workspace-relative absolute path.voidIJavaProject.setRawClasspath(IClasspathEntry[] entries, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the classpath of this project using a list of classpath entries.voidIJavaProject.setRawClasspath(IClasspathEntry[] entries, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor) Works similar toIJavaProject.setRawClasspath(IClasspathEntry[], IPath, IProgressMonitor)and additionally allows persisting the given array of referenced entries for this project.voidIJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor) Sets both the classpath of this project and its default output location at once.voidIJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the both the classpath of this project and its default output location at once.voidIJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the classpath of this project using a list of classpath entries.voidITypeHierarchy.store(OutputStream outputStream, org.eclipse.core.runtime.IProgressMonitor monitor) Stores the type hierarchy in an output stream. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core.compiler
Methods in org.aspectj.org.eclipse.jdt.core.compiler that throw JavaModelExceptionModifier and TypeMethodDescriptionReconcileContext.getAST(int level) Returns a resolved AST with the given AST level.ReconcileContext.getAST3()Deprecated.JLS3 has been deprecated.ReconcileContext.getAST4()Deprecated.JLS4 has been deprecated.ReconcileContext.getAST8()Deprecated.JLS8 has been deprecated. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core.dom
Methods in org.aspectj.org.eclipse.jdt.core.dom that throw JavaModelException -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core.dom.rewrite
Methods in org.aspectj.org.eclipse.jdt.core.dom.rewrite that throw JavaModelExceptionModifier and TypeMethodDescriptionstatic ImportRewriteImportRewrite.create(ICompilationUnit cu, boolean restoreExistingImports) Creates anImportRewritefrom anICompilationUnit.org.eclipse.text.edits.TextEditASTRewrite.rewriteAST()Converts all modifications recorded by this rewriter into an object representing the the corresponding text edits to the source of aITypeRootfrom which the AST was created from. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core.eval
Methods in org.aspectj.org.eclipse.jdt.core.eval that throw JavaModelExceptionModifier and TypeMethodDescriptionvoidIEvaluationContext.codeComplete(String codeSnippet, int position, CompletionRequestor requestor) Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor.voidIEvaluationContext.codeComplete(String codeSnippet, int position, CompletionRequestor requestor, WorkingCopyOwner owner) Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor.voidIEvaluationContext.codeComplete(String codeSnippet, int position, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor.voidIEvaluationContext.codeComplete(String codeSnippet, int position, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor.voidIEvaluationContext.codeComplete(String codeSnippet, int position, ICodeCompletionRequestor requestor) Deprecated.- use codeComplete(String, int, ICompletionRequestor) insteadvoidIEvaluationContext.codeComplete(String codeSnippet, int position, ICompletionRequestor requestor) Deprecated.voidIEvaluationContext.codeComplete(String codeSnippet, int position, ICompletionRequestor requestor, WorkingCopyOwner owner) Deprecated.IEvaluationContext.codeSelect(String codeSnippet, int offset, int length) Resolves and returns a collection of Java elements corresponding to the source code at the given positions in the given code snippet.IEvaluationContext.codeSelect(String codeSnippet, int offset, int length, WorkingCopyOwner owner) Resolves and returns a collection of Java elements corresponding to the source code at the given positions in the given code snippet.voidIEvaluationContext.evaluateCodeSnippet(String codeSnippet, String[] localVariableTypeNames, String[] localVariableNames, int[] localVariableModifiers, IType declaringType, boolean isStatic, boolean isConstructorCall, ICodeSnippetRequestor requestor, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Evaluates the given code snippet in the context of a suspended thread.voidIEvaluationContext.evaluateCodeSnippet(String codeSnippet, ICodeSnippetRequestor requestor, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Evaluates the given code snippet.voidIEvaluationContext.evaluateVariable(IGlobalVariable variable, ICodeSnippetRequestor requestor, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Evaluates the given global variable.voidIEvaluationContext.validateImports(ICodeSnippetRequestor requestor) Validates this evaluation context's import declarations. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core.provisional
Methods in org.aspectj.org.eclipse.jdt.core.provisional that throw JavaModelExceptionModifier and TypeMethodDescriptionstatic IModuleDescriptionJavaModelAccess.getAutomaticModuleDescription(IJavaElement element) Returns theIModuleDescriptionthat the given java element contains when regarded as an automatic module.static String[]JavaModelAccess.getRequiredModules(IModuleDescription module) Deprecated.this provisional API has been promoted toIModuleDescription.getRequiredModuleNames() -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core.search
Methods in org.aspectj.org.eclipse.jdt.core.search that throw JavaModelExceptionModifier and TypeMethodDescriptionstatic IJavaSearchScopeSearchEngine.createHierarchyScope(IType type) Returns a Java search scope limited to the hierarchy of the given type.static IJavaSearchScopeSearchEngine.createHierarchyScope(IType type, WorkingCopyOwner owner) Returns a Java search scope limited to the hierarchy of the given type.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.default voidIParallelizable.initBeforeSearch(org.eclipse.core.runtime.IProgressMonitor monitor) Initialize all needed data before search is startedvoidSearchEngine.search(org.eclipse.core.resources.IWorkspace workspace, String patternString, int searchFor, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector) voidSearchEngine.search(org.eclipse.core.resources.IWorkspace workspace, IJavaElement element, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector) voidSearchEngine.search(org.eclipse.core.resources.IWorkspace workspace, ISearchPattern searchPattern, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector) voidSearchEngine.searchAllMethodNames(char[] packageName, int pkgMatchRule, char[] declaringQualification, int declQualificationMatchRule, char[] declaringSimpleName, int declSimpleNameMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameMatchRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllMethodNames(char[] packageName, int pkgMatchRule, char[] declaringQualification, int declQualificationMatchRule, char[] declaringSimpleName, int declSimpleNameMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllMethodNames(char[] qualifier, int qualifierMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameMatchRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllMethodNames(char[] qualifier, int qualifierMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope matching any of the given qualifications and type names in a case sensitive way.voidSearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope matching any of the given qualifications and type names in a case sensitive way.voidSearchEngine.searchAllTypeNames(char[] packageName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidSearchEngine.searchAllTypeNames(char[] packageExactName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidSearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope.voidSearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope.voidSearchEngine.searchAllTypeNames(org.eclipse.core.resources.IWorkspace workspace, char[] packageName, char[] typeName, int matchMode, boolean isCaseSensitive, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the fields accessed in the given element.voidSearchEngine.searchDeclarationsOfAccessedFields(org.eclipse.core.resources.IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector) Deprecated.voidSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the types referenced in the given element.voidSearchEngine.searchDeclarationsOfReferencedTypes(org.eclipse.core.resources.IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector) Deprecated.voidSearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the methods invoked in the given element.voidSearchEngine.searchDeclarationsOfSentMessages(org.eclipse.core.resources.IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector) Deprecated. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.core.util
Methods in org.aspectj.org.eclipse.jdt.core.util that throw JavaModelExceptionModifier and TypeMethodDescriptionstatic voidCompilationUnitSorter.sort(int level, ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, org.eclipse.core.runtime.IProgressMonitor monitor) Reorders the declarations in the given compilation unit according to the specified AST level.static org.eclipse.text.edits.TextEditCompilationUnitSorter.sort(CompilationUnit unit, Comparator comparator, int options, org.eclipse.text.edits.TextEditGroup group, org.eclipse.core.runtime.IProgressMonitor monitor) Reorders the declarations in the given compilation unit according to the specified comparator.static voidCompilationUnitSorter.sort(ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.Clients should port their code to use the new JLS3 AST API and callCompilationUnitSorter.sort(AST.JLS3, compilationUnit, positions, comparator, options, monitor)instead of using this method. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.codeassist
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist that throw JavaModelExceptionModifier and TypeMethodDescriptionprotected MethodBindingSelectionEngine.findOverriddenMethodInType(ReferenceBinding overriddenType, MethodBinding overriding) voidSelectionEngine.selectType(char[] typeName, IType context) Asks the engine to compute the selection of the given type from the given context -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.codeassist.impl
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.impl that throw JavaModelExceptionModifier and TypeMethodDescriptionAssistAnnotation.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistCompilationUnit.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistImportContainer.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistImportDeclaration.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistInitializer.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistPackageDeclaration.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistSourceField.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistSourceMethod.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistSourceType.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistTypeParameter.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) AssistSourceType.getFullyQualifiedParameterizedName()booleanAssistCompilationUnit.hasChildren() -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.compiler
Methods in org.aspectj.org.eclipse.jdt.internal.compiler that throw JavaModelException -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core
Methods in org.aspectj.org.eclipse.jdt.internal.core that return JavaModelExceptionModifier and TypeMethodDescriptionJavaElement.newJavaModelException(org.eclipse.core.runtime.IStatus status) Creates and returns a new Java model exception for this element with the given status.JavaElement.newNotPresentException()Creates and returns a new not present exception for this element.Methods in org.aspectj.org.eclipse.jdt.internal.core that throw JavaModelExceptionModifier and TypeMethodDescriptionvoidModuleSourcePathManager.addEntry(IModuleDescription module, JavaProject project) protected voidCopyPackageFragmentRootOperation.addEntryToClasspath(IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) voidModuleUpdater.addReadUnnamedForNonEmptyClasspath(JavaProject project, IClasspathEntry[] expandedClasspath) org.eclipse.text.edits.UndoEditCompilationUnit.applyTextEdit(org.eclipse.text.edits.TextEdit edit, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidJavaModelOperation.applyTextEdit(ICompilationUnit cu, org.eclipse.text.edits.TextEdit edits) voidPackageFragmentRoot.attachSource(org.eclipse.core.runtime.IPath sourcePath, org.eclipse.core.runtime.IPath rootPath, org.eclipse.core.runtime.IProgressMonitor monitor) AbstractClassFile.becomeWorkingCopy(IProblemRequestor problemRequestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.becomeWorkingCopy(IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.becomeWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor) protected booleanClassFile.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) Creates the children elements for this class file adding the resulting new handles and info objects to the newElements table.protected booleanCompilationUnit.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) protected booleanJavaProject.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map newElements, org.eclipse.core.resources.IResource underlyingResource) protected booleanModularClassFile.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) Creates the single child element for this class file adding the resulting new handle (of typeIBinaryModule) and info object to the newElements table.protected abstract booleanOpenable.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) Builds this element's structure and properties in the given info object, based on this element's current contents (reuse buffer contents if this element has an open buffer, or resource contents if this element does not have an open buffer).protected booleanPackageFragment.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map newElements, org.eclipse.core.resources.IResource underlyingResource) protected booleanPackageFragmentRoot.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map newElements, org.eclipse.core.resources.IResource underlyingResource) BinaryTypeConverter.buildTypeDeclaration(IType type, CompilationUnitDeclaration compilationUnit) Convert a binary type into an AST type declaration and put it in the given compilation unit.org.eclipse.text.edits.TextEditSortElementsOperation.calculateEdit(CompilationUnit unit, org.eclipse.text.edits.TextEditGroup group) Calculates the required text edits to sort theunitvoidDeltaProcessor.checkExternalArchiveChanges(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidChangeClasspathOperation.classpathChanged(ClasspathChange change, boolean refreshExternalFolder) voidClassFile.close()voidCompilationUnit.close()voidJavaElement.close()voidJavaProject.close()protected voidprotected abstract voidThis element is being closed.protected voidprotected voidprotected voidThis element is being closed.protected voidvoidAbstractClassFile.codeComplete(int offset, CompletionRequestor requestor) voidAbstractClassFile.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner) abstract voidAbstractClassFile.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) voidAbstractClassFile.codeComplete(int offset, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) voidAbstractClassFile.codeComplete(int offset, ICodeCompletionRequestor requestor) Deprecated.- should use codeComplete(int, ICompletionRequestor) insteadvoidAbstractClassFile.codeComplete(int offset, ICompletionRequestor requestor) Deprecated.voidAbstractClassFile.codeComplete(int offset, ICompletionRequestor requestor, WorkingCopyOwner owner) Deprecated.voidBinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor) voidBinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner) voidBinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) voidBinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) voidBinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor) Deprecated.voidBinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor, WorkingCopyOwner owner) Deprecated.voidClassFile.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.codeComplete(int offset, CompletionRequestor requestor) voidCompilationUnit.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner workingCopyOwner) voidCompilationUnit.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.codeComplete(int offset, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.codeComplete(int offset, ICodeCompletionRequestor requestor) Deprecated.- use codeComplete(int, ICompletionRequestor)voidCompilationUnit.codeComplete(int offset, ICompletionRequestor requestor) Deprecated.voidCompilationUnit.codeComplete(int offset, ICompletionRequestor requestor, WorkingCopyOwner workingCopyOwner) Deprecated.voidModularClassFile.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidOpenable.codeComplete(ICompilationUnit cu, ICompilationUnit unitToSkip, int position, CompletionRequestor requestor, WorkingCopyOwner owner, ITypeRoot typeRoot, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor) voidSourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner) voidSourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor) Deprecated.voidSourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor, WorkingCopyOwner owner) Deprecated.AbstractClassFile.codeSelect(int offset, int length) abstract IJavaElement[]AbstractClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner) ClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner) CompilationUnit.codeSelect(int offset, int length) CompilationUnit.codeSelect(int offset, int length, WorkingCopyOwner workingCopyOwner) ModularClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner) protected IJavaElement[]Openable.codeSelect(ICompilationUnit cu, int offset, int length, WorkingCopyOwner owner) voidCompilationUnit.commit(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.voidClassFileWorkingCopy.commitWorkingCopy(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.commitWorkingCopy(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected booleanJarPackageFragmentRoot.computeChildren(OpenableElementInfo info, org.eclipse.core.resources.IResource underlyingResource) Compute the package fragment children of this package fragment root.protected booleanJrtPackageFragmentRoot.computeChildren(OpenableElementInfo info, org.eclipse.core.resources.IResource underlyingResource) protected booleanPackageFragmentRoot.computeChildren(OpenableElementInfo info, org.eclipse.core.resources.IResource underlyingResource) Compute the package fragment children of this package fragment root.protected voidPackageFragmentRoot.computeFolderChildren(org.eclipse.core.resources.IContainer folder, boolean isIncluded, String[] pkgName, ArrayList vChildren, char[][] inclusionPatterns, char[][] exclusionPatterns) Starting at this folder, create package fragments and add the fragments that are not excluded to the collection of children.voidModuleUpdater.computeModuleUpdates(IClasspathEntry entry) Detects any ADD_EXPORTS or ADD_READS classpath attributes, parses the value, and collects the resulting module updates.JavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries) JavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries, boolean excludeTestCode) Returns (local/all) the package fragment roots identified by the given project's classpath.voidJavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries) Deprecated.voidJavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries, boolean excludeTestCode) Returns (local/all) the package fragment roots identified by the given project's classpath.voidJavaProject.computePackageFragmentRoots(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries) voidJavaProject.computePackageFragmentRoots(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries, boolean excludeTestCode) Returns the package fragment roots identified by the given entry.voidJavaProject.computePackageFragmentRoots(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, Map rootToResolvedEntries) Returns the package fragment roots identified by the given entry.booleanPackageFragment.containsJavaResources()Returns true if this fragment contains at least one java resource.voidBinaryMember.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected IClasspathEntryCopyPackageFragmentRootOperation.copy(IClasspathEntry entry) voidJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragment.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragmentRoot.copy(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceRefElement.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidCopyPackageFragmentRootOperation.copyResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) protected voidJavaModelOperation.copyResources(org.eclipse.core.resources.IResource[] resources, org.eclipse.core.runtime.IPath container) Convenience method to copy resourcesPackageFragment.createCompilationUnit(String cuName, String contents, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.createField(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createField(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidJavaModelOperation.createFile(org.eclipse.core.resources.IContainer folder, String name, InputStream contents, boolean forceFlag) Convenience method to create a fileprotected voidJavaModelOperation.createFolder(org.eclipse.core.resources.IContainer parentFolder, String name, boolean forceFlag) Convenience method to create a folderCompilationUnit.createImport(String importName, IJavaElement sibling, int flags, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.createImport(String importName, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.createInitializer(String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createInitializer(String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.createMethod(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createMethod(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.createPackageDeclaration(String pkg, org.eclipse.core.runtime.IProgressMonitor monitor) PackageFragmentRoot.createPackageFragment(String pkgName, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidExternalFoldersManager.createPendingFolders(org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.createType(String content, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.delete(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaModel.delete(IJavaElement[] elements, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragment.delete(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragmentRoot.delete(int updateResourceFlags, int updateModelFlags, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceRefElement.delete(boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidJavaModelOperation.deleteEmptyPackageFragment(IPackageFragment fragment, boolean forceFlag, org.eclipse.core.resources.IResource rootResource) Convenience method to delete an empty package fragmentprotected voidDeletePackageFragmentRootOperation.deleteResource(IPackageFragmentRoot root, IClasspathEntry rootEntry) protected voidJavaModelOperation.deleteResource(org.eclipse.core.resources.IResource resource, int flags) Convenience method to delete a resourceprotected voidJavaModelOperation.deleteResources(org.eclipse.core.resources.IResource[] resources, boolean forceFlag) Convenience method to delete resourcesprotected intPackageFragmentRoot.determineKind(org.eclipse.core.resources.IResource underlyingResource) Returns the root's kind - K_SOURCE or K_BINARY, defaults to K_SOURCE if it is not on the classpath.JavaProject.determineModulesOfProjectsWithNonEmptyClasspath()ModuleUpdater.determineModulesOfProjectsWithNonEmptyClasspath(JavaProject project, IClasspathEntry[] expandedClasspath) intJavaModelManager.discardPerWorkingCopyInfo(CompilationUnit workingCopy) voidCompilationUnit.discardWorkingCopy()protected StringJavaProject.encodeClasspath(IClasspathEntry[] classpath, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath outputLocation, boolean indent, Map unknownElements) Returns the XML String encoding of the class path.protected voidMultiOperation.error(int code, IJavaElement element) Convenience method to create aJavaModelExceptionembending aJavaModelStatus.voidJavaModelOperation.executeNestedOperation(JavaModelOperation operation, int subWorkAmount) Convenience method to run an operation within this operationprotected voidBatchOperation.executeOperation()protected voidBecomeWorkingCopyOperation.executeOperation()protected voidCommitWorkingCopyOperation.executeOperation()protected voidCopyPackageFragmentRootOperation.executeOperation()protected voidCreateCompilationUnitOperation.executeOperation()Creates a compilation unit.protected voidCreateElementInCUOperation.executeOperation()Execute the operation - generate new source for the compilation unit and save the results.protected voidCreatePackageFragmentOperation.executeOperation()Execute the operation - creates the new package fragment and any side effect package fragments.protected voidCreateTypeHierarchyOperation.executeOperation()Performs the operation - creates the type hierarchyprotected voidDeletePackageFragmentRootOperation.executeOperation()protected voidDiscardWorkingCopyOperation.executeOperation()protected abstract voidJavaModelOperation.executeOperation()Performs the operation specific behavior.protected voidMovePackageFragmentRootOperation.executeOperation()protected voidMultiOperation.executeOperation()Executes the operation.protected voidReconcileWorkingCopyOperation.executeOperation()protected voidSetClasspathOperation.executeOperation()Sets the classpath of the pre-specified project.protected voidSetContainerOperation.executeOperation()protected voidSetVariablesOperation.executeOperation()protected voidSortElementsOperation.executeOperation()JavaProject.findElement(String bindingKey, WorkingCopyOwner owner) JavaProject.findElement(org.eclipse.core.runtime.IPath path) JavaProject.findElement(org.eclipse.core.runtime.IPath path, WorkingCopyOwner owner) JavaProject.findModule(String moduleName, WorkingCopyOwner owner) JavaProject.findPackageFragment(String packageName) JavaProject.findPackageFragment(org.eclipse.core.runtime.IPath path) JavaProject.findPackageFragmentRoot(org.eclipse.core.runtime.IPath path) JavaProject.findPackageFragmentRoot0(org.eclipse.core.runtime.IPath path) Openable.findRecommendedLineSeparator()JavaProject.findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner) JavaProject.findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor progressMonitor) JavaProject.findType(String packageName, String typeQualifiedName, org.eclipse.core.runtime.IProgressMonitor progressMonitor) JavaProject.findType(String fullyQualifiedName, WorkingCopyOwner owner) JavaProject.findType(String fullyQualifiedName, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor progressMonitor) JavaProject.findType(String fullyQualifiedName, org.eclipse.core.runtime.IProgressMonitor progressMonitor) protected abstract ASTNodeCreateElementInCUOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateFieldOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateImportOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateInitializerOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateMethodOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreatePackageDeclarationOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateTypeMemberOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateTypeOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected abstract voidJavaElement.generateInfos(IElementInfo info, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor pm) Generates the element infos for this element, its ancestors (if they are not opened) and its children (if it is an Openable).protected voidOpenable.generateInfos(IElementInfo info, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidSourceRefElement.generateInfos(IElementInfo info, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor pm) protected voidCreateElementInCUOperation.generateNewCompilationUnitAST(ICompilationUnit cu) PackageFragment.getAllClassFiles()Returns a collection of all class files in this - a folder package fragment which has a root that has its kind set toIPackageFragmentRoot.K_Sourcedoes not recognize class files.JavaProject.getAllPackageFragmentRoots()JavaProject.getAllPackageFragmentRoots(Map rootToResolvedEntries) Deprecated.JavaProject.getAllPackageFragmentRoots(Map rootToResolvedEntries, boolean excludeTestCode) IType[]CompilationUnit.getAllTypes()BinaryMethod.getAnnotations()BinaryModule.getAnnotations()BinaryType.getAnnotations()LocalVariable.getAnnotations()SourceRefElement.getAnnotations()SourceType.getAnnotations()BinaryMethod.getAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor) BinaryModule.getAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.getAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor) ClassFile.getAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor) JavaElement.getAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor) PackageFragment.getAttachedJavadoc(org.eclipse.core.runtime.IProgressMonitor monitor) JavaProject.getAutomaticModuleDescription()PackageFragmentRoot.getAutomaticModuleDescription()ModularClassFile.getBinaryModuleInfo()Returns theIBinaryModulespecific for this IClassFile, based on its underlying resource, ornullif unable to create the diet class file.ClassFile.getBinaryTypeInfo()Returns theClassFileReaderspecific for this IClassFile, based on its underlying resource, ornullif unable to create the diet class file.String[]TypeParameter.getBounds()String[]TypeParameter.getBoundsSignatures()AbstractClassFile.getBuffer()ClassFileWorkingCopy.getBuffer()Openable.getBuffer()Note: a buffer with no unsaved changes can be closed by the Java Model since it has a finite number of buffers allowed open at one time.byte[]AbstractClassFile.getBytes()String[]BinaryMember.getCategories()String[]Member.getCategories()String[]SourceModule.getCategories()AbstractModule.AutoModule.getChildren()BinaryModule.getChildren()BinaryType.getChildren()JavaElement.getChildren()LambdaExpression.getChildren()BinaryType.getChildrenForCategory(String category) SourceType.getChildrenForCategory(String category) JavaElement.getChildrenOfType(int type) Returns a collection of (immediate) children of this node of the specified type.protected org.aspectj.org.eclipse.jdt.internal.core.ClassFileInfoBinaryType.getClassFileInfo()PackageFragment.getClassFiles()Deprecated.JavaModelManager.getClasspathContainer(org.eclipse.core.runtime.IPath containerPath, IJavaProject project) JavaProject.getClasspathEntryFor(org.eclipse.core.runtime.IPath path) PackageFragment.getCompilationUnits()SourceField.getConstant()org.eclipse.core.resources.IResourceAbstractClassFile.getCorrespondingResource()A class file has a corresponding resource unless it is contained in a jar.org.eclipse.core.resources.IResourceCompilationUnit.getCorrespondingResource()A compilation unit has a corresponding resource unless it is contained in a jar.org.eclipse.core.resources.IResourceOpenable.getCorrespondingResource()Return my underlying resource.org.eclipse.core.resources.IResourceSourceRefElement.getCorrespondingResource()Elements within compilation units and class files have no corresponding resource.BinaryMethod.getDefaultValue()SourceMethod.getDefaultValue()protected org.eclipse.jface.text.IDocumentJavaModelOperation.getDocument(ICompilationUnit cu) ClassFile.getElementAt(int position) CompilationUnit.getElementAt(int position) ModularClassFile.getElementAt(int position) AbstractClassFile.getElementAtConsideringSibling(int position) AbstractModule.getElementInfo()BinaryType.getElementInfo()BinaryType.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) JavaElement.getElementInfo()Returns the info for this handle.JavaElement.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) Returns the info for this handle.LambdaExpression.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) LambdaMethod.getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) String[]BinaryMethod.getExceptionTypes()String[]SourceMethod.getExceptionTypes()JavaProject.getExpandedClasspath()This is a helper method returning the expanded classpath for the project, as a list of classpath entries, where all classpath variable entries have been resolved and substituted with their final target entries.JavaProject.getExpandedClasspath(boolean excludeTestCode) default String[]AbstractModule.getExportedPackageNames(IModuleDescription targetModule) default IModule.IPackageExport[]AbstractModule.getExportedPackages()JavadocContents.getFieldDoc(IField child) IField[]BinaryType.getFields()IField[]SourceType.getFields()intAbstractModule.AutoModule.getFlags()intBinaryMethod.getFlags()intBinaryModule.getFlags()intBinaryType.getFlags()intImportDeclaration.getFlags()intMember.getFlags()intSourceModule.getFlags()NamedMember.getFullyQualifiedName(char enclosingTypeSeparator, boolean showParameters) BinaryType.getFullyQualifiedParameterizedName()protected StringNamedMember.getFullyQualifiedParameterizedName(String fullyQualifiedName, String uniqueKey) ResolvedBinaryType.getFullyQualifiedParameterizedName()ResolvedLambdaExpression.getFullyQualifiedParameterizedName()ResolvedSourceType.getFullyQualifiedParameterizedName()SourceType.getFullyQualifiedParameterizedName()CompilationUnit.getImports()SourceType.getInitializers()protected URLJavaElement.getJavadocBaseLocation()BinaryModule.getJavadocContents(org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.getJavadocContents(org.eclipse.core.runtime.IProgressMonitor monitor) Member.getJavadocRange()protected org.aspectj.org.eclipse.jdt.internal.core.JavaProjectElementInfoJavaProject.getJavaProjectElementInfo()Convenience method that returns the specific type of info for a Java project.JavaModel.getJavaProjects()abstract StringBinaryMember.getKey(boolean forceOpen) BinaryMethod.getKey(boolean forceOpen) BinaryModule.getKey(boolean forceOpen) BinaryType.getKey(boolean forceOpen) LocalVariable.getKey(boolean forceOpen) protected Stringprotected Stringprotected StringNamedMember.getKey(IModuleDescription module, boolean forceOpen) protected StringResolvedBinaryMethod.getKey(boolean forceOpen) ResolvedBinaryType.getKey(boolean forceOpen) TypeParameter.getKey(boolean forceOpen) intPackageFragment.getKind()intPackageFragmentRoot.getKind()protected static URLJavaElement.getLibraryJavadocLocation(IClasspathEntry entry) Annotation.getMemberValuePairs()JavadocContents.getMethodDoc(IMethod child) IMethod[]BinaryType.getMethods()IMethod[]SourceType.getMethods()CompilationUnit.getModule()ModularClassFile.getModule()JavaProject.getModuleDescription()JavadocContents.getModuleDoc()default IModuleAbstractModule.getModuleInfo()BinaryModule.getModuleInfo()Annotation.getNameRange()BinaryMember.getNameRange()ImportDeclaration.getNameRange()Member.getNameRange()PackageDeclaration.getNameRange()TypeParameter.getNameRange()protected org.eclipse.core.runtime.IPath[]JavaModelOperation.getNestedFolders(IPackageFragmentRoot root) protected StringMultiOperation.getNewNameFor(IJavaElement element) Returns the new name forelement, ornullif there are no renamings specified.Object[]JarPackageFragmentRoot.getNonJavaResources()Returns an array of non-java resources contained in the receiver.Object[]JavaModel.getNonJavaResources()Object[]JavaProject.getNonJavaResources()Returns an array of non-java resources contained in the receiver.Object[]PackageFragment.getNonJavaResources()Returns an array of non-java resources contained in the receiver.Object[]PackageFragmentRoot.getNonJavaResources()Returns an array of non-java resources contained in the receiver.default String[]AbstractModule.getOpenedPackageNames(IModuleDescription targetModule) default IModule.IPackageExport[]AbstractModule.getOpenedPackages()PackageFragment.getOrdinaryClassFiles()Returns a collection of ordinary class files in this - a folder package fragment which has a root that has its kind set toIPackageFragmentRoot.K_Sourcedoes not recognize class files.org.eclipse.core.runtime.IPathJavaProject.getOutputLocation()static IPackageFragmentRoot[]SearchableEnvironment.getOwnedPackageFragmentRoots(IJavaProject javaProject) JavaProject.getOwnModuleDescription()CompilationUnit.getPackageDeclarations()JavadocContents.getPackageDoc()JavaProject.getPackageFragmentRoots()JavaProject.getPackageFragments()String[]BinaryMethod.getParameterNames()String[]SourceMethod.getParameterNames()BinaryMethod.getParameters()SourceMethod.getParameters()String[]BinaryType.getPermittedSubtypeNames()String[]SourceType.getPermittedSubtypeNames()JavaProject.getPerProjectInfo()JavaModelManager.getPerProjectInfoCheckExistence(org.eclipse.core.resources.IProject project) org.aspectj.org.eclipse.jdt.internal.core.JavaProjectElementInfo.ProjectCacheJavaProject.getProjectCache()Deprecated.org.aspectj.org.eclipse.jdt.internal.core.JavaProjectElementInfo.ProjectCacheJavaProject.getProjectCache(boolean excludeTestCode) default String[]AbstractModule.getProvidedServiceNames()default IModule.IService[]AbstractModule.getProvidedServices()JavaProject.getRawClasspath()PackageFragmentRoot.getRawClasspathEntry()String[]BinaryMethod.getRawParameterNames()String[]SourceMethod.getRawParameterNames()IField[]BinaryType.getRecordComponents()IField[]SourceType.getRecordComponents()JavaProject.getReferencedClasspathEntries()default String[]AbstractModule.getRequiredModuleNames()AbstractModule.AutoModule.getRequiredModules()default IModule.IModuleReference[]AbstractModule.getRequiredModules()String[]JavaProject.getRequiredProjectNames()JavaProject.getResolvedClasspath()JavaProject.getResolvedClasspath(boolean ignoreUnresolvedEntry) PackageFragmentRoot.getResolvedClasspathEntry()BinaryMethod.getReturnType()LambdaMethod.getReturnType()SourceMethod.getReturnType()CompilationUnit.getSharedWorkingCopy(org.eclipse.core.runtime.IProgressMonitor pm, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.BinaryMethod.getSignature()LambdaMethod.getSignature()SourceMethod.getSignature()AbstractClassFile.getSource()CompilationUnit.getSource()LocalVariable.getSource()SourceRefElement.getSource()org.eclipse.core.runtime.IPathPackageFragmentRoot.getSourceAttachmentPath()org.eclipse.core.runtime.IPathPackageFragmentRoot.getSourceAttachmentRootPath()protected IJavaElementJavaElement.getSourceElementAt(int position) Returns the element that is located at the given source position in this element.AbstractClassFile.getSourceRange()Annotation.getSourceRange()BinaryMember.getSourceRange()BinaryModule.getSourceRange()CompilationUnit.getSourceRange()ImportContainer.getSourceRange()LocalVariable.getSourceRange()Returns the source range associated with this element.SourceRefElement.getSourceRange()TypeParameter.getSourceRange()BinaryType.getSuperclassName()SourceType.getSuperclassName()BinaryType.getSuperclassTypeSignature()SourceType.getSuperclassTypeSignature()String[]BinaryType.getSuperInterfaceNames()String[]SourceType.getSuperInterfaceNames()String[]BinaryType.getSuperInterfaceTypeSignatures()String[]LambdaExpression.getSuperInterfaceTypeSignatures()String[]SourceType.getSuperInterfaceTypeSignatures()JavadocContents.getTypeDoc()BinaryMethod.getTypeParameters()BinaryType.getTypeParameters()protected ITypeParameter[]NamedMember.getTypeParameters()SourceMethod.getTypeParameters()SourceType.getTypeParameters()String[]BinaryMethod.getTypeParameterSignatures()Deprecated.String[]BinaryType.getTypeParameterSignatures()String[]SourceMethod.getTypeParameterSignatures()Deprecated.String[]SourceType.getTypeParameterSignatures()NamedMember.getTypeQualifiedName(char enclosingTypeSeparator, boolean showParameters) IType[]BinaryType.getTypes()IType[]CompilationUnit.getTypes()IType[]SourceType.getTypes()SourceField.getTypeSignature()org.eclipse.core.resources.IResourceCompilationUnit.getUnderlyingResource()org.eclipse.core.resources.IResourceExternalPackageFragmentRoot.getUnderlyingResource()org.eclipse.core.resources.IResourceJarPackageFragmentRoot.getUnderlyingResource()org.eclipse.core.resources.IResourceJavaProject.getUnderlyingResource()org.eclipse.core.resources.IResourceLocalVariable.getUnderlyingResource()org.eclipse.core.resources.IResourceOpenable.getUnderlyingResource()org.eclipse.core.resources.IResourcePackageFragment.getUnderlyingResource()org.eclipse.core.resources.IResourcePackageFragmentRoot.getUnderlyingResource()org.eclipse.core.resources.IResourceSourceRefElement.getUnderlyingResource()protected StringJavaElement.getURLContents(URL baseLoc, String docUrlValue) default String[]AbstractModule.getUsedServiceNames()default char[][]AbstractModule.getUsedServices()AbstractClassFile.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory) Deprecated.ClassFile.getWorkingCopy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.getWorkingCopy()Deprecated.CompilationUnit.getWorkingCopy(WorkingCopyOwner workingCopyOwner, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.CompilationUnit.getWorkingCopy(WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.ModularClassFile.getWorkingCopy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidDeleteElementsOperation.groupElements()Groups the elements to be processed by their compilation unit.booleanJavaElement.hasChildren()booleanPackageFragment.hasChildren()booleanPackageFragmentRoot.hasChildren()booleanSourceRefElement.hasChildren()booleanPackageFragment.hasSubpackages()booleanOpenable.hasUnsavedChanges()protected voidCreateElementInCUOperation.insertASTNode(ASTRewrite rewriter, ASTNode parent, ASTNode child) Inserts the given child into the given AST, based on the position settings of this operation.booleanBinaryType.isAnnotation()booleanSourceType.isAnnotation()booleanBinaryType.isAnonymous()booleanBinaryType.isClass()booleanClassFile.isClass()booleanModularClassFile.isClass()booleanSourceType.isClass()booleanBinaryMethod.isConstructor()booleanSourceMethod.isConstructor()booleanBinaryType.isEnum()booleanSourceType.isEnum()booleanSourceField.isEnumConstant()booleanBinaryType.isInterface()booleanClassFile.isInterface()booleanModularClassFile.isInterface()booleanSourceType.isInterface()booleanBinaryType.isLocal()booleanBinaryMethod.isMainMethod()protected booleanMember.isMainMethod(IMethod method) booleanSourceMethod.isMainMethod()booleanBinaryMethod.isMainMethodCandidate()protected booleanMember.isMainMethodCandidate(IMethod method) booleanSourceMethod.isMainMethodCandidate()booleanBinaryType.isMember()booleanBinaryType.isRecord()booleanSourceType.isRecord()booleanSourceField.isRecordComponent()protected booleanCopyElementsOperation.isRenamingMainType(IJavaElement element, IJavaElement dest) Returnstrueif this element is the main type of its compilation unit.booleanBinaryType.isSealed()booleanSourceType.isSealed()booleanBinaryMember.isStructureKnown()booleanLocalVariable.isStructureKnown()booleanOpenable.isStructureKnown()booleanSourceRefElement.isStructureKnown()BinaryType.loadTypeHierachy(InputStream input, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.loadTypeHierachy(InputStream input, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.loadTypeHierachy(InputStream input, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) NOTE: This method is not part of the API has it is not clear clients would easily use it: they would need to first make sure all working copies for the given owner exist before calling it.SourceType.loadTypeHierachy(InputStream input, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.makeConsistent(int astLevel, boolean resolveBindings, int reconcileFlags, Map<String, CategorizedProblem[]> problems, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.makeConsistent(org.eclipse.core.runtime.IProgressMonitor monitor) voidOpenable.makeConsistent(org.eclipse.core.runtime.IProgressMonitor monitor) ReconcileWorkingCopyOperation.makeConsistent(CompilationUnit workingCopy) voidBinaryMember.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragment.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragmentRoot.move(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceRefElement.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidMovePackageFragmentRootOperation.moveResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) protected voidJavaModelOperation.moveResources(org.eclipse.core.resources.IResource[] resources, org.eclipse.core.runtime.IPath container) Convenience method to move resourcesJavaProject.newNameLookup(ICompilationUnit[] workingCopies) JavaProject.newNameLookup(ICompilationUnit[] workingCopies, boolean excludeTestCode) JavaProject.newNameLookup(WorkingCopyOwner owner) JavaProject.newNameLookup(WorkingCopyOwner owner, boolean excludeTestCode) JavaProject.newSearchableNameEnvironment(ICompilationUnit[] workingCopies) JavaProject.newSearchableNameEnvironment(ICompilationUnit[] workingCopies, boolean excludeTestCode) JavaProject.newSearchableNameEnvironment(WorkingCopyOwner owner) JavaProject.newSearchableNameEnvironment(WorkingCopyOwner owner, boolean excludeTestCode) BinaryType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newSupertypeHierarchy(IWorkingCopy[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.BinaryType.newSupertypeHierarchy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newSupertypeHierarchy(org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newSupertypeHierarchy(IWorkingCopy[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.SourceType.newSupertypeHierarchy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newSupertypeHierarchy(org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newTypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newTypeHierarchy(IJavaProject project, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newTypeHierarchy(IWorkingCopy[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.BinaryType.newTypeHierarchy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newTypeHierarchy(org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.JavaProject.newTypeHierarchy(IRegion region, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) JavaProject.newTypeHierarchy(IRegion region, org.eclipse.core.runtime.IProgressMonitor monitor) JavaProject.newTypeHierarchy(IType type, IRegion region, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) JavaProject.newTypeHierarchy(IType type, IRegion region, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newTypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newTypeHierarchy(IJavaProject project, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newTypeHierarchy(IWorkingCopy[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.SourceType.newTypeHierarchy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newTypeHierarchy(org.eclipse.core.runtime.IProgressMonitor monitor) voidOpenable.open(org.eclipse.core.runtime.IProgressMonitor pm) protected voidCompilationUnit.openAncestors(Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidOpenable.openAncestors(Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor monitor) protected IBufferClassFile.openBuffer(org.eclipse.core.runtime.IProgressMonitor pm, IElementInfo info) Opens and returns buffer on the source code associated with this class file.protected IBufferClassFileWorkingCopy.openBuffer(org.eclipse.core.runtime.IProgressMonitor pm, IElementInfo info) protected IBufferCompilationUnit.openBuffer(org.eclipse.core.runtime.IProgressMonitor pm, IElementInfo info) protected IBufferModularClassFile.openBuffer(org.eclipse.core.runtime.IProgressMonitor pm, IElementInfo info) Opens and returns buffer on the source code associated with this class file.protected IBufferOpenable.openBuffer(org.eclipse.core.runtime.IProgressMonitor pm, IElementInfo info) Opens a buffer on the contents of this element, and returns the buffer, or returnsnullif opening fails.protected IElementInfoJavaElement.openWhenClosed(IElementInfo info, boolean forceAdd, org.eclipse.core.runtime.IProgressMonitor monitor) protected CompilationUnitCreateElementInCUOperation.parse(ICompilationUnit cu) static CompilationUnitDeclarationCompilationUnitProblemFinder.process(CompilationUnit unitElement, WorkingCopyOwner workingCopyOwner, Map<String, CategorizedProblem[]> problems, boolean creatingAST, int reconcileFlags, org.eclipse.core.runtime.IProgressMonitor monitor) static CompilationUnitDeclarationCompilationUnitProblemFinder.process(CompilationUnit unitElement, SourceElementParser parser, WorkingCopyOwner workingCopyOwner, Map<String, CategorizedProblem[]> problems, boolean creatingAST, int reconcileFlags, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidCopyElementsOperation.processElement(IJavaElement element) Copy/move the element from the source to destination, renaming the elements as specified, honoring the collision policy.protected voidCopyResourceElementsOperation.processElement(IJavaElement element) protected voidDeleteElementsOperation.processElement(IJavaElement element) Deletes this element from its compilation unit.protected voidDeleteResourceElementsOperation.processElement(IJavaElement element) protected abstract voidMultiOperation.processElement(IJavaElement element) Subclasses must implement this method to process a givenIJavaElement.protected voidCopyResourceElementsOperation.processElements()protected voidDeleteElementsOperation.processElements()protected voidMultiOperation.processElements()Processes all theIJavaElements in turn, collecting errors and updating the progress monitor.String[]JavaProject.projectPrerequisites(IClasspathEntry[] resolvedClasspath) org.eclipse.core.resources.IMarker[]CompilationUnit.reconcile()Deprecated.voidCompilationUnit.reconcile(boolean forceProblemDetection, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaModel.refreshExternalArchives(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidMovePackageFragmentRootOperation.removeEntryFromClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project) JavaModelManager.removeInfoAndChildren(JavaElement element) voidBinaryMember.rename(String newName, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.rename(String newName, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidInitializer.rename(String newName, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragment.rename(String newName, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceRefElement.rename(String newName, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidMovePackageFragmentRootOperation.renameEntryInClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project) JavaProject.resolveClasspath(IClasspathEntry[] rawClasspath) org.aspectj.org.eclipse.jdt.internal.core.JavaProject.ResolvedClasspathJavaProject.resolveClasspath(IClasspathEntry[] rawClasspath, boolean usePreviousSession, boolean resolveChainedLibraries) org.aspectj.org.eclipse.jdt.internal.core.JavaProject.ResolvedClasspathJavaProject.resolveClasspath(IClasspathEntry[] rawClasspath, IClasspathEntry[] referencedEntries, boolean usePreviousSession, boolean resolveChainedLibraries) voidJavaProject.resolveClasspath(JavaModelManager.PerProjectInfo perProjectInfo, boolean usePreviousSession, boolean addClasspathChange) String[][]NamedMember.resolveType(String typeName) String[][]NamedMember.resolveType(String typeName, WorkingCopyOwner owner) voidCompilationUnit.restore()voidJavaModelOperation.IPostAction.run()protected voidJavaModel.runOperation(MultiOperation op, IJavaElement[] elements, IJavaElement[] siblings, String[] renamings, org.eclipse.core.runtime.IProgressMonitor monitor) Configures and runs theMultiOperation.voidJavaModelOperation.runOperation(org.eclipse.core.runtime.IProgressMonitor monitor) Main entry point for Java Model operations.protected voidJavaModelOperation.runPostActions()voidBuffer.save(org.eclipse.core.runtime.IProgressMonitor progress, boolean force) voidCompilationUnit.save(org.eclipse.core.runtime.IProgressMonitor pm, boolean force) voidOpenable.save(org.eclipse.core.runtime.IProgressMonitor pm, boolean force) JavaModelManager.secondaryTypes(IJavaProject project, boolean waitForIndexes, org.eclipse.core.runtime.IProgressMonitor monitor) Get all secondary types for a project and store result in per project info cache.voidModuleSourcePathManager.seekModule(char[] name, boolean prefixMatch, IJavaElementRequestor requestor) protected voidJavaModelManager.setBuildOrder(String[] javaBuildOrder) Record the order in which to build the java projects (batch build).voidBinaryMember.setContents(String contents, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaProject.setModuleDescription(IModuleDescription module) voidJavaProject.setOutputLocation(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaProject.setRawClasspath(IClasspathEntry[] entries, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidJavaProject.setRawClasspath(IClasspathEntry[] newRawClasspath, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath newOutputLocation, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaProject.setRawClasspath(IClasspathEntry[] entries, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaProject.setRawClasspath(IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragmentRoot.setSourceMapper(SourceMapper mapper) For use byAttachSourceOperationonly.voidAbstractModule.AutoModule.toStringContent(StringBuilder buffer, String lineDelimiter) default voidAbstractModule.toStringContent(StringBuilder buffer, String lineDelimiter) voidExternalFolderChange.updateExternalFoldersIfNecessary(boolean refreshIfExistAlready, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidDeletePackageFragmentRootOperation.updateProjectClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project, Map oldRoots) protected voidDeletePackageFragmentRootOperation.updateReferringProjectClasspaths(org.eclipse.core.runtime.IPath rootPath, IJavaProject projectOfRoot, Map oldRoots) protected voidMovePackageFragmentRootOperation.updateReferringProjectClasspaths(org.eclipse.core.runtime.IPath rootPath, IJavaProject projectOfRoot) protected voidCompilationUnit.updateTimeStamp(CompilationUnit original) protected voidJavaElement.validateAndCache(URL baseLoc, FileNotFoundException e) static voidJavaProject.validateCycles(Map preferredClasspaths) protected voidCopyElementsOperation.verify(IJavaElement element) protected voidCopyResourceElementsOperation.verify(IJavaElement element) protected voidDeleteElementsOperation.verify(IJavaElement element) protected voidDeleteResourceElementsOperation.verify(IJavaElement element) protected abstract voidMultiOperation.verify(IJavaElement element) This method is called for eachIJavaElementbeforeprocessElement.protected voidRenameElementsOperation.verify(IJavaElement element) protected voidRenameResourceElementsOperation.verify(IJavaElement element) protected voidPackageFragmentRoot.verifyAttachSource(org.eclipse.core.runtime.IPath sourcePath) Possible failures: ELEMENT_NOT_PRESENT - the root supplied to the operation does not exist INVALID_ELEMENT_TYPES - the root is not of kind K_BINARY RELATIVE_PATH - the path supplied to this operation must be an absolute pathprotected voidMultiOperation.verifyDestination(IJavaElement element, IJavaElement destination) Verifies that thedestinationspecified for theelementis valid for the types of theelementanddestination.protected voidMultiOperation.verifyRenaming(IJavaElement element) Verify that the new name specified forelementis valid for that type of Java element.protected voidMultiOperation.verifySibling(IJavaElement element, IJavaElement destination) Verifies that the positioning sibling specified for theelementis exists and its parent is the destination container of thiselement.booleanJavaModelManager.PerProjectInfo.writeAndCacheClasspath(JavaProject javaProject, IClasspathEntry[] newRawClasspath, IClasspathEntry[] newReferencedEntries, org.eclipse.core.runtime.IPath newOutputLocation) booleanJavaModelManager.PerProjectInfo.writeAndCacheClasspath(JavaProject javaProject, IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation) booleanJavaProject.writeFileEntries(IClasspathEntry[] newClasspath, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath newOutputLocation) Writes the classpath in a sharable format (VCM-wise) only when necessary, that is, if it is semantically different from the existing one in file.booleanJavaProject.writeFileEntries(IClasspathEntry[] newClasspath, org.eclipse.core.runtime.IPath newOutputLocation) Constructors in org.aspectj.org.eclipse.jdt.internal.core that throw JavaModelExceptionModifierConstructorDescriptionCancelableNameEnvironment(JavaProject project, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) CancelableNameEnvironment(JavaProject project, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor, boolean excludeTestCode) SearchableEnvironment(JavaProject project, ICompilationUnit[] workingCopies) Deprecated.SearchableEnvironment(JavaProject project, ICompilationUnit[] workingCopies, boolean excludeTestCode) Creates a SearchableEnvironment on the given projectSearchableEnvironment(JavaProject project, WorkingCopyOwner owner) Deprecated.SearchableEnvironment(JavaProject project, WorkingCopyOwner owner, boolean excludeTestCode) Creates a SearchableEnvironment on the given project -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.builder
Methods in org.aspectj.org.eclipse.jdt.internal.core.builder that throw JavaModelExceptionModifier and TypeMethodDescriptionbyte[]ModuleInfoBuilder.compileWithAttributes(IModuleDescription module, Map<String, String> classFileAttributes) protected booleanAbstractImageBuilder.isExcludedFromProject(org.eclipse.core.runtime.IPath childPath) -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.imports
Methods in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.imports that throw JavaModelExceptionModifier and TypeMethodDescriptionImportRewriteAnalyzer.analyzeRewrite(org.eclipse.core.runtime.IProgressMonitor monitor) Computes and returns the result of performing the rewrite, incorporating all changes specified by calls toImportRewriteAnalyzer.addImport(boolean, java.lang.String),ImportRewriteAnalyzer.removeImport(boolean, java.lang.String), andImportRewriteAnalyzer.requireExplicitImport(boolean, java.lang.String).Constructors in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.imports that throw JavaModelExceptionModifierConstructorDescriptionImportRewriteAnalyzer(ICompilationUnit cu, CompilationUnit astRoot, ImportRewriteConfiguration configuration) -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.eval
Methods in org.aspectj.org.eclipse.jdt.internal.core.eval that throw JavaModelExceptionModifier and TypeMethodDescriptionvoidEvaluationContextWrapper.codeComplete(String codeSnippet, int position, CompletionRequestor requestor) voidEvaluationContextWrapper.codeComplete(String codeSnippet, int position, CompletionRequestor requestor, WorkingCopyOwner owner) voidEvaluationContextWrapper.codeComplete(String codeSnippet, int position, CompletionRequestor requestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) voidEvaluationContextWrapper.codeComplete(String codeSnippet, int position, CompletionRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) voidEvaluationContextWrapper.codeComplete(String codeSnippet, int position, ICodeCompletionRequestor requestor) Deprecated.- use codeComplete(String, int, ICompletionRequestor) insteadvoidEvaluationContextWrapper.codeComplete(String codeSnippet, int position, ICompletionRequestor requestor) Deprecated.voidEvaluationContextWrapper.codeComplete(String codeSnippet, int position, ICompletionRequestor requestor, WorkingCopyOwner owner) Deprecated.EvaluationContextWrapper.codeSelect(String codeSnippet, int offset, int length) EvaluationContextWrapper.codeSelect(String codeSnippet, int offset, int length, WorkingCopyOwner owner) voidEvaluationContextWrapper.evaluateCodeSnippet(String codeSnippet, String[] localVariableTypeNames, String[] localVariableNames, int[] localVariableModifiers, IType declaringType, boolean isStatic, boolean isConstructorCall, ICodeSnippetRequestor requestor, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidEvaluationContextWrapper.evaluateCodeSnippet(String codeSnippet, ICodeSnippetRequestor requestor, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidEvaluationContextWrapper.evaluateVariable(IGlobalVariable variable, ICodeSnippetRequestor requestor, org.eclipse.core.runtime.IProgressMonitor progressMonitor) protected voidEvaluationContextWrapper.handleInstallException(InstallException e) Handles an install exception by throwing a Java Model exception. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.hierarchy
Methods in org.aspectj.org.eclipse.jdt.internal.core.hierarchy that throw JavaModelExceptionModifier and TypeMethodDescriptionvoidChangeCollector.addChange(ICompilationUnit cu, IJavaElementDelta newDelta) abstract voidHierarchyBuilder.build(boolean computeSubtypes) protected voidRegionBasedTypeHierarchy.compute()Compute this type hierarchy.protected voidTypeHierarchy.compute()Compute this type hierarchy.static ITypeHierarchyTypeHierarchy.load(IType type, InputStream input, WorkingCopyOwner owner) protected static byte[]TypeHierarchy.readUntil(InputStream input, byte separator) protected static byte[]TypeHierarchy.readUntil(InputStream input, byte separator, int offset) voidTypeHierarchy.refresh(org.eclipse.core.runtime.IProgressMonitor monitor) voidTypeHierarchy.store(OutputStream output, org.eclipse.core.runtime.IProgressMonitor monitor) Constructors in org.aspectj.org.eclipse.jdt.internal.core.hierarchy that throw JavaModelExceptionModifierConstructorDescriptionHierarchyBuilder(TypeHierarchy hierarchy) IndexBasedHierarchyBuilder(TypeHierarchy hierarchy, IJavaSearchScope scope) RegionBasedHierarchyBuilder(TypeHierarchy hierarchy) -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.nd.java.model
Methods in org.aspectj.org.eclipse.jdt.internal.core.nd.java.model that throw JavaModelExceptionModifier and TypeMethodDescriptionstatic IBinaryTypeBinaryTypeFactory.create(IOrdinaryClassFile classFile, org.eclipse.core.runtime.IProgressMonitor monitor) static IBinaryModuleBinaryModuleFactory.rawReadModule(BinaryModuleDescriptor descriptor, boolean fullyInitialize) static IBinaryModuleBinaryModuleFactory.rawReadModuleTestForExists(BinaryModuleDescriptor descriptor, boolean fullyInitialize, boolean useInvalidArchiveCache) Read the class file from disk, circumventing the index's cache.static ClassFileReaderBinaryTypeFactory.rawReadType(BinaryTypeDescriptor descriptor, boolean fullyInitialize) static ClassFileReaderBinaryTypeFactory.rawReadTypeTestForExists(BinaryTypeDescriptor descriptor, boolean fullyInitialize, boolean useInvalidArchiveCache) Read the class file from disk, circumventing the index's cache.static IBinaryModuleBinaryModuleFactory.readModule(BinaryModuleDescriptor descriptor, org.eclipse.core.runtime.IProgressMonitor monitor) Reads the given binary module.static IBinaryTypeBinaryTypeFactory.readType(BinaryTypeDescriptor descriptor, org.eclipse.core.runtime.IProgressMonitor monitor) Reads the given binary type. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.search
Methods in org.aspectj.org.eclipse.jdt.internal.core.search that throw JavaModelExceptionModifier and TypeMethodDescriptionvoidJavaSearchScope.add(IJavaElement element) Add an element to the java search scope.voidJavaSearchScope.add(JavaProject project, int includeMask, Set<JavaProject> projectsToBeAdded) Add java project all fragment roots to current java search scope.static IJavaSearchScopeBasicSearchEngine.createHierarchyScope(IType type) static IJavaSearchScopeBasicSearchEngine.createHierarchyScope(IType type, WorkingCopyOwner owner) static IJavaSearchScopeBasicSearchEngine.createStrictHierarchyScope(IJavaProject project, IType type, boolean onlySubtypes, boolean includeFocusType, WorkingCopyOwner owner) voidHierarchyScope.initBeforeSearch(org.eclipse.core.runtime.IProgressMonitor monitor) protected voidHierarchyScope.initialize()protected voidHierarchyScope.initialize(org.eclipse.core.runtime.IProgressMonitor progressMonitor) protected voidHierarchyScope.refresh()protected voidHierarchyScope.refresh(org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidBasicSearchEngine.searchAllConstructorDeclarations(char[] packageName, char[] typeName, int typeMatchRule, IJavaSearchScope scope, boolean resolveDocumentName, IRestrictedAccessConstructorRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for constructor declarations in the given scope.voidBasicSearchEngine.searchAllConstructorDeclarations(char[] packageName, char[] typeName, int typeMatchRule, IJavaSearchScope scope, IRestrictedAccessConstructorRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidBasicSearchEngine.searchAllMethodNames(char[] packageName, int pkgMatchRule, char[] declaringQualification, int declQualificationMatchRule, char[] declaringSimpleName, int declSimpleNameMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, IRestrictedAccessMethodRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidBasicSearchEngine.searchAllMethodNames(char[] qualifier, int qualifierMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, IRestrictedAccessMethodRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidBasicSearchEngine.searchAllSecondaryTypeNames(IPackageFragmentRoot[] sourceFolders, IRestrictedAccessTypeRequestor nameRequestor, boolean waitForIndexes, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all secondary types in the given scope.voidBasicSearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, int matchRule, int searchFor, IJavaSearchScope scope, IRestrictedAccessTypeRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope using a case sensitive exact match with the given qualified names and type names.voidBasicSearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, boolean resolveDocumentName, IRestrictedAccessTypeRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope.voidBasicSearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, IRestrictedAccessTypeRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope.voidBasicSearchEngine.searchDeclarations(IJavaElement enclosingElement, SearchRequestor requestor, SearchPattern pattern, org.eclipse.core.runtime.IProgressMonitor monitor) voidBasicSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the fields accessed in the given element.voidBasicSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the types referenced in the given element.voidBasicSearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the methods invoked in the given element.Constructors in org.aspectj.org.eclipse.jdt.internal.core.search that throw JavaModelExceptionModifierConstructorDescriptionHierarchyScope(IJavaProject project, IType type, WorkingCopyOwner owner, boolean onlySubtypes, boolean noMembersOrEnclosingTypes, boolean includeFocusType) Creates a new hierarchy scope for the given type with the given configuration options.HierarchyScope(IType type, WorkingCopyOwner owner) -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching that throw JavaModelExceptionModifier and TypeMethodDescriptionprotected CompilationUnitDeclarationSuperTypeNamesCollector.buildBindings(ICompilationUnit compilationUnit, boolean isTopLevelOrMember) protected BinaryTypeBindingMatchLocator.cacheBinaryType(IType type, IBinaryType binaryType) char[][][]SuperTypeNamesCollector.collect()voidMatchLocator.initialize(JavaProject project, int possibleMatchSize) Create a new parser for the given project, as well as a lookup environment. -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.core.util
Fields in org.aspectj.org.eclipse.jdt.internal.core.util declared as JavaModelExceptionMethods in org.aspectj.org.eclipse.jdt.internal.core.util that throw JavaModelExceptionModifier and TypeMethodDescriptionstatic IMethodUtil.findMethod(IType type, char[] selector, String[] paramTypeSignatures, boolean isConstructor) Finds the IMethod element corresponding to the given selector, without creating a new dummy instance of a binary method.static byte[]Util.getResourceContentsAsByteArray(org.eclipse.core.resources.IFile file) Returns the given file's contents as a byte array.static char[]Util.getResourceContentsAsCharArray(org.eclipse.core.resources.IFile file) Returns the given file's contents as a character array.static char[]Util.getResourceContentsAsCharArray(org.eclipse.core.resources.IFile file, String encoding) static StringUtil.getSourceAttachmentProperty(org.eclipse.core.runtime.IPath path) DOMFinder.search() -
Uses of JavaModelException in org.aspectj.org.eclipse.jdt.internal.eval
Methods in org.aspectj.org.eclipse.jdt.internal.eval that throw JavaModelExceptionModifier and TypeMethodDescriptionCodeSnippetSkeleton.getJavadocContents(org.eclipse.core.runtime.IProgressMonitor monitor, String defaultEncoding)
ITypeRoot.getWorkingCopy(WorkingCopyOwner, IProgressMonitor)instead.