Package org.jruby.compiler
Interface Constantizable
- All Known Implementing Classes:
Ruby
,RubyBoolean
,RubyBoolean.False
,RubyBoolean.True
,RubyEncoding
,RubyFixnum
,RubyNil
,RubySymbol
public interface Constantizable
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
-
Method Details
-
constant
Object constant()
-