core/src/main/java/org/jruby/RubyMethod.java
public static RubyClass createMethodClass(Ruby runtime) {
        // TODO: NOT_ALLOCATABLE_ALLOCATOR is probably ok here. Confirm. JRUBY-415
        RubyClass methodClass = runtime.defineClass("Method", runtime.getObject(), ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR);

        methodClass.setClassIndex(ClassIndex.METHOD);
        methodClass.setReifiedClass(RubyMethod.class);

        methodClass.defineAnnotatedMethods(AbstractRubyMethod.class);
        methodClass.defineAnnotatedMethods(RubyMethod.class);
        
        return methodClass;
    }
/** Create the RubyMethod class and add it to the Ruby runtime.
     * 
     */
Create the RubyMethod class and add it to the Ruby runtime.
Create the RubyMethod class and add it to the Ruby runtime .
public static RubyClass createMethodClass(Ruby runtime) {
        RubyClass methodClass = runtime.defineClass("Method", runtime.getObject(), ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR);
        methodClass.setClassIndex(ClassIndex.METHOD);
        methodClass.setReifiedClass(RubyMethod.class);
        methodClass.defineAnnotatedMethods(AbstractRubyMethod.class);
        methodClass.defineAnnotatedMethods(RubyMethod.class);
        return methodClass;
    }
public static RubyClass createMethodClass ( Ruby runtime ) { RubyClass methodClass = runtime . defineClass ( "Method" , runtime . getObject ( ) , ObjectAllocator . NOT_ALLOCATABLE_ALLOCATOR ) ; methodClass . setClassIndex ( ClassIndex . METHOD ) ; methodClass . setReifiedClass ( RubyMethod . class ) ; methodClass . defineAnnotatedMethods ( AbstractRubyMethod . class ) ; methodClass . defineAnnotatedMethods ( RubyMethod . class ) ; return methodClass ; }
Create the RubyMethod class and add it to the Ruby runtime.
Create the RubyMethod class and add it to the Ruby runtime .
// TODO: NOT_ALLOCATABLE_ALLOCATOR is probably ok here. Confirm. JRUBY-415