You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: table.rs
    path of file: ./repos/oxc/crates/oxc_semantic/src/class
    
    the code of the file until where you have to start completion: use oxc_index::IndexVec;
use oxc_span::{Atom, CompactStr, Span};
use oxc_syntax::class::{ClassId, ElementId, ElementKind};
use rustc_hash::FxHashMap;

use crate::node::AstNodeId;

#[derive(Debug)]
pub struct Element {
    pub name: CompactStr,
    pub span: Span,
    pub is_private: bool,
    pub r#static: bool,
    pub kind: ElementKind,
}

impl Element {
    pub fn new(
        name: CompactStr,
        span: Span,
        r#static: bool,
        is_private: bool,
        kind: El
    
    pub fn get_element_ids(&self, class_id: ClassId, name: &Atom) -> Vec<ElementId> {
        let mut element_ids = vec![];
        for (element_id, element) in self.elements[class_id].iter_enumerated() {
            if element.name == *name {
                element_ids.push(element_id);

                // Property or Accessor only has 1 element
                if element.kind.intersects(ElementKind::Accessor | ElementKind::Property) {
                    break;
                }

                // Maximum 2 method ids, for get/set
                if element_ids.len() == 2 {
                    break;
                }
            }
        }

        element_ids
    }