Package org.aspectj.org.eclipse.jdt.internal.compiler

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.IErrorHandlingPolicy


*  Low-level API performing the actual compilation
*/
public IErrorHandlingPolicy getHandlingPolicy() {

  // passes the initial set of files to the batch oracle (to avoid finding more than once the same units when case insensitive match)
  return new IErrorHandlingPolicy() {
    public boolean proceedOnErrors() {
      return Main.this.proceedOnError; // stop if there are some errors
    }
    public boolean stopOnFirstError() {
      return false;
View Full Code Here


   *  Low-level API performing the actual compilation
   */
  protected static IErrorHandlingPolicy getHandlingPolicy() {

    // passes the initial set of files to the batch oracle (to avoid finding more than once the same units when case insensitive match)
    return new IErrorHandlingPolicy() {
      public boolean stopOnFirstError() {
        return false;
      }
      public boolean proceedOnErrors() {
        return false; // stop if there are some errors
View Full Code Here

  private IGenericType[] typeModels;
 
public HierarchyResolver(INameEnvironment nameEnvironment, Map settings, HierarchyBuilder builder, IProblemFactory problemFactory) {
  // create a problem handler with the 'exit after all problems' handling policy
  this.options = new CompilerOptions(settings);
  IErrorHandlingPolicy policy = DefaultErrorHandlingPolicies.exitAfterAllProblems();
  ProblemReporter problemReporter = new ProblemReporter(policy, this.options, problemFactory);

  this.setEnvironment(
    new LookupEnvironment(this, this.options, problemReporter, nameEnvironment),
    builder);
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.IErrorHandlingPolicy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.