Package org.eclipse.jdt.internal.compiler

Examples of org.eclipse.jdt.internal.compiler.CompilationResult.record()


        info.getStartPos());
    DefaultProblem problem = new DefaultProblem(
        info.getFileName().toCharArray(), message,
        IProblem.ExternalProblemNotFixable, null, ProblemSeverities.Error,
        info.getStartPos(), info.getEndPos(), info.getStartLine(), startColumn);
    compResult.record(problem, methodDeclaration);
  }

  /**
   * Returns <code>true</code> if JDT optimized the condition to
   * <code>false</code>.
 
View Full Code Here


    int startColumn = Util.searchColumnNumber(lineEnds, startLine,
        node.sourceStart());
    DefaultProblem problem = new GWTProblem(problemSeverity,
        compResult.fileName, message, node.sourceStart(), node.sourceEnd(),
        startLine, startColumn, helpInfo);
    compResult.record(problem, cud);
  }

  private HelpInfo helpInfo;

  GWTProblem(int problemSeverity, char[] originatingFileName, String message,
View Full Code Here

    CompilationResult compResult = methodDeclaration.compilationResult();
    DefaultProblem problem = new DefaultProblem(
        info.getFileName().toCharArray(), message, IProblem.Unclassified, null,
        ProblemSeverities.Error, info.getStartPos(), info.getEndPos(),
        info.getStartLine());
    compResult.record(problem, methodDeclaration);
  }

  public static SourceInfo translateInfo(JsSourceInfo info) {
    // TODO implement this
    return null;
View Full Code Here

        lineEnds.length - 1);
    int startColumn = Util.searchColumnNumber(lineEnds, startLine,
        node.sourceStart());
    DefaultProblem problem = new GWTProblem(compResult.fileName, message,
        node.sourceStart(), node.sourceEnd(), startLine, startColumn, helpInfo);
    compResult.record(problem, cud);
  }

  private HelpInfo helpInfo;

  public GWTProblem(char[] originatingFileName, String message,
View Full Code Here

        info.getStartPos());
    DefaultProblem problem = new DefaultProblem(
        info.getFileName().toCharArray(), message,
        IProblem.ExternalProblemNotFixable, null, ProblemSeverities.Error,
        info.getStartPos(), info.getEndPos(), info.getStartLine(), startColumn);
    compResult.record(problem, methodDeclaration);
  }

  @SuppressWarnings("unused")
  public static SourceInfo translateInfo(JsSourceInfo info) {
    // TODO implement this
View Full Code Here

    CompilationResult compResult = methodDeclaration.compilationResult();
    DefaultProblem problem = new DefaultProblem(
        info.getFileName().toCharArray(), message, IProblem.Unclassified, null,
        ProblemSeverities.Error, info.getStartPos(), info.getEndPos(),
        info.getStartLine());
    compResult.record(problem, methodDeclaration);
  }

  public static SourceInfo translateInfo(JsSourceInfo info) {
    // TODO implement this
    return null;
View Full Code Here

    int startLine = ProblemHandler.searchLineNumber(
        compResult.lineSeparatorPositions, messageSend.sourceStart());
    DefaultProblem problem = new DefaultProblem(compResult.fileName, message,
        IProblem.Unclassified, null, ProblemSeverities.Error,
        messageSend.sourceStart, messageSend.sourceEnd, startLine);
    compResult.record(problem, scope.referenceContext());
  }

  private final Map results;

  public FindDeferredBindingSitesVisitor(Map requestedTypes) {
View Full Code Here

        info.getStartPos());
    DefaultProblem problem = new DefaultProblem(
        info.getFileName().toCharArray(), message,
        IProblem.ExternalProblemNotFixable, null, ProblemSeverities.Error,
        info.getStartPos(), info.getEndPos(), info.getStartLine(), startColumn);
    compResult.record(problem, methodDeclaration);
  }

  /**
   * Returns <code>true</code> if JDT optimized the condition to
   * <code>false</code>.
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.