<s> package org . eclipse . jdt . internal . core . search . matching ; import org . eclipse . jdt . core . search . IJavaSearchConstants ; import org . eclipse . jdt . internal . compiler . problem . ProblemReporter ; public class ImportMatchLocatorParser extends MatchLocatorParser { boolean reportImportMatch ; public ImportMatchLocatorParser ( ProblemReporter problemReporter , MatchLocator locator ) { super ( problemReporter , locator ) ; this . reportImportMatch = this . patternFineGrain == 0 || ( this . patternFineGrain & IJavaSearchConstants . IMPORT_DECLARATION_TYPE_REFERENCE ) != 0 ; } protected void consumeStaticImportOnDemandDeclarationName ( ) { super . consumeStaticImportOnDemandDeclarationName ( ) ; if ( this . reportImportMatch ) { this . patternLocator . match ( this . astStack [ this . astPtr ] , this . nodeSet ) ; } } protected void consumeSingleStaticImportDeclarationName ( ) { super . consumeSingleStaticImportDeclarationName ( ) ; if ( this . reportImportMatch ) { this . patternLocator . match ( this . astStack [ this . astPtr ] , this . nodeSet ) ; } } protected void consumeSingleTypeImportDeclarationName ( ) { super . consumeSingleTypeImportDeclarationName ( ) ; if ( this . reportImportMatch ) { this . patternLocator . match ( this . astStack [ this . astPtr ] , this . nodeSet ) ; } } protected void consumeTypeImportOnDemandDeclarationName ( ) { super . consumeTypeImportOnDemandDeclarationName ( ) ; if ( this . reportImportMatch ) { this . patternLocator . match ( this . astStack [ this . astPtr ] , this . nodeSet ) ; } } } </s>