@Override
public Void visitTypeDeclaration( TypeDeclaration node, SourceIndex index )
{
// is this this class, or a subtype?
TypeDefinition def = node.getUserData( Keys.TYPE_DEFINITION );
ClassEntry classEntry = new ClassEntry( def.getInternalName() );
if( !classEntry.equals( m_classEntry ) )
{
// it's a sub-type, recurse
index.addDeclaration( node.getNameToken(), classEntry );
return node.acceptVisitor( new SourceIndexClassVisitor( classEntry ), index );
}