All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.gen.org$jruby$ext$pathname$RubyPathname$POPULATOR Maven / Gradle / Ivy

There is a newer version: 9.4.9.0
Show newest version
/* THIS FILE IS GENERATED. DO NOT EDIT */
package org.jruby.gen;
import org.jruby.Ruby;
import org.jruby.RubyModule;
import org.jruby.RubyClass;
import org.jruby.CompatVersion;
import org.jruby.anno.TypePopulator;
import org.jruby.internal.runtime.methods.CallConfiguration;
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.compiler.ASTInspector;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
@Generated("org.jruby.anno.AnnotationBinder")
public class org$jruby$ext$pathname$RubyPathname$POPULATOR extends TypePopulator {
    public void populate(RubyModule cls, Class clazz) {
        JavaMethod javaMethod;
        DynamicMethod moduleMethod;
        RubyClass singletonClass = cls.getSingletonClass();
        CompatVersion compatVersion = cls.getRuntime().getInstanceConfig().getCompatVersion();
        Ruby runtime = cls.getRuntime();
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$s$0$0$getwd(singletonClass, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "getwd", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "getwd", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        singletonClass.addMethodAtBootTimeOnly("getwd", javaMethod);
        singletonClass.defineAlias("pwd", "getwd");
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$s$0$1$glob(singletonClass, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "glob", true, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "glob", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class});
        singletonClass.addMethodAtBootTimeOnly("glob", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","getwd","getwd");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","glob","glob");
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$initialize(cls, Visibility.PRIVATE);
        populateMethod(javaMethod, 1, "initialize", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "initialize", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("initialize", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$hash(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "hash", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "hash", org.jruby.RubyFixnum.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("hash", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$3$each_line(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "each_line", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "each_line", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("each_line", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$inspect(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "inspect", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "inspect", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("inspect", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$make_symlink(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "make_symlink", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "make_symlink", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("make_symlink", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$unlink(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "unlink", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "unlink", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("unlink", javaMethod);
        cls.addMethodAtBootTimeOnly("delete", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$sub_ext(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "sub_ext", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "sub_ext", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("sub_ext", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$1$fnmatch(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "fnmatch", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "fnmatch", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class});
        cls.addMethodAtBootTimeOnly("fnmatch", javaMethod);
        cls.defineAlias("fnmatch?", "fnmatch");
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$initialize_copy(cls, Visibility.PRIVATE);
        populateMethod(javaMethod, 1, "initialize_copy", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "initialize_copy", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("initialize_copy", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$untaint(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "untaint", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "untaint", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("untaint", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$op_cmp(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "op_cmp", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "op_cmp", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("<=>", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$to_s(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "to_s", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "to_s", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("to_s", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$freeze(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "freeze", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "freeze", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("freeze", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$make_link(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "make_link", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "make_link", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("make_link", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$1$0$op_equal(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 1, "op_equal", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "op_equal", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject.class});
        cls.addMethodAtBootTimeOnly("==", javaMethod);
        cls.addMethodAtBootTimeOnly("eql?", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$taint(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "taint", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "taint", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("taint", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$1$sub(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, -1, "sub", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "sub", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.builtin.IRubyObject[].class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("sub", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$opendir(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "opendir", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "opendir", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("opendir", javaMethod);
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$each_entry(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "each_entry", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "each_entry", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class, org.jruby.runtime.Block.class});
        cls.addMethodAtBootTimeOnly("each_entry", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","initialize","initialize");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","hash","hash");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","each_line","each_line");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","inspect","inspect");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","make_symlink","make_symlink");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","unlink","unlink");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","sub_ext","sub_ext");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","fnmatch","fnmatch");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","initialize_copy","initialize_copy");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","untaint","untaint");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","op_cmp","<=>");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","to_s","to_s");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","freeze","freeze");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","make_link","make_link");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","op_equal","==");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","taint","taint");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","sub","sub");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","opendir","opendir");
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","each_entry","each_entry");
        if (compatVersion == CompatVersion.RUBY1_8 || compatVersion == CompatVersion.BOTH) {
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$to_str(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "to_str", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "to_str", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("to_str", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","to_str","to_str");
        }
        if (compatVersion.is1_9() || compatVersion == CompatVersion.BOTH) {
        javaMethod = new org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$to_path(cls, Visibility.PUBLIC);
        populateMethod(javaMethod, 0, "to_path", false, CallConfiguration.FrameNoneScopeNone, false, org.jruby.ext.pathname.RubyPathname.class, "to_path", org.jruby.runtime.builtin.IRubyObject.class, new Class[] {org.jruby.runtime.ThreadContext.class});
        cls.addMethodAtBootTimeOnly("to_path", javaMethod);
        runtime.addBoundMethod("org.jruby.ext.pathname.RubyPathname","to_path","to_path");
        }
    }
    static {
        ASTInspector.addFrameAwareMethods("sub");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy