jodd-bean/src/main/java/jodd/introspector/ClassDescriptor.java
public MethodDescriptor getMethodDescriptor(final String name, final boolean declared) {
		final MethodDescriptor methodDescriptor = getMethods().getMethodDescriptor(name);

		if ((methodDescriptor != null) && methodDescriptor.matchDeclared(declared)) {
			return methodDescriptor;
		}

		return methodDescriptor;
	}
public MethodDescriptor getMethodDescriptor(final String name, final boolean declared) {
		final MethodDescriptor methodDescriptor = getMethods().getMethodDescriptor(name);

		if ((methodDescriptor != null) && methodDescriptor.matchDeclared(declared)) {
			return methodDescriptor;
		}

		return methodDescriptor;
	}
Returns {@link MethodDescriptor method descriptor} identified by name and parameters.