Package org.eclipse.jdt.internal.compiler.problem

Examples of org.eclipse.jdt.internal.compiler.problem.AbortType


*  We cause the compilation task to abort to a given extent.
*/
public void abort(int abortLevel, CategorizedProblem problem) {
  switch (abortLevel) {
    case AbortType :
      throw new AbortType(this.compilationResult, problem);
    case AbortMethod :
      throw new AbortMethod(this.compilationResult, problem);
    default :
      throw new AbortCompilationUnit(this.compilationResult, problem);
  }
View Full Code Here


*  We cause the compilation task to abort to a given extent.
*/
public void abort(int abortLevel, CategorizedProblem problem) {
  switch (abortLevel) {
    case AbortType :
      throw new AbortType(this.compilationResult, problem);
    case AbortMethod :
      throw new AbortMethod(this.compilationResult, problem);
    default :
      throw new AbortCompilationUnit(this.compilationResult, problem);
  }
View Full Code Here

*  We cause the compilation task to abort to a given extent.
*/
public void abort(int abortLevel, CategorizedProblem problem) {
  switch (abortLevel) {
    case AbortType :
      throw new AbortType(this.compilationResult, problem);
    case AbortMethod :
      throw new AbortMethod(this.compilationResult, problem);
    default :
      throw new AbortCompilationUnit(this.compilationResult, problem);
  }
View Full Code Here

*  We cause the compilation task to abort to a given extent.
*/
public void abort(int abortLevel, CategorizedProblem problem) {
  switch (abortLevel) {
    case AbortType :
      throw new AbortType(this.compilationResult, problem);
    case AbortMethod :
      throw new AbortMethod(this.compilationResult, problem);
    default :
      throw new AbortCompilationUnit(this.compilationResult, problem);
  }
View Full Code Here

      case AbortCompilation :
        throw new AbortCompilation(this.compilationResult, problem);
      case AbortCompilationUnit :
        throw new AbortCompilationUnit(this.compilationResult, problem);
      case AbortType :
        throw new AbortType(this.compilationResult, problem);
      default :
        throw new AbortMethod(this.compilationResult, problem);
    }
  }
View Full Code Here

          classFile.contentsOffset = problemResetPC;
          classFile.methodCount--;
          classFile.codeStream.resetForCodeGenUnusedLocals();
          restart = true;
        } else {
          throw new AbortType(this.compilationResult, e.problem);
        }
      }
    } while (restart);
  }
View Full Code Here

    // generate all methods
    classFile.addSpecialMethods();

    if (this.ignoreFurtherInvestigation){ // trigger problem type generation for code gen errors
      throw new AbortType(this.scope.referenceCompilationUnit().compilationResult, null);
    }

    // finalize the compiled type result
    classFile.addAttributes();
    this.scope.referenceCompilationUnit().compilationResult.record(this.binding.constantPoolName(), classFile);
View Full Code Here

*  We cause the compilation task to abort to a given extent.
*/
public void abort(int abortLevel, CategorizedProblem problem) {
  switch (abortLevel) {
    case AbortType :
      throw new AbortType(this.compilationResult, problem);
    case AbortMethod :
      throw new AbortMethod(this.compilationResult, problem);
    default :
      throw new AbortCompilationUnit(this.compilationResult, problem);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.compiler.problem.AbortType

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.