protected int matchContainer() { int result = 0; for (int i = 0, length = this.patternLocators.length; i < length; i++) result |= this.patternLocators[i].matchContainer(); return result; } protected void matchLevelAndReportImportRef(ImportReference importRef, Binding binding, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = ALL_CONTAINER; for (int i = 0, length = this.patternLocators.length; i < length; i++) { result &= this.patternLocators[i].matchContainer(); } return result; } protected void matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = ALL_CONTAINER; for (int i = 0, length = this.patternLocators.length; i < length; i++) { result &= this.patternLocators[i].matchContainer(); } return result; } protected void matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) throws CoreException {
@Override protected int matchContainer() { int result = 0; for (int i = 0, length = this.patternLocators.length; i < length; i++) result |= this.patternLocators[i].matchContainer(); return result; } @Override
@Override protected int matchContainer() { int result = ALL_CONTAINER; for (int i = 0, length = this.patternLocators.length; i < length; i++) { result &= this.patternLocators[i].matchContainer(); } return result; } @Override
protected int matchContainer() { int result = ALL_CONTAINER; for (int i = 0, length = this.patternLocators.length; i < length; i++) { result &= this.patternLocators[i].matchContainer(); } return result; } protected void matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = ALL_CONTAINER; for (int i = 0, length = this.patternLocators.length; i < length; i++) { result &= this.patternLocators[i].matchContainer(); } return result; } protected void matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = ALL_CONTAINER; for (int i = 0, length = this.patternLocators.length; i < length; i++) { result &= this.patternLocators[i].matchContainer(); } return result; } protected void matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = 0; for (int i = 0, length = this.patternLocators.length; i < length; i++) result |= this.patternLocators[i].matchContainer(); return result; } protected void matchLevelAndReportImportRef(ImportReference importRef, Binding binding, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = 0; for (int i = 0, length = this.patternLocators.length; i < length; i++) result |= this.patternLocators[i].matchContainer(); return result; } protected void matchLevelAndReportImportRef(ImportReference importRef, Binding binding, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = 0; for (int i = 0, length = this.patternLocators.length; i < length; i++) result |= this.patternLocators[i].matchContainer(); return result; } protected void matchLevelAndReportImportRef(ImportReference importRef, Binding binding, MatchLocator locator) throws CoreException {
protected int matchContainer() { int result = 0; for (int i = 0, length = this.patternLocators.length; i < length; i++) result |= this.patternLocators[i].matchContainer(); return result; } protected void matchLevelAndReportImportRef(ImportReference importRef, Binding binding, MatchLocator locator) throws CoreException {
public MatchLocator( SearchPattern pattern, SearchRequestor requestor, IJavaSearchScope scope, IProgressMonitor progressMonitor) { this.pattern = pattern; this.patternLocator = PatternLocator.patternLocator(this.pattern); this.matchContainer = this.patternLocator == null ? 0 : this.patternLocator.matchContainer(); this.requestor = requestor; this.scope = scope; this.progressMonitor = progressMonitor; if (pattern instanceof PackageDeclarationPattern) { this.searchPackageDeclaration = true; } else if (pattern instanceof OrPattern) { this.searchPackageDeclaration = ((OrPattern)pattern).hasPackageDeclaration(); } else { this.searchPackageDeclaration = false; } } /**
this.matchContainer = this.patternLocator == null ? 0 : this.patternLocator.matchContainer(); this.requestor = requestor; this.scope = scope;
this.matchContainer = this.patternLocator == null ? 0 : this.patternLocator.matchContainer(); this.requestor = requestor; this.scope = scope;
this.matchContainer = this.patternLocator == null ? 0 : this.patternLocator.matchContainer(); this.requestor = requestor; this.scope = scope;
this.matchContainer = this.patternLocator == null ? 0 : this.patternLocator.matchContainer(); this.requestor = requestor; this.scope = scope;
this.matchContainer = this.patternLocator == null ? 0 : this.patternLocator.matchContainer(); this.requestor = requestor; this.scope = scope;