<s> package org . eclipse . jdt . internal . core . search . matching ; import org . eclipse . jdt . internal . core . index . * ; public class PackageDeclarationPattern extends JavaSearchPattern { protected char [ ] pkgName ; public PackageDeclarationPattern ( char [ ] pkgName , int matchRule ) { super ( PKG_DECL_PATTERN , matchRule ) ; this . pkgName = pkgName ; } public EntryResult [ ] queryIn ( Index index ) { return null ; } protected StringBuffer print ( StringBuffer output ) { output . append ( "" ) ; if ( this . pkgName != null ) output . append ( this . pkgName ) ; else output . append ( "*" ) ; output . append ( ">" ) ; return super . print ( output ) ; } } </s>