*/
private void printType(MibType type, String indent, int smiVersion) {
MibType refType;
Constraint refCons;
Constraint typeCons;
SequenceType seqType;
SequenceOfType seqOfType;
if (type.getReferenceSymbol() != null) {
os.print(type.getReferenceSymbol().getName());
refType = type.getReferenceSymbol().getType();
refCons = getConstraint(refType);
typeCons = getConstraint(type);
if (typeCons != null && typeCons != refCons) {
printConstraint(type, indent);
}
} else if (type instanceof SequenceType) {
seqType = (SequenceType) type;
os.println("SEQUENCE {");
printTypeElements(seqType.getAllElements(),
indent + " ",
smiVersion);
os.println();
os.print(indent);
os.print("}");