1 11 package org.eclipse.jdt.internal.core.search.matching; 12 13 import org.eclipse.jdt.internal.compiler.problem.ProblemReporter; 14 15 class ImportMatchLocatorParser extends MatchLocatorParser { 16 17 protected ImportMatchLocatorParser(ProblemReporter problemReporter, MatchLocator locator) { 18 super(problemReporter, locator); 19 } 20 protected void consumeStaticImportOnDemandDeclarationName() { 21 super.consumeStaticImportOnDemandDeclarationName(); 22 this.patternLocator.match(this.astStack[this.astPtr], this.nodeSet); 23 } 24 protected void consumeSingleStaticImportDeclarationName() { 25 super.consumeSingleStaticImportDeclarationName(); 26 this.patternLocator.match(this.astStack[this.astPtr], this.nodeSet); 27 } 28 protected void consumeSingleTypeImportDeclarationName() { 29 super.consumeSingleTypeImportDeclarationName(); 30 this.patternLocator.match(this.astStack[this.astPtr], this.nodeSet); 31 } 32 protected void consumeTypeImportOnDemandDeclarationName() { 33 super.consumeTypeImportOnDemandDeclarationName(); 34 this.patternLocator.match(this.astStack[this.astPtr], this.nodeSet); 35 } 36 37 } 38 | Popular Tags |