@Retention(value=RUNTIME) @Target(value=TYPE) public @interface FixMethodOrder
MethodSorters
Here is an example:
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class MyTest {
}
MethodSorters| Modifier and Type | Optional Element and Description |
|---|---|
MethodSorters |
value
Optionally specify
value to have the methods executed in a particular order |
public abstract MethodSorters value
value to have the methods executed in a particular order