}
void install(RubyModule proxy) {
if (hasLocalMethod()) {
RubyClass singleton = proxy.getSingletonClass();
DynamicMethod method = new StaticMethodInvoker(singleton, methods);
singleton.addMethod(name, method);
if (aliases != null && isPublic() ) {
singleton.defineAliases(aliases, this.name);
aliases = null;
}