public static MatchLocatorParser createParser(ProblemReporter problemReporter, MatchLocator locator) { if ((locator.matchContainer & PatternLocator.COMPILATION_UNIT_CONTAINER) != 0) { return new ImportMatchLocatorParser(problemReporter, locator); } return new MatchLocatorParser(problemReporter, locator); }
public static MatchLocatorParser createParser(ProblemReporter problemReporter, MatchLocator locator) { if ((locator.matchContainer & PatternLocator.COMPILATION_UNIT_CONTAINER) != 0) { return new ImportMatchLocatorParser(problemReporter, locator); } return new MatchLocatorParser(problemReporter, locator); }
public static MatchLocatorParser createParser(ProblemReporter problemReporter, MatchLocator locator) { if ((locator.matchContainer & PatternLocator.COMPILATION_UNIT_CONTAINER) != 0) { return new ImportMatchLocatorParser(problemReporter, locator); } return new MatchLocatorParser(problemReporter, locator); }
public static MatchLocatorParser createParser(ProblemReporter problemReporter, MatchLocator locator) { if ((locator.matchContainer & PatternLocator.COMPILATION_UNIT_CONTAINER) != 0) { return new ImportMatchLocatorParser(problemReporter, locator); } return new MatchLocatorParser(problemReporter, locator); }
public static MatchLocatorParser createParser(ProblemReporter problemReporter, MatchLocator locator) { if ((locator.matchContainer & PatternLocator.COMPILATION_UNIT_CONTAINER) != 0) { return new ImportMatchLocatorParser(problemReporter, locator); } return new MatchLocatorParser(problemReporter, locator); }
public static MatchLocatorParser createParser(ProblemReporter problemReporter, MatchLocator locator) { if ((locator.matchContainer & PatternLocator.COMPILATION_UNIT_CONTAINER) != 0) { return new ImportMatchLocatorParser(problemReporter, locator); } return new MatchLocatorParser(problemReporter, locator); }