@SuppressWarnings("unchecked") public final <T extends Extension>boolean hasRepeatingExtension(Class<T> extensionClass){
  List<T> ret=(List<T>)repeatingExtensionMap.get(extensionClass);
  return ret != null && !ret.isEmpty();
}

@ SuppressWarnings ( "unchecked" ) public final < T extends Extension > boolean hasRepeatingExtension ( Class < T > extensionClass ) { List < T > ret = ( List < T > ) repeatingExtensionMap . get ( extensionClass ) ; return ret != null && ! ret . isEmpty ( ) ; }
returns whether the repeating extension is present .
