< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/CommentHelper.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 30,39 **** --- 30,40 ---- import java.util.List; import javax.lang.model.element.Element; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.ModuleElement; + import javax.lang.model.element.Name; import javax.lang.model.element.PackageElement; import javax.lang.model.element.TypeElement; import javax.lang.model.type.TypeMirror; import com.sun.source.doctree.AttributeTree;
*** 545,555 **** public List<? extends DocTree> getTags(BaseConfiguration c, DocTree dtree) { return new SimpleDocTreeVisitor<List<? extends DocTree>, Void>() { List<? extends DocTree> asList(String content) { List<DocTree> out = new ArrayList<>(); ! out.add((TextTree)c.cmtUtils.makeTextTree(content)); return out; } @Override public List<? extends DocTree> visitAuthor(AuthorTree node, Void p) { --- 546,556 ---- public List<? extends DocTree> getTags(BaseConfiguration c, DocTree dtree) { return new SimpleDocTreeVisitor<List<? extends DocTree>, Void>() { List<? extends DocTree> asList(String content) { List<DocTree> out = new ArrayList<>(); ! out.add(c.cmtUtils.makeTextTree(content)); return out; } @Override public List<? extends DocTree> visitAuthor(AuthorTree node, Void p) {
< prev index next >