http://www.jindent.com |
|
Next: Alignments |
Put annotations always on new line |
@MarkerAnnotation1 @MarkerAnnotation2 public class ClassA { ... } |
@MarkerAnnotation1 @MarkerAnnotation2 public class ClassA { ... } |
See also: | Maximal number of marker annotations lined up in one line as prefix before other declarations |
Maximal number of marker annotations lined up in one line as prefix before other declarations |
@MarkerAnnotation1 @MarkerAnnotation2 public class ClassA { ... } @MarkerAnnotation1 public class ClassB { ... } @MarkerAnnotation1 @MarkerAnnotation2 @MarkerAnnotation3 public class ClassC { ... } |
@MarkerAnnotation1 @MarkerAnnotation2 public class ClassA { ... } @MarkerAnnotation1 public class ClassB { ... } @MarkerAnnotation1 @MarkerAnnotation2 @MarkerAnnotation3 public class ClassC { ... } |
infinite
.See also: | Brace style for Class/interface/annotation declarations |
Maximal number of annotation assignments lined up within parentheses |
@Author(@Name(first = "Joe", last = "Hacker")) class ClassA { ... } @Address( firstname = "Joe", lastname = "Hacker", street = "Sesame Street", city = "City" ) class ClassB { ... } |
@Author(@Name( first = "Joe", last = "Hacker" )) class ClassA { ... } @Address( firstname = "Joe", lastname = "Hacker", street = "Sesame Street", city = "City" ) class ClassB { ... } |
infinite
.See also: | Brace style for Class/interface/annotation declarations , Align assignments |
Maximal number of annotation array values lined up in one line |
@Annotation({ "value1", "value2", "value3" }) public void methodA() { ... } @Annotation({ "value1", "value2", "value3", "value4", "value5" }) public void methodB() { ... } |
@Annotation({ "value1", "value2", "value3" }) public void methodA() { ... } @Annotation({ "value1", "value2", "value3", "value4", "value5" }) public void methodB() { ... } |
infinite
.See also: | Brace style for Class/interface/annotation declarations |
Wrap after left parentheses ( on demand |