}
if (typeName == null)
{
typeName = enclosingType.getName();
}
Node node = null;
Enumeration usedTypesEnum = usedTypes_.elements();
while (usedTypesEnum.hasMoreElements())
{
Node usedType = (Node) usedTypesEnum.nextElement();
if (usedType.getName().equals(typeName))
{
node = usedType;
}
}
if (node == null)
{
node = new Node(typeName, packagename_, filename_, new Vector());
usedTypes_.addElement(node);
}
if (qualifiedName.lastIndexOf('.') != -1)
{
packagename_ = qualifiedName.substring(0, qualifiedName.lastIndexOf('.'));
}
node.addUsedNode(new Node(qualifiedName, packagename_, "???", new Vector()));
}