28 import java.lang.reflect.Modifier; |
28 import java.lang.reflect.Modifier; |
29 import java.text.CollationKey; |
29 import java.text.CollationKey; |
30 |
30 |
31 import com.sun.javadoc.*; |
31 import com.sun.javadoc.*; |
32 |
32 |
|
33 import com.sun.source.util.TreePath; |
33 import com.sun.tools.javac.code.Flags; |
34 import com.sun.tools.javac.code.Flags; |
34 import com.sun.tools.javac.code.Symbol.*; |
35 import com.sun.tools.javac.code.Symbol.*; |
35 import com.sun.tools.javac.code.Type; |
36 import com.sun.tools.javac.code.Type; |
36 import com.sun.tools.javac.tree.JCTree.JCMethodDecl; |
|
37 import com.sun.tools.javac.util.List; |
37 import com.sun.tools.javac.util.List; |
38 import com.sun.tools.javac.util.ListBuffer; |
38 import com.sun.tools.javac.util.ListBuffer; |
39 import com.sun.tools.javac.util.Position; |
|
40 |
39 |
41 /** |
40 /** |
42 * Represents a method or constructor of a java class. |
41 * Represents a method or constructor of a java class. |
43 * |
42 * |
44 * <p><b>This is NOT part of any supported API. |
43 * <p><b>This is NOT part of any supported API. |
58 protected final MethodSymbol sym; |
57 protected final MethodSymbol sym; |
59 |
58 |
60 /** |
59 /** |
61 * Constructor. |
60 * Constructor. |
62 */ |
61 */ |
63 public ExecutableMemberDocImpl(DocEnv env, MethodSymbol sym, |
62 public ExecutableMemberDocImpl(DocEnv env, MethodSymbol sym, TreePath treePath) { |
64 String rawDocs, JCMethodDecl tree, Position.LineMap lineMap) { |
63 super(env, sym, treePath); |
65 super(env, sym, rawDocs, tree, lineMap); |
|
66 this.sym = sym; |
64 this.sym = sym; |
67 } |
65 } |
68 |
66 |
69 /** |
67 /** |
70 * Constructor. |
68 * Constructor. |
71 */ |
69 */ |
72 public ExecutableMemberDocImpl(DocEnv env, MethodSymbol sym) { |
70 public ExecutableMemberDocImpl(DocEnv env, MethodSymbol sym) { |
73 this(env, sym, null, null, null); |
71 this(env, sym, null); |
74 } |
72 } |
75 |
73 |
76 /** |
74 /** |
77 * Returns the flags in terms of javac's flags |
75 * Returns the flags in terms of javac's flags |
78 */ |
76 */ |