Package | Description |
---|---|
es.uniovi.reflection.invokedynamic |
Provides a set of classes to allow dynamically linkage invocations using the invokedynamic bytecode
|
Modifier and Type | Field and Description |
---|---|
private GetProperty<T> |
PropertyClass.get |
private GetProperty<T> |
FieldClass.get |
Modifier and Type | Field and Description |
---|---|
private static java.util.HashMap<java.lang.reflect.Field,GetProperty<?>> |
ProxyFactory.fieldGetClass |
private static java.util.HashMap<PropertyClass<?>,GetProperty<?>> |
ProxyFactory.propertyGetClass |
Modifier and Type | Method and Description |
---|---|
static <T> GetProperty<T> |
ProxyFactory.generateGetProperty(java.lang.reflect.Field field)
Generates a GetProperty instance to obtain the value of a Field by means of invokedynamic.
|
static <T> GetProperty<T> |
ProxyFactory.generateGetProperty(java.lang.Object object,
java.lang.String property,
java.lang.Class<T> type)
Generates a GetProperty instance to obtain the value of an instance field by means of invokedynamic.
|
static <T> GetProperty<T> |
ProxyFactory.generateGetProperty(java.lang.String clazzDescriptor,
java.lang.String property,
java.lang.String typeDescriptor)
Generates a GetProperty instance to obtain the value of an instance field by means of invokedynamic.
|
static <T> GetProperty<T> |
ProxyFactory.generateStaticGetProperty(java.lang.Object object,
java.lang.String property,
java.lang.Class<T> type)
Generates a GetProperty instance to obtain the value of a static field by means of invokedynamic.
|
static <T> GetProperty<T> |
ProxyFactory.generateStaticGetProperty(java.lang.String clazzDescriptor,
java.lang.String property,
java.lang.String typeDescriptor)
Generates a GetProperty instance to obtain the value of a static field by means of invokedynamic.
|
GetProperty<T> |
FieldClass.getGetProperty()
Returns an instance of the generated class.
|
private static <T> GetProperty<T> |
ProxyFactory.getGetProperty(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?> type,
TypeModifier typeModifier)
Returns a GetProperty object.
|
private GetProperty<T> |
PropertyClass.getInstanceGet()
Gets the class that implements GetProperty.
|
private GetProperty<T> |
FieldClass.getInstanceGet()
Gets the class that implements GetProperty.
|
GetProperty<T> |
PropertyClass.getProperty()
Returns an object that implements GetProperty to perform dynamic invocations to the property.
|