<commit_before>package org.immutables.fixture.with;

import org.immutables.value.Value;

@Value.Immutable
@Value.Style(withUnaryOperator = "map*")
public interface WithMapUnary extends WithUnaryOperator, WithWithMapUnary {
	// inherit all attributes from WithUnaryOperator and generate With-interface
	class Builder extends ImmutableWithMapUnary.Builder {}
}<commit_msg>shallow compilation test for With-interface signatures<commit_after>package org.immutables.fixture.with;

import org.immutables.value.Value;

@Value.Immutable
@Value.Style(withUnaryOperator = "map*")
public interface WithMapUnary extends WithUnaryOperator, WithWithMapUnary {
	// inherit all attributes from WithUnaryOperator and generate With-interface
	class Builder extends ImmutableWithMapUnary.Builder {}

	default void compiledAndUsable() {
		WithMapUnary u = new ImmutableWithMapUnary.Builder()
				.a(1)
				.b("B")
				.build();

		// signatures exist after code generation and compilation
		u = u.mapA(a -> a + 2).mapL(l -> l + "!!!").mapO(o -> o + "???");
	}
}
{'fraction_non_alphanumeric': 0.10854947166186359, 'fraction_numerical': 0.0019212295869356388, 'mean_word_length': 5.2395209580838324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4626494', 'n_tokens_mistral': 335, 'n_tokens_neox': 316, 'n_words': 79}