All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.immutables.fixture.NonAttributes Maven / Gradle / Ivy

There is a newer version: 2.10.1
Show newest version
package org.immutables.fixture;

import org.immutables.value.Value;

// just manually inspected compilation test
public interface NonAttributes {
  int a();
  @Value.NonAttribute
  String b();

  @Value.Immutable
  interface Abc extends NonAttributes {
    // compiler forces to implement abstract non-attribute b()
    @Override
    default String b() {
      return "";
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy