public void addNewStaticMethod ( Method method ) { final CachedMethod cachedMethod = CachedMethod . find ( method ) ; NewStaticMetaMethod newMethod = new NewStaticMetaMethod ( cachedMethod ) ; final CachedClass declaringClass = newMethod . getDeclaringClass ( ) ; addNewStaticMethodToIndex ( newMethod , metaMethodIndex . getHeader ( declaringClass . getTheClass ( ) ) ) ; }
Adds a static method to this metaclass .