public long getLastModified() { if (artifact != null) { return artifact.lastModified(); } else { return bundle.getLastModified(); } }
public String getPath() { String path = null; if (artifact != null) { path = artifact.getPath(); } else { path = bundle.getLocation(); } return path; }