@@ -0,0 +1,1084 @@
+package com.doctor.commons;%0A%0Aimport java.lang.reflect.Method;%0A%0Aimport com.doctor.beaver.annotation.ThreadSafe;%0A%0A/**%0A * @author sdcuike%0A *         %3Cp%3E%0A *         Created on 2016%E5%B9%B410%E6%9C%8810%E6%97%A5%3Cbr/%3E%0A */%0A@ThreadSafe%0Apublic class MethodUtils %7B%0A%0A    public static boolean isEqualsMethod(Method method) %7B%0A        return %22equals%22.equals(method.getName()) && 1 == method.getParameterTypes().length && Object.class.equals(method.getParameterTypes()%5B0%5D);%0A    %7D%0A%0A    public static boolean isHashCodeMethod(Method method) %7B%0A        return %22hashCode%22.equals(method.getName()) && 0 == method.getParameterTypes().length;%0A    %7D%0A%0A    public static boolean isToStringMethod(Method method) %7B%0A        return %22toString%22.equals(method.getName()) && 0 == method.getParameterTypes().length;%0A    %7D%0A%0A    public static boolean isCloneMethod(Method method) %7B%0A        return %22clone%22.equals(method.getName()) && 0 == method.getParameterTypes().length;%0A    %7D%0A%0A    public static boolean isFinalizeMethod(Method method) %7B%0A        return %22finalize%22.equals(method.getName()) && 0 == method.getParameterTypes().length;%0A    %7D%0A%0A%7D%0A

add MethodUtils