public static <ContainingType extends MessageLite,Type>GeneratedExtension<ContainingType,Type> newRepeatedGeneratedExtension(final ContainingType containingTypeDefaultInstance,final MessageLite messageDefaultInstance,final Internal.EnumLiteMap<?> enumTypeMap,final int number,final WireFormat.FieldType type,final boolean isPacked){
  @SuppressWarnings("unchecked") Type emptyList=(Type)Collections.emptyList();
  return new GeneratedExtension<ContainingType,Type>(containingTypeDefaultInstance,emptyList,messageDefaultInstance,new ExtensionDescriptor(enumTypeMap,number,type,true,isPacked));
}

public static < ContainingType extends MessageLite , Type > GeneratedExtension < ContainingType , Type > newRepeatedGeneratedExtension ( final ContainingType containingTypeDefaultInstance , final MessageLite messageDefaultInstance , final Internal . EnumLiteMap < ? > enumTypeMap , final int number , final WireFormat . FieldType type , final boolean isPacked ) { @ SuppressWarnings ( "unchecked" ) Type emptyList = ( Type ) Collections . emptyList ( ) ; return new GeneratedExtension < ContainingType , Type > ( containingTypeDefaultInstance , emptyList , messageDefaultInstance , new ExtensionDescriptor ( enumTypeMap , number , type , true , isPacked ) ) ; }
for use by generated code only .
