using getMethod in reflection instead of getDeclaredMethod as method comes from parent class