attach method

int attach()

Implementation

int attach() {
  if (!registry.contains(this)) registry.add(this);
  return nativeFunction;
}