org.unitils.util
Class MethodUtils
java.lang.Object
org.unitils.util.MethodUtils
public class MethodUtils
- extends 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(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(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(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(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(Method method)
Copyright © 2011. All Rights Reserved.