equal
deleted
inserted
replaced
26 package com.sun.tools.javadoc; |
26 package com.sun.tools.javadoc; |
27 |
27 |
28 import java.lang.reflect.Modifier; |
28 import java.lang.reflect.Modifier; |
29 |
29 |
30 import com.sun.javadoc.*; |
30 import com.sun.javadoc.*; |
|
31 import com.sun.source.util.TreePath; |
31 import com.sun.tools.javac.code.*; |
32 import com.sun.tools.javac.code.*; |
32 import com.sun.tools.javac.code.Symbol.*; |
33 import com.sun.tools.javac.code.Symbol.*; |
33 import com.sun.tools.javac.code.Type; |
34 import com.sun.tools.javac.code.Type; |
34 import com.sun.tools.javac.tree.JCTree.JCMethodDecl; |
|
35 import com.sun.tools.javac.util.Position; |
|
36 |
|
37 import static com.sun.tools.javac.code.TypeTag.CLASS; |
35 import static com.sun.tools.javac.code.TypeTag.CLASS; |
38 |
36 |
39 /** |
37 /** |
40 * Represents a method of a java class. |
38 * Represents a method of a java class. |
41 * |
39 * |
60 } |
58 } |
61 |
59 |
62 /** |
60 /** |
63 * constructor. |
61 * constructor. |
64 */ |
62 */ |
65 public MethodDocImpl(DocEnv env, MethodSymbol sym, |
63 public MethodDocImpl(DocEnv env, MethodSymbol sym, TreePath treePath) { |
66 String docComment, JCMethodDecl tree, Position.LineMap lineMap) { |
64 super(env, sym, treePath); |
67 super(env, sym, docComment, tree, lineMap); |
|
68 } |
65 } |
69 |
66 |
70 /** |
67 /** |
71 * Return true if it is a method, which it is. |
68 * Return true if it is a method, which it is. |
72 * Note: constructors are not methods. |
69 * Note: constructors are not methods. |