Lines 4602-4616
Link Here
|
4602 |
* entries, they are processed recursively and added to the list. For entry kinds other |
4602 |
* entries, they are processed recursively and added to the list. For entry kinds other |
4603 |
* than {@link IClasspathEntry#CPE_LIBRARY}, this method returns an empty array. |
4603 |
* than {@link IClasspathEntry#CPE_LIBRARY}, this method returns an empty array. |
4604 |
* <p> |
4604 |
* <p> |
4605 |
* If a referenced entry has already been stored |
4605 |
* When a non-null project is passed, any additional attributes that may have been stored |
4606 |
* in the given project's .classpath, the stored attributes are populated in the corresponding |
4606 |
* previously in the project's .classpath files are retrived and populated in the |
4607 |
* referenced entry. For more details on storing referenced entries see |
4607 |
* corresponding referenced entry. If the project is <code>null</code>, the raw referenced |
|
|
4608 |
* entries are returned without any persisted attributes. |
4608 |
* see {@link IJavaProject#setRawClasspath(IClasspathEntry[], IClasspathEntry[], IPath, |
4609 |
* see {@link IJavaProject#setRawClasspath(IClasspathEntry[], IClasspathEntry[], IPath, |
4609 |
* IProgressMonitor)}. |
4610 |
* IProgressMonitor)}. |
4610 |
* </p> |
4611 |
* </p> |
4611 |
* |
4612 |
* |
4612 |
* @param libraryEntry the library entry whose referenced entries are sought |
4613 |
* @param libraryEntry the library entry whose referenced entries are sought |
4613 |
* @param project project where the persisted referenced entries to be retrieved from |
4614 |
* @param project project where the persisted referenced entries to be retrieved from. If <code>null</code> |
|
|
4615 |
* persisted attributes are not attempted to be retrived. |
4614 |
* @return an array of classpath entries that are referenced directly or indirectly by the given entry. |
4616 |
* @return an array of classpath entries that are referenced directly or indirectly by the given entry. |
4615 |
* If not applicable, returns an empty array. |
4617 |
* If not applicable, returns an empty array. |
4616 |
* @since 3.6 |
4618 |
* @since 3.6 |