We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class Super { @Parameters(index=0) String first; } class Sub { @Parameters(index=1) String second; }
Shows: Usage: <main class> <second> <first>
Usage: <main class> <second> <first>
Fix: in Help constructor at the bottom, add the below
Collections.sort(positionalParametersFields, new PositionalParametersSorter()); } private static class PositionalParametersSorter implements Comparator<Field> { @Override public int compare(Field o1, Field o2) { Arity indexRange1 = Arity.valueOf(o1.getAnnotation(Parameters.class).index()); Arity indexRange2 = Arity.valueOf(o2.getAnnotation(Parameters.class).index()); return indexRange1.min - indexRange2.min; } }
The text was updated successfully, but these errors were encountered:
92a9468
No branches or pull requests
Shows:
Usage: <main class> <second> <first>
Fix: in Help constructor at the bottom, add the below
The text was updated successfully, but these errors were encountered: