Java org.eclipse.jdt.core.search IJavaSearchScope fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.search IJavaSearchScope fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.search IJavaSearchScope.

The text is from its open source code.

Implementation

org.eclipse.jdt.core.search.IJavaSearchScope has the following implementations.
Click this link to see all its implementation.

Field

StringJAR_FILE_ENTRY_SEPARATOR
This constant defines the separator of the resourcePath string of the encloses(String) method.
intSOURCES
Include type constant (bit mask) indicating that source folders should be considered in the search scope.
intAPPLICATION_LIBRARIES
Include type constant (bit mask) indicating that application libraries should be considered in the search scope.
intSYSTEM_LIBRARIES
Include type constant (bit mask) indicating that system libraries should be considered in the search scope.
intREFERENCED_PROJECTS
Include type constant (bit mask) indicating that referenced projects should be considered in the search scope.

Method

booleanencloses(String resourcePath)
Checks whether the resource at the given path is enclosed by this scope.
booleanencloses(IJavaElement element)
Checks whether this scope encloses the given element.
IPath[]enclosingProjectsAndJars()
Returns the paths to the enclosing projects and JARs for this search scope.
booleanincludesBinaries()
Returns whether this scope contains any .class files (either in folders or within JARs).
booleanincludesClasspaths()
Returns whether this scope includes classpaths defined by the projects of the resources of this search scope.
voidsetIncludesBinaries(boolean includesBinaries)
Sets whether this scope contains any .class files (either in folders or within JARs).
voidsetIncludesClasspaths(boolean includesClasspaths)
Sets whether this scope includes the classpaths defined by the projects of the resources of this search scope.