01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.core.search.matching;
11:
12: //import java.util.HashSet;
13:
14: import org.eclipse.jdt.core.IJavaElement;
15: import org.eclipse.jdt.internal.compiler.util.SimpleSet;
16:
17: public class DeclarationOfReferencedMethodsPattern extends
18: MethodPattern {
19:
20: protected IJavaElement enclosingElement;
21: protected SimpleSet knownMethods;
22:
23: public DeclarationOfReferencedMethodsPattern(
24: IJavaElement enclosingElement) {
25: super (false, true, null, null, null, null, null, null, null,
26: null, R_PATTERN_MATCH);
27:
28: this .enclosingElement = enclosingElement;
29: this .knownMethods = new SimpleSet();
30: ((InternalSearchPattern) this ).mustResolve = true;
31: }
32: }
|