if(!memberName.equals(member.getShortName())) {
if (!memberName.equals(member.getShortName())) { index++; while(index < members.size()) { member = members.get(index); if (memberName.equals(member.getShortName())) { throw new IndexAdjustmentException(index); } else { index++; } }
    private Member getMember(String memberType, int index, List<Member> members, String memberName, SourcePosition position) {        Member member = null;        try {            member = members.get(index);            if(!memberName.equals(member.getShortName())) {                throw new Exception();            }        } catch (Exception e) {            String message = "parser can't find " + memberType + " " + memberName;            for (RubyParser.WarningListener listener : problemListeners) {                listener.error(position, message);            }            throw new SyntaxException(position, message);        }        return member;    }