diff --git a/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java b/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java index 8cd8136b2..821b7929b 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java @@ -24,7 +24,7 @@ import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ClassUtils; /** - *
Utility reflection methods focused on methods, originally from Commons BeanUtils. + *
Utility reflection methods focused on methods, originally from Commons BeanUtils. * Differences from the BeanUtils version may be noted, especially where similar functionality * already existed within Lang. *
@@ -59,7 +59,7 @@ public class MethodUtils { } /** - *Invoke a named method whose parameter type matches the object type.
+ *Invokes a named method whose parameter type matches the object type.
* *This method delegates the method search to {@link #getMatchingAccessibleMethod(Class, String, Class[])}.
* @@ -67,7 +67,7 @@ public class MethodUtils { * via passing in wrapping classes. So, for example, aBoolean
object
* would match a boolean
primitive.
*
- * This is a convenient wrapper for + *
This is a convenient wrapper for * {@link #invokeMethod(Object object,String methodName, Object[] args, Class[] parameterTypes)}. *
* @@ -95,7 +95,7 @@ public class MethodUtils { } /** - *Invoke a named method whose parameter type matches the object type.
+ *Invokes a named method whose parameter type matches the object type.
* *This method delegates the method search to {@link #getMatchingAccessibleMethod(Class, String, Class[])}.
* @@ -134,10 +134,10 @@ public class MethodUtils { } /** - *Invoke a method whose parameter types match exactly the object + *
Invokes a method whose parameter types match exactly the object * types.
* - *This uses reflection to invoke the method obtained from a call to + *
This uses reflection to invoke the method obtained from a call to
* getAccessibleMethod()
.
Invoke a method whose parameter types match exactly the parameter + *
Invokes a method whose parameter types match exactly the parameter * types given.
* *This uses reflection to invoke the method obtained from a call to @@ -205,7 +205,7 @@ public class MethodUtils { } /** - *
Invoke a static method whose parameter types match exactly the parameter + *
Invokes a static method whose parameter types match exactly the parameter * types given.
* *This uses reflection to invoke the method obtained from a call to @@ -242,7 +242,7 @@ public class MethodUtils { } /** - *
Invoke a named static method whose parameter type matches the object type.
+ *Invokes a named static method whose parameter type matches the object type.
* *This method delegates the method search to {@link #getMatchingAccessibleMethod(Class, String, Class[])}.
* @@ -250,7 +250,7 @@ public class MethodUtils { * via passing in wrapping classes. So, for example, aBoolean
class
* would match a boolean
primitive.
*
- * This is a convenient wrapper for + *
This is a convenient wrapper for * {@link #invokeStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes)}. *
* @@ -280,7 +280,7 @@ public class MethodUtils { } /** - *Invoke a named static method whose parameter type matches the object type.
+ *Invokes a named static method whose parameter type matches the object type.
* *This method delegates the method search to {@link #getMatchingAccessibleMethod(Class, String, Class[])}.
* @@ -321,10 +321,10 @@ public class MethodUtils { } /** - *Invoke a static method whose parameter types match exactly the object + *
Invokes a static method whose parameter types match exactly the object * types.
* - *This uses reflection to invoke the method obtained from a call to + *
This uses reflection to invoke the method obtained from a call to * {@link #getAccessibleMethod(Class, String, Class[])}.
* * @param cls invoke static method on this class @@ -353,7 +353,7 @@ public class MethodUtils { } /** - *Return an accessible method (that is, one that can be invoked via + *
Returns an accessible method (that is, one that can be invoked via
* reflection) with given name and parameters. If no such method
* can be found, return null
.
* This is just a convenient wrapper for
@@ -375,7 +375,7 @@ public class MethodUtils {
}
/**
- *
Return an accessible method (that is, one that can be invoked via + *
Returns an accessible method (that is, one that can be invoked via
* reflection) that implements the specified Method. If no such method
* can be found, return null
.
Return an accessible method (that is, one that can be invoked via + *
Returns an accessible method (that is, one that can be invoked via
* reflection) by scanning through the superclasses. If no such method
* can be found, return null
.
Return an accessible method (that is, one that can be invoked via + *
Returns an accessible method (that is, one that can be invoked via
* reflection) that implements the specified method, by scanning through
* all implemented interfaces and subinterfaces. If no such method
* can be found, return null
.
There isn't any good reason why this method must be private. + *
There isn't any good reason why this method must be private. * It is because there doesn't seem any reason why other classes should * call this rather than the higher level methods.
* @@ -486,7 +486,7 @@ public class MethodUtils { } /** - *Find an accessible method that matches the given name and has compatible parameters. + *
Finds an accessible method that matches the given name and has compatible parameters. * Compatible parameters mean that every method parameter is assignable from * the given parameters. * In other words, it finds a method with the given name