76 * or an empty list if there are none |
76 * or an empty list if there are none |
77 */ |
77 */ |
78 List<? extends TypeMirror> getParameterTypes(); |
78 List<? extends TypeMirror> getParameterTypes(); |
79 |
79 |
80 /** |
80 /** |
|
81 * Returns the receiver type of this executable, |
|
82 * or {@link javax.lang.model.type.NoType NoType} with |
|
83 * kind {@link javax.lang.model.type.TypeKind#NONE NONE} |
|
84 * if the executable has no receiver type. |
|
85 * |
|
86 * An executable which is an instance method, or a constructor of an |
|
87 * inner class, has a receiver type derived from the {@linkplain |
|
88 * #getEnclosingElement declaring type}. |
|
89 * |
|
90 * An executable which is a static method, or a constructor of a |
|
91 * non-inner class, or an initializer (static or instance), has no |
|
92 * receiver type. |
|
93 * |
|
94 * @return the receiver type of this executable |
|
95 * @since 1.8 |
|
96 */ |
|
97 TypeMirror getReceiverType(); |
|
98 |
|
99 /** |
81 * Returns the exceptions and other throwables listed in this |
100 * Returns the exceptions and other throwables listed in this |
82 * executable's {@code throws} clause. |
101 * executable's {@code throws} clause. |
83 * |
102 * |
84 * @return the exceptions and other throwables listed in this |
103 * @return the exceptions and other throwables listed in this |
85 * executable's {@code throws} clause, |
104 * executable's {@code throws} clause, |