Package org.jruby.ir.targets.indy
Class CheckArityBootstrap
java.lang.Object
org.jruby.ir.targets.indy.CheckArityBootstrap
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.objectweb.asm.Handle
static final org.objectweb.asm.Handle
static final org.objectweb.asm.Handle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CallSite
checkArity
(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) static void
checkArity
(ThreadContext context, StaticScope scope, Object[] args, Object keywords, Block block, int req, int opt, boolean rest, int keyrest) static CallSite
checkAritySpecificArgs
(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) static void
checkAritySpecificArgs
(ThreadContext context, StaticScope scope, Object[] args, Block block, int req, int opt, boolean rest, int keyrest) static CallSite
checkArrayArity
(MethodHandles.Lookup lookup, String name, MethodType methodType, int required, int opt, int rest)
-
Field Details
-
CHECK_ARITY_SPECIFIC_ARGS
public static final org.objectweb.asm.Handle CHECK_ARITY_SPECIFIC_ARGS -
CHECK_ARITY
public static final org.objectweb.asm.Handle CHECK_ARITY -
CHECK_ARRAY_ARITY_BOOTSTRAP
public static final org.objectweb.asm.Handle CHECK_ARRAY_ARITY_BOOTSTRAP
-
-
Constructor Details
-
CheckArityBootstrap
public CheckArityBootstrap()
-
-
Method Details
-
checkArity
public static CallSite checkArity(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) -
checkAritySpecificArgs
public static CallSite checkAritySpecificArgs(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) -
checkArity
public static void checkArity(ThreadContext context, StaticScope scope, Object[] args, Object keywords, Block block, int req, int opt, boolean rest, int keyrest) -
checkAritySpecificArgs
public static void checkAritySpecificArgs(ThreadContext context, StaticScope scope, Object[] args, Block block, int req, int opt, boolean rest, int keyrest) -
checkArrayArity
public static CallSite checkArrayArity(MethodHandles.Lookup lookup, String name, MethodType methodType, int required, int opt, int rest)
-