X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaElement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaElement.java index 318061a..0f4693a 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaElement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaElement.java @@ -12,6 +12,7 @@ package net.sourceforge.phpdt.core; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IPath; /** * Common protocol for all elements provided by the Java model. @@ -129,7 +130,7 @@ public interface IJavaElement extends IAdaptable { * @return true if this element exists in the Java model, and * false if this element does not exist */ -// boolean exists(); + boolean exists(); /** * Returns the first ancestor of this Java element that has the given type. @@ -160,7 +161,7 @@ public interface IJavaElement extends IAdaptable { * @exception JavaModelException if this element does not exist or if an * exception occurs while accessing its corresponding resource */ -// IResource getCorrespondingResource() throws JavaModelException; + IResource getCorrespondingResource() throws JavaModelException; /** * Returns the name of this element. This is a handle-only method. @@ -208,7 +209,7 @@ public interface IJavaElement extends IAdaptable { * @return the containing Java project, or null if this element is * not contained in a Java project */ -// IJavaProject getJavaProject(); + IJavaProject getJavaProject(); /** * Returns the first openable parent. If this element is openable, the element @@ -243,7 +244,7 @@ public interface IJavaElement extends IAdaptable { * @return the path to the innermost resource enclosing this element * @since 2.0 */ -// IPath getPath(); + IPath getPath(); /** * Returns the innermost resource enclosing this element. @@ -299,5 +300,5 @@ public interface IJavaElement extends IAdaptable { * @exception JavaModelException if this element does not exist or if an * exception occurs while accessing its corresponding resource */ -// boolean isStructureKnown() throws JavaModelException; + boolean isStructureKnown() throws JavaModelException; }