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.
* @return <code>true</code> if this element exists in the Java model, and
* <code>false</code> if this element does not exist
*/
- boolean exists();
+// boolean exists();
/**
* Returns the first ancestor of this Java element that has the given type.
* @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.
*
* @return the Java model
*/
- // IJavaModel getJavaModel();
+ IJavaModel getJavaModel();
/**
* Returns the Java project this element is contained in,
* @return the path to the innermost resource enclosing this element
* @since 2.0
*/
- IPath getPath();
+// IPath getPath();
/**
* Returns the innermost resource enclosing this element.
* @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;
}