/** * @see IRuntimeClasspathEntry#getSourceAttachmentLocation() */ @Override public String getSourceAttachmentLocation() { IPath path = null; switch (getType()) { case VARIABLE : case ARCHIVE : IClasspathEntry resolved = getResolvedClasspathEntry(); if (resolved != null) { path = resolved.getSourceAttachmentPath(); } break; default : break; } return resolveToOSPath(path); }
/** * @see IRuntimeClasspathEntry#getSourceAttachmentLocation() */ @Override public String getSourceAttachmentLocation() { IPath path = null; switch (getType()) { case VARIABLE : case ARCHIVE : IClasspathEntry resolved = getResolvedClasspathEntry(); if (resolved != null) { path = resolved.getSourceAttachmentPath(); } break; default : break; } return resolveToOSPath(path); }
break; return resolveToOSPath(path);
break; return resolveToOSPath(path);