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 IJavaSearchScope
APPLICATION_LIBRARIES, JAR_FILE_ENTRY_SEPARATOR, REFERENCED_PROJECTS, SOURCES, SYSTEM_LIBRARIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AccessRuleSetgetAccessRuleSet(String relativePath, String containerPath) Get access rule set corresponding to a given path.abstract IPackageFragmentRootpackageFragmentRoot(String resourcePathString, int jarSeparatorIndex, String jarPath) Returns the package fragment root corresponding to a given resource path.Methods inherited from class AbstractSearchScope
clone, includesBinaries, includesClasspaths, isParallelSearchSupported, processDelta, setIncludesBinaries, setIncludesClasspathsMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IJavaSearchScope
encloses, encloses, enclosingProjectsAndJarsMethods inherited from interface 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 rootwhich path match the given one ornullif none was found.
-