| org.eclipse.jdt.internal.core.JavaElement org.eclipse.jdt.internal.core.Openable org.eclipse.jdt.internal.core.JavaProject
All known Subclasses: org.eclipse.jdt.internal.core.ExternalJavaProject,
JavaProject | public class JavaProject extends Openable implements IJavaProject,IProjectNature,SuffixConstants(Code) | | Handle for a Java Project.
A Java Project internally maintains a devpath that corresponds
to the project's classpath. The classpath may include source folders
from the current project; jars in the current project, other projects,
and the local file system; and binary folders (output location) of other
projects. The Java Model presents source elements corresponding to output
.class files in other projects, and thus uses the devpath rather than
the classpath (which is really a compilation path). The devpath mimics
the classpath, except has source folder entries in place of output
locations in external projects.
Each JavaProject has a NameLookup facility that locates elements
on by name, based on the devpath.
See Also: IJavaProject |
Constructor Summary | |
public | JavaProject() Constructor needed for IProject.getNature() and IProject.addNature() . | public | JavaProject(IProject project, JavaElement parent) |
Method Summary | |
protected void | addToBuildSpec(String builderID) Adds a builder to the build spec for the given project. | public static boolean | areClasspathsEqual(IClasspathEntry[] firstClasspath, IClasspathEntry[] secondClasspath, IPath firstOutputLocation, IPath secondOutputLocation) | protected boolean | buildStructure(OpenableElementInfo info, IProgressMonitor pm, Map newElements, IResource underlyingResource) | public static IPath | canonicalizedPath(IPath externalPath) Returns a canonicalized path from the given external path. | public void | computeChildren(JavaProjectElementInfo info) Computes the collection of package fragment roots (local ones) and set it on the given info. | public IPackageFragmentRoot[] | computePackageFragmentRoots(IClasspathEntry resolvedEntry) Computes the package fragment roots identified by the given entry. | public void | computePackageFragmentRoots(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean checkExistency, boolean retrieveExportedRoots, Map rootToResolvedEntries) Returns the package fragment roots identified by the given entry. | public IPackageFragmentRoot[] | computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, Map rootToResolvedEntries) Returns (local/all) the package fragment roots identified by the given project's classpath. | public void | computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean checkExistency, boolean retrieveExportedRoots, Map rootToResolvedEntries) Returns (local/all) the package fragment roots identified by the given project's classpath. | public String | computeSharedPropertyFileName(QualifiedName qName) | public void | configure() Configure the project with Java nature. | public boolean | contains(IResource resource) | public void | createClasspathProblemMarker(IJavaModelStatus status) | protected Object | createElementInfo() Returns a new element info for this element. | public IClasspathEntry[] | decodeClasspath(String xmlClasspath, Map unknownElements) | public IClasspathEntry | decodeClasspathEntry(String encodedEntry) | public void | deconfigure() /**
Removes the Java nature from the project. | protected IClasspathEntry[] | defaultClasspath() Returns a default class path. | protected IPath | defaultOutputLocation() Returns a default output location. | protected String | encodeClasspath(IClasspathEntry[] classpath, IPath outputLocation, boolean indent, Map unknownElements) Returns the XML String encoding of the class path. | public String | encodeClasspathEntry(IClasspathEntry classpathEntry) | public boolean | equals(Object o) Returns true if this handle represents the same Java project
as the given handle. | public boolean | exists() | public IJavaElement | findElement(IPath path) | public IJavaElement | findElement(IPath path, WorkingCopyOwner owner) | public IPackageFragment | findPackageFragment(IPath path) | public IPackageFragmentRoot | findPackageFragmentRoot(IPath path) | public IPackageFragmentRoot | findPackageFragmentRoot0(IPath path) | public IPackageFragmentRoot[] | findPackageFragmentRoots(IClasspathEntry entry) | public IType | findType(String fullyQualifiedName) | public IType | findType(String fullyQualifiedName, IProgressMonitor progressMonitor) | IType | findType(String fullyQualifiedName, NameLookup lookup, boolean considerSecondaryTypes, IProgressMonitor progressMonitor) | public IType | findType(String packageName, String typeQualifiedName) | public IType | findType(String packageName, String typeQualifiedName, IProgressMonitor progressMonitor) | IType | findType(String packageName, String typeQualifiedName, NameLookup lookup, boolean considerSecondaryTypes, IProgressMonitor progressMonitor) | public IType | findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner) | public IType | findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor) | public IType | findType(String fullyQualifiedName, WorkingCopyOwner owner) | public IType | findType(String fullyQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor) | protected void | flushClasspathProblemMarkers(boolean flushCycleMarkers, boolean flushClasspathFormatMarkers) | public IPath[] | getAccessRestrictions(String optionName) | public IPackageFragmentRoot[] | getAllPackageFragmentRoots() | public IPackageFragmentRoot[] | getAllPackageFragmentRoots(Map rootToResolvedEntries) | public IClasspathEntry | getClasspathEntryFor(IPath path) Returns the classpath entry that refers to the given path
or null if there is no reference to the path. | public IMarker | getCycleMarker() | public IEclipsePreferences | getEclipsePreferences() Returns the project custom preference pool. | public String | getElementName() | public int | getElementType() | public IClasspathEntry[] | 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. | public IPackageFragmentRoot | getFolderPackageFragmentRoot(IPath path) The path is known to match a source/library folder entry. | public IJavaElement | getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) | protected char | getHandleMementoDelimiter() Returns the char that marks the start of this handles
contribution to a memento. | protected JavaProjectElementInfo | getJavaProjectElementInfo() Convenience method that returns the specific type of info for a Java project. | public Object[] | getNonJavaResources() Returns an array of non-java resources contained in the receiver. | public String | getOption(String optionName, boolean inheritJavaCoreOptions) | public Map | getOptions(boolean inheritJavaCoreOptions) | public IPath | getOutputLocation() | public IPackageFragmentRoot | getPackageFragmentRoot(IPath path) Parameters: path - IPath A handle to the package fragment root identified by the given path.This method is handle-only and the element may or may not exist. | public IPackageFragmentRoot | getPackageFragmentRoot(IResource resource) | public IPackageFragmentRoot | getPackageFragmentRoot(String jarPath) | public IPackageFragmentRoot | getPackageFragmentRoot0(IPath jarPath) | public IPackageFragmentRoot[] | getPackageFragmentRoots() | public IPackageFragmentRoot[] | getPackageFragmentRoots(IClasspathEntry entry) | public IPackageFragment[] | getPackageFragments() | public IPackageFragment[] | getPackageFragmentsInRoots(IPackageFragmentRoot[] roots) Returns all the package fragments found in the specified
package fragment roots. | public IPath | getPath() | public JavaModelManager.PerProjectInfo | getPerProjectInfo() | public Preferences | getPreferences() Returns the project custom preference pool. | public IProject | getProject() | public ProjectCache | getProjectCache() | public IClasspathEntry[] | getRawClasspath() | public String[] | getRequiredProjectNames() | public IClasspathEntry[] | getResolvedClasspath() | public IClasspathEntry[] | getResolvedClasspath(boolean ignoreUnresolvedEntry) | public IResource | getResource() | public String | getSharedProperty(String key) Retrieve a shared property on a project. | public SourceMapper | getSourceMapper() | public IResource | getUnderlyingResource() | public boolean | hasBuildState() | public boolean | hasClasspathCycle(IClasspathEntry[] preferredClasspath) | public boolean | hasCycleMarker() | public static boolean | hasJavaNature(IProject project) Returns true if the given project is accessible and it has
a java nature, otherwise false. | public boolean | hasSource() Answers true if the project potentially contains any source. | public int | hashCode() | public boolean | isOnClasspath(IJavaElement element) | public boolean | isOnClasspath(IResource resource) | public IEvaluationContext | newEvaluationContext() | public NameLookup | newNameLookup(ICompilationUnit[] workingCopies) | public NameLookup | newNameLookup(WorkingCopyOwner owner) | public SearchableEnvironment | newSearchableNameEnvironment(ICompilationUnit[] workingCopies) | public SearchableEnvironment | newSearchableNameEnvironment(WorkingCopyOwner owner) | public ITypeHierarchy | newTypeHierarchy(IRegion region, IProgressMonitor monitor) | public ITypeHierarchy | newTypeHierarchy(IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor) | public ITypeHierarchy | newTypeHierarchy(IType type, IRegion region, IProgressMonitor monitor) | public ITypeHierarchy | newTypeHierarchy(IType type, IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor) | public String[] | projectPrerequisites(IClasspathEntry[] entries) | public IClasspathEntry[] | readFileEntriesWithException(Map unknownElements) | public IPath | readOutputLocation() | public IClasspathEntry[] | readRawClasspath() | protected void | removeFromBuildSpec(String builderID) Removes the given builder from the build spec for the given project. | public void | resetCaches() | public IClasspathEntry[] | resolveClasspath(IClasspathEntry[] rawClasspath) | public void | resolveClasspath(PerProjectInfo perProjectInfo) | public String | rootID() | public boolean | saveClasspath(IClasspathEntry[] newClasspath, IPath newOutputLocation) Saves the classpath in a shareable format (VCM-wise) only when necessary, that is, if it is semantically different
from the existing one in file. | public void | setOption(String optionName, String optionValue) | public void | setOptions(Map newOptions) | public void | setOutputLocation(IPath path, IProgressMonitor monitor) | public void | setProject(IProject project) Sets the underlying kernel project of this Java project,
and fills in its parent and name. | public void | setRawClasspath(IClasspathEntry[] entries, boolean canModifyResources, IProgressMonitor monitor) | public void | setRawClasspath(IClasspathEntry[] newRawClasspath, IPath newOutputLocation, boolean canModifyResources, IProgressMonitor monitor) | public void | setRawClasspath(IClasspathEntry[] entries, IPath outputLocation, IProgressMonitor monitor) | public void | setRawClasspath(IClasspathEntry[] entries, IProgressMonitor monitor) | public void | setSharedProperty(String key, String value) Record a shared persistent property onto a project.
Note that it is orthogonal to IResource persistent properties, and client code has to decide
which form of storage to use appropriately. | public void | updateCycleParticipants(ArrayList prereqChain, HashSet cycleParticipants, IWorkspaceRoot workspaceRoot, HashSet traversed, Map preferredClasspaths) | public void | updatePackageFragmentRoots() Reset the collection of package fragment roots (local ones) - only if opened. | public static void | validateCycles(Map preferredClasspaths) |
CLASSPATH_FILENAME | final public static String CLASSPATH_FILENAME(Code) | | Name of file containing project classpath
|
DEFAULT_PREFERENCES_DIRNAME | final public static String DEFAULT_PREFERENCES_DIRNAME(Code) | | Name of directory containing preferences file
|
INVALID_CLASSPATH | final public static IClasspathEntry[] INVALID_CLASSPATH(Code) | | Value of the project's raw classpath if the .classpath file contains invalid entries.
|
IS_CASE_SENSITIVE | final protected static boolean IS_CASE_SENSITIVE(Code) | | Whether the underlying file system is case sensitive.
|
JAVA_CORE_PREFS_FILE | final public static String JAVA_CORE_PREFS_FILE(Code) | | Extension for file containing custom project preferences
|
NO_PREREQUISITES | final protected static String[] NO_PREREQUISITES(Code) | | An empty array of strings indicating that a project doesn't have any prerequesite projects.
|
project | protected IProject project(Code) | | The platform project this IJavaProject is based on
|
addToBuildSpec | protected void addToBuildSpec(String builderID) throws CoreException(Code) | | Adds a builder to the build spec for the given project.
|
areClasspathsEqual | public static boolean areClasspathsEqual(IClasspathEntry[] firstClasspath, IClasspathEntry[] secondClasspath, IPath firstOutputLocation, IPath secondOutputLocation)(Code) | | |
canonicalizedPath | public static IPath canonicalizedPath(IPath externalPath)(Code) | | Returns a canonicalized path from the given external path.
Note that the return path contains the same number of segments
and it contains a device only if the given path contained one.
Parameters: externalPath - IPath See Also: java.io.File See Also: for the definition of a canonicalized path IPath |
computeChildren | public void computeChildren(JavaProjectElementInfo info) throws JavaModelException(Code) | | Computes the collection of package fragment roots (local ones) and set it on the given info.
Need to check *all* package fragment roots in order to reset NameLookup
Parameters: info - JavaProjectElementInfo throws: JavaModelException - |
computePackageFragmentRoots | public IPackageFragmentRoot[] computePackageFragmentRoots(IClasspathEntry resolvedEntry)(Code) | | Computes the package fragment roots identified by the given entry.
Only works with resolved entry
Parameters: resolvedEntry - IClasspathEntry IPackageFragmentRoot[] |
computePackageFragmentRoots | public void computePackageFragmentRoots(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean checkExistency, boolean retrieveExportedRoots, Map rootToResolvedEntries) throws JavaModelException(Code) | | Returns the package fragment roots identified by the given entry. In case it refers to
a project, it will follow its classpath so as to find exported roots as well.
Only works with resolved entry
Parameters: resolvedEntry - IClasspathEntry Parameters: accumulatedRoots - ObjectVector Parameters: rootIDs - HashSet Parameters: referringEntry - the CP entry (project) referring to this entry, or null if initial project Parameters: checkExistency - boolean Parameters: retrieveExportedRoots - boolean throws: JavaModelException - |
computePackageFragmentRoots | public IPackageFragmentRoot[] computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, Map rootToResolvedEntries) throws JavaModelException(Code) | | Returns (local/all) the package fragment roots identified by the given project's classpath.
Note: this follows project classpath references to find required project contributions,
eliminating duplicates silently.
Only works with resolved entries
Parameters: resolvedClasspath - IClasspathEntry[] Parameters: retrieveExportedRoots - boolean IPackageFragmentRoot[] throws: JavaModelException - |
computePackageFragmentRoots | public void computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean checkExistency, boolean retrieveExportedRoots, Map rootToResolvedEntries) throws JavaModelException(Code) | | Returns (local/all) the package fragment roots identified by the given project's classpath.
Note: this follows project classpath references to find required project contributions,
eliminating duplicates silently.
Only works with resolved entries
Parameters: resolvedClasspath - IClasspathEntry[] Parameters: accumulatedRoots - ObjectVector Parameters: rootIDs - HashSet Parameters: referringEntry - project entry referring to this CP or null if initial project Parameters: checkExistency - boolean Parameters: retrieveExportedRoots - boolean throws: JavaModelException - |
computeSharedPropertyFileName | public String computeSharedPropertyFileName(QualifiedName qName)(Code) | | Compute the file name to use for a given shared property
Parameters: qName - QualifiedName String |
configure | public void configure() throws CoreException(Code) | | Configure the project with Java nature.
|
contains | public boolean contains(IResource resource)(Code) | | |
createClasspathProblemMarker | public void createClasspathProblemMarker(IJavaModelStatus status)(Code) | | Record a new marker denoting a classpath problem
|
createElementInfo | protected Object createElementInfo()(Code) | | Returns a new element info for this element.
|
deconfigure | public void deconfigure() throws CoreException(Code) | | /**
Removes the Java nature from the project.
|
defaultClasspath | protected IClasspathEntry[] defaultClasspath()(Code) | | Returns a default class path.
This is the root of the project
|
defaultOutputLocation | protected IPath defaultOutputLocation()(Code) | | Returns a default output location.
This is the project bin folder
|
equals | public boolean equals(Object o)(Code) | | Returns true if this handle represents the same Java project
as the given handle. Two handles represent the same
project if they are identical or if they represent a project with
the same underlying resource and occurrence counts.
See Also: JavaElement.equals(Object) |
exists | public boolean exists()(Code) | | |
flushClasspathProblemMarkers | protected void flushClasspathProblemMarkers(boolean flushCycleMarkers, boolean flushClasspathFormatMarkers)(Code) | | Remove all markers denoting classpath problems
|
getAccessRestrictions | public IPath[] getAccessRestrictions(String optionName)(Code) | | Returns the set of patterns corresponding to this project visibility given rules
an array of IPath or null if none |
getCycleMarker | public IMarker getCycleMarker()(Code) | | |
getEclipsePreferences | public IEclipsePreferences getEclipsePreferences()(Code) | | Returns the project custom preference pool.
Project preferences may include custom encoding.
IEclipsePreferences or null if the projectdoes not have a java nature. |
getExpandedClasspath | public IClasspathEntry[] getExpandedClasspath() throws JavaModelException(Code) | | 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.
All project exports have been appended to project entries.
IClasspathEntry[] throws: JavaModelException - |
getFolderPackageFragmentRoot | public IPackageFragmentRoot getFolderPackageFragmentRoot(IPath path)(Code) | | The path is known to match a source/library folder entry.
Parameters: path - IPath IPackageFragmentRoot |
getHandleMementoDelimiter | protected char getHandleMementoDelimiter()(Code) | | Returns the char that marks the start of this handles
contribution to a memento.
|
getNonJavaResources | public Object[] getNonJavaResources() throws JavaModelException(Code) | | Returns an array of non-java resources contained in the receiver.
|
getPackageFragmentRoot | public IPackageFragmentRoot getPackageFragmentRoot(IPath path)(Code) | | Parameters: path - IPath A handle to the package fragment root identified by the given path.This method is handle-only and the element may or may not exist. Returnsnull if unable to generate a handle from the path (for example,an absolute path that has less than 1 segment. The path may be relative orabsolute. |
getPackageFragmentsInRoots | public IPackageFragment[] getPackageFragmentsInRoots(IPackageFragmentRoot[] roots)(Code) | | Returns all the package fragments found in the specified
package fragment roots.
Parameters: roots - IPackageFragmentRoot[] IPackageFragment[] |
getPreferences | public Preferences getPreferences()(Code) | | Returns the project custom preference pool.
Project preferences may include custom encoding.
PreferencesJavaProject.getEclipsePreferences() See Also: bug 59258 See Also: TODO (frederic) remove for 3.1... |
getSharedProperty | public String getSharedProperty(String key) throws CoreException(Code) | | Retrieve a shared property on a project. If the property is not defined, answers null.
Note that it is orthogonal to IResource persistent properties, and client code has to decide
which form of storage to use appropriately. Shared properties produce real resource files which
can be shared through a VCM onto a server. Persistent properties are not shareable.
Parameters: key - String See Also: JavaProject.setSharedProperty(StringString) String throws: CoreException - |
hasCycleMarker | public boolean hasCycleMarker()(Code) | | |
hasJavaNature | public static boolean hasJavaNature(IProject project)(Code) | | Returns true if the given project is accessible and it has
a java nature, otherwise false.
Parameters: project - IProject boolean |
hasSource | public boolean hasSource()(Code) | | Answers true if the project potentially contains any source. A project which has no source is immutable.
boolean |
hashCode | public int hashCode()(Code) | | |
isOnClasspath | public boolean isOnClasspath(IResource resource)(Code) | | |
removeFromBuildSpec | protected void removeFromBuildSpec(String builderID) throws CoreException(Code) | | Removes the given builder from the build spec for the given project.
|
resetCaches | public void resetCaches()(Code) | | |
rootID | public String rootID()(Code) | | Answers an ID which is used to distinguish project/entries during package
fragment root computations
String |
saveClasspath | public boolean saveClasspath(IClasspathEntry[] newClasspath, IPath newOutputLocation) throws JavaModelException(Code) | | Saves the classpath in a shareable format (VCM-wise) only when necessary, that is, if it is semantically different
from the existing one in file. Will never write an identical one.
Parameters: newClasspath - IClasspathEntry[] Parameters: newOutputLocation - IPath boolean Return whether the .classpath file was modified. throws: JavaModelException - |
setProject | public void setProject(IProject project)(Code) | | Sets the underlying kernel project of this Java project,
and fills in its parent and name.
Called by IProject.getNature().
See Also: IProjectNature.setProject(IProject) |
setSharedProperty | public void setSharedProperty(String key, String value) throws CoreException(Code) | | Record a shared persistent property onto a project.
Note that it is orthogonal to IResource persistent properties, and client code has to decide
which form of storage to use appropriately. Shared properties produce real resource files which
can be shared through a VCM onto a server. Persistent properties are not shareable.
shared properties end up in resource files, and thus cannot be modified during
delta notifications (a CoreException would then be thrown).
Parameters: key - String Parameters: value - String See Also: JavaProject.getSharedProperty(String key) throws: CoreException - |
updateCycleParticipants | public void updateCycleParticipants(ArrayList prereqChain, HashSet cycleParticipants, IWorkspaceRoot workspaceRoot, HashSet traversed, Map preferredClasspaths)(Code) | | If a cycle is detected, then cycleParticipants contains all the paths of projects involved in this cycle (directly and indirectly),
no cycle if the set is empty (and started empty)
Parameters: prereqChain - ArrayList Parameters: cycleParticipants - HashSet Parameters: workspaceRoot - IWorkspaceRoot Parameters: traversed - HashSet Parameters: preferredClasspaths - Map |
updatePackageFragmentRoots | public void updatePackageFragmentRoots()(Code) | | Reset the collection of package fragment roots (local ones) - only if opened.
|
Methods inherited from org.eclipse.jdt.internal.core.Openable | public void bufferChanged(BufferChangedEvent event)(Code)(Java Doc) abstract protected boolean buildStructure(OpenableElementInfo info, IProgressMonitor pm, Map newElements, IResource underlyingResource) throws JavaModelException(Code)(Java Doc) public boolean canBeRemovedFromCache()(Code)(Java Doc) public boolean canBufferBeRemovedFromCache(IBuffer buffer)(Code)(Java Doc) protected void closeBuffer()(Code)(Java Doc) protected void closing(Object info)(Code)(Java Doc) protected void codeComplete(org.eclipse.jdt.internal.compiler.env.ICompilationUnit cu, org.eclipse.jdt.internal.compiler.env.ICompilationUnit unitToSkip, int position, CompletionRequestor requestor, WorkingCopyOwner owner) throws JavaModelException(Code)(Java Doc) protected IJavaElement[] codeSelect(org.eclipse.jdt.internal.compiler.env.ICompilationUnit cu, int offset, int length, WorkingCopyOwner owner) throws JavaModelException(Code)(Java Doc) protected Object createElementInfo()(Code)(Java Doc) public boolean exists()(Code)(Java Doc) public String findRecommendedLineSeparator() throws JavaModelException(Code)(Java Doc) protected void generateInfos(Object info, HashMap newElements, IProgressMonitor monitor) throws JavaModelException(Code)(Java Doc) public IBuffer getBuffer() throws JavaModelException(Code)(Java Doc) public IBufferFactory getBufferFactory()(Code)(Java Doc) protected BufferManager getBufferManager()(Code)(Java Doc) public IResource getCorrespondingResource() throws JavaModelException(Code)(Java Doc) public IOpenable getOpenable()(Code)(Java Doc) public PackageFragmentRoot getPackageFragmentRoot()(Code)(Java Doc) public IResource getUnderlyingResource() throws JavaModelException(Code)(Java Doc) protected boolean hasBuffer()(Code)(Java Doc) public boolean hasUnsavedChanges() throws JavaModelException(Code)(Java Doc) public boolean isConsistent()(Code)(Java Doc) public boolean isOpen()(Code)(Java Doc) protected boolean isSourceElement()(Code)(Java Doc) public boolean isStructureKnown() throws JavaModelException(Code)(Java Doc) public void makeConsistent(IProgressMonitor monitor) throws JavaModelException(Code)(Java Doc) public void open(IProgressMonitor pm) throws JavaModelException(Code)(Java Doc) protected IBuffer openBuffer(IProgressMonitor pm, Object info) throws JavaModelException(Code)(Java Doc) protected void openParent(Object childInfo, HashMap newElements, IProgressMonitor pm) throws JavaModelException(Code)(Java Doc) protected boolean parentExists()(Code)(Java Doc) protected boolean resourceExists()(Code)(Java Doc) public void save(IProgressMonitor pm, boolean force) throws JavaModelException(Code)(Java Doc)
|
Methods inherited from org.eclipse.jdt.internal.core.JavaElement | public void close() throws JavaModelException(Code)(Java Doc) abstract protected void closing(Object info) throws JavaModelException(Code)(Java Doc) abstract protected Object createElementInfo()(Code)(Java Doc) public boolean equals(Object o)(Code)(Java Doc) protected void escapeMementoName(StringBuffer buffer, String mementoName)(Code)(Java Doc) public boolean exists()(Code)(Java Doc) public ASTNode findNode(CompilationUnit ast)(Code)(Java Doc) abstract protected void generateInfos(Object info, HashMap newElements, IProgressMonitor pm) throws JavaModelException(Code)(Java Doc) public IJavaElement getAncestor(int ancestorType)(Code)(Java Doc) public String getAttachedJavadoc(IProgressMonitor monitor) throws JavaModelException(Code)(Java Doc) public IJavaElement[] getChildren() throws JavaModelException(Code)(Java Doc) public ArrayList getChildrenOfType(int type) throws JavaModelException(Code)(Java Doc) public IClassFile getClassFile()(Code)(Java Doc) public ICompilationUnit getCompilationUnit()(Code)(Java Doc) public Object getElementInfo() throws JavaModelException(Code)(Java Doc) public Object getElementInfo(IProgressMonitor monitor) throws JavaModelException(Code)(Java Doc) public String getElementName()(Code)(Java Doc) abstract public IJavaElement getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner)(Code)(Java Doc) public IJavaElement getHandleFromMemento(MementoTokenizer memento, WorkingCopyOwner owner)(Code)(Java Doc) public String getHandleIdentifier()(Code)(Java Doc) public String getHandleMemento()(Code)(Java Doc) protected void getHandleMemento(StringBuffer buff)(Code)(Java Doc) abstract protected char getHandleMementoDelimiter()(Code)(Java Doc) int getIndexOf(byte[] array, byte[] toBeFound, int start)(Code)(Java Doc) public IJavaModel getJavaModel()(Code)(Java Doc) public IJavaProject getJavaProject()(Code)(Java Doc) protected URL getJavadocBaseLocation() throws JavaModelException(Code)(Java Doc) protected static URL getLibraryJavadocLocation(IClasspathEntry entry) throws JavaModelException(Code)(Java Doc) public IOpenable getOpenable()(Code)(Java Doc) public IOpenable getOpenableParent()(Code)(Java Doc) public IJavaElement getParent()(Code)(Java Doc) public IJavaElement getPrimaryElement()(Code)(Java Doc) public IJavaElement getPrimaryElement(boolean checkOwner)(Code)(Java Doc) public ISchedulingRule getSchedulingRule()(Code)(Java Doc) protected IJavaElement getSourceElementAt(int position) throws JavaModelException(Code)(Java Doc) public SourceMapper getSourceMapper()(Code)(Java Doc) protected String getURLContents(String docUrlValue) throws JavaModelException(Code)(Java Doc) public boolean hasChildren() throws JavaModelException(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isAncestorOf(IJavaElement e)(Code)(Java Doc) public boolean isReadOnly()(Code)(Java Doc) public JavaModelException newJavaModelException(IStatus status)(Code)(Java Doc) public JavaModelException newNotPresentException()(Code)(Java Doc) protected Object openWhenClosed(Object info, IProgressMonitor monitor) throws JavaModelException(Code)(Java Doc) public String readableName()(Code)(Java Doc) public JavaElement resolved(Binding binding)(Code)(Java Doc) protected String tabString(int tab)(Code)(Java Doc) public String toDebugString()(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void toString(int tab, StringBuffer buffer)(Code)(Java Doc) protected void toStringAncestors(StringBuffer buffer)(Code)(Java Doc) protected void toStringChildren(int tab, StringBuffer buffer, Object info)(Code)(Java Doc) public Object toStringInfo(int tab, StringBuffer buffer)(Code)(Java Doc) protected void toStringInfo(int tab, StringBuffer buffer, Object info, boolean showResolvedInfo)(Code)(Java Doc) protected void toStringName(StringBuffer buffer)(Code)(Java Doc) public String toStringWithAncestors()(Code)(Java Doc) public String toStringWithAncestors(boolean showResolvedInfo)(Code)(Java Doc) public JavaElement unresolved()(Code)(Java Doc)
|
|
|