1 11 package org.eclipse.jdt.internal.core.search.matching; 12 13 import org.eclipse.jdt.internal.core.index.*; 14 15 public class PackageDeclarationPattern extends JavaSearchPattern { 16 17 protected char[] pkgName; 18 19 public PackageDeclarationPattern(char[] pkgName, int matchRule) { 20 super(PKG_DECL_PATTERN, matchRule); 21 this.pkgName = pkgName; 22 } 23 EntryResult[] queryIn(Index index) { 24 return null; 26 } 27 protected StringBuffer print(StringBuffer output) { 28 output.append("PackageDeclarationPattern: <"); if (this.pkgName != null) 30 output.append(this.pkgName); 31 else 32 output.append("*"); output.append(">"); return super.print(output); 35 } 36 } 37 | Popular Tags |