
io.norberg.automatter.example.InheritanceExample Maven / Gradle / Ivy
package io.norberg.automatter.example;
import io.norberg.automatter.AutoMatter;
public class InheritanceExample {
interface Foo {
String foo();
}
interface Bar {
T bar();
}
@AutoMatter
interface Baz extends Foo, Bar {
int baz();
}
public static void main(final String... args) {
Baz baz = new BazBuilder()
.foo("hello")
.bar(17)
.baz(4711)
.build();
System.out.println(baz);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy