122 List<? extends TypeMirror> getThrownTypes();
123
124 /**
125 * Returns the default value if this executable is an annotation
126 * interface element. Returns {@code null} if this method is not
127 * an annotation interface element, or if it is an annotation
128 * interface element with no default value.
129 *
130 * @return the default value, or {@code null} if none
131 */
132 AnnotationValue getDefaultValue();
133
134 /**
135 * {@return the class or interface defining the executable}
136 */
137 @Override
138 Element getEnclosingElement();
139
140 /**
141 * {@return the simple name of a constructor, method, or
142 * initializer} For a constructor, the name {@code "<init>"} is
143 * returned, for a static initializer, the name {@code "<clinit>"}
144 * is returned, and for an anonymous class or instance
145 * initializer, an <a href=Name.html#empty_name>empty name</a> is
146 * returned.
147 */
148 @Override
149 Name getSimpleName();
150 }
|
122 List<? extends TypeMirror> getThrownTypes();
123
124 /**
125 * Returns the default value if this executable is an annotation
126 * interface element. Returns {@code null} if this method is not
127 * an annotation interface element, or if it is an annotation
128 * interface element with no default value.
129 *
130 * @return the default value, or {@code null} if none
131 */
132 AnnotationValue getDefaultValue();
133
134 /**
135 * {@return the class or interface defining the executable}
136 */
137 @Override
138 Element getEnclosingElement();
139
140 /**
141 * {@return the simple name of a constructor, method, or
142 * initializer} For a constructor, the name {@code "<init>"} or
143 * initializer} For a constructor, the name {@code "<init>"} is
144 * returned, for a value class static factory method, the name
145 * {@code "<vnew>"} is returned, for a static initializer, the
146 * name {@code "<clinit>"} is returned, and for an anonymous class
147 * or instance initializer, an <a href=Name.html#empty_name>empty name</a> is
148 * returned.
149 */
150 @Override
151 Name getSimpleName();
152 }
|