} catch (IllegalArgumentException e) {
return InstanceKind.Unknown;
}
}
public int getLength() {
<BUG>return json.get("length").getAsInt();
}</BUG>
public String getName() {
return json.get("name").getAsString();
}

} catch (IllegalArgumentException e) {
return InstanceKind.Unknown;
}
}
public int getLength() {
return json.get("length") == null ? -1 : json.get("length").getAsInt();
}
public String getName() {
return json.get("name").getAsString();
}
