| constant | type | note |
|---|---|---|
| IRUBYOBJECT_ARRAY_CLASS_NAME | String | |
| MAX_REQUIRED_UNBOXED_ARITY | int |
| field | type | note |
|---|---|---|
| isStatic | boolean | |
| hasContext | boolean | |
| hasBlock | boolean | |
| hasVarArgs | boolean | |
| actualRequired | int | |
| arity | int | |
| required | int | |
| optional | int | |
| rest | boolean | |
| anno | JRubyMethod | |
| modifiers | int | |
| declaringClassName | String | |
| declaringClassPath | String | |
| name | String | |
| rubyName | String |
<init>(T methodObject)calculateSpecificCallArity()Returns a value useful for number of arguments we need for arity when generating call methods used by invokers and the JIT. Note: MAX_REQUIRED_UNBOXED_ARITY looks like some tweakable setting but it is merely for documentation. All our non-generated internal code is also locked to the same specific arities so we cannot just change this value and be happy.
Returns: arity value of specific required arity which can be used as an unboxed call or -1 for all other cases.