1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.tools.javadoc; |
26 package com.sun.tools.javadoc; |
27 |
27 |
28 import java.io.IOException; |
28 import java.io.IOException; |
|
29 import java.util.Collection; |
29 import java.util.Locale; |
30 import java.util.Locale; |
|
31 |
30 import javax.tools.JavaFileManager; |
32 import javax.tools.JavaFileManager; |
31 import javax.tools.JavaFileObject; |
33 import javax.tools.JavaFileObject; |
32 import javax.tools.StandardJavaFileManager; |
34 import javax.tools.StandardJavaFileManager; |
33 |
35 |
34 import com.sun.javadoc.*; |
36 import com.sun.javadoc.*; |
35 |
|
36 import com.sun.tools.javac.tree.JCTree.JCClassDecl; |
37 import com.sun.tools.javac.tree.JCTree.JCClassDecl; |
37 import com.sun.tools.javac.util.List; |
38 import com.sun.tools.javac.util.List; |
38 import com.sun.tools.javac.util.ListBuffer; |
39 import com.sun.tools.javac.util.ListBuffer; |
39 import com.sun.tools.javac.util.Position; |
40 import com.sun.tools.javac.util.Position; |
40 |
41 |
373 * Return the current file manager. |
374 * Return the current file manager. |
374 */ |
375 */ |
375 public JavaFileManager getFileManager() { |
376 public JavaFileManager getFileManager() { |
376 return env.fileManager; |
377 return env.fileManager; |
377 } |
378 } |
|
379 |
|
380 public void initDocLint(Collection<String> opts) { |
|
381 env.initDoclint(opts); |
|
382 } |
|
383 |
|
384 public boolean showTagMessages() { |
|
385 return env.showTagMessages(); |
|
386 } |
378 } |
387 } |