Lines Matching refs:task

190         private String getResolvedDocComment(JavacTask task, TreePath el) throws IOException {
191 DocTrees trees = DocTrees.instance(task);
198 () -> superTypeForInheritDoc(task, element.getEnclosingElement()).iterator();
202 if (task.getElements().overrides(executableElement, supMethod, clazz)) {
203 Pair<JavacTask, TreePath> source = getSourceElement(task, supMethod);
217 DocCommentTree docCommentTree = parseDocComment(task, docComment);
259 missingThrows.remove(getThrownException(task, el, docCommentTree, (ThrowsTree) dt));
268 DocTree syntheticTag = parseBlockTag(task, "@param " + missingParam + " {@inheritDoc}");
274 DocTree syntheticTag = parseBlockTag(task, "@throws " + missingThrow + " {@inheritDoc}");
280 DocTree syntheticTag = parseBlockTag(task, "@return {@inheritDoc}");
324 Iterable<Element> superTypes = () -> superTypeForInheritDoc(task, element.getEnclosingElement()).iterator();
327 if (task.getElements().overrides(executableElement, supMethod, (TypeElement) executableElement.getEnclosingElement())) {
328 Pair<JavacTask, TreePath> source = getSourceElement(task, supMethod);
372 String thrownName = getThrownException(task, el, docCommentTree, (ThrowsTree) parent);
448 int i1 = throwsTypes.indexOf(getThrownException(task, el, docCommentTree, t1));
449 int i2 = throwsTypes.indexOf(getThrownException(task, el, docCommentTree, t2));
488 private Stream<Element> superTypeForInheritDoc(JavacTask task, Element type) {
491 result = Stream.concat(result, interfaces(clazz).flatMap(el -> superTypeForInheritDoc(task, el)));
496 result = Stream.concat(result, superTypeForInheritDoc(task, superClass));
509 private DocTree parseBlockTag(JavacTask task, String blockTag) {
510 DocCommentTree dc = parseDocComment(task, blockTag);
515 private DocCommentTree parseDocComment(JavacTask task, String javadoc) {
516 DocTrees trees = DocTrees.instance(task);
529 private String getThrownException(JavacTask task, TreePath rootOn, DocCommentTree comment, ThrowsTree tt) {
530 DocTrees trees = DocTrees.instance(task);
615 private void fillElementCache(JavacTask task, CompilationUnitTree cut) throws IOException {
616 Trees trees = Trees.instance(task);
641 signature2Source.put(elementSignature(currentElement), Pair.of(task, getCurrentPath()));
660 JavacTaskImpl task = (JavacTaskImpl) compiler.getTask(null, patchFM, d -> {}, null, null, jfos);
661 Iterable<? extends CompilationUnitTree> cuts = task.parse();
663 task.enter();
665 return Pair.of(task, cuts.iterator().next());