Basically I want different styles depending on annotation count, e.g.
class Foo {
@Autowire private MyService myService;
@Autowire private MyOtherService service;
...
}
but if I have more annotations require a space
@Entity
class Bar {
@Id
@NotNull
@Column(...)
private Long id;
@NotNull
@NotEmpty
@Column(...)
private String description;
}
can I coerce IDEA into formatting Java for these 2 styles?