if ( obj == this )
if ( obj == type )
	public boolean isKindOf( IElementDefn type )	{		if ( type == this )			return true;		if ( type == null )			return false;		ElementDefn obj = ( (ElementDefn) type ).parent;		while ( obj != null )		{			if ( obj == this )				return true;			obj = obj.parent;		}		return false;	}