Returns all markers of the specified type on this resource, and, optionally, on its children. If
includeSubtypes is
false, only markers whose type exactly matches the given type are returned. Returns an empty array if there are no matching markers.
@param type the type of marker to consider, or
null to indicate all types
@param includeSubtypes whether or not to consider sub-types of the given type
@param depth how far to recurse (see
IResource.DEPTH_* )
@return an array of markers
@exception CoreException if this method fails. Reasons include:
- This resource does not exist.
- This resource is a project that is not open.
@see IResource#DEPTH_ZERO
@see IResource#DEPTH_ONE
@see IResource#DEPTH_INFINITE