equal
deleted
inserted
replaced
192 * |
192 * |
193 * @return an array of {@code TypeVariable} objects that represent |
193 * @return an array of {@code TypeVariable} objects that represent |
194 * the type variables declared by this generic declaration |
194 * the type variables declared by this generic declaration |
195 * @throws GenericSignatureFormatError if the generic |
195 * @throws GenericSignatureFormatError if the generic |
196 * signature of this generic declaration does not conform to |
196 * signature of this generic declaration does not conform to |
197 * the format specified in the Java Virtual Machine Specification, |
197 * the format specified in |
198 * 3rd edition |
198 * <cite>The Java™ Virtual Machine Specification</cite> |
199 * @since 1.5 |
199 * @since 1.5 |
200 */ |
200 */ |
201 public TypeVariable<Method>[] getTypeParameters() { |
201 public TypeVariable<Method>[] getTypeParameters() { |
202 if (getGenericSignature() != null) |
202 if (getGenericSignature() != null) |
203 return (TypeVariable<Method>[])getGenericInfo().getTypeParameters(); |
203 return (TypeVariable<Method>[])getGenericInfo().getTypeParameters(); |
228 * |
228 * |
229 * @return a {@code Type} object that represents the formal return |
229 * @return a {@code Type} object that represents the formal return |
230 * type of the underlying method |
230 * type of the underlying method |
231 * @throws GenericSignatureFormatError |
231 * @throws GenericSignatureFormatError |
232 * if the generic method signature does not conform to the format |
232 * if the generic method signature does not conform to the format |
233 * specified in the Java Virtual Machine Specification, 3rd edition |
233 * specified in |
|
234 * <cite>The Java™ Virtual Machine Specification</cite> |
234 * @throws TypeNotPresentException if the underlying method's |
235 * @throws TypeNotPresentException if the underlying method's |
235 * return type refers to a non-existent type declaration |
236 * return type refers to a non-existent type declaration |
236 * @throws MalformedParameterizedTypeException if the |
237 * @throws MalformedParameterizedTypeException if the |
237 * underlying method's return typed refers to a parameterized |
238 * underlying method's return typed refers to a parameterized |
238 * type that cannot be instantiated for any reason |
239 * type that cannot be instantiated for any reason |
273 * |
274 * |
274 * @return an array of Types that represent the formal |
275 * @return an array of Types that represent the formal |
275 * parameter types of the underlying method, in declaration order |
276 * parameter types of the underlying method, in declaration order |
276 * @throws GenericSignatureFormatError |
277 * @throws GenericSignatureFormatError |
277 * if the generic method signature does not conform to the format |
278 * if the generic method signature does not conform to the format |
278 * specified in the Java Virtual Machine Specification, 3rd edition |
279 * specified in |
|
280 * <cite>The Java™ Virtual Machine Specification</cite> |
279 * @throws TypeNotPresentException if any of the parameter |
281 * @throws TypeNotPresentException if any of the parameter |
280 * types of the underlying method refers to a non-existent type |
282 * types of the underlying method refers to a non-existent type |
281 * declaration |
283 * declaration |
282 * @throws MalformedParameterizedTypeException if any of |
284 * @throws MalformedParameterizedTypeException if any of |
283 * the underlying method's parameter types refer to a parameterized |
285 * the underlying method's parameter types refer to a parameterized |
317 * |
319 * |
318 * @return an array of Types that represent the exception types |
320 * @return an array of Types that represent the exception types |
319 * thrown by the underlying method |
321 * thrown by the underlying method |
320 * @throws GenericSignatureFormatError |
322 * @throws GenericSignatureFormatError |
321 * if the generic method signature does not conform to the format |
323 * if the generic method signature does not conform to the format |
322 * specified in the Java Virtual Machine Specification, 3rd edition |
324 * specified in |
|
325 * <cite>The Java™ Virtual Machine Specification</cite> |
323 * @throws TypeNotPresentException if the underlying method's |
326 * @throws TypeNotPresentException if the underlying method's |
324 * {@code throws} clause refers to a non-existent type declaration |
327 * {@code throws} clause refers to a non-existent type declaration |
325 * @throws MalformedParameterizedTypeException if |
328 * @throws MalformedParameterizedTypeException if |
326 * the underlying method's {@code throws} clause refers to a |
329 * the underlying method's {@code throws} clause refers to a |
327 * parameterized type that cannot be instantiated for any reason |
330 * parameterized type that cannot be instantiated for any reason |