<s> package org . eclipse . jdt . internal . core . search . matching ; import java . io . IOException ; import org . eclipse . jdt . core . search . SearchPattern ; import org . eclipse . jdt . internal . core . index . EntryResult ; import org . eclipse . jdt . internal . core . index . Index ; import org . eclipse . jdt . internal . core . search . indexing . IIndexConstants ; public class SecondaryTypeDeclarationPattern extends TypeDeclarationPattern { private final static char [ ] SECONDARY_PATTERN_KEY = "*/S" . toCharArray ( ) ; public SecondaryTypeDeclarationPattern ( ) { super ( null , null , null , IIndexConstants . SECONDARY_SUFFIX , R_EXACT_MATCH | R_CASE_SENSITIVE ) ; } public SecondaryTypeDeclarationPattern ( int matchRule ) { super ( matchRule ) ; } public SearchPattern getBlankPattern ( ) { return new SecondaryTypeDeclarationPattern ( R_EXACT_MATCH | R_CASE_SENSITIVE ) ; } protected StringBuffer print ( StringBuffer output ) { output . append ( "Secondary" ) ; return super . print ( output ) ; } public EntryResult [ ] queryIn ( Index index ) throws IOException { return index . query ( CATEGORIES , SECONDARY_PATTERN_KEY , R_PATTERN_MATCH | R_CASE_SENSITIVE ) ; } } </s>