/** * Construct a ProblemQuery with settings to control how compiler problems * are reported. * * @param problemSettings configuration settings to control how compiler * problems are reported. */ public ProblemQuery(ICompilerProblemSettings problemSettings) { this.problems = new ArrayList<ICompilerProblem>(); // An empty problem set is sorted. this.sorted = true; // Start with no restrictions on the problems presented. this.problemFilter = new ProblemFilterClassCriteria(); this.problemSettings = problemSettings; }
/** * Construct a ProblemQuery with settings to control how compiler problems * are reported. * * @param problemSettings configuration settings to control how compiler * problems are reported. */ public ProblemQuery(ICompilerProblemSettings problemSettings) { this.problems = new ArrayList<ICompilerProblem>(); // An empty problem set is sorted. this.sorted = true; // Start with no restrictions on the problems presented. this.problemFilter = new ProblemFilterClassCriteria(); this.problemSettings = problemSettings; }
/** * Get an iterator over all internal errors. */ public Iterable<ICompilerProblem> getInternalErrors() { return getProblemView(new ProblemFilterClassCriteria(CodegenInternalProblem.class)); }
/** * Get an iterator over all internal errors. */ public Iterable<ICompilerProblem> getInternalErrors() { return getProblemView(new ProblemFilterClassCriteria(CodegenInternalProblem.class)); }