Package org.eclipse.jdt.internal.core.search.matching

Examples of org.eclipse.jdt.internal.core.search.matching.JavaSearchNameEnvironment


  }
 
  private INameEnvironment getNoCacheNameEnvironment() {
    if (this.noCacheNameEnvironment == null) {
      JavaModelManager.getJavaModelManager().cacheZipFiles(this);
      this.noCacheNameEnvironment = new JavaSearchNameEnvironment(this.javaProject, this.owner == null ? null : JavaModelManager.getJavaModelManager().getWorkingCopies(this.owner, true/*add primary WCs*/));
    }
    return this.noCacheNameEnvironment;
  }
View Full Code Here


  }
 
  private INameEnvironment getNoCacheNameEnvironment() {
    if (this.noCacheNameEnvironment == null) {
      JavaModelManager.getJavaModelManager().cacheZipFiles(this);
      this.noCacheNameEnvironment = new JavaSearchNameEnvironment(this.javaProject, this.owner == null ? null : JavaModelManager.getJavaModelManager().getWorkingCopies(this.owner, true/*add primary WCs*/));
    }
    return this.noCacheNameEnvironment;
  }
View Full Code Here

  }
 
  private INameEnvironment getNoCacheNameEnvironment() {
    if (this.noCacheNameEnvironment == null) {
      JavaModelManager.getJavaModelManager().cacheZipFiles(this);
      this.noCacheNameEnvironment = new JavaSearchNameEnvironment(this.javaProject, this.owner == null ? null : JavaModelManager.getJavaModelManager().getWorkingCopies(this.owner, true/*add primary WCs*/));
    }
    return this.noCacheNameEnvironment;
  }
View Full Code Here

      this.basicParser.reportOnlyOneSyntaxError = true;
      this.basicParser.scanner.taskTags = null;
      this.cud = this.basicParser.parse(this.compilationUnit, new CompilationResult(this.compilationUnit, 0, 0, this.options.maxProblemsPerUnit));

      // Use a non model name environment to avoid locks, monitors and such.
      INameEnvironment nameEnvironment = new JavaSearchNameEnvironment(javaProject, JavaModelManager.getJavaModelManager().getWorkingCopies(DefaultWorkingCopyOwner.PRIMARY, true/*add primary WCs*/));
      this.lookupEnvironment = new LookupEnvironment(this, this.options, problemReporter, nameEnvironment);
      reduceParseTree(this.cud);
      this.lookupEnvironment.buildTypeBindings(this.cud, null);
      this.lookupEnvironment.completeTypeBindings();
      this.cud.scope.faultInTypes();
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.core.search.matching.JavaSearchNameEnvironment

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.