Class.getDeclaredMethod will never return null.