}
if (agendaGroupObjects instanceof IJavaArray) {
IJavaArray agendaGroupArray = (IJavaArray) agendaGroupObjects;
IJavaValue[] agendaGroupValueArray = agendaGroupArray.getValues();
for (int i = 0; i < agendaGroupValueArray.length; i++) {
IJavaValue agendaGroup = agendaGroupValueArray[i];
String name = "";
List activationsResult = new ArrayList();
IVariable[] agendaGroupVarArray = agendaGroup.getVariables();
for (int j = 0; j < agendaGroupVarArray.length; j++) {
IVariable agendaGroupVar = agendaGroupVarArray[j];
if ("name".equals(agendaGroupVar.getName())) {
name = agendaGroupVar.getValue().getValueString();
break;
}
}
IJavaArray activations = (IJavaArray) DebugUtil.getValueByExpression("return getActivations();", agendaGroup);
IJavaValue[] activationArray = activations.getValues();
for (int l = 0; l < activationArray.length; l++) {
IJavaValue activation = activationArray[l];
if (activation.getJavaType() != null) {
activationsResult.add(new VariableWrapper("[" + l + "]",
new LazyActivationWrapper(activations, activation, workingMemoryImpl)));
}
}
boolean active = false;