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$RubyKernel$LoopMethods$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.RubyKernel$LoopMethods$INVOKER$s$0$0$chop(cls, Visibility.PRIVATE, "chop");
populateMethod(javaMethod, 0, "chop", true, false, org.jruby.RubyKernel.LoopMethods.class, "chop", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "chop", javaMethod);
moduleMethod = populateModuleMethod(cls, javaMethod);
aliasedMethod = singletonClass.putMethod(runtime, "chop", moduleMethod);
javaMethod = new org.jruby.RubyKernel$LoopMethods$INVOKER$s$gsub(cls, Visibility.PRIVATE, "gsub");
populateMethod(javaMethod, -1, "gsub", true, false, org.jruby.RubyKernel.LoopMethods.class, "gsub", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK);
aliasedMethod = cls.putMethod(runtime, "gsub", javaMethod);
moduleMethod = populateModuleMethod(cls, javaMethod);
aliasedMethod = singletonClass.putMethod(runtime, "gsub", moduleMethod);
javaMethod = new org.jruby.RubyKernel$LoopMethods$INVOKER$s$chomp(cls, Visibility.PRIVATE, "chomp");
populateMethod(javaMethod, -1, "chomp", true, false, org.jruby.RubyKernel.LoopMethods.class, "chomp", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG1);
aliasedMethod = cls.putMethod(runtime, "chomp", javaMethod);
moduleMethod = populateModuleMethod(cls, javaMethod);
aliasedMethod = singletonClass.putMethod(runtime, "chomp", moduleMethod);
javaMethod = new org.jruby.RubyKernel$LoopMethods$INVOKER$s$sub(cls, Visibility.PRIVATE, "sub");
populateMethod(javaMethod, -1, "sub", true, false, org.jruby.RubyKernel.LoopMethods.class, "sub", org.jruby.runtime.builtin.IRubyObject.class, CONTEXT_ARG2_BLOCK);
aliasedMethod = cls.putMethod(runtime, "sub", javaMethod);
moduleMethod = populateModuleMethod(cls, javaMethod);
aliasedMethod = singletonClass.putMethod(runtime, "sub", moduleMethod);
runtime.addBoundMethods("org.jruby.RubyKernel.LoopMethods", "chop", "chop", "gsub", "gsub", "chomp", "chomp", "sub", "sub");
}
static {
MethodIndex.addMethodReadFieldsPacked(1, "gsub;sub;chop;chomp");
MethodIndex.addMethodWriteFieldsPacked(1, "gsub;sub;chop;chomp");
}
}