protected boolean matchesExpectation(LightweightTypeReference elementType, LightweightTypeReference expectation) {
		return expectation != null && expectation.isResolved() && !expectation.isWildcard() && expectation.isAssignableFrom(elementType);
	}
protected boolean matchesExpectation ( LightweightTypeReference elementType , LightweightTypeReference expectation ) { return expectation != null && expectation . isResolved ( ) && ! expectation . isWildcard ( ) && expectation . isAssignableFrom ( elementType ) ; }
Implements fall-back strategy. If the expected type of a collection literal does not match the actual type, but the expected element
types would match the actual element type, the collection literal will be successfully typed according to the expectation.