TypeCode tc = null;
// Split all of these up into separate get*** methods. One big method will not satisfy checkstyle
// rules
if (obj instanceof Alias) {
Alias aliasType = (Alias)obj;
tc = orb.create_alias_tc(aliasType.getRepositoryID(),
aliasType.getName(),
getTypeCode(orb, aliasType.getBasetype(), typeMaps));
} else if (obj instanceof Anonarray) {
Anonarray anonArrayType = (Anonarray)obj;
tc = orb.create_array_tc((int) anonArrayType.getBound(),
getTypeCode(orb, anonArrayType.getElemtype(), typeMaps));
} else if (obj instanceof Anonfixed) {