Package org.aspectj.ajdt.internal.compiler

Examples of org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager


    }
    // AsmManager.setCreatingModel(config.isEmacsSymMode() || config.isGenerateModelMode());
    // if (!AsmManager.isCreatingModel())
    // return;

    CompilationResultDestinationManager crdm = config.getCompilationResultDestinationManager();
    AsmManager structureModel = AsmManager.createNewStructureModel(crdm == null ? Collections.EMPTY_MAP : crdm.getInpathMap());
    // AsmManager.getDefault().getRelationshipMap().clear();
    IHierarchy model = structureModel.getHierarchy();
    String rootLabel = "<root>";

    IProgramElement.Kind kind = IProgramElement.Kind.FILE_JAVA;
View Full Code Here


   */
  private IProgramElement genAddToNode(File sourceFile, CompilationUnitDeclaration unit, AsmManager structureModel) {
    final IProgramElement addToNode;
    {

      CompilationResultDestinationManager manager = buildConfig.getCompilationResultDestinationManager();
      String sourceFolder = (manager == null ? null : manager.getSourceFolderForFile(sourceFile));

      ImportReference unitPackage = unit.currentPackage;

      // if (null == unitPackage) {
      // // Is there a sourceFolder to stick in?
View Full Code Here

        if (debugIncrementalStates) {
          System.err.println("< findStateManagingOutputLocation(" + location + ") returning " + element);
        }
        return element;
      }
      CompilationResultDestinationManager outputManager = ajbc.getCompilationResultDestinationManager();
      if (outputManager != null) {
        List outputDirs = outputManager.getAllOutputLocations();
        for (Iterator iterator = outputDirs.iterator(); iterator.hasNext();) {
          File dir = (File) iterator.next();
          if (dir.equals(location)) {
            if (debugIncrementalStates) {
              System.err.println("< findStateManagingOutputLocation(" + location + ") returning " + element);
View Full Code Here

    }

    if (state == null) {
      // This may be because the directory is the output path of a Java project upon which we depend
      // we need to call back into AJDT to ask about that projects state.
      CompilationResultDestinationManager crdm = buildConfig.getCompilationResultDestinationManager();
      if (crdm != null) {
        int i = crdm.discoverChangesSince(dir, lastSuccessfulBuildTime);
        // 0 = dontknow if it has changed
        // 1 = definetly not changed at all
        // further numbers can determine more granular changes
        if (i == 1) {
          if (listenerDefined()) {
View Full Code Here

TOP

Related Classes of org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager

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.