Top Description Methods
org.jruby.compiler

public Interface Constantizable

Known Direct Implementers
org.jruby.RubyBoolean, org.jruby.RubyEncoding, org.jruby.RubyFixnum, org.jruby.Ruby, org.jruby.RubyNil, org.jruby.RubySymbol

Represents an object that can produce a JIT-optimizable "constant" version of itself. Currently this is only used by invokedynamic support to avoid creating duplicate MethodHandles.constant handles for the same value.

Method Summary

Modifier and TypeMethod and Description
public Object

Method Detail

constantback to summary
public Object constant()