package org.jruby.gen;
import org.jruby.Ruby;
import org.jruby.RubyModule;
import org.jruby.RubyClass;
import org.jruby.anno.TypePopulator;
import org.jruby.internal.runtime.methods.JavaMethod;
import org.jruby.internal.runtime.methods.DynamicMethod;
import org.jruby.runtime.Arity;
import org.jruby.runtime.Visibility;
import org.jruby.runtime.MethodIndex;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
@Generated("org.jruby.anno.AnnotationBinder")
@SuppressWarnings("deprecation")
public class org$jruby$ext$pathname$RubyPathname$POPULATOR extends TypePopulator {
public void populate(RubyModule cls, Class clazz) {
JavaMethod javaMethod;
DynamicMethod moduleMethod, aliasedMethod;
RubyClass singletonClass = cls.getSingletonClass();
Ruby runtime = cls.getRuntime();
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$s$0$1$glob(singletonClass, Visibility.PUBLIC, "glob");
populateMethod(javaMethod, -1, "glob", true, false, org.jruby.ext.pathname.RubyPathname.class, "glob", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1_ARY_BLOCK);
aliasedMethod = singletonClass.putMethod(runtime, "glob", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$s$0$0$getwd(singletonClass, Visibility.PUBLIC, "getwd");
populateMethod(javaMethod, 0, "getwd", true, false, org.jruby.ext.pathname.RubyPathname.class, "getwd", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = singletonClass.putMethod(runtime, "getwd", javaMethod);
singletonClass.putAlias("pwd", aliasedMethod, "getwd");
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$initialize(cls, Visibility.PRIVATE, "initialize");
populateMethod(javaMethod, 1, "initialize", false, false, org.jruby.ext.pathname.RubyPathname.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "initialize", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC, "==");
populateMethod(javaMethod, 1, "op_equal", false, false, org.jruby.ext.pathname.RubyPathname.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "==", javaMethod);
cls.putMethod(runtime, "eql?", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$untaint(cls, Visibility.PUBLIC, "untaint");
populateMethod(javaMethod, 0, "untaint", false, false, org.jruby.ext.pathname.RubyPathname.class, "untaint", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "untaint", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$each_entry(cls, Visibility.PUBLIC, "each_entry");
populateMethod(javaMethod, 0, "each_entry", false, false, org.jruby.ext.pathname.RubyPathname.class, "each_entry", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each_entry", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$taint(cls, Visibility.PUBLIC, "taint");
populateMethod(javaMethod, 0, "taint", false, false, org.jruby.ext.pathname.RubyPathname.class, "taint", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "taint", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$1$fnmatch(cls, Visibility.PUBLIC, "fnmatch");
populateMethod(javaMethod, -1, "fnmatch", false, false, org.jruby.ext.pathname.RubyPathname.class, "fnmatch", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY);
aliasedMethod = cls.putMethod(runtime, "fnmatch", javaMethod);
cls.putAlias("fnmatch?", aliasedMethod, "fnmatch");
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$1$glob(cls, Visibility.PUBLIC, "glob");
populateMethod(javaMethod, -1, "glob", false, false, org.jruby.ext.pathname.RubyPathname.class, "glob", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
aliasedMethod = cls.putMethod(runtime, "glob", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$make_link(cls, Visibility.PUBLIC, "make_link");
populateMethod(javaMethod, 1, "make_link", false, false, org.jruby.ext.pathname.RubyPathname.class, "make_link", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "make_link", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$to_path(cls, Visibility.PUBLIC, "to_path");
populateMethod(javaMethod, 0, "to_path", false, false, org.jruby.ext.pathname.RubyPathname.class, "to_path", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "to_path", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$1$sub(cls, Visibility.PUBLIC, "sub");
populateMethod(javaMethod, -1, "sub", false, false, org.jruby.ext.pathname.RubyPathname.class, "sub", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
aliasedMethod = cls.putMethod(runtime, "sub", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$opendir(cls, Visibility.PUBLIC, "opendir");
populateMethod(javaMethod, 0, "opendir", false, false, org.jruby.ext.pathname.RubyPathname.class, "opendir", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_BLOCK);
aliasedMethod = cls.putMethod(runtime, "opendir", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC, "to_s");
populateMethod(javaMethod, 0, "to_s", false, false, org.jruby.ext.pathname.RubyPathname.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "to_s", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$sub_ext(cls, Visibility.PUBLIC, "sub_ext");
populateMethod(javaMethod, 1, "sub_ext", false, false, org.jruby.ext.pathname.RubyPathname.class, "sub_ext", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "sub_ext", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$make_symlink(cls, Visibility.PUBLIC, "make_symlink");
populateMethod(javaMethod, 1, "make_symlink", false, false, org.jruby.ext.pathname.RubyPathname.class, "make_symlink", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "make_symlink", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$3$each_line(cls, Visibility.PUBLIC, "each_line");
populateMethod(javaMethod, -1, "each_line", false, false, org.jruby.ext.pathname.RubyPathname.class, "each_line", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0_ARY_BLOCK);
aliasedMethod = cls.putMethod(runtime, "each_line", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$unlink(cls, Visibility.PUBLIC, "unlink");
populateMethod(javaMethod, 0, "unlink", false, false, org.jruby.ext.pathname.RubyPathname.class, "unlink", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "unlink", javaMethod);
cls.putMethod(runtime, "delete", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$freeze(cls, Visibility.PUBLIC, "freeze");
populateMethod(javaMethod, 0, "freeze", false, false, org.jruby.ext.pathname.RubyPathname.class, "freeze", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "freeze", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$empty_p(cls, Visibility.PUBLIC, "empty?");
populateMethod(javaMethod, 0, "empty_p", false, false, org.jruby.ext.pathname.RubyPathname.class, "empty_p", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "empty?", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$op_cmp(cls, Visibility.PUBLIC, "<=>");
populateMethod(javaMethod, 1, "op_cmp", false, false, org.jruby.ext.pathname.RubyPathname.class, "op_cmp", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "<=>", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE, "initialize_copy");
populateMethod(javaMethod, 1, "initialize_copy", false, false, org.jruby.ext.pathname.RubyPathname.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "initialize_copy", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$hash(cls, Visibility.PUBLIC, "hash");
populateMethod(javaMethod, 0, "hash", false, false, org.jruby.ext.pathname.RubyPathname.class, "hash", org.jruby.RubyFixnum.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "hash", javaMethod);
javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC, "inspect");
populateMethod(javaMethod, 0, "inspect", false, false, org.jruby.ext.pathname.RubyPathname.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG0);
aliasedMethod = cls.putMethod(runtime, "inspect", javaMethod);
runtime.addBoundMethods("org.jruby.ext.pathname.RubyPathname", "op_equal", "==", "unlink", "unlink", "empty_p", "empty?", "op_cmp", "<=>", "hash", "hash", "glob", "glob", "getwd", "getwd", "initialize", "initialize", "untaint", "untaint", "each_entry", "each_entry", "taint", "taint", "fnmatch", "fnmatch", "glob", "glob", "make_link", "make_link", "to_path", "to_path", "sub", "sub", "opendir", "opendir", "to_s", "to_s", "sub_ext", "sub_ext", "make_symlink", "make_symlink", "each_line", "each_line", "freeze", "freeze", "initialize_copy", "initialize_copy", "inspect", "inspect");
}
static {
MethodIndex.addMethodReadFieldsPacked(2, "sub");
MethodIndex.addMethodWriteFieldsPacked(2, "sub");
}
}