org.unitils.util
Class MethodUtils
java.lang.Object
org.unitils.util.MethodUtils
public class MethodUtils
- extends java.lang.Object
- Author:
- Filip Neven, Tim Ducheyne
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodUtils
public MethodUtils()
isEqualsMethod
public static boolean isEqualsMethod(java.lang.reflect.Method method)
- Parameters:
method - The method to check, not null
- Returns:
- True if the given method is the
Object.equals(java.lang.Object) method
isHashCodeMethod
public static boolean isHashCodeMethod(java.lang.reflect.Method method)
- Parameters:
method - The method to check, not null
- Returns:
- True if the given method is the
Object.hashCode() method
isToStringMethod
public static boolean isToStringMethod(java.lang.reflect.Method method)
- Parameters:
method - The method to check, not null
- Returns:
- True if the given method is the
Object.toString() method
isCloneMethod
public static boolean isCloneMethod(java.lang.reflect.Method method)
- Parameters:
method - The method to check, not null
- Returns:
- True if the given method is the
Object.clone() method
isFinalizeMethod
public static boolean isFinalizeMethod(java.lang.reflect.Method method)
Copyright © 2009. All Rights Reserved.