public boolean isMethod ( MetaMethod method ) { return getName ( ) . equals ( method . getName ( ) ) && getModifiers ( ) == method . getModifiers ( ) && getReturnType ( ) . equals ( method . getReturnType ( ) ) && equal ( getParameterTypes ( ) , method . getParameterTypes ( ) ) ; }
Returns true if this this metamethod represents the same method as the argument .