ArrayList<Item> values = new ArrayList<Item>();
synchronized (this.allValues) {
if (this.allValues.isEmpty() && config != null) {
getDisplayItems();
} else if (config == null) {
values.add(new Item(myelementName, "", false));
return values;
}
HashMap<String, HashMap<String, HashMap<String, ArrayList<Item>>>> bind = this.allValues.get(myproject);
if (bind.isEmpty()) {
values.add(new Item(myelementName, "", false));
return values;
}
HashMap<String, HashMap<String, ArrayList<Item>>> itemsByType = bind.get(mybind);
if (itemsByType.isEmpty()) {
values.add(new Item(myelementName, "", false));
return values;
}
HashMap<String, ArrayList<Item>> typeList = itemsByType.get(mydisplayType.getTitle());
if (typeList.isEmpty()) {
values.add(new Item(myelementName, "", false));
return values;
}
values = typeList.get(myelementName);
if (values.isEmpty()) {
values.add(new Item(myelementName, "", false));
return values;
}
}
return values;