Package org.jruby.runtime.scope
Class DynamicScopeGenerator
java.lang.Object
org.jruby.runtime.scope.DynamicScopeGenerator
A generator for DynamicScope subclasses, using fields for storage and specializing appropriate methods.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodHandle
generate
(int size) static Class
generateClassForSize
(ClassDefiningClassLoader cdcl, int size) static void
Pregenerate a number of scope shapes to the path given.
-
Field Details
-
SCOPES_PACKAGE
- See Also:
-
SCOPES_PATH
-
SPECIALIZED_GETS
-
SPECIALIZED_GETS_OR_NIL
-
SPECIALIZED_SETS
-
-
Constructor Details
-
DynamicScopeGenerator
public DynamicScopeGenerator()
-
-
Method Details
-
generate
-
main
Pregenerate a number of scope shapes to the path given.- Parameters:
args
- args[0] should be the path in which the classes are dumped
-
generateClassForSize
-