it = conn.getStatements((Resource) null, FresnelCore.instanceLensDomain, (Value) null, false);
while (it.hasNext()) {
try {
Statement lensResourceStatement = (Statement) it.next();
InstanceLens lens = new InstanceLens(this._source, lensResourceStatement.getSubject(), this);
addInstanceLens(lens);
if (!this._all.containsKey(lens.getIdentifier())) addLens(lens);
} catch (ParsingException e) {
gather(e);
} catch (UnresolvableException u) {
gather(u);
}
}
it.close();
it = conn.getStatements((Resource) null, FresnelCore.classLensDomain, (Value) null, false);
while (it.hasNext()) {
try {
Statement lensResourceStatement = (Statement) it.next();
Lens lens = new Lens(this._source, lensResourceStatement.getSubject(), this);
if (!this._all.containsKey(lens.getIdentifier())) addLens(lens);
} catch (ParsingException e) {
gather(e);
} catch (UnresolvableException u) {
gather(u);
}