本文整理汇总了Java中com.sun.tools.javac.tree.DocTreeMaker类的典型用法代码示例。如果您正苦于以下问题:Java DocTreeMaker类的具体用法?Java DocTreeMaker怎么用?Java DocTreeMaker使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DocTreeMaker类属于com.sun.tools.javac.tree包,在下文中一共展示了DocTreeMaker类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: init
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
private void init(Context context) {
modules = Modules.instance(context);
attr = Attr.instance(context);
enter = Enter.instance(context);
elements = JavacElements.instance(context);
log = Log.instance(context);
resolve = Resolve.instance(context);
treeMaker = TreeMaker.instance(context);
memberEnter = MemberEnter.instance(context);
names = Names.instance(context);
types = Types.instance(context);
docTreeMaker = DocTreeMaker.instance(context);
parser = ParserFactory.instance(context);
syms = Symtab.instance(context);
fileManager = context.get(JavaFileManager.class);
JavacTask t = context.get(JavacTask.class);
if (t instanceof JavacTaskImpl)
javacTaskImpl = (JavacTaskImpl) t;
}
示例2: TreeFactory
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
protected TreeFactory(Context context) {
context.put(contextKey, this);
model = ASTService.instance(context);
names = Names.instance(context);
classReader = ClassReader.instance(context);
make = com.sun.tools.javac.tree.TreeMaker.instance(context);
docMake = com.sun.tools.javac.tree.DocTreeMaker.instance(context);
elements = JavacElements.instance(context);
types = JavacTypes.instance(context);
chs = CommentHandlerService.instance(context);
make.toplevel = null;
}
示例3: ParserFactory
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
protected ParserFactory(Context context) {
super();
context.put(parserFactoryKey, this);
this.F = TreeMaker.instance(context);
this.docTreeMaker = DocTreeMaker.instance(context);
this.log = Log.instance(context);
this.names = Names.instance(context);
this.tokens = Tokens.instance(context);
this.source = Source.instance(context);
this.options = Options.instance(context);
this.scannerFactory = ScannerFactory.instance(context);
this.locale = context.get(Locale.class);
}
示例4: getDocTreeFactory
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
@Override @DefinedBy(Api.COMPILER_TREE)
public DocTreeMaker getDocTreeFactory() {
return docTreeMaker;
}