/guava/android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
int newSize = getDelegate( ).size( ) ;boolean wasEmpty = getDelegate( ).isEmpty( ) ;
boolean wasEmpty = getDelegate ( ) .isEmpty ( ) ;
refreshIfEmpty(); return getListDelegate().set(index, element); } @Override public void add(int index, @ParametricNullness V element) { refreshIfEmpty(); <extra_id_0> getListDelegate().add(index, element); totalSize++; if (wasEmpty) { addToMap(); } }