public class OptoFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
OptoFactory.ConstantFactory
A factory for abstract "constant" representations of objects.
|
Constructor and Description |
---|
OptoFactory() |
Modifier and Type | Method and Description |
---|---|
static Invalidator |
newConstantInvalidator(Ruby runtime) |
static java.lang.Object |
newConstantWrapper(java.lang.Class type,
java.lang.Object object)
Create a new "constant" representation for this object, conforming to the given concrete type.
|
static Invalidator |
newGlobalInvalidator(int maxFailures) |
static Invalidator |
newMethodInvalidator(RubyModule module) |
public static final java.lang.Object newConstantWrapper(java.lang.Class type, java.lang.Object object)
type
- the class to which the constant should conformpublic static Invalidator newConstantInvalidator(Ruby runtime)
public static Invalidator newGlobalInvalidator(int maxFailures)
public static Invalidator newMethodInvalidator(RubyModule module)
Copyright © 2001-2020 JRuby. All Rights Reserved.