Class AbstractJavaSearchScope
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.AbstractSearchScope
org.aspectj.org.eclipse.jdt.internal.core.search.AbstractJavaSearchScope
- All Implemented Interfaces:
Cloneable
,IJavaSearchScope
,IParallelizable
- Direct Known Subclasses:
JavaSearchScope
,JavaWorkspaceScope
-
Field Summary
Fields inherited from interface org.aspectj.org.eclipse.jdt.core.search.IJavaSearchScope
APPLICATION_LIBRARIES, JAR_FILE_ENTRY_SEPARATOR, REFERENCED_PROJECTS, SOURCES, SYSTEM_LIBRARIES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract AccessRuleSet
getAccessRuleSet(String relativePath, String containerPath)
Get access rule set corresponding to a given path.abstract IPackageFragmentRoot
packageFragmentRoot(String resourcePathString, int jarSeparatorIndex, String jarPath)
Returns the package fragment root corresponding to a given resource path.Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.search.AbstractSearchScope
clone, includesBinaries, includesClasspaths, isParallelSearchSupported, processDelta, setIncludesBinaries, setIncludesClasspaths
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.search.IJavaSearchScope
encloses, encloses, enclosingProjectsAndJars
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.search.IParallelizable
initBeforeSearch
-
Constructor Details
-
AbstractJavaSearchScope
public AbstractJavaSearchScope()
-
-
Method Details
-
getAccessRuleSet
Get access rule set corresponding to a given path.- Parameters:
relativePath
- The path user want to have restriction access- Returns:
- The access rule set for given path or null if none is set for it. Returns specific unit access rule set when scope does not enclose the given path.
-
packageFragmentRoot
public abstract IPackageFragmentRoot packageFragmentRoot(String resourcePathString, int jarSeparatorIndex, String jarPath)Returns the package fragment root corresponding to a given resource path.- Parameters:
resourcePathString
- path of expected package fragment root.jarSeparatorIndex
- the index of the jar separator in the resource path, or -1 if nonejarPath
- the already extracted jar path, or null if none- Returns:
- the
package fragment root
which path match the given one ornull
if none was found.
-