Determines if the given method has the same name, parameters, return type and modifiers but may be defined on another type. @param method the method to compare against
(MetaMethod method)
| 203 | * @param method the method to compare against |
| 204 | */ |
| 205 | public final boolean isSame(MetaMethod method) { |
| 206 | return getName().equals(method.getName()) |
| 207 | && compatibleModifiers(getModifiers(), method.getModifiers()) |
| 208 | && getReturnType().equals(method.getReturnType()) |
| 209 | && equal(getParameterTypes(), method.getParameterTypes()); |
| 210 | } |
| 211 | |
| 212 | /** |
| 213 | * Checks the compatibility between two modifier masks. Checks that they are |
nothing calls this directly
no test coverage detected