Polish "Fix Javadoc"

See gh-32403
This commit is contained in:
Stéphane Nicoll
2024-03-09 15:53:49 +01:00
parent abdccffa39
commit 4983a802a7
17 changed files with 38 additions and 92 deletions

View File

@@ -16,10 +16,12 @@
package org.springframework.beans.factory.support;
import java.lang.reflect.Method;
import org.springframework.util.ClassUtils;
/**
* Descriptor for a {@link java.lang.reflect.Method Method} which holds a
* Descriptor for a {@link Method Method} which holds a
* reference to the method's {@linkplain #declaringClass declaring class},
* {@linkplain #methodName name}, and {@linkplain #parameterTypes parameter types}.
*
@@ -33,9 +35,8 @@ record MethodDescriptor(Class<?> declaringClass, String methodName, Class<?>...
/**
* Create a {@link MethodDescriptor} for the supplied bean class and method name.
* <p>The supplied {@code methodName} may be a {@linkplain java.lang.reflect.Method#getName()
* simple method name} or a
* {@linkplain org.springframework.util.ClassUtils#getQualifiedMethodName(java.lang.reflect.Method)
* <p>The supplied {@code methodName} may be a {@linkplain Method#getName()
* simple method name} or a {@linkplain ClassUtils#getQualifiedMethodName(Method)
* qualified method name}.
* <p>If the method name is fully qualified, this utility will parse the
* method name and its declaring class from the qualified method name and then

View File

@@ -554,7 +554,7 @@ class ExtendedBeanInfoTests {
* IntrospectionException regarding a "type mismatch between indexed and non-indexed
* methods" intermittently (approximately one out of every four times) under JDK 7
* due to non-deterministic results from {@link Class#getDeclaredMethods()}.
* @see <a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7023180">JDK-7023180 : Change in specified-to-be-unspecified ordering of getDeclaredMethods causes application problems</a>
* @see <a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7023180">JDK-7023180</a>
* @see #cornerSpr9702()
*/
@Test