Uses of Class
org.eclipse.jdt.core.JavaModelException

Packages that use JavaModelException
org.eclipse.jdt.core   
org.eclipse.jdt.core.compiler   
org.eclipse.jdt.core.dom   
org.eclipse.jdt.core.dom.rewrite   
org.eclipse.jdt.core.eval   
org.eclipse.jdt.core.search   
org.eclipse.jdt.core.util   
org.eclipse.jdt.internal.codeassist   
org.eclipse.jdt.internal.codeassist.impl   
org.eclipse.jdt.internal.compiler   
org.eclipse.jdt.internal.core   
org.eclipse.jdt.internal.core.builder   
org.eclipse.jdt.internal.core.dom.rewrite   
org.eclipse.jdt.internal.core.eval   
org.eclipse.jdt.internal.core.hierarchy   
org.eclipse.jdt.internal.core.search   
org.eclipse.jdt.internal.core.search.matching   
org.eclipse.jdt.internal.core.util   
org.eclipse.jdt.internal.eval   
 

Uses of JavaModelException in org.eclipse.jdt.core
 

Methods in org.eclipse.jdt.core that throw JavaModelException
 UndoEdit IBuffer.ITextEditCapability.applyTextEdit(TextEdit edit, IProgressMonitor monitor)
          Applies a text edit to this underlying buffer.
 UndoEdit ICompilationUnit.applyTextEdit(TextEdit edit, IProgressMonitor monitor)
          Applies a text edit to the compilation unit's buffer.
 void IPackageFragmentRoot.attachSource(IPath sourcePath, IPath rootPath, IProgressMonitor monitor)
          Attaches the source archive identified by the given absolute path to this binary package fragment root.
 void ICompilationUnit.becomeWorkingCopy(IProblemRequestor problemRequestor, IProgressMonitor monitor)
          Deprecated. Use ICompilationUnit.becomeWorkingCopy(IProgressMonitor) instead. Note that if this deprecated method is used, problems will be reported to the given problem requestor as well as the problem requestor returned by the working copy owner (if not null).
 ICompilationUnit IClassFile.becomeWorkingCopy(IProblemRequestor problemRequestor, WorkingCopyOwner owner, IProgressMonitor monitor)
          Deprecated. Use ITypeRoot.getWorkingCopy(WorkingCopyOwner, IProgressMonitor) instead. Note that if this deprecated method is used, problems will be reported to the given problem requestor as well as the problem requestor returned by the working copy owner (if not null).
 void ICompilationUnit.becomeWorkingCopy(IProgressMonitor monitor)
          Changes this compilation unit handle into a working copy.
 void IOpenable.close()
          Closes this element and its buffer (if any).
 void IType.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.
 void IType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, IProgressMonitor monitor)
          Do code completion inside a code snippet in the context of the current type.
 void IType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner, IProgressMonitor monitor)
          Do code completion inside a code snippet in the context of the current type.
 void IType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor)
          Deprecated. Use IType.codeComplete(char[],int,int,char[][],char[][],int[],boolean,CompletionRequestor) instead.
 void IType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor, WorkingCopyOwner owner)
          Deprecated. Use #codeComplete(char[],int,int,char[][],char[][],int[],boolean,CompletionRequestor,WorkingCopyOwner) instead.
 void ICodeAssist.codeComplete(int offset, CompletionRequestor requestor)
          Performs code completion at the given offset position in this compilation unit, reporting results to the given completion requestor.
 void ICodeAssist.codeComplete(int offset, CompletionRequestor requestor, IProgressMonitor monitor)
          Performs code completion at the given offset position in this compilation unit, reporting results to the given completion requestor.
 void ICodeAssist.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner, IProgressMonitor monitor)
          Performs code completion at the given offset position in this compilation unit, reporting results to the given completion requestor.
 void ICodeAssist.codeComplete(int offset, ICodeCompletionRequestor requestor)
          Deprecated. Use ICodeAssist.codeComplete(int, ICompletionRequestor) instead.
 void ICodeAssist.codeComplete(int offset, ICompletionRequestor requestor)
          Deprecated. Use ICodeAssist.codeComplete(int, CompletionRequestor) instead.
 void ICodeAssist.codeComplete(int offset, ICompletionRequestor requestor, WorkingCopyOwner owner)
          Deprecated. Use #codeComplete(int, CompletionRequestor, WorkingCopyOwner) instead.
 IJavaElement[] ICodeAssist.codeSelect(int offset, int length)
          Returns the Java elements corresponding to the given selected text in this compilation unit.
 IJavaElement[] ICodeAssist.codeSelect(int offset, int length, WorkingCopyOwner owner)
          Returns the Java elements corresponding to the given selected text in this compilation unit.
 void IWorkingCopy.commit(boolean force, IProgressMonitor monitor)
          Deprecated. Use ICompilationUnit.commitWorkingCopy(boolean, IProgressMonitor) instead.
 void ICompilationUnit.commitWorkingCopy(boolean force, IProgressMonitor monitor)
          Commits the contents of this working copy to its underlying resource.
 void CorrectionEngine.computeCorrections(IMarker marker, ICompilationUnit targetUnit, int positionOffset, ICorrectionRequestor requestor)
          Performs code correction for the given marker, reporting results to the given correction requestor.
 void CorrectionEngine.computeCorrections(IProblem problem, ICompilationUnit targetUnit, ICorrectionRequestor requestor)
          Performs code correction for the given IProblem, reporting results to the given correction requestor.
 boolean IPackageFragment.containsJavaResources()
          Returns whether this fragment contains at least one Java resource.
 void IJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)
          Copies the given elements to the specified container(s).
 void ISourceManipulation.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean replace, IProgressMonitor monitor)
          Copies this element to the given container.
 void IPackageFragmentRoot.copy(IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, IProgressMonitor monitor)
          Copies the resource of this package fragment root to the destination path as specified by IResource.copy(IPath, int, IProgressMonitor) but excluding nested source folders.
 ICompilationUnit IPackageFragment.createCompilationUnit(java.lang.String name, java.lang.String contents, boolean force, IProgressMonitor monitor)
          Creates and returns a compilation unit in this package fragment with the specified name and contents.
 IField IType.createField(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
          Creates and returns a field in this type with the given contents.
 IImportDeclaration ICompilationUnit.createImport(java.lang.String name, IJavaElement sibling, int flags, IProgressMonitor monitor)
          Creates and returns an import declaration in this compilation unit with the given name.
 IImportDeclaration ICompilationUnit.createImport(java.lang.String name, IJavaElement sibling, IProgressMonitor monitor)
          Creates and returns an non-static import declaration in this compilation unit with the given name.
 IInitializer IType.createInitializer(java.lang.String contents, IJavaElement sibling, IProgressMonitor monitor)
          Creates and returns a static initializer in this type with the given contents.
 IMethod IType.createMethod(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
          Creates and returns a method or constructor in this type with the given contents.
 IPackageDeclaration ICompilationUnit.createPackageDeclaration(java.lang.String name, IProgressMonitor monitor)
          Creates and returns a package declaration in this compilation unit with the given package name.
 IPackageFragment IPackageFragmentRoot.createPackageFragment(java.lang.String name, boolean force, IProgressMonitor monitor)
          Creates and returns a package fragment in this root with the given dot-separated package name.
 IType ICompilationUnit.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
          Creates and returns a type in this compilation unit with the given contents.
 IType IType.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
          Creates and returns a type in this type with the given contents.
 void ISourceManipulation.delete(boolean force, IProgressMonitor monitor)
          Deletes this element, forcing if specified and necessary.
 void IJavaModel.delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor)
          Deletes the given elements, forcing the operation if necessary and specified.
 void IPackageFragmentRoot.delete(int updateResourceFlags, int updateModelFlags, IProgressMonitor monitor)
          Deletes the resource of this package fragment root as specified by IResource.delete(int, IProgressMonitor) but excluding nested source folders.
 void ICompilationUnit.discardWorkingCopy()
          Changes this compilation unit in working copy mode back to its original mode.
 IJavaElement IJavaProject.findElement(IPath path)
          Returns the IJavaElement corresponding to the given classpath-relative path, or null if no such IJavaElement is found.
 IJavaElement IJavaProject.findElement(IPath path, WorkingCopyOwner owner)
          Returns the IJavaElement corresponding to the given classpath-relative path, or null if no such IJavaElement is found.
 IPackageFragment IJavaProject.findPackageFragment(IPath path)
          Returns the first existing package fragment on this project's classpath whose path matches the given (absolute) path, or null if none exist.
 IPackageFragmentRoot IJavaProject.findPackageFragmentRoot(IPath path)
          Returns the existing package fragment root on this project's classpath whose path matches the given (absolute) path, or null if one does not exist.
 java.lang.String IOpenable.findRecommendedLineSeparator()
          Finds and returns the recommended line separator for this element.
 IType IJavaProject.findType(java.lang.String fullyQualifiedName)
          Returns the first type found following this project's classpath with the given fully qualified name or null if none is found.
 IType IJavaProject.findType(java.lang.String fullyQualifiedName, IProgressMonitor progressMonitor)
          Same functionality as IJavaProject.findType(String) but also look for secondary types if given name does not match a compilation unit name.
 IType IJavaProject.findType(java.lang.String packageName, java.lang.String typeQualifiedName, IProgressMonitor progressMonitor)
          Same functionality as #findType(String, String) but also look for secondary types if given name does not match a compilation unit name.
 IType IJavaProject.findType(java.lang.String packageName, java.lang.String typeQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor)
          Same functionality as #findType(String, String, WorkingCopyOwner) but also look for secondary types if given name does not match a compilation unit name.
 IType IJavaProject.findType(java.lang.String fullyQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor)
          Same functionality as #findType(String, WorkingCopyOwner) but also look for secondary types if given name does not match a compilation unit name.
 IPackageFragmentRoot[] 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.
 IAnnotation[] IAnnotatable.getAnnotations()
          Returns the annotations for this element.
 java.lang.String IJavaElement.getAttachedJavadoc(IProgressMonitor monitor)
          Returns the Javadoc as an html source if this element has an attached javadoc, null otherwise.
 java.lang.String[] ITypeParameter.getBounds()
          Returns the names of the class and interface bounds of this type parameter.
 java.lang.String[] ITypeParameter.getBoundsSignatures()
          Returns the signatures for this type parameter's bounds.
 IBuffer IOpenable.getBuffer()
          Returns the buffer opened for this element, or null if this element does not have a buffer.
 byte[] IClassFile.getBytes()
          Returns the bytes contained in this class file.
 java.lang.String[] IMember.getCategories()
          Returns the categories defined by this member's Javadoc.
 IJavaElement[] IParent.getChildren()
          Returns the immediate children of this element.
 IJavaElement[] IType.getChildrenForCategory(java.lang.String category)
          Returns the children of this type that have the given category as a @category tag.
 IClassFile[] IPackageFragment.getClassFiles()
          Returns all of the class files in this package fragment.
static IClasspathContainer JavaCore.getClasspathContainer(IPath containerPath, IJavaProject project)
          Answers the project specific value for a given classpath container.
 ICompilationUnit[] IPackageFragment.getCompilationUnits()
          Returns all of the compilation units in this package fragment.
 ICompilationUnit[] 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.
 java.lang.Object IField.getConstant()
          Returns the constant value associated with this field or null if this field has none.
 IResource IJavaElement.getCorrespondingResource()
          Returns the resource that corresponds directly to this element, or null if there is no resource that corresponds to this element.
 IMemberValuePair IMethod.getDefaultValue()
          Returns a member value pair representing the default value of this method if any, or null if this method's parent is not an annotation type, or else if this method does not have a default value.
 IJavaElement 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.), or null if 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.
 java.lang.String[] IMethod.getExceptionTypes()
          Returns the type signatures of the exceptions this method throws, in the order declared in the source.
 IField[] IType.getFields()
          Returns the fields declared by this type in the order in which they appear in the source or class file.
 int IImportDeclaration.getFlags()
          Returns the modifier flags for this import.
 int IMember.getFlags()
          Returns the modifier flags for this member.
 java.lang.String IType.getFullyQualifiedParameterizedName()
          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.
 IImportDeclaration[] ICompilationUnit.getImports()
          Returns the import declarations in this compilation unit in the order in which they appear in the source.
 IInitializer[] IType.getInitializers()
          Returns the initializers declared by this type.
 ISourceRange 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.
 IJavaProject[] IJavaModel.getJavaProjects()
          Returns the Java projects in this Java model, or an empty array if there are none.
 int IPackageFragmentRoot.getKind()
          Returns this package fragment root's kind encoded as an integer.
 int IPackageFragment.getKind()
          Returns this package fragment's root kind encoded as an integer.
 IMemberValuePair[] IAnnotation.getMemberValuePairs()
          Returns the member-value pairs of this annotation.
 IMethod[] IType.getMethods()
          Returns the methods and constructors declared by this type.
 ISourceRange ISourceReference.getNameRange()
          Returns the name range associated with this element.
 java.lang.Object[] IJavaModel.getNonJavaResources()
          Returns an array of non-Java resources (that is, non-Java projects) in the workspace.
 java.lang.Object[] IPackageFragmentRoot.getNonJavaResources()
          Returns an array of non-Java resources contained in this package fragment root.
 java.lang.Object[] IJavaProject.getNonJavaResources()
          Returns an array of non-Java resources directly contained in this project.
 java.lang.Object[] IPackageFragment.getNonJavaResources()
          Returns an array of non-Java resources contained in this package fragment.
 IPath IJavaProject.getOutputLocation()
          Returns the default output location for this project as a workspace- relative absolute path.
 IPackageDeclaration[] ICompilationUnit.getPackageDeclarations()
          Returns the package declarations in this compilation unit in the order in which they appear in the source.
 IPackageFragmentRoot[] IJavaProject.getPackageFragmentRoots()
          Returns all of the package fragment roots contained in this project, identified on this project's resolved classpath.
 IPackageFragment[] IJavaProject.getPackageFragments()
          Returns all package fragments in all package fragment roots contained in this project.
 java.lang.String[] IMethod.getParameterNames()
          Returns the names of parameters in this method.
 ILocalVariable[] IMethod.getParameters()
          Returns the parameters of this method.
 IClasspathEntry[] IJavaProject.getRawClasspath()
          Returns the raw classpath for the project, as a list of classpath entries.
 IClasspathEntry IPackageFragmentRoot.getRawClasspathEntry()
          Returns the first raw classpath entry that corresponds to this package fragment root.
 java.lang.String[] IMethod.getRawParameterNames()
          Returns the names of parameters in this method.
 IClasspathEntry[] IJavaProject.getReferencedClasspathEntries()
          Returns the list of referenced classpath entries stored in the .classpath file of this java project.
 java.lang.String[] IJavaProject.getRequiredProjectNames()
          Returns the names of the projects that are directly required by this project.
 IClasspathEntry[] 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.
 IClasspathEntry IPackageFragmentRoot.getResolvedClasspathEntry()
          Returns the first resolved classpath entry that corresponds to this package fragment root.
 java.lang.String IMethod.getReturnType()
          Returns the type signature of the return value of this method.
 IJavaElement IWorkingCopy.getSharedWorkingCopy(IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated. Use ICompilationUnit.getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor) instead.
 java.lang.String IMethod.getSignature()
          Returns the signature of this method.
 java.lang.String ISourceReference.getSource()
          Returns the source code associated with this element.
 IPath IPackageFragmentRoot.getSourceAttachmentPath()
          Returns the absolute path to the source archive attached to this package fragment root's binary archive.
 IPath IPackageFragmentRoot.getSourceAttachmentRootPath()
          Returns the path within this package fragment root's source archive.
 ISourceRange ISourceReference.getSourceRange()
          Returns the source range associated with this element.
 java.lang.String IType.getSuperclassName()
          Returns the name of this type's superclass, or null for source types that do not specify a superclass.
 java.lang.String IType.getSuperclassTypeSignature()
          Returns the type signature of this type's superclass, or null if none.
 java.lang.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.
 java.lang.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.
 ITypeParameter[] IType.getTypeParameters()
          Returns the formal type parameters for this type.
 ITypeParameter[] IMethod.getTypeParameters()
          Returns the formal type parameters for this method.
 java.lang.String[] IType.getTypeParameterSignatures()
          Returns the formal type parameter signatures for this type.
 java.lang.String[] IMethod.getTypeParameterSignatures()
          Deprecated. Use IMethod.getTypeParameters() instead
 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.
 java.lang.String IField.getTypeSignature()
          Returns the type signature of this field.
 IResource IJavaElement.getUnderlyingResource()
          Returns the smallest underlying resource that contains this element, or null if this element is not contained in a resource.
 IJavaElement IWorkingCopy.getWorkingCopy()
          Deprecated. Use ICompilationUnit.getWorkingCopy(IProgressMonitor) instead.
 ICompilationUnit ICompilationUnit.getWorkingCopy(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.
 IJavaElement IClassFile.getWorkingCopy(IProgressMonitor monitor, IBufferFactory factory)
          Deprecated. Use ITypeRoot.getWorkingCopy(WorkingCopyOwner, IProgressMonitor) instead
 IJavaElement IWorkingCopy.getWorkingCopy(IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated. Use ICompilationUnit.getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor) instead.
 ICompilationUnit ICompilationUnit.getWorkingCopy(WorkingCopyOwner owner, IProblemRequestor problemRequestor, IProgressMonitor monitor)
          Deprecated. Use ITypeRoot.getWorkingCopy(WorkingCopyOwner, IProgressMonitor) instead. Note that if this deprecated method is used, problems will be reported on the passed problem requester as well as on the problem requestor returned by the working copy owner (if not null).
 ICompilationUnit ITypeRoot.getWorkingCopy(WorkingCopyOwner owner, IProgressMonitor monitor)
          Returns a shared working copy on this compilation unit or class file using the given working copy owner to create the buffer.
 boolean IParent.hasChildren()
          Returns whether this element has one or more immediate children.
 boolean IPackageFragment.hasSubpackages()
          Returns whether this package fragment's name is a prefix of other package fragments in this package fragment's root.
 boolean IOpenable.hasUnsavedChanges()
          Returns true if 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 destroyed
 boolean IType.isAnnotation()
          Returns whether this type represents an annotation type.
 boolean IType.isAnonymous()
          Returns whether this type represents an anonymous type.
 boolean IType.isClass()
          Returns whether this type represents a class.
 boolean IClassFile.isClass()
          Returns whether this type represents a class.
 boolean IOpenable.isConsistent()
          Returns whether the element is consistent with its underlying resource or buffer.
 boolean IMethod.isConstructor()
          Returns whether this method is a constructor.
 boolean IType.isEnum()
          Returns whether this type represents an enumeration class.
 boolean IField.isEnumConstant()
          Returns whether this field represents an enum constant.
 boolean IType.isInterface()
          Returns whether this type represents an interface.
 boolean IClassFile.isInterface()
          Returns whether this type represents an interface.
 boolean IType.isLocal()
          Returns whether this type represents a local type.
 boolean IMethod.isMainMethod()
          Returns whether this method is a main method.
 boolean IType.isMember()
          Returns whether this type represents a member type.
 boolean IJavaElement.isStructureKnown()
          Returns whether the structure of this element is known.
 ITypeHierarchy IType.loadTypeHierachy(java.io.InputStream input, IProgressMonitor monitor)
          Loads a previously saved ITypeHierarchy from an input stream.
 void IOpenable.makeConsistent(IProgressMonitor progress)
          Makes this element consistent with its underlying resource or buffer by updating the element's structure and properties as necessary.
 void IJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)
          Moves the given elements to the specified container(s).
 void ISourceManipulation.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean replace, IProgressMonitor monitor)
          Moves this element to the given container.
 void IPackageFragmentRoot.move(IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, IProgressMonitor monitor)
          Moves the resource of this package fragment root to the destination path as specified by IResource.move(IPath,int,IProgressMonitor) but excluding nested source folders.
 ITypeHierarchy IType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, 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.
 ITypeHierarchy IType.newSupertypeHierarchy(IProgressMonitor monitor)
          Creates and returns a type hierarchy for this type containing this type and all of its supertypes.
 ITypeHierarchy IType.newSupertypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)
          Deprecated. Use IType.newSupertypeHierarchy(ICompilationUnit[], IProgressMonitor) instead
 ITypeHierarchy IType.newSupertypeHierarchy(WorkingCopyOwner owner, 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.
 ITypeHierarchy IType.newTypeHierarchy(ICompilationUnit[] workingCopies, 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.
 ITypeHierarchy IType.newTypeHierarchy(IJavaProject project, IProgressMonitor monitor)
          Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the context of the given project.
 ITypeHierarchy IType.newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, IProgressMonitor monitor)
          Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the context of the given project, considering types in the working copies with the given owner.
 ITypeHierarchy IType.newTypeHierarchy(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.
 ITypeHierarchy IJavaProject.newTypeHierarchy(IRegion region, IProgressMonitor monitor)
          Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region.
 ITypeHierarchy IJavaProject.newTypeHierarchy(IRegion region, WorkingCopyOwner owner, 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.
static ITypeHierarchy JavaCore.newTypeHierarchy(IRegion region, WorkingCopyOwner owner, 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.
 ITypeHierarchy IJavaProject.newTypeHierarchy(IType type, IRegion region, IProgressMonitor monitor)
          Creates and returns a type hierarchy for the given type considering subtypes in the specified region.
 ITypeHierarchy IJavaProject.newTypeHierarchy(IType type, IRegion region, WorkingCopyOwner owner, 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.
 ITypeHierarchy IType.newTypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)
          Deprecated. Use IType.newTypeHierarchy(ICompilationUnit[], IProgressMonitor) instead
 ITypeHierarchy IType.newTypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)
          Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace, considering types in the working copies with the given owner.
 ICompilationUnit WorkingCopyOwner.newWorkingCopy(java.lang.String name, IClasspathEntry[] classpath, IProblemRequestor problemRequestor, IProgressMonitor monitor)
          Deprecated. Use WorkingCopyOwner.newWorkingCopy(String, IClasspathEntry[], IProgressMonitor) instead. Note that if this deprecated method is used, problems may be reported twice if the given requestor is not the same as the current working copy owner one.
 ICompilationUnit WorkingCopyOwner.newWorkingCopy(java.lang.String name, IClasspathEntry[] classpath, IProgressMonitor monitor)
          Returns a new working copy with the given name using this working copy owner to create its buffer.
 void IOpenable.open(IProgressMonitor progress)
          Opens this element and all parent elements that are not already open.
 IMarker[] IWorkingCopy.reconcile()
          Deprecated. Use ICompilationUnit.reconcile(int, boolean, WorkingCopyOwner, IProgressMonitor) instead.
 void IWorkingCopy.reconcile(boolean forceProblemDetection, IProgressMonitor monitor)
          Deprecated. Use ICompilationUnit.reconcile(int, boolean, WorkingCopyOwner, IProgressMonitor) instead.
 CompilationUnit ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner owner, 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.
 CompilationUnit ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner owner, 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.
 CompilationUnit ICompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner owner, 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.
 void ITypeHierarchy.refresh(IProgressMonitor monitor)
          Re-computes the type hierarchy reporting progress.
 void IJavaModel.refreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor monitor)
          Triggers an update of the JavaModel with respect to the referenced external archives.
 void IJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean replace, IProgressMonitor monitor)
          Renames the given elements as specified.
 void ISourceManipulation.rename(java.lang.String name, boolean replace, IProgressMonitor monitor)
          Renames this element to the given name.
 java.lang.String[][] IType.resolveType(java.lang.String typeName)
          Resolves the given type name within the context of this type (depending on the type hierarchy and its imports).
 java.lang.String[][] IType.resolveType(java.lang.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.
 void ICompilationUnit.restore()
          Restores the contents of this working copy to the current contents of this working copy's original element.
 void IWorkingCopy.restore()
          Deprecated. Use ICompilationUnit.restore() instead.
 void IBuffer.save(IProgressMonitor progress, boolean force)
          Saves the contents of this buffer to its underlying resource.
 void IOpenable.save(IProgressMonitor progress, boolean force)
          Saves any changes in this element's buffer to its underlying resource via a workspace resource operation.
static void JavaCore.setClasspathContainer(IPath containerPath, IJavaProject[] affectedProjects, IClasspathContainer[] respectiveContainers, IProgressMonitor monitor)
          Bind a container reference path to some actual containers (IClasspathContainer).
static void JavaCore.setClasspathVariable(java.lang.String variableName, IPath path)
          Deprecated. Use JavaCore.setClasspathVariable(String, IPath, IProgressMonitor) instead
static void JavaCore.setClasspathVariable(java.lang.String variableName, IPath path, IProgressMonitor monitor)
          Sets the value of the given classpath variable.
static void JavaCore.setClasspathVariables(java.lang.String[] variableNames, IPath[] paths, IProgressMonitor monitor)
          Sets the values of all the given classpath variables at once.
 void IJavaProject.setOutputLocation(IPath path, IProgressMonitor monitor)
          Sets the default output location of this project to the location described by the given workspace-relative absolute path.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, boolean canModifyResources, IProgressMonitor monitor)
          Sets the classpath of this project using a list of classpath entries.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, IClasspathEntry[] referencedEntries, IPath outputLocation, IProgressMonitor monitor)
          Works similar to IJavaProject.setRawClasspath(IClasspathEntry[], IPath, IProgressMonitor) and additionally allows persisting the given array of referenced entries for this project.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, IPath outputLocation, boolean canModifyResources, IProgressMonitor monitor)
          Sets both the classpath of this project and its default output location at once.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, IPath outputLocation, IProgressMonitor monitor)
          Sets the both the classpath of this project and its default output location at once.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, IProgressMonitor monitor)
          Sets the classpath of this project using a list of classpath entries.
 void ITypeHierarchy.store(java.io.OutputStream outputStream, IProgressMonitor monitor)
          Stores the type hierarchy in an output stream.
 

Uses of JavaModelException in org.eclipse.jdt.core.compiler
 

Methods in org.eclipse.jdt.core.compiler that throw JavaModelException
 CompilationUnit ReconcileContext.getAST3()
          Deprecated. JLS3 has been deprecated. This method has been replaced by ReconcileContext.getAST4() which returns an AST with JLS4 level.
 CompilationUnit ReconcileContext.getAST4()
          Returns a resolved AST with JLS4 level.
 

Uses of JavaModelException in org.eclipse.jdt.core.dom
 

Methods in org.eclipse.jdt.core.dom that throw JavaModelException
static ASTNode NodeFinder.perform(ASTNode root, int start, int length, ITypeRoot source)
          Maps a selection to a given ASTNode, where the selection is given by a start and a length.
 

Uses of JavaModelException in org.eclipse.jdt.core.dom.rewrite
 

Methods in org.eclipse.jdt.core.dom.rewrite that throw JavaModelException
static ImportRewrite ImportRewrite.create(ICompilationUnit cu, boolean restoreExistingImports)
          Creates a ImportRewrite from a ICompilationUnit.
 TextEdit ASTRewrite.rewriteAST()
          Converts all modifications recorded by this rewriter into an object representing the the corresponding text edits to the source of a ITypeRoot from which the AST was created from.
 

Uses of JavaModelException in org.eclipse.jdt.core.eval
 

Methods in org.eclipse.jdt.core.eval that throw JavaModelException
 void IEvaluationContext.codeComplete(java.lang.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.
 void IEvaluationContext.codeComplete(java.lang.String codeSnippet, int position, CompletionRequestor requestor, IProgressMonitor monitor)
          Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor.
 void IEvaluationContext.codeComplete(java.lang.String codeSnippet, int position, CompletionRequestor requestor, WorkingCopyOwner owner, IProgressMonitor monitor)
          Performs a code completion at the given position in the given code snippet, reporting results to the given completion requestor.
 void IEvaluationContext.codeComplete(java.lang.String codeSnippet, int position, ICodeCompletionRequestor requestor)
          Deprecated. - use codeComplete(String, int, ICompletionRequestor) instead
 void IEvaluationContext.codeComplete(java.lang.String codeSnippet, int position, ICompletionRequestor requestor)
          Deprecated. Use IEvaluationContext.codeComplete(String,int,CompletionRequestor) instead.
 void IEvaluationContext.codeComplete(java.lang.String codeSnippet, int position, ICompletionRequestor requestor, WorkingCopyOwner owner)
          Deprecated. Use #codeComplete(String,int,CompletionRequestor,WorkingCopyOwner) instead.
 IJavaElement[] IEvaluationContext.codeSelect(java.lang.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.
 IJavaElement[] IEvaluationContext.codeSelect(java.lang.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.
 void IEvaluationContext.evaluateCodeSnippet(java.lang.String codeSnippet, ICodeSnippetRequestor requestor, IProgressMonitor progressMonitor)
          Evaluates the given code snippet.
 void IEvaluationContext.evaluateCodeSnippet(java.lang.String codeSnippet, java.lang.String[] localVariableTypeNames, java.lang.String[] localVariableNames, int[] localVariableModifiers, IType declaringType, boolean isStatic, boolean isConstructorCall, ICodeSnippetRequestor requestor, IProgressMonitor progressMonitor)
          Evaluates the given code snippet in the context of a suspended thread.
 void IEvaluationContext.evaluateVariable(IGlobalVariable variable, ICodeSnippetRequestor requestor, IProgressMonitor progressMonitor)
          Evaluates the given global variable.
 void IEvaluationContext.validateImports(ICodeSnippetRequestor requestor)
          Validates this evaluation context's import declarations.
 

Uses of JavaModelException in org.eclipse.jdt.core.search
 

Methods in org.eclipse.jdt.core.search that throw JavaModelException
static IJavaSearchScope SearchEngine.createHierarchyScope(IType type)
          Returns a Java search scope limited to the hierarchy of the given type.
static IJavaSearchScope SearchEngine.createHierarchyScope(IType type, WorkingCopyOwner owner)
          Returns a Java search scope limited to the hierarchy of the given type.
static IJavaSearchScope SearchEngine.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.
 void SearchEngine.search(IWorkspace workspace, IJavaElement element, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.search(IWorkspace workspace, ISearchPattern searchPattern, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.search(IWorkspace workspace, java.lang.String patternString, int searchFor, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, 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.
 void SearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, 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.
 void SearchEngine.searchAllTypeNames(char[] packageName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)
          Deprecated. Use SearchEngine.searchAllTypeNames(char[], char[], int, int, IJavaSearchScope, TypeNameRequestor, int, IProgressMonitor) instead
 void SearchEngine.searchAllTypeNames(char[] packageExactName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)
          Deprecated. Use SearchEngine.searchAllTypeNames(char[], int, char[], int, int, IJavaSearchScope, TypeNameRequestor, int, IProgressMonitor) instead
 void SearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, IProgressMonitor progressMonitor)
          Searches for all top-level types and member types in the given scope.
 void SearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)
          Searches for all top-level types and member types in the given scope.
 void SearchEngine.searchAllTypeNames(IWorkspace workspace, char[] packageName, char[] typeName, int matchMode, boolean isCaseSensitive, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)
          Deprecated. Use SearchEngine.searchAllTypeNames(char[], char[], int, int, IJavaSearchScope, ITypeNameRequestor, int, IProgressMonitor) instead
 void SearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the fields accessed in the given element.
 void SearchEngine.searchDeclarationsOfAccessedFields(IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.searchDeclarationsOfAccessedFields(IJavaElement, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the types referenced in the given element.
 void SearchEngine.searchDeclarationsOfReferencedTypes(IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the methods invoked in the given element.
 void SearchEngine.searchDeclarationsOfSentMessages(IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.searchDeclarationsOfSentMessages(IJavaElement, SearchRequestor, IProgressMonitor) instead.
 

Uses of JavaModelException in org.eclipse.jdt.core.util
 

Methods in org.eclipse.jdt.core.util that throw JavaModelException
static TextEdit CompilationUnitSorter.sort(CompilationUnit unit, java.util.Comparator comparator, int options, TextEditGroup group, IProgressMonitor monitor)
          Reorders the declarations in the given compilation unit according to the specified comparator.
static void CompilationUnitSorter.sort(ICompilationUnit compilationUnit, int[] positions, java.util.Comparator comparator, int options, IProgressMonitor monitor)
          Deprecated. Clients should port their code to use the new JLS3 AST API and call CompilationUnitSorter.sort(AST.JLS3, compilationUnit, positions, comparator, options, monitor) instead of using this method.
static void CompilationUnitSorter.sort(int level, ICompilationUnit compilationUnit, int[] positions, java.util.Comparator comparator, int options, IProgressMonitor monitor)
          Reorders the declarations in the given compilation unit according to the specified AST level.
 

Uses of JavaModelException in org.eclipse.jdt.internal.codeassist
 

Methods in org.eclipse.jdt.internal.codeassist that throw JavaModelException
protected  MethodBinding SelectionEngine.findOverriddenMethodInType(ReferenceBinding overriddenType, MethodBinding overriding)
           
 void SelectionEngine.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.eclipse.jdt.internal.codeassist.impl
 

Methods in org.eclipse.jdt.internal.codeassist.impl that throw JavaModelException
 java.lang.Object AssistInitializer.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistSourceType.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistSourceMethod.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistTypeParameter.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistPackageDeclaration.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistImportContainer.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistCompilationUnit.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistAnnotation.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistSourceField.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object AssistImportDeclaration.getElementInfo(IProgressMonitor monitor)
           
 java.lang.String AssistSourceType.getFullyQualifiedParameterizedName()
           
 boolean AssistCompilationUnit.hasChildren()
           
 

Uses of JavaModelException in org.eclipse.jdt.internal.compiler
 

Methods in org.eclipse.jdt.internal.compiler that throw JavaModelException
static int ExtraFlags.getExtraFlags(IType type)
           
 

Uses of JavaModelException in org.eclipse.jdt.internal.core
 

Methods in org.eclipse.jdt.internal.core that return JavaModelException
 JavaModelException JavaElement.newJavaModelException(IStatus status)
          Creates and returns a new Java model exception for this element with the given status.
 JavaModelException JavaElement.newNotPresentException()
          Creates and returns a new not present exception for this element.
 

Methods in org.eclipse.jdt.internal.core that throw JavaModelException
protected  void CopyPackageFragmentRootOperation.addEntryToClasspath(IClasspathEntry rootEntry, IWorkspaceRoot workspaceRoot)
           
protected  void JavaModelOperation.applyTextEdit(ICompilationUnit cu, TextEdit edits)
           
 UndoEdit CompilationUnit.applyTextEdit(TextEdit edit, IProgressMonitor monitor)
           
 void PackageFragmentRoot.attachSource(IPath sourcePath, IPath rootPath, IProgressMonitor monitor)
           
 void CompilationUnit.becomeWorkingCopy(IProblemRequestor problemRequestor, IProgressMonitor monitor)
           
 ICompilationUnit ClassFile.becomeWorkingCopy(IProblemRequestor problemRequestor, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 void CompilationUnit.becomeWorkingCopy(IProgressMonitor monitor)
           
protected abstract  boolean Openable.buildStructure(OpenableElementInfo info, IProgressMonitor pm, java.util.Map newElements, 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  boolean PackageFragmentRoot.buildStructure(OpenableElementInfo info, IProgressMonitor pm, java.util.Map newElements, IResource underlyingResource)
           
protected  boolean ClassFile.buildStructure(OpenableElementInfo info, IProgressMonitor pm, java.util.Map newElements, IResource underlyingResource)
          Creates the children elements for this class file adding the resulting new handles and info objects to the newElements table.
protected  boolean JavaProject.buildStructure(OpenableElementInfo info, IProgressMonitor pm, java.util.Map newElements, IResource underlyingResource)
           
protected  boolean PackageFragment.buildStructure(OpenableElementInfo info, IProgressMonitor pm, java.util.Map newElements, IResource underlyingResource)
           
protected  boolean CompilationUnit.buildStructure(OpenableElementInfo info, IProgressMonitor pm, java.util.Map newElements, IResource underlyingResource)
           
 TypeDeclaration BinaryTypeConverter.buildTypeDeclaration(IType type, CompilationUnitDeclaration compilationUnit)
          Convert a binary type into an AST type declaration and put it in the given compilation unit.
 TextEdit SortElementsOperation.calculateEdit(CompilationUnit unit, TextEditGroup group)
          Calculates the required text edits to sort the unit
 void DeltaProcessor.checkExternalArchiveChanges(IJavaElement[] elementsScope, IProgressMonitor monitor)
           
protected  void ChangeClasspathOperation.classpathChanged(ClasspathChange change, boolean refreshExternalFolder)
           
 void JavaProject.close()
           
 void JavaElement.close()
           
 void CompilationUnit.close()
           
protected  void SourceType.closing(java.lang.Object info)
           
protected  void SourceMethod.closing(java.lang.Object info)
           
protected  void BinaryType.closing(java.lang.Object info)
           
protected  void SourceRefElement.closing(java.lang.Object info)
          This element is being closed.
protected abstract  void JavaElement.closing(java.lang.Object info)
          This element is being closed.
 void SourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor)
           
 void BinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor)
           
 void SourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, IProgressMonitor monitor)
           
 void BinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, IProgressMonitor monitor)
           
 void SourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 void BinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, CompletionRequestor requestor, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 void SourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor)
          Deprecated.  
 void BinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor)
          Deprecated.  
 void SourceType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor, WorkingCopyOwner owner)
          Deprecated.  
 void BinaryType.codeComplete(char[] snippet, int insertion, int position, char[][] localVariableTypeNames, char[][] localVariableNames, int[] localVariableModifiers, boolean isStatic, ICompletionRequestor requestor, WorkingCopyOwner owner)
          Deprecated.  
protected  void Openable.codeComplete(ICompilationUnit cu, ICompilationUnit unitToSkip, int position, CompletionRequestor requestor, WorkingCopyOwner owner, ITypeRoot typeRoot, IProgressMonitor monitor)
           
 void ClassFile.codeComplete(int offset, CompletionRequestor requestor)
           
 void CompilationUnit.codeComplete(int offset, CompletionRequestor requestor)
           
 void ClassFile.codeComplete(int offset, CompletionRequestor requestor, IProgressMonitor monitor)
           
 void CompilationUnit.codeComplete(int offset, CompletionRequestor requestor, IProgressMonitor monitor)
           
 void ClassFile.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 void CompilationUnit.codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
 void ClassFile.codeComplete(int offset, ICodeCompletionRequestor requestor)
          Deprecated. - should use codeComplete(int, ICompletionRequestor) instead
 void CompilationUnit.codeComplete(int offset, ICodeCompletionRequestor requestor)
          Deprecated. - use codeComplete(int, ICompletionRequestor)
 void ClassFile.codeComplete(int offset, ICompletionRequestor requestor)
          Deprecated.  
 void CompilationUnit.codeComplete(int offset, ICompletionRequestor requestor)
          Deprecated.  
 void ClassFile.codeComplete(int offset, ICompletionRequestor requestor, WorkingCopyOwner owner)
          Deprecated.  
 void CompilationUnit.codeComplete(int offset, ICompletionRequestor requestor, WorkingCopyOwner workingCopyOwner)
          Deprecated.  
protected  IJavaElement[] Openable.codeSelect(ICompilationUnit cu, int offset, int length, WorkingCopyOwner owner)
           
 IJavaElement[] ClassFile.codeSelect(int offset, int length)
           
 IJavaElement[] CompilationUnit.codeSelect(int offset, int length)
           
 IJavaElement[] ClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner)
           
 IJavaElement[] CompilationUnit.codeSelect(int offset, int length, WorkingCopyOwner workingCopyOwner)
           
 void CompilationUnit.commit(boolean force, IProgressMonitor monitor)
          Deprecated.  
 void ClassFileWorkingCopy.commitWorkingCopy(boolean force, IProgressMonitor monitor)
           
 void CompilationUnit.commitWorkingCopy(boolean force, IProgressMonitor monitor)
           
protected  boolean PackageFragmentRoot.computeChildren(OpenableElementInfo info, IResource underlyingResource)
          Compute the package fragment children of this package fragment root.
protected  boolean JarPackageFragmentRoot.computeChildren(OpenableElementInfo info, IResource underlyingResource)
          Compute the package fragment children of this package fragment root.
protected  void PackageFragmentRoot.computeFolderChildren(IContainer folder, boolean isIncluded, java.lang.String[] pkgName, java.util.ArrayList vChildren, char[][] inclusionPatterns, char[][] exclusionPatterns)
          Starting at this folder, create package fragments and add the fragments that are not exclused to the collection of children.
 IPackageFragmentRoot[] JavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, java.util.Map rootToResolvedEntries)
          Returns (local/all) the package fragment roots identified by the given project's classpath.
 void JavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, java.util.HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, java.util.Map rootToResolvedEntries)
          Returns (local/all) the package fragment roots identified by the given project's classpath.
 void JavaProject.computePackageFragmentRoots(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, java.util.HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, java.util.Map rootToResolvedEntries)
          Returns the package fragment roots identified by the given entry.
 boolean PackageFragment.containsJavaResources()
          Returns true if this fragment contains at least one java resource.
protected  IClasspathEntry CopyPackageFragmentRootOperation.copy(IClasspathEntry entry)
           
 void JavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
 void BinaryMember.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void SourceRefElement.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void PackageFragment.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void CompilationUnit.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void PackageFragmentRoot.copy(IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, IProgressMonitor monitor)
           
protected  void CopyPackageFragmentRootOperation.copyResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, IWorkspaceRoot workspaceRoot)
           
protected  void JavaModelOperation.copyResources(IResource[] resources, IPath container)
          Convenience method to copy resources
 ICompilationUnit PackageFragment.createCompilationUnit(java.lang.String cuName, java.lang.String contents, boolean force, IProgressMonitor monitor)
           
 IField SourceType.createField(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IField BinaryType.createField(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
protected  void JavaModelOperation.createFile(IContainer folder, java.lang.String name, java.io.InputStream contents, boolean forceFlag)
          Convenience method to create a file
protected  void JavaModelOperation.createFolder(IContainer parentFolder, java.lang.String name, boolean forceFlag)
          Convenience method to create a folder
 IImportDeclaration CompilationUnit.createImport(java.lang.String importName, IJavaElement sibling, int flags, IProgressMonitor monitor)
           
 IImportDeclaration CompilationUnit.createImport(java.lang.String importName, IJavaElement sibling, IProgressMonitor monitor)
           
 IInitializer SourceType.createInitializer(java.lang.String contents, IJavaElement sibling, IProgressMonitor monitor)
           
 IInitializer BinaryType.createInitializer(java.lang.String contents, IJavaElement sibling, IProgressMonitor monitor)
           
 IMethod SourceType.createMethod(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IMethod BinaryType.createMethod(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IPackageDeclaration CompilationUnit.createPackageDeclaration(java.lang.String pkg, IProgressMonitor monitor)
           
 IPackageFragment PackageFragmentRoot.createPackageFragment(java.lang.String pkgName, boolean force, IProgressMonitor monitor)
           
 void ExternalFoldersManager.createPendingFolders(IProgressMonitor monitor)
           
 IType SourceType.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IType BinaryType.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IType CompilationUnit.createType(java.lang.String content, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 void SourceRefElement.delete(boolean force, IProgressMonitor monitor)
           
 void PackageFragment.delete(boolean force, IProgressMonitor monitor)
           
 void CompilationUnit.delete(boolean force, IProgressMonitor monitor)
           
 void JavaModel.delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor)
           
 void PackageFragmentRoot.delete(int updateResourceFlags, int updateModelFlags, IProgressMonitor monitor)
           
protected  void JavaModelOperation.deleteEmptyPackageFragment(IPackageFragment fragment, boolean forceFlag, IResource rootResource)
          Convenience method to delete an empty package fragment
protected  void DeletePackageFragmentRootOperation.deleteResource(IPackageFragmentRoot root, IClasspathEntry rootEntry)
           
protected  void JavaModelOperation.deleteResource(IResource resource, int flags)
          Convenience method to delete a resource
protected  void JavaModelOperation.deleteResources(IResource[] resources, boolean forceFlag)
          Convenience method to delete resources
protected  int PackageFragmentRoot.determineKind(IResource underlyingResource)
          Returns the root's kind - K_SOURCE or K_BINARY, defaults to K_SOURCE if it is not on the classpath.
 int JavaModelManager.discardPerWorkingCopyInfo(CompilationUnit workingCopy)
           
 void CompilationUnit.discardWorkingCopy()
           
protected  java.lang.String JavaProject.encodeClasspath(IClasspathEntry[] classpath, IClasspathEntry[] referencedEntries, IPath outputLocation, boolean indent, java.util.Map unknownElements)
          Returns the XML String encoding of the class path.
protected  void MultiOperation.error(int code, IJavaElement element)
          Convenience method to create a JavaModelException embending a JavaModelStatus.
 void JavaModelOperation.executeNestedOperation(JavaModelOperation operation, int subWorkAmount)
          Convenience method to run an operation within this operation
protected  void MultiOperation.executeOperation()
          Executes the operation.
protected  void SetVariablesOperation.executeOperation()
           
protected  void CopyPackageFragmentRootOperation.executeOperation()
           
protected  void DiscardWorkingCopyOperation.executeOperation()
           
protected  void SortElementsOperation.executeOperation()
           
protected  void BecomeWorkingCopyOperation.executeOperation()
           
protected  void CreatePackageFragmentOperation.executeOperation()
          Execute the operation - creates the new package fragment and any side effect package fragments.
protected  void MovePackageFragmentRootOperation.executeOperation()
           
protected  void SetContainerOperation.executeOperation()
           
protected  void CommitWorkingCopyOperation.executeOperation()
           
protected  void BatchOperation.executeOperation()
           
protected  void ReconcileWorkingCopyOperation.executeOperation()
           
protected  void CreateElementInCUOperation.executeOperation()
          Execute the operation - generate new source for the compilation unit and save the results.
protected abstract  void JavaModelOperation.executeOperation()
          Performs the operation specific behavior.
protected  void SetClasspathOperation.executeOperation()
          Sets the classpath of the pre-specified project.
protected  void CreateCompilationUnitOperation.executeOperation()
          Creates a compilation unit.
protected  void DeletePackageFragmentRootOperation.executeOperation()
           
protected  void CreateTypeHierarchyOperation.executeOperation()
          Performs the operation - creates the type hierarchy
 IJavaElement JavaProject.findElement(IPath path)
           
 IJavaElement JavaProject.findElement(IPath path, WorkingCopyOwner owner)
           
 IPackageFragment JavaProject.findPackageFragment(IPath path)
           
 IJavaElement JavaProject.findPackageFragment(java.lang.String packageName)
           
 IPackageFragmentRoot JavaProject.findPackageFragmentRoot(IPath path)
           
 IPackageFragmentRoot JavaProject.findPackageFragmentRoot0(IPath path)
           
 java.lang.String Openable.findRecommendedLineSeparator()
           
 IType JavaProject.findType(java.lang.String fullyQualifiedName)
           
 IType JavaProject.findType(java.lang.String fullyQualifiedName, IProgressMonitor progressMonitor)
           
 IType JavaProject.findType(java.lang.String packageName, java.lang.String typeQualifiedName, IProgressMonitor progressMonitor)
           
 IType JavaProject.findType(java.lang.String packageName, java.lang.String typeQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor)
           
 IType JavaProject.findType(java.lang.String fullyQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor)
           
protected  ASTNode CreateTypeOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected  ASTNode CreateFieldOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected  ASTNode CreateImportOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected  ASTNode CreateInitializerOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected  ASTNode CreateMethodOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected  ASTNode CreateTypeMemberOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected abstract  ASTNode CreateElementInCUOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected  ASTNode CreatePackageDeclarationOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu)
           
protected  void Openable.generateInfos(java.lang.Object info, java.util.HashMap newElements, IProgressMonitor monitor)
           
protected  void SourceRefElement.generateInfos(java.lang.Object info, java.util.HashMap newElements, IProgressMonitor pm)
           
protected abstract  void JavaElement.generateInfos(java.lang.Object info, java.util.HashMap newElements, 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  void CreateElementInCUOperation.generateNewCompilationUnitAST(ICompilationUnit cu)
           
 IPackageFragmentRoot[] JavaProject.getAllPackageFragmentRoots()
           
 IPackageFragmentRoot[] JavaProject.getAllPackageFragmentRoots(java.util.Map rootToResolvedEntries)
           
 IType[] CompilationUnit.getAllTypes()
           
 IAnnotation[] SourceType.getAnnotations()
           
 IAnnotation[] LocalVariable.getAnnotations()
           
 IAnnotation[] BinaryType.getAnnotations()
           
 IAnnotation[] SourceRefElement.getAnnotations()
           
 java.lang.String ClassFile.getAttachedJavadoc(IProgressMonitor monitor)
           
 java.lang.String BinaryType.getAttachedJavadoc(IProgressMonitor monitor)
           
 java.lang.String JavaElement.getAttachedJavadoc(IProgressMonitor monitor)
           
 java.lang.String PackageFragment.getAttachedJavadoc(IProgressMonitor monitor)
           
 IBinaryType ClassFile.getBinaryTypeInfo(IFile file)
          Returns the ClassFileReaderspecific for this IClassFile, based on its underlying resource, or null if unable to create the diet class file.
 IBinaryType ClassFile.getBinaryTypeInfo(IFile file, boolean fullyInitialize)
           
 java.lang.String[] TypeParameter.getBounds()
           
 java.lang.String[] TypeParameter.getBoundsSignatures()
           
 IBuffer 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.
 IBuffer ClassFile.getBuffer()
           
 IBuffer ClassFileWorkingCopy.getBuffer()
           
 byte[] ClassFile.getBytes()
           
 java.lang.String[] BinaryMember.getCategories()
           
 java.lang.String[] Member.getCategories()
           
 IJavaElement[] BinaryType.getChildren()
           
 IJavaElement[] JavaElement.getChildren()
           
 IJavaElement[] SourceType.getChildrenForCategory(java.lang.String category)
           
 IJavaElement[] BinaryType.getChildrenForCategory(java.lang.String category)
           
 java.util.ArrayList JavaElement.getChildrenOfType(int type)
          Returns a collection of (immediate) children of this node of the specified type.
protected  org.eclipse.jdt.internal.core.ClassFileInfo BinaryType.getClassFileInfo()
           
 IClassFile[] PackageFragment.getClassFiles()
          Returns a the collection of class files in this - a folder package fragment which has a root that has its kind set to IPackageFragmentRoot.K_Source does not recognize class files.
 IClasspathContainer JavaModelManager.getClasspathContainer(IPath containerPath, IJavaProject project)
           
 IClasspathEntry JavaProject.getClasspathEntryFor(IPath path)
          Returns the classpath entry that refers to the given path or null if there is no reference to the path.
 ICompilationUnit[] PackageFragment.getCompilationUnits()
           
 java.lang.Object SourceField.getConstant()
           
 IResource Openable.getCorrespondingResource()
          Return my underlying resource.
 IResource ClassFile.getCorrespondingResource()
          A class file has a corresponding resource unless it is contained in a jar.
 IResource SourceRefElement.getCorrespondingResource()
          Elements within compilation units and class files have no corresponding resource.
 IResource CompilationUnit.getCorrespondingResource()
          A compilation unit has a corresponding resource unless it is contained in a jar.
 IMemberValuePair SourceMethod.getDefaultValue()
           
protected  IDocument JavaModelOperation.getDocument(ICompilationUnit cu)
           
 IJavaElement ClassFile.getElementAt(int position)
           
 IJavaElement CompilationUnit.getElementAt(int position)
           
 IJavaElement ClassFile.getElementAtConsideringSibling(int position)
           
 java.lang.Object JavaElement.getElementInfo()
          Returns the info for this handle.
 java.lang.Object BinaryType.getElementInfo(IProgressMonitor monitor)
           
 java.lang.Object JavaElement.getElementInfo(IProgressMonitor monitor)
          Returns the info for this handle.
 java.lang.String[] SourceMethod.getExceptionTypes()
           
 IClasspathEntry[] 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.
 java.lang.String JavadocContents.getFieldDoc(IField child)
           
 IField[] SourceType.getFields()
           
 IField[] BinaryType.getFields()
           
 int ImportDeclaration.getFlags()
           
 int BinaryType.getFlags()
           
 int Member.getFlags()
           
 java.lang.String NamedMember.getFullyQualifiedName(char enclosingTypeSeparator, boolean showParameters)
           
 java.lang.String SourceType.getFullyQualifiedParameterizedName()
           
 java.lang.String BinaryType.getFullyQualifiedParameterizedName()
           
 java.lang.String ResolvedBinaryType.getFullyQualifiedParameterizedName()
           
 java.lang.String ResolvedSourceType.getFullyQualifiedParameterizedName()
           
protected  java.lang.String NamedMember.getFullyQualifiedParameterizedName(java.lang.String fullyQualifiedName, java.lang.String uniqueKey)
           
 IImportDeclaration[] CompilationUnit.getImports()
           
 IInitializer[] SourceType.getInitializers()
           
protected  java.net.URL JavaElement.getJavadocBaseLocation()
           
 JavadocContents BinaryType.getJavadocContents(IProgressMonitor monitor)
           
 ISourceRange Member.getJavadocRange()
           
protected  org.eclipse.jdt.internal.core.JavaProjectElementInfo JavaProject.getJavaProjectElementInfo()
          Convenience method that returns the specific type of info for a Java project.
 IJavaProject[] JavaModel.getJavaProjects()
           
abstract  java.lang.String BinaryMember.getKey(boolean forceOpen)
           
 java.lang.String BinaryType.getKey(boolean forceOpen)
           
protected  java.lang.String NamedMember.getKey(IField field, boolean forceOpen)
           
protected  java.lang.String NamedMember.getKey(IMethod method, boolean forceOpen)
           
protected  java.lang.String NamedMember.getKey(IType type, boolean forceOpen)
           
 int PackageFragmentRoot.getKind()
           
 int PackageFragment.getKind()
           
protected static java.net.URL JavaElement.getLibraryJavadocLocation(IClasspathEntry entry)
           
 IMemberValuePair[] Annotation.getMemberValuePairs()
           
 java.lang.String JavadocContents.getMethodDoc(IMethod child)
           
 IMethod[] SourceType.getMethods()
           
 IMethod[] BinaryType.getMethods()
           
 ISourceRange ImportDeclaration.getNameRange()
           
 ISourceRange BinaryMember.getNameRange()
           
 ISourceRange Member.getNameRange()
           
 ISourceRange TypeParameter.getNameRange()
           
 ISourceRange PackageDeclaration.getNameRange()
           
 ISourceRange Annotation.getNameRange()
           
protected  IPath[] JavaModelOperation.getNestedFolders(IPackageFragmentRoot root)
           
protected  java.lang.String MultiOperation.getNewNameFor(IJavaElement element)
          Returns the new name for element, or null if there are no renamings specified.
 java.lang.Object[] JavaModel.getNonJavaResources()
           
 java.lang.Object[] PackageFragmentRoot.getNonJavaResources()
          Returns an array of non-java resources contained in the receiver.
 java.lang.Object[] JavaProject.getNonJavaResources()
          Returns an array of non-java resources contained in the receiver.
 java.lang.Object[] PackageFragment.getNonJavaResources()
          Returns an array of non-java resources contained in the receiver.
 java.lang.Object[] JarPackageFragmentRoot.getNonJavaResources()
          Returns an array of non-java resources contained in the receiver.
 IPath JavaProject.getOutputLocation()
           
 IPackageDeclaration[] CompilationUnit.getPackageDeclarations()
           
 IPackageFragmentRoot[] JavaProject.getPackageFragmentRoots()
           
 IPackageFragment[] JavaProject.getPackageFragments()
           
 java.lang.String[] SourceMethod.getParameterNames()
           
 ILocalVariable[] SourceMethod.getParameters()
           
 JavaModelManager.PerProjectInfo JavaProject.getPerProjectInfo()
           
 JavaModelManager.PerProjectInfo JavaModelManager.getPerProjectInfoCheckExistence(IProject project)
           
 org.eclipse.jdt.internal.core.JavaProjectElementInfo.ProjectCache JavaProject.getProjectCache()
           
 IClasspathEntry[] JavaProject.getRawClasspath()
           
 IClasspathEntry PackageFragmentRoot.getRawClasspathEntry()
           
 java.lang.String[] SourceMethod.getRawParameterNames()
           
 IClasspathEntry[] JavaProject.getReferencedClasspathEntries()
           
 java.lang.String[] JavaProject.getRequiredProjectNames()
           
 IClasspathEntry[] JavaProject.getResolvedClasspath()
           
 IClasspathEntry[] JavaProject.getResolvedClasspath(boolean ignoreUnresolvedEntry)
           
 IClasspathEntry PackageFragmentRoot.getResolvedClasspathEntry()
           
 java.lang.String SourceMethod.getReturnType()
           
 IJavaElement CompilationUnit.getSharedWorkingCopy(IProgressMonitor pm, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated.  
 java.lang.String SourceMethod.getSignature()
           
 java.lang.String LocalVariable.getSource()
           
 java.lang.String ClassFile.getSource()
           
 java.lang.String SourceRefElement.getSource()
           
 java.lang.String CompilationUnit.getSource()
           
 IPath PackageFragmentRoot.getSourceAttachmentPath()
           
 IPath PackageFragmentRoot.getSourceAttachmentRootPath()
           
protected  IJavaElement JavaElement.getSourceElementAt(int position)
          Returns the element that is located at the given source position in this element.
 ISourceRange LocalVariable.getSourceRange()
          Returns the source range associated with this element.
 ISourceRange ImportContainer.getSourceRange()
           
 ISourceRange BinaryMember.getSourceRange()
           
 ISourceRange ClassFile.getSourceRange()
           
 ISourceRange TypeParameter.getSourceRange()
           
 ISourceRange SourceRefElement.getSourceRange()
           
 ISourceRange CompilationUnit.getSourceRange()
           
 ISourceRange Annotation.getSourceRange()
           
 java.lang.String SourceType.getSuperclassName()
           
 java.lang.String BinaryType.getSuperclassName()
           
 java.lang.String SourceType.getSuperclassTypeSignature()
           
 java.lang.String BinaryType.getSuperclassTypeSignature()
           
 java.lang.String[] SourceType.getSuperInterfaceNames()
           
 java.lang.String[] BinaryType.getSuperInterfaceNames()
           
 java.lang.String[] SourceType.getSuperInterfaceTypeSignatures()
           
 java.lang.String[] BinaryType.getSuperInterfaceTypeSignatures()
           
 java.lang.String JavadocContents.getTypeDoc()
           
 ITypeParameter[] SourceType.getTypeParameters()
           
 ITypeParameter[] SourceMethod.getTypeParameters()
           
 ITypeParameter[] BinaryType.getTypeParameters()
           
protected  ITypeParameter[] NamedMember.getTypeParameters()
           
 java.lang.String[] SourceType.getTypeParameterSignatures()
           
 java.lang.String[] SourceMethod.getTypeParameterSignatures()
          Deprecated.  
 java.lang.String[] BinaryType.getTypeParameterSignatures()
           
 java.lang.String NamedMember.getTypeQualifiedName(char enclosingTypeSeparator, boolean showParameters)
           
 IType[] SourceType.getTypes()
           
 IType[] BinaryType.getTypes()
           
 IType[] CompilationUnit.getTypes()
           
 java.lang.String SourceField.getTypeSignature()
           
 IResource LocalVariable.getUnderlyingResource()
           
 IResource Openable.getUnderlyingResource()
           
 IResource PackageFragmentRoot.getUnderlyingResource()
           
 IResource SourceRefElement.getUnderlyingResource()
           
 IResource JavaProject.getUnderlyingResource()
           
 IResource PackageFragment.getUnderlyingResource()
           
 IResource ExternalPackageFragmentRoot.getUnderlyingResource()
           
 IResource CompilationUnit.getUnderlyingResource()
           
 IResource JarPackageFragmentRoot.getUnderlyingResource()
           
protected  java.lang.String JavaElement.getURLContents(java.lang.String docUrlValue)
           
 IJavaElement CompilationUnit.getWorkingCopy()
          Deprecated.  
 ICompilationUnit CompilationUnit.getWorkingCopy(IProgressMonitor monitor)
           
 IJavaElement ClassFile.getWorkingCopy(IProgressMonitor monitor, IBufferFactory factory)
          Deprecated.  
 IJavaElement CompilationUnit.getWorkingCopy(IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated.  
 ICompilationUnit CompilationUnit.getWorkingCopy(WorkingCopyOwner workingCopyOwner, IProblemRequestor problemRequestor, IProgressMonitor monitor)
          Deprecated.  
 ICompilationUnit ClassFile.getWorkingCopy(WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ICompilationUnit CompilationUnit.getWorkingCopy(WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
protected  void DeleteElementsOperation.groupElements()
          Groups the elements to be processed by their compilation unit.
 boolean PackageFragmentRoot.hasChildren()
           
 boolean SourceRefElement.hasChildren()
           
 boolean JavaElement.hasChildren()
           
 boolean PackageFragment.hasChildren()
           
 boolean PackageFragment.hasSubpackages()
           
 boolean Openable.hasUnsavedChanges()
           
protected  void CreateElementInCUOperation.insertASTNode(ASTRewrite rewriter, ASTNode parent, ASTNode child)
          Inserts the given child into the given AST, based on the position settings of this operation.
 boolean SourceType.isAnnotation()
           
 boolean BinaryType.isAnnotation()
           
 boolean BinaryType.isAnonymous()
           
 boolean SourceType.isClass()
           
 boolean ClassFile.isClass()
           
 boolean BinaryType.isClass()
           
 boolean SourceMethod.isConstructor()
           
 boolean SourceType.isEnum()
           
 boolean BinaryType.isEnum()
           
 boolean SourceField.isEnumConstant()
           
 boolean SourceType.isInterface()
           
 boolean ClassFile.isInterface()
           
 boolean BinaryType.isInterface()
           
 boolean BinaryType.isLocal()
           
 boolean SourceMethod.isMainMethod()
           
protected  boolean Member.isMainMethod(IMethod method)
           
 boolean BinaryType.isMember()
           
protected  boolean CopyElementsOperation.isRenamingMainType(IJavaElement element, IJavaElement dest)
          Returns true if this element is the main type of its compilation unit.
 boolean LocalVariable.isStructureKnown()
           
 boolean BinaryMember.isStructureKnown()
           
 boolean Openable.isStructureKnown()
           
 boolean SourceRefElement.isStructureKnown()
           
 ITypeHierarchy SourceType.loadTypeHierachy(java.io.InputStream input, IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.loadTypeHierachy(java.io.InputStream input, IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.loadTypeHierachy(java.io.InputStream input, WorkingCopyOwner owner, 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.
 ITypeHierarchy BinaryType.loadTypeHierachy(java.io.InputStream input, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 CompilationUnit ReconcileWorkingCopyOperation.makeConsistent(CompilationUnit workingCopy)
           
 CompilationUnit CompilationUnit.makeConsistent(int astLevel, boolean resolveBindings, int reconcileFlags, java.util.HashMap problems, IProgressMonitor monitor)
           
 void Openable.makeConsistent(IProgressMonitor monitor)
           
 void CompilationUnit.makeConsistent(IProgressMonitor monitor)
           
 void JavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
 void BinaryMember.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void SourceRefElement.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void PackageFragment.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void CompilationUnit.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void PackageFragmentRoot.move(IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, IProgressMonitor monitor)
           
protected  void MovePackageFragmentRootOperation.moveResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, IWorkspaceRoot workspaceRoot)
           
protected  void JavaModelOperation.moveResources(IResource[] resources, IPath container)
          Convenience method to move resources
 NameLookup JavaProject.newNameLookup(ICompilationUnit[] workingCopies)
           
 NameLookup JavaProject.newNameLookup(WorkingCopyOwner owner)
           
 SearchableEnvironment JavaProject.newSearchableNameEnvironment(ICompilationUnit[] workingCopies)
           
 SearchableEnvironment JavaProject.newSearchableNameEnvironment(WorkingCopyOwner owner)
           
 ITypeHierarchy SourceType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.newSupertypeHierarchy(IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newSupertypeHierarchy(IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.newSupertypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)
          Deprecated.  
 ITypeHierarchy BinaryType.newSupertypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)
          Deprecated.  
 ITypeHierarchy SourceType.newSupertypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newSupertypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.newTypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newTypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.newTypeHierarchy(IJavaProject project, IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newTypeHierarchy(IJavaProject project, IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newTypeHierarchy(IJavaProject project, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.newTypeHierarchy(IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newTypeHierarchy(IProgressMonitor monitor)
          Deprecated.  
 ITypeHierarchy JavaProject.newTypeHierarchy(IRegion region, IProgressMonitor monitor)
           
 ITypeHierarchy JavaProject.newTypeHierarchy(IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ITypeHierarchy JavaProject.newTypeHierarchy(IType type, IRegion region, IProgressMonitor monitor)
           
 ITypeHierarchy JavaProject.newTypeHierarchy(IType type, IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ITypeHierarchy SourceType.newTypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)
          Deprecated.  
 ITypeHierarchy BinaryType.newTypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor)
          Deprecated.  
 ITypeHierarchy SourceType.newTypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)
           
 ITypeHierarchy BinaryType.newTypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)
           
 void Openable.open(IProgressMonitor pm)
           
protected  void Openable.openAncestors(java.util.HashMap newElements, IProgressMonitor monitor)
           
protected  void CompilationUnit.openAncestors(java.util.HashMap newElements, IProgressMonitor monitor)
           
protected  IBuffer Openable.openBuffer(IProgressMonitor pm, java.lang.Object info)
          Opens a buffer on the contents of this element, and returns the buffer, or returns null if opening fails.
protected  IBuffer ClassFile.openBuffer(IProgressMonitor pm, java.lang.Object info)
          Opens and returns buffer on the source code associated with this class file.
protected  IBuffer ClassFileWorkingCopy.openBuffer(IProgressMonitor pm, java.lang.Object info)
           
protected  IBuffer CompilationUnit.openBuffer(IProgressMonitor pm, java.lang.Object info)
           
protected  java.lang.Object JavaElement.openWhenClosed(java.lang.Object info, boolean forceAdd, IProgressMonitor monitor)
           
protected  CompilationUnit CreateElementInCUOperation.parse(ICompilationUnit cu)
           
static CompilationUnitDeclaration CompilationUnitProblemFinder.process(CompilationUnit unitElement, SourceElementParser parser, WorkingCopyOwner workingCopyOwner, java.util.HashMap problems, boolean creatingAST, int reconcileFlags, IProgressMonitor monitor)
           
static CompilationUnitDeclaration CompilationUnitProblemFinder.process(CompilationUnit unitElement, WorkingCopyOwner workingCopyOwner, java.util.HashMap problems, boolean creatingAST, int reconcileFlags, IProgressMonitor monitor)
           
protected abstract  void MultiOperation.processElement(IJavaElement element)
          Subclasses must implement this method to process a given IJavaElement.
protected  void DeleteElementsOperation.processElement(IJavaElement element)
          Deletes this element from its compilation unit.
protected  void DeleteResourceElementsOperation.processElement(IJavaElement element)
           
protected  void CopyResourceElementsOperation.processElement(IJavaElement element)
           
protected  void CopyElementsOperation.processElement(IJavaElement element)
          Copy/move the element from the source to destination, renaming the elements as specified, honoring the collision policy.
protected  void MultiOperation.processElements()
          Processes all the IJavaElements in turn, collecting errors and updating the progress monitor.
protected  void DeleteElementsOperation.processElements()
           
protected  void CopyResourceElementsOperation.processElements()
           
 java.lang.String[] JavaProject.projectPrerequisites(IClasspathEntry[] resolvedClasspath)
           
 IMarker[] CompilationUnit.reconcile()
          Deprecated.  
 void CompilationUnit.reconcile(boolean forceProblemDetection, IProgressMonitor monitor)
           
 CompilationUnit CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
 CompilationUnit CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
 CompilationUnit CompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner workingCopyOwner, IProgressMonitor monitor)
           
 void JavaModel.refreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor monitor)
           
protected  void MovePackageFragmentRootOperation.removeEntryFromClasspath(IPath rootPath, IJavaProject project)
           
 java.lang.Object JavaModelManager.removeInfoAndChildren(JavaElement element)
           
 void JavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
 void BinaryMember.rename(java.lang.String newName, boolean force, IProgressMonitor monitor)
           
 void SourceRefElement.rename(java.lang.String newName, boolean force, IProgressMonitor monitor)
           
 void PackageFragment.rename(java.lang.String newName, boolean force, IProgressMonitor monitor)
           
 void CompilationUnit.rename(java.lang.String newName, boolean force, IProgressMonitor monitor)
           
 void Initializer.rename(java.lang.String newName, boolean force, IProgressMonitor monitor)
           
protected  void MovePackageFragmentRootOperation.renameEntryInClasspath(IPath rootPath, IJavaProject project)
           
 IClasspathEntry[] JavaProject.resolveClasspath(IClasspathEntry[] rawClasspath)
           
 org.eclipse.jdt.internal.core.JavaProject.ResolvedClasspath JavaProject.resolveClasspath(IClasspathEntry[] rawClasspath, boolean usePreviousSession, boolean resolveChainedLibraries)
           
 org.eclipse.jdt.internal.core.JavaProject.ResolvedClasspath JavaProject.resolveClasspath(IClasspathEntry[] rawClasspath, IClasspathEntry[] referencedEntries, boolean usePreviousSession, boolean resolveChainedLibraries)
           
 void JavaProject.resolveClasspath(JavaModelManager.PerProjectInfo perProjectInfo, boolean usePreviousSession, boolean addClasspathChange)
           
 java.lang.String[][] NamedMember.resolveType(java.lang.String typeName)
           
 java.lang.String[][] NamedMember.resolveType(java.lang.String typeName, WorkingCopyOwner owner)
           
 void CompilationUnit.restore()
           
 void JavaModelOperation.IPostAction.run()
           
 void JavaModelOperation.runOperation(IProgressMonitor monitor)
          Main entry point for Java Model operations.
protected  void JavaModel.runOperation(MultiOperation op, IJavaElement[] elements, IJavaElement[] siblings, java.lang.String[] renamings, IProgressMonitor monitor)
          Configures and runs the MultiOperation.
protected  void JavaModelOperation.runPostActions()
           
 void Buffer.save(IProgressMonitor progress, boolean force)
           
 void Openable.save(IProgressMonitor pm, boolean force)
           
 void CompilationUnit.save(IProgressMonitor pm, boolean force)
           
 java.util.Map JavaModelManager.secondaryTypes(IJavaProject project, boolean waitForIndexes, IProgressMonitor monitor)
          Get all secondary types for a project and store result in per project info cache.
protected  void JavaModelManager.setBuildOrder(java.lang.String[] javaBuildOrder)
          Record the order in which to build the java projects (batch build).
 void BinaryMember.setContents(java.lang.String contents, IProgressMonitor monitor)
           
 void JavaProject.setOutputLocation(IPath path, IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] entries, boolean canModifyResources, IProgressMonitor monitor)
           
protected  void JavaProject.setRawClasspath(IClasspathEntry[] newRawClasspath, IClasspathEntry[] referencedEntries, IPath newOutputLocation, boolean canModifyResources, IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] entries, IClasspathEntry[] referencedEntries, IPath outputLocation, IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] newRawClasspath, IPath newOutputLocation, boolean canModifyResources, IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] entries, IPath outputLocation, IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] entries, IProgressMonitor monitor)
           
 void PackageFragmentRoot.setSourceMapper(SourceMapper mapper)
          For use by AttachSourceOperation only.
 void ExternalFolderChange.updateExternalFoldersIfNecessary(boolean refreshIfExistAlready, IProgressMonitor monitor)
           
protected  void DeletePackageFragmentRootOperation.updateProjectClasspath(IPath rootPath, IJavaProject project, java.util.Map oldRoots)
           
 void ProjectReferenceChange.updateProjectReferencesIfNecessary()
           
protected  void MovePackageFragmentRootOperation.updateReferringProjectClasspaths(IPath rootPath, IJavaProject projectOfRoot)
           
protected  void DeletePackageFragmentRootOperation.updateReferringProjectClasspaths(IPath rootPath, IJavaProject projectOfRoot, java.util.Map oldRoots)
           
protected  void CompilationUnit.updateTimeStamp(CompilationUnit original)
           
static void JavaProject.validateCycles(java.util.Map preferredClasspaths)
           
protected abstract  void MultiOperation.verify(IJavaElement element)
          This method is called for each IJavaElement before processElement.
protected  void RenameResourceElementsOperation.verify(IJavaElement element)
           
protected  void DeleteElementsOperation.verify(IJavaElement element)
           
protected  void DeleteResourceElementsOperation.verify(IJavaElement element)
           
protected  void RenameElementsOperation.verify(IJavaElement element)
           
protected  void CopyResourceElementsOperation.verify(IJavaElement element)
           
protected  void CopyElementsOperation.verify(IJavaElement element)
           
protected  void PackageFragmentRoot.verifyAttachSource(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 path
protected  void MultiOperation.verifyDestination(IJavaElement element, IJavaElement destination)
          Verifies that the destination specified for the element is valid for the types of the element and destination.
protected  void MultiOperation.verifyRenaming(IJavaElement element)
          Verify that the new name specified for element is valid for that type of Java element.
protected  void MultiOperation.verifySibling(IJavaElement element, IJavaElement destination)
          Verifies that the positioning sibling specified for the element is exists and its parent is the destination container of this element.
 boolean JavaModelManager.PerProjectInfo.writeAndCacheClasspath(JavaProject javaProject, IClasspathEntry[] newRawClasspath, IClasspathEntry[] newReferencedEntries, IPath newOutputLocation)
           
 boolean JavaModelManager.PerProjectInfo.writeAndCacheClasspath(JavaProject javaProject, IClasspathEntry[] newRawClasspath, IPath newOutputLocation)
           
 boolean JavaProject.writeFileEntries(IClasspathEntry[] newClasspath, IClasspathEntry[] referencedEntries, 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.
 boolean JavaProject.writeFileEntries(IClasspathEntry[] newClasspath, IPath newOutputLocation)
           
 

Constructors in org.eclipse.jdt.internal.core that throw JavaModelException
CancelableNameEnvironment(JavaProject project, WorkingCopyOwner owner, IProgressMonitor monitor)
           
SearchableEnvironment(JavaProject project, ICompilationUnit[] workingCopies)
          Creates a SearchableEnvironment on the given project
SearchableEnvironment(JavaProject project, WorkingCopyOwner owner)
          Creates a SearchableEnvironment on the given project
 

Uses of JavaModelException in org.eclipse.jdt.internal.core.builder
 

Methods in org.eclipse.jdt.internal.core.builder that throw JavaModelException
protected  boolean AbstractImageBuilder.isExcludedFromProject(IPath childPath)
           
 

Uses of JavaModelException in org.eclipse.jdt.internal.core.dom.rewrite
 

Methods in org.eclipse.jdt.internal.core.dom.rewrite that throw JavaModelException
 MultiTextEdit ImportRewriteAnalyzer.getResultingEdits(IProgressMonitor monitor)
           
 

Uses of JavaModelException in org.eclipse.jdt.internal.core.eval
 

Methods in org.eclipse.jdt.internal.core.eval that throw JavaModelException
 void EvaluationContextWrapper.codeComplete(java.lang.String codeSnippet, int position, CompletionRequestor requestor)
           
 void EvaluationContextWrapper.codeComplete(java.lang.String codeSnippet, int position, CompletionRequestor requestor, IProgressMonitor monitor)
           
 void EvaluationContextWrapper.codeComplete(java.lang.String codeSnippet, int position, CompletionRequestor requestor, WorkingCopyOwner owner, IProgressMonitor monitor)
           
 void EvaluationContextWrapper.codeComplete(java.lang.String codeSnippet, int position, ICodeCompletionRequestor requestor)
          Deprecated. - use codeComplete(String, int, ICompletionRequestor) instead
 void EvaluationContextWrapper.codeComplete(java.lang.String codeSnippet, int position, ICompletionRequestor requestor)
          Deprecated.  
 void EvaluationContextWrapper.codeComplete(java.lang.String codeSnippet, int position, ICompletionRequestor requestor, WorkingCopyOwner owner)
          Deprecated.  
 IJavaElement[] EvaluationContextWrapper.codeSelect(java.lang.String codeSnippet, int offset, int length)
           
 IJavaElement[] EvaluationContextWrapper.codeSelect(java.lang.String codeSnippet, int offset, int length, WorkingCopyOwner owner)
           
 void EvaluationContextWrapper.evaluateCodeSnippet(java.lang.String codeSnippet, ICodeSnippetRequestor requestor, IProgressMonitor progressMonitor)
           
 void EvaluationContextWrapper.evaluateCodeSnippet(java.lang.String codeSnippet, java.lang.String[] localVariableTypeNames, java.lang.String[] localVariableNames, int[] localVariableModifiers, IType declaringType, boolean isStatic, boolean isConstructorCall, ICodeSnippetRequestor requestor, IProgressMonitor progressMonitor)
           
 void EvaluationContextWrapper.evaluateVariable(IGlobalVariable variable, ICodeSnippetRequestor requestor, IProgressMonitor progressMonitor)
           
protected  void EvaluationContextWrapper.handleInstallException(InstallException e)
          Handles an install exception by throwing a Java Model exception.
 

Uses of JavaModelException in org.eclipse.jdt.internal.core.hierarchy
 

Methods in org.eclipse.jdt.internal.core.hierarchy that throw JavaModelException
 void ChangeCollector.addChange(ICompilationUnit cu, IJavaElementDelta newDelta)
           
abstract  void HierarchyBuilder.build(boolean computeSubtypes)
           
protected  void TypeHierarchy.compute()
          Compute this type hierarchy.
protected  void RegionBasedTypeHierarchy.compute()
          Compute this type hierarchy.
static ITypeHierarchy TypeHierarchy.load(IType type, java.io.InputStream input, WorkingCopyOwner owner)
           
protected static byte[] TypeHierarchy.readUntil(java.io.InputStream input, byte separator)
           
protected static byte[] TypeHierarchy.readUntil(java.io.InputStream input, byte separator, int offset)
           
 void TypeHierarchy.refresh(IProgressMonitor monitor)
           
 void TypeHierarchy.store(java.io.OutputStream output, IProgressMonitor monitor)
           
 

Constructors in org.eclipse.jdt.internal.core.hierarchy that throw JavaModelException
HierarchyBuilder(TypeHierarchy hierarchy)
           
IndexBasedHierarchyBuilder(TypeHierarchy hierarchy, IJavaSearchScope scope)
           
RegionBasedHierarchyBuilder(TypeHierarchy hierarchy)
           
 

Uses of JavaModelException in org.eclipse.jdt.internal.core.search
 

Methods in org.eclipse.jdt.internal.core.search that throw JavaModelException
 void JavaSearchScope.add(IJavaElement element)
          Add an element to the java search scope.
 void JavaSearchScope.add(JavaProject project, int includeMask, java.util.HashSet projectsToBeAdded)
          Add java project all fragment roots to current java search scope.
static IJavaSearchScope BasicSearchEngine.createHierarchyScope(IType type)
           
static IJavaSearchScope BasicSearchEngine.createHierarchyScope(IType type, WorkingCopyOwner owner)
           
static IJavaSearchScope BasicSearchEngine.createStrictHierarchyScope(IJavaProject project, IType type, boolean onlySubtypes, boolean includeFocusType, WorkingCopyOwner owner)
           
protected  void HierarchyScope.initialize()
           
protected  void HierarchyScope.initialize(IProgressMonitor progressMonitor)
           
protected  void HierarchyScope.refresh()
           
protected  void HierarchyScope.refresh(IProgressMonitor progressMonitor)
           
 void BasicSearchEngine.searchAllConstructorDeclarations(char[] packageName, char[] typeName, int typeMatchRule, IJavaSearchScope scope, IRestrictedAccessConstructorRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)
           
 void BasicSearchEngine.searchAllSecondaryTypeNames(IPackageFragmentRoot[] sourceFolders, IRestrictedAccessTypeRequestor nameRequestor, boolean waitForIndexes, IProgressMonitor progressMonitor)
          Searches for all secondary types in the given scope.
 void BasicSearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, int matchRule, int searchFor, IJavaSearchScope scope, IRestrictedAccessTypeRequestor nameRequestor, int waitingPolicy, 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.
 void BasicSearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, IRestrictedAccessTypeRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)
          Searches for all top-level types and member types in the given scope.
 void BasicSearchEngine.searchDeclarations(IJavaElement enclosingElement, SearchRequestor requestor, SearchPattern pattern, IProgressMonitor monitor)
           
 void BasicSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the fields accessed in the given element.
 void BasicSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the types referenced in the given element.
 void BasicSearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the methods invoked in the given element.
 

Constructors in org.eclipse.jdt.internal.core.search that throw JavaModelException
HierarchyScope(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.eclipse.jdt.internal.core.search.matching
 

Methods in org.eclipse.jdt.internal.core.search.matching that throw JavaModelException
protected  CompilationUnitDeclaration SuperTypeNamesCollector.buildBindings(ICompilationUnit compilationUnit, boolean isTopLevelOrMember)
           
protected  BinaryTypeBinding MatchLocator.cacheBinaryType(IType type, IBinaryType binaryType)
           
 char[][][] SuperTypeNamesCollector.collect()
           
 void MatchLocator.initialize(JavaProject project, int possibleMatchSize)
          Create a new parser for the given project, as well as a lookup environment.
 

Uses of JavaModelException in org.eclipse.jdt.internal.core.util
 

Fields in org.eclipse.jdt.internal.core.util declared as JavaModelException
 JavaModelException JavaElementFinder.exception
           
 

Methods in org.eclipse.jdt.internal.core.util that throw JavaModelException
static IMethod Util.findMethod(IType type, char[] selector, java.lang.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(IFile file)
          Returns the given file's contents as a byte array.
static char[] Util.getResourceContentsAsCharArray(IFile file)
          Returns the given file's contents as a character array.
static char[] Util.getResourceContentsAsCharArray(IFile file, java.lang.String encoding)
           
static java.lang.String Util.getSourceAttachmentProperty(IPath path)
           
 ASTNode DOMFinder.search()
           
 

Uses of JavaModelException in org.eclipse.jdt.internal.eval
 

Methods in org.eclipse.jdt.internal.eval that throw JavaModelException
 java.lang.String CodeSnippetSkeleton.getJavadocContents(IProgressMonitor monitor, java.lang.String defaultEncoding)