@ConfigurationProperties("foo") public Foo foo() { return new Foo(); }
@ConfigurationProperties("foo") public Foo getFoo() { return new Foo(); }
@ConfigurationProperties("one") public SimplePojo one() { return new SimplePojo(); }
@ConfigurationProperties("two") public SimplePojo two() { return new SimplePojo(); }
@ConfigurationProperties("something") public Foo foo() { return new Foo(); }
@ConfigurationProperties(prefix = "foo") public Foo foo() { return new Foo(); }
@ConfigurationProperties(prefix = "invalid") InvalidMethodConfig foo() { return new InvalidMethodConfig(); }
@ConfigurationProperties(prefix = "conflict") public Foo foo() { return new Foo(); }