本文整理汇总了Java中com.sun.source.doctree.UnknownBlockTagTree类的典型用法代码示例。如果您正苦于以下问题:Java UnknownBlockTagTree类的具体用法?Java UnknownBlockTagTree怎么用?Java UnknownBlockTagTree使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
UnknownBlockTagTree类属于com.sun.source.doctree包,在下文中一共展示了UnknownBlockTagTree类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: rewriteChildren
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
protected final UnknownBlockTagTree rewriteChildren(UnknownBlockTagTree tree) {
UnknownBlockTagTree value = tree;
List<? extends DocTree> content = translateDoc(tree.getContent());
if (content != tree.getContent()) {
value = make.UnknownBlockTag(((DCTree.DCUnknownBlockTag) tree).name, tree.getContent());
}
return value;
}
示例2: visitUnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
@Override
public Void visitUnknownBlockTag(UnknownBlockTagTree node, Void p) {
print("@");
print(node.getTagName());
print(" ");
for (DocTree docTree : node.getContent()) {
doAccept((DCTree)docTree);
}
return null;
}
示例3: visitUnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
@Override
public Void visitUnknownBlockTag(UnknownBlockTagTree node, List<ErrorDescription> errors) {
boolean oldInheritDoc = foundInheritDoc;
super.visitUnknownBlockTag(node, errors);
foundInheritDoc = oldInheritDoc;
return null;
}
示例4: visitUnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
@Override
public DocTree visitUnknownBlockTag(UnknownBlockTagTree tree, Object p) {
return rewriteChildren(tree);
}
示例5: UnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
public UnknownBlockTagTree UnknownBlockTag(CharSequence name, List<? extends DocTree> content) {
return docMake.at(NOPOS).newUnknownBlockTagTree(names.fromString(name.toString()), content);
}
示例6: visitUnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
/**
* @since 1.47
*/
@Override
public DocTree visitUnknownBlockTag(UnknownBlockTagTree node, Element p) {
return docScanner.visitUnknownBlockTag(node, p, null);
}
示例7: visitUnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
@Override
public Void visitUnknownBlockTag(UnknownBlockTagTree tree, Void ignore) {
checkUnknownTag(tree, tree.getTagName());
return super.visitUnknownBlockTag(tree, ignore);
}
示例8: visitUnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
@Override @DefinedBy(Api.COMPILER_TREE)
public Void visitUnknownBlockTag(UnknownBlockTagTree tree, Void ignore) {
checkUnknownTag(tree, tree.getTagName());
return super.visitUnknownBlockTag(tree, ignore);
}
示例9: UnknownBlockTag
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
/**Creates the DocTree's UnknownBlockTagTree.
*
* @param name the tag's name
* @param content the tag's content
* @return newly created UnknownBlockTagTree
* @since 0.124
*/
public UnknownBlockTagTree UnknownBlockTag(CharSequence name, List<? extends DocTree> content) {
return delegate.UnknownBlockTag(name, content);
}
示例10: newUnknownBlockTagTree
import com.sun.source.doctree.UnknownBlockTagTree; //导入依赖的package包/类
/**
* Create a new {@code UnknownBlockTagTree} object, to represent an unrecognized block tag.
* @param name the name of the block tag
* @param content the content
* @return an {@code UnknownBlockTagTree} object
*/
UnknownBlockTagTree newUnknownBlockTagTree(Name name, List<? extends DocTree> content);