Metafactory
Class
The meta-factory handles building call-sites at runtime. Currently, Java's LambdaMetafactory is used for building lambda call-sites.
Methods in this are used by name for dynamic invocation.
Extends
Object
Modifiers
public
Constructors
new Metafactory ()
ConstructorNo description is available for this element.
Return Type
Metafactory
Modifiers
public
Methods
createBridge (Lookup, String, MethodType, String, Class, Class...)
MethodAccesses the bridge compiler to write a bridge stub for a function lookup call.
This may be switched to a dual execution model in future versions to make use of lazy compiling.
Index | Type | Name |
---|---|---|
1 | Lookup | caller |
2 | String | name |
3 | MethodType | type |
4 | String | source |
5 | Class | owner |
6 | Class[] | parameters |
Return Type
CallSite
Modifiers
public static varargs