Package | Description |
---|---|
es.uniovi.reflection.invokedynamic |
Provides a set of classes to allow dynamically linkage invocations using the invokedynamic bytecode
|
es.uniovi.reflection.invokedynamic.codegen |
Provides a set of classes that dynamically generate JVM code to perform the invokedynamic invocations
|
es.uniovi.reflection.invokedynamic.util |
Utility classes to help with the dynamic invocations
|
Modifier and Type | Field and Description |
---|---|
private Bootstrap |
MemberBSClass.bootstrap |
private Bootstrap |
MemberBIClass.bootstrap |
Modifier and Type | Method and Description |
---|---|
static <T> T |
ProxyFactory.generateInvokeDynamic(Bootstrap bootstrap,
java.lang.Class<T> interfaceCallable)
Generates an object to provide instance method invocation using invokedynamic, passing the bootstrap method as parameter.
|
static <T> Callable<T> |
ProxyFactory.generateInvokeDynamicCallable(Bootstrap bootstrap,
MethodSignature methodSignature)
Generates a Callable instance to perform dynamic invocations to methods, fields and constructors received as a parameter.
|
static <T> T |
ProxyFactory.generateStaticInvokeDynamic(Bootstrap bootstrap,
java.lang.Class<T> interfaceCallable)
Generates an object to provide static method invocation using invokedynamic, passing the bootstrap method as parameter.
|
private static <T> Callable<T> |
ProxyFactory.getInvokedynamicCallable(Bootstrap bootstrap,
MethodSignature methodSignature)
Returns a Callable object.
|
static <T> T |
ProxyFactory.invokeDynamic(Bootstrap bootstrap,
MethodSignature methodSignature,
java.lang.Object object,
java.lang.Object... args)
Performs dynamic invocations to methods, fields and constructors received as a parameter.
|
Constructor and Description |
---|
MemberBIClass(Bootstrap bootstrap,
java.lang.Class<T> interfaceCallable,
TypeModifier typeModifier,
java.lang.Class<?> clazz) |
MemberBIClass(Bootstrap bootstrap,
java.lang.Class<T> interfaceCallable,
TypeModifier typeModifier,
java.lang.Class<?> clazz,
java.lang.String nameInvoke,
java.lang.String bootstrapType) |
MemberBSClass(Bootstrap bootstrap,
MethodSignature methodSignature) |
Modifier and Type | Field and Description |
---|---|
private Bootstrap |
ClassGenerator.bootstrap |
Constructor and Description |
---|
ClassGenerator(Bootstrap bootstrap,
java.lang.String classSignature,
java.lang.String interfaceClass,
java.lang.String interfaceMethodName,
java.lang.invoke.MethodType methodTypeSignature,
java.lang.invoke.MethodType methodTypeMethod,
boolean interfaceOptimized,
boolean hasBridge,
java.lang.invoke.MethodType interfaceSignatureBridge,
int lengthAloadBridge,
boolean[] isArray,
int aloadIndexParameter)
Constructor of the class that receives all the arguments to dynamically create the class to perform the dynamic invocation.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultBoostrap
Defines the default bootstrap class to be invoked.
|