protected void handleCollectionTypeNotAvailable ( XCollectionLiteral literal , ITypeComputationState state , Class < ? > clazz ) { for ( XExpression element : literal . getElements ( ) ) { state . withNonVoidExpectation ( ) . computeTypes ( element ) ; } state . acceptActualType ( state . getReferenceOwner ( ) . newUnknownTypeReference ( clazz . getName ( ) ) ) ; }
Process all children and assign an unknown type to the literal .