equal
deleted
inserted
replaced
354 * {@code synchronized}, {@code native}, {@code strictfp}. |
354 * {@code synchronized}, {@code native}, {@code strictfp}. |
355 * |
355 * |
356 * @return a string describing this {@code Method} |
356 * @return a string describing this {@code Method} |
357 * |
357 * |
358 * @jls 8.4.3 Method Modifiers |
358 * @jls 8.4.3 Method Modifiers |
|
359 * @jls 9.4 Method Declarations |
|
360 * @jls 9.6.1 Annotation Type Elements |
359 */ |
361 */ |
360 public String toString() { |
362 public String toString() { |
361 return sharedToString(Modifier.methodModifiers(), |
363 return sharedToString(Modifier.methodModifiers(), |
362 isDefault(), |
364 isDefault(), |
363 parameterTypes, |
365 parameterTypes, |
407 * include type parameters |
409 * include type parameters |
408 * |
410 * |
409 * @since 1.5 |
411 * @since 1.5 |
410 * |
412 * |
411 * @jls 8.4.3 Method Modifiers |
413 * @jls 8.4.3 Method Modifiers |
|
414 * @jls 9.4 Method Declarations |
|
415 * @jls 9.6.1 Annotation Type Elements |
412 */ |
416 */ |
413 @Override |
417 @Override |
414 public String toGenericString() { |
418 public String toGenericString() { |
415 return sharedToGenericString(Modifier.methodModifiers(), isDefault()); |
419 return sharedToGenericString(Modifier.methodModifiers(), isDefault()); |
416 } |
420 } |