Examples of DefaultProblemFactory


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

    this.nameLookup = searchableEnvironment.nameLookup;
    Map options = project.getOptions(true);
    // disable task tags to speed up parsing
    options.put(JavaCore.COMPILER_TASK_TAGS, ""); //$NON-NLS-1$
    this.hierarchyResolver =
      new HierarchyResolver(searchableEnvironment, options, this, new DefaultProblemFactory());
    if (focusType != null) {
      Member declaringMember = ((Member)focusType).getOuterMostLocalContext();
      if (declaringMember == null) {
        // top level or member type
        if (!inProjectOfFocusType) {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

      this.hierarchyResolver =
        new HierarchyResolver(
          searchableEnvironment,
          project.getOptions(true),
          this,
          new DefaultProblemFactory());
    }
    this.infoToHandle = new HashMap(5);
    this.focusQualifiedName = focusType == null ? null : focusType.getFullyQualifiedName();
  }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

    this.methodParameterNames = new char[1][][];
    this.anonymousCounter = 0;
   
    HashMap oldSourceRanges = (HashMap) this.sourceRanges.clone();
    try {
      IProblemFactory factory = new DefaultProblemFactory();
      SourceElementParser parser = null;
      this.anonymousClassName = 0;
      if (info == null) {
        try {
          info = (IBinaryType) this.binaryType.getElementInfo();
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

      this.compilerOptions = new CompilerOptions(JavaCore.getOptions());
      ProblemReporter problemReporter =
        new ProblemReporter(
          DefaultErrorHandlingPolicies.proceedWithAllProblems(),
          this.compilerOptions,
          new DefaultProblemFactory());
      this.parser = new Parser(problemReporter, true);
    }
    return this.parser;
  }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

    }
    CompilerOptions compilerOptions = new CompilerOptions(settings);
    final ProblemReporter problemReporter = new ProblemReporter(
          DefaultErrorHandlingPolicies.proceedWithAllProblems(),
          compilerOptions,
          new DefaultProblemFactory(Locale.getDefault()));
         
    CommentRecorderParser parser = new CommentRecorderParser(problemReporter, false);
    parser.setMethodsFullRecovery(false);
    parser.setStatementsRecovery(false);
   
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

    CommentRecorderParser parser =
      new CommentRecorderParser(
        new ProblemReporter(
          DefaultErrorHandlingPolicies.proceedWithAllProblems(),
          compilerOptions,
          new DefaultProblemFactory(Locale.getDefault())),
      false);
   
    ICompilationUnit sourceUnit =
      new CompilationUnit(
        source,
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

    }
    CompilerOptions compilerOptions = new CompilerOptions(settings);
    final ProblemReporter problemReporter = new ProblemReporter(
          DefaultErrorHandlingPolicies.proceedWithAllProblems(),
          compilerOptions,
          new DefaultProblemFactory(Locale.getDefault()));
         
    CommentRecorderParser parser = new CommentRecorderParser(problemReporter, false);

    ICompilationUnit sourceUnit =
      new CompilationUnit(
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory

    }
    CompilerOptions compilerOptions = new CompilerOptions(settings);
    final ProblemReporter problemReporter = new ProblemReporter(
          DefaultErrorHandlingPolicies.proceedWithAllProblems(),
          compilerOptions,
          new DefaultProblemFactory(Locale.getDefault()));
    CommentRecorderParser parser = new CommentRecorderParser(problemReporter, false);
    parser.setMethodsFullRecovery(false);
    parser.setStatementsRecovery(enabledStatementRecovery);
   
    ICompilationUnit sourceUnit =
View Full Code Here

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

      DefaultErrorHandlingPolicies.proceedWithAllProblems();

    final Map settings = getJdtSettings();

    final IProblemFactory problemFactory =
      new DefaultProblemFactory(Locale.getDefault());

    final ICompilerRequestor requestor = getCompilerRequestor(units, problemBuffer);

    ICompilationUnit[] compilationUnits = new ICompilationUnit[units.length];
    for (int i = 0; i < compilationUnits.length; i++)
View Full Code Here

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

        if (target14) {
            settings.put(CompilerOptions.OPTION_TargetPlatform,
                         CompilerOptions.VERSION_1_4);
        }
        final IProblemFactory problemFactory =
            new DefaultProblemFactory(Locale.getDefault());
       
        final ICompilerRequestor requestor = new ICompilerRequestor() {
                public void acceptResult(CompilationResult result) {
                    try {
                        if (result.hasProblems()) {
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.