@Immutable public class ScmChangedFiles { @Nullable private final Collection<Path> fileCollection; public ScmChangedFiles(@Nullable Collection<Path> changedFiles) { this.fileCollection = changedFiles; } public boolean verifyChanged(Path file) { return fileCollection == null || fileCollection.contains(file); } Collection<Path> get() { return fileCollection; } }
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableMappy implements TestImmutablesHStore.Mappy { private final ImmutableMap<String, String> numbers;
@SuppressFBWarnings @ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableGetter implements ImmutablesTest.Getter { private final int foo;
@ParametersAreNonnullByDefault @Generated({"Immutables.generator", "RaftIndex"}) @Immutable @JsonIgnoreProperties(ignoreUnknown = true) public final class ImmutableRaftIndex extends RaftIndex {
@ParametersAreNonnullByDefault @Immutable final class RetrieveThingsLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveThingsLiveCommand, RetrieveThingsLiveCommandAnswerBuilder> implements RetrieveThingsLiveCommand { @Nullable private final String namespace;
@ParametersAreNonnullByDefault @javax.annotation.Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableShimClass extends PluginDetail.ShimClass { private final Type type;
@Immutable @SuppressWarnings("serial") // serializing control flow exceptions is nonsense! @SuppressFBWarnings("NM_CLASS_NOT_EXCEPTION") public class ControlFlowException extends Error {
@ParametersAreNonnullByDefault @javax.annotation.Generated("org.immutables.processor.ProxyProcessor") @Immutable final class ImmutablePagerDutyNotification implements AlertConfig.PagerDutyNotification {
@SuppressFBWarnings @ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableSubValue<X, T> implements ImmutablesTest.SubValue<X, T> { private final X x;
@ParametersAreNonnullByDefault @Generated({"Immutables.generator", "AclTokenId"}) @Immutable @JsonIgnoreProperties(ignoreUnknown = true) public final class ImmutableAclTokenId extends AclTokenId { private final String id;
@ParametersAreNonnullByDefault @Immutable final class RetrieveThingsLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveThingsLiveCommand, RetrieveThingsLiveCommandAnswerBuilder> implements RetrieveThingsLiveCommand { @Nullable private final String namespace;
@ParametersAreNonnullByDefault @Generated({"Immutables.generator", "_EventCorrelationId"}) @Immutable public final class EventCorrelationId extends com.mercateo.eventstore.domain._EventCorrelationId { private final UUID value;
@ParametersAreNonnullByDefault @javax.annotation.Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue final class ImmutableAdviceMatcher extends AdviceMatcher { private final Advice advice;
@Immutable @SuppressFBWarnings("JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_CLASS") public final class Methods {
@ParametersAreNonnullByDefault @javax.annotation.Generated("org.immutables.processor.ProxyProcessor") @Immutable final class ImmutableHeartbeatCondition implements AlertConfig.HeartbeatCondition {
@SuppressFBWarnings @ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableTrain implements ImmutablesTest.Train { private final String name;
@ParametersAreNonnullByDefault @Generated({"Immutables.generator", "WriteRequest"}) @Immutable @JsonIgnoreProperties(ignoreUnknown = true) public final class ImmutableWriteRequest extends WriteRequest { private final String token;
/** * {@code PredicateTemplate} provides a Boolean typed {@link TemplateExpression} implementation * * @author tiwe * */ @Immutable public class PredicateTemplate extends TemplateExpressionImpl<Boolean> implements Predicate { private static final long serialVersionUID = -5371430939203772072L; @Nullable private transient volatile Predicate not; protected PredicateTemplate(Template template, ImmutableList<?> args) { super(Boolean.class, template, args); } @Override public Predicate not() { if (not == null) { not = ExpressionUtils.predicate(Ops.NOT, this); } return not; } }
@Immutable @ParametersAreNonnullByDefault private static final class SharedHolder implements Closeable { @Nullable private final Resource.Internal resource;