[DEV] increase invocation
This commit is contained in:
parent
7dfde94a47
commit
6ced097f47
@ -139,7 +139,6 @@ public class ArgumentManager {
|
|||||||
|
|
||||||
//localManager.showHelp();
|
//localManager.showHelp();
|
||||||
int nbParameters = localManager.argumentPostConfigure.size();
|
int nbParameters = localManager.argumentPostConfigure.size();
|
||||||
boolean findExecutor = false;
|
|
||||||
List<Method> executor = localManager.properties.getExecutor();
|
List<Method> executor = localManager.properties.getExecutor();
|
||||||
for (Method exec : executor) {
|
for (Method exec : executor) {
|
||||||
if (nbParameters != exec.getParameterCount()) {
|
if (nbParameters != exec.getParameterCount()) {
|
||||||
@ -200,9 +199,55 @@ public class ArgumentManager {
|
|||||||
localManager.argumentPostConfigure.get(4), //
|
localManager.argumentPostConfigure.get(4), //
|
||||||
localManager.argumentPostConfigure.get(5), //
|
localManager.argumentPostConfigure.get(5), //
|
||||||
localManager.argumentPostConfigure.get(6));
|
localManager.argumentPostConfigure.get(6));
|
||||||
|
case 8:
|
||||||
|
exec.invoke(obj, //
|
||||||
|
localManager.argumentPostConfigure.get(0), //
|
||||||
|
localManager.argumentPostConfigure.get(1), //
|
||||||
|
localManager.argumentPostConfigure.get(2), //
|
||||||
|
localManager.argumentPostConfigure.get(3), //
|
||||||
|
localManager.argumentPostConfigure.get(4), //
|
||||||
|
localManager.argumentPostConfigure.get(5), //
|
||||||
|
localManager.argumentPostConfigure.get(6), //
|
||||||
|
localManager.argumentPostConfigure.get(7));
|
||||||
|
case 9:
|
||||||
|
exec.invoke(obj, //
|
||||||
|
localManager.argumentPostConfigure.get(0), //
|
||||||
|
localManager.argumentPostConfigure.get(1), //
|
||||||
|
localManager.argumentPostConfigure.get(2), //
|
||||||
|
localManager.argumentPostConfigure.get(3), //
|
||||||
|
localManager.argumentPostConfigure.get(4), //
|
||||||
|
localManager.argumentPostConfigure.get(5), //
|
||||||
|
localManager.argumentPostConfigure.get(6), //
|
||||||
|
localManager.argumentPostConfigure.get(7), //
|
||||||
|
localManager.argumentPostConfigure.get(8));
|
||||||
|
case 10:
|
||||||
|
exec.invoke(obj, //
|
||||||
|
localManager.argumentPostConfigure.get(0), //
|
||||||
|
localManager.argumentPostConfigure.get(1), //
|
||||||
|
localManager.argumentPostConfigure.get(2), //
|
||||||
|
localManager.argumentPostConfigure.get(3), //
|
||||||
|
localManager.argumentPostConfigure.get(4), //
|
||||||
|
localManager.argumentPostConfigure.get(5), //
|
||||||
|
localManager.argumentPostConfigure.get(6), //
|
||||||
|
localManager.argumentPostConfigure.get(7), //
|
||||||
|
localManager.argumentPostConfigure.get(8), //
|
||||||
|
localManager.argumentPostConfigure.get(9));
|
||||||
|
case 11:
|
||||||
|
exec.invoke(obj, //
|
||||||
|
localManager.argumentPostConfigure.get(0), //
|
||||||
|
localManager.argumentPostConfigure.get(1), //
|
||||||
|
localManager.argumentPostConfigure.get(2), //
|
||||||
|
localManager.argumentPostConfigure.get(3), //
|
||||||
|
localManager.argumentPostConfigure.get(4), //
|
||||||
|
localManager.argumentPostConfigure.get(5), //
|
||||||
|
localManager.argumentPostConfigure.get(6), //
|
||||||
|
localManager.argumentPostConfigure.get(7), //
|
||||||
|
localManager.argumentPostConfigure.get(8), //
|
||||||
|
localManager.argumentPostConfigure.get(9), //
|
||||||
|
localManager.argumentPostConfigure.get(10));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Log.error("Does not manage more than 7 arguments");
|
Log.error("Does not manage more than 11 arguments");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
|
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user