org.immutables.fixture.NonAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of value-fixture Show documentation
Show all versions of value-fixture Show documentation
Module that contains all tests for the code generation capability
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 "";
}
}
}