class ManeuverResources {

    public String getManeuverInstruction(final int index) {
        final Maneuver maneuver = getManeuverAt(index);
        if (maneuver == null) {
            return "";
        }
        String instruction = getInstruction(maneuver);
        if (instruction == null || TextUtils.isEmpty(instruction)) {
            instruction = mContext.getString(R.string.msdkui_maneuver_head_to, getLocalizedOrientation(mContext, maneuver
                    .getMapOrientation()));
        }
        return instruction;
    }

    @SuppressWarnings("PMD.NcssCount") // There is no purpose to break this constuctor into smaller functions. /** * Constructs a new instance using a list of maneuvers. */ public  ManeuverResources(final Context context, final List<Maneuver> maneuverList);

}