private static FormCategory getTargetPronounCategory(
ModelVerb modelVerb, Tense tense, FormCategory pronounCategory,
Segment segment) {
try {
FormCategory targetPronounCategory = modelVerb.refPronounMap.get(tense).get(pronounCategory).get(segment);
if (targetPronounCategory != null)
return targetPronounCategory;
}
catch (NullPointerException npe) {
// Legitimate
}
for (ModelVerb parent : modelVerb.parents) {
FormCategory targetPronounCategory =
getTargetPronounCategory(parent, tense, pronounCategory, segment);
if (targetPronounCategory != null)
return targetPronounCategory;
}