INNER CODE UNIT · Java
processInputArg
SonicCloudOrg/sonic-agent · src/main/java/org/cloud/sonic/agent/aspect/IteratorAspect.java:44
private Object[] processInputArg(Object[] args) {
HandleContext handleContext = null;
for (Object arg : args) {
if (arg instanceof HandleContext) {
handleContext = (HandleContext) arg;
break;
}
}
JSONObject paramStep = null;
for (Object arg : args) {
if (arg instanceof JSONObject) {
paramStep = (JSONObject) arg;
break;
}
}
try {
if (paramStep != null && handleContext != null && handleContext.currentIteratorElement != null) {