Package org.jruby

Class RubyClass.BaseReificator

java.lang.Object
org.jruby.RubyClass.BaseReificator
All Implemented Interfaces:
RubyClass.Reificator
Direct Known Subclasses:
RubyClass.MethodReificator
Enclosing class:
RubyClass

private abstract class RubyClass.BaseReificator extends Object implements RubyClass.Reificator
  • Field Details

  • Constructor Details

  • Method Details

    • reify

      public byte[] reify()
      Specified by:
      reify in interface RubyClass.Reificator
    • reifyClinit

      public abstract void reifyClinit(SkinnyMethodAdapter m)
    • customReify

      public abstract void customReify()
    • interfaces

      private String[] interfaces()
    • isRubyObject

      protected boolean isRubyObject()
    • loadRubyObject

      protected void loadRubyObject(SkinnyMethodAdapter m)
      Loads self (if local) or the rubyObject (if a java proxy) cast to a RubyBasicObject, as everything is a RBO and it has a nicer interface
    • rubycall

      public void rubycall(SkinnyMethodAdapter m, String signature)
    • reifyConstructors

      protected void reifyConstructors()
    • allocAndInitialize

      protected void allocAndInitialize(SkinnyMethodAdapter m, boolean initIfAllowed)
    • join

      public Class[] join(Class[] base, Class... extra)