int charEnd, int hitCount, boolean register, Map<String, Object> attributes)
throws CoreException {
if (attributes == null) {
attributes = new HashMap<String, Object>(10);
}
return new JavaWatchpoint(resource, typeName, fieldName, lineNumber,
charStart, charEnd, hitCount, register, attributes);
}