public void addMetaMethod(MetaMethod method){
  if (isInitialized()) {
    throw new RuntimeException("Already initialized, cannot add new method: " + method);
  }
  final CachedClass declaringClass=method.getDeclaringClass();
  addMetaMethodToIndex(method,metaMethodIndex.getHeader(declaringClass.getTheClass()));
}

public void addMetaMethod ( MetaMethod method ) { if ( isInitialized ( ) ) { throw new RuntimeException ( "Already initialized, cannot add new method: " + method ) ; } final CachedClass declaringClass = method . getDeclaringClass ( ) ; addMetaMethodToIndex ( method , metaMethodIndex . getHeader ( declaringClass . getTheClass ( ) ) ) ; }
adds a metamethod to this class . warning : this method will not do the neccessary steps for multimethod logic and using this method doesn ' t mean , that a method added here is replacing another method from a parent class completely . these steps are usually done by initialize , which means if you need these steps , you have to add the method before running initialize the first time .
