Package org.eclipse.jdt.internal.compiler.ast

Examples of org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.cleanUp()


            // remove at the end so that we don't resolve twice if a source and a key for the same file name have been requested
            this.requestedKeys.put(fileName, null); // mark it as removed
          }
        } finally {
          // cleanup compilation unit result
          unit.cleanUp();
        }
        this.unitsToProcess[i] = null; // release reference to processed unit declaration
        this.requestor.acceptResult(unit.compilationResult.tagAsAccepted());
      }
View Full Code Here


            // remove at the end so that we don't resolve twice if a source and a key for the same file name have been requested
            this.requestedKeys.put(fileName, null); // mark it as removed
          }
        } finally {
          // cleanup compilation unit result
          unit.cleanUp();
        }
        this.unitsToProcess[i] = null; // release reference to processed unit declaration
        this.requestor.acceptResult(unit.compilationResult.tagAsAccepted());
      }
View Full Code Here

          result.setTypeRoot(this.typeRoot);
          return result;
        } finally {
          if (compilationUnitDeclaration != null
              && ((this.bits & CompilationUnitResolver.RESOLVE_BINDING) != 0)) {
            compilationUnitDeclaration.cleanUp();
          }
        }
    }
    throw new IllegalStateException();
  }
View Full Code Here

      org.eclipse.jdt.core.dom.CompilationUnit cu = AST.convertCompilationUnit(astLevel, compilationUnitDeclaration, options, computeProblems, source, reconcileFlags, pm);
      ((ASTHolderCUInfo) info).ast = cu;
    }
  } finally {
      if (compilationUnitDeclaration != null) {
          compilationUnitDeclaration.cleanUp();
      }
  }

  return unitInfo.isStructureKnown();
}
View Full Code Here

            // remove at the end so that we don't resolve twice if a source and a key for the same file name have been requested
            this.requestedKeys.put(fileName, null); // mark it as removed
          }
        } finally {
          // cleanup compilation unit result
          unit.cleanUp();
        }
        this.unitsToProcess[i] = null; // release reference to processed unit declaration
        this.requestor.acceptResult(unit.compilationResult.tagAsAccepted());
      }
View Full Code Here

            // remove at the end so that we don't resolve twice if a source and a key for the same file name have been requested
            this.requestedKeys.put(fileName, null); // mark it as removed
          }
        } finally {
          // cleanup compilation unit result
          unit.cleanUp();
        }
        this.unitsToProcess[i] = null; // release reference to processed unit declaration
        this.requestor.acceptResult(unit.compilationResult.tagAsAccepted());
      }
View Full Code Here

      ((ASTHolderCUInfo) info).ast = cu;
    }
  } finally {
      if (compilationUnitDeclaration != null) {
        unitInfo.hasFunctionalTypes = compilationUnitDeclaration.hasFunctionalTypes();
          compilationUnitDeclaration.cleanUp();
      }
  }

  return unitInfo.isStructureKnown();
}
View Full Code Here

          result.setTypeRoot(this.typeRoot);
          return result;
        } finally {
          if (compilationUnitDeclaration != null
              && ((this.bits & CompilationUnitResolver.RESOLVE_BINDING) != 0)) {
            compilationUnitDeclaration.cleanUp();
          }
        }
    }
    throw new IllegalStateException();
  }
View Full Code Here

      org.eclipse.jdt.core.dom.CompilationUnit cu = AST.convertCompilationUnit(astLevel, compilationUnitDeclaration, options, computeProblems, source, reconcileFlags, pm);
      ((ASTHolderCUInfo) info).ast = cu;
    }
  } finally {
      if (compilationUnitDeclaration != null) {
          compilationUnitDeclaration.cleanUp();
      }
  }

  return unitInfo.isStructureKnown();
}
View Full Code Here

        // else JavaProject has lost its nature (or most likely was closed/deleted) while reconciling -> ignore
        // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=100919)
      } finally {
      JavaModelManager.getJavaModelManager().abortOnMissingSource.set(null);
          if (unit != null) {
              unit.cleanUp();
          }
      }
    return this.ast;
  }
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.