replace last child of state with an already registered state or stateregistry the last child state . concode_field_sep State[] states concode_elem_sep int[] labels concode_elem_sep boolean is_final concode_elem_sep CharsRef previous concode_elem_sep State[] NO_STATES concode_elem_sep Comparator<CharsRef> comparator concode_elem_sep State root concode_elem_sep HashMap<State,State> stateRegistry concode_elem_sep int[] NO_LABELS concode_field_sep void add concode_elem_sep void replaceLastChild concode_elem_sep boolean hasChildren concode_elem_sep void addSuffix concode_elem_sep int convert concode_elem_sep State getState concode_elem_sep Automaton build concode_elem_sep int hashCode concode_elem_sep State lastChild concode_elem_sep State lastChild concode_elem_sep boolean equals concode_elem_sep boolean referenceEquals concode_elem_sep State complete concode_elem_sep State newState concode_elem_sep boolean setPrevious
void function ( State arg0 ) { final State loc0 = arg0 . lastChild ( ) ; if ( loc0 . hasChildren ( ) ) replaceOrRegister ( loc0 ) ; final State loc1 = stateRegistry . get ( loc0 ) ; if ( loc1 != null ) { arg0 . replaceLastChild ( loc1 ) ; } else { stateRegistry . put ( loc0 , loc0 ) ; } }