private boolean checkIdentity( String name1, String name2, Token token )   throws LemException { if ( name1.equals( "" ) ) return false; if ( name1.equals(name2) ) return true;
private void checkIdentity( String name1, String name2, Token token )   throws LemException { if ( name2 == null ) return; if ( name1 != null && name1.equals(name2) ) return;
    private boolean checkIdentity( String name1, String name2, Token token )   throws LemException {        if ( name1.equals( "" ) ) return false;        if ( name1.equals(name2) ) return true;                throw new LemException(                "Expecting identifier '" + name1 + "' got '" + name2 + "'",                token,                "LEM_E_01001" );    }