Skip navigation links
C D F G L M R S T U V W 

C

ClassTarget - Annotation Type in me.lucko.shadow
Defines a class target with a constant, known value.
computeClass(Class<? extends Shadow>) - Method in interface me.lucko.shadow.DynamicClassTarget.Function
Computes the target class for the given shadowClass.
computeField(Method, Class<? extends Shadow>, Class<?>) - Method in interface me.lucko.shadow.DynamicFieldTarget.Function
Computes the target field for the given shadowMethod.
computeMethod(Method, Class<? extends Shadow>, Class<?>) - Method in interface me.lucko.shadow.DynamicMethodTarget.Function
Computes the target method for the given shadowMethod.
constructShadow(Class<T>, Object...) - Method in class me.lucko.shadow.ShadowFactory
Creates a shadow for the given object, by invoking a constructor on the shadows target.
constructShadow(Class<T>, ShadowingStrategy.Unwrapper, Object...) - Method in class me.lucko.shadow.ShadowFactory
Creates a shadow for the given object, by invoking a constructor on the shadows target.

D

DynamicClassTarget - Annotation Type in me.lucko.shadow
Defines a class target with a dynamic value, calculated on demand by a function.
DynamicClassTarget.Function - Interface in me.lucko.shadow
A functional interface encapsulating the target value computation.
DynamicFieldTarget - Annotation Type in me.lucko.shadow
Defines a field target with a dynamic value, calculated on demand by a function.
DynamicFieldTarget.Function - Interface in me.lucko.shadow
A functional interface encapsulating the target value computation.
DynamicMethodTarget - Annotation Type in me.lucko.shadow
Defines a method target with a dynamic value, calculated on demand by a function.
DynamicMethodTarget.Function - Interface in me.lucko.shadow
A functional interface encapsulating the target value computation.

F

Field - Annotation Type in me.lucko.shadow
Marks that a method on a Shadow should map to a field on the target class.

G

getShadowClass() - Method in interface me.lucko.shadow.Shadow
Gets the shadow class that was defined when this Shadow was constructed.
getShadowTarget() - Method in interface me.lucko.shadow.Shadow
Gets the target (handle) object for this shadow.
global() - Static method in class me.lucko.shadow.ShadowFactory
Returns a shared static ShadowFactory instance.

L

lookupClass(Class<? extends Shadow>) - Method in interface me.lucko.shadow.TargetResolver
Attempts to find the corresponding target class for the given shadow class.
lookupField(Method, Class<? extends Shadow>, Class<?>) - Method in interface me.lucko.shadow.TargetResolver
Attempts to find the corresponding target field name for the given shadow method.
lookupMethod(Method, Class<? extends Shadow>, Class<?>) - Method in interface me.lucko.shadow.TargetResolver
Attempts to find the corresponding target method name for the given shadow method.

M

me.lucko.shadow - package me.lucko.shadow
 

R

registerTargetResolver(TargetResolver) - Method in class me.lucko.shadow.ShadowFactory
Registers a target resolver with the shadow factory.
RESOLVER - Static variable in annotation type me.lucko.shadow.ClassTarget
A TargetResolver for the ClassTarget annotation.
RESOLVER - Static variable in annotation type me.lucko.shadow.DynamicClassTarget
A TargetResolver for the DynamicClassTarget annotation.
RESOLVER - Static variable in annotation type me.lucko.shadow.DynamicFieldTarget
A TargetResolver for the DynamicFieldTarget annotation.
RESOLVER - Static variable in annotation type me.lucko.shadow.DynamicMethodTarget
A TargetResolver for the DynamicMethodTarget annotation.
RESOLVER - Static variable in annotation type me.lucko.shadow.Target
A TargetResolver for the Target annotation.

S

Shadow - Interface in me.lucko.shadow
Marks a "shadow" interface.
shadow(Class<T>, Object) - Method in class me.lucko.shadow.ShadowFactory
Creates a shadow for the given object.
ShadowFactory - Class in me.lucko.shadow
Creates instances of Shadow interfaces.
ShadowFactory() - Constructor for class me.lucko.shadow.ShadowFactory
Constructs a new shadow factory.
ShadowingStrategy - Annotation Type in me.lucko.shadow
Defines the strategy to use when wrapping and unwrapping (shadow) objects.
ShadowingStrategy.ForShadowArrays - Enum in me.lucko.shadow
A (un)wrapper which wraps and unwraps one-dimensional shadow arrays.
ShadowingStrategy.ForShadows - Enum in me.lucko.shadow
A (un)wrapper which wraps and unwraps basic shadow objects.
ShadowingStrategy.None - Enum in me.lucko.shadow
ShadowingStrategy.Unwrapper - Interface in me.lucko.shadow
A function for unwrapping Shadows to objects.
ShadowingStrategy.Wrapper - Interface in me.lucko.shadow
A function for wrapping objects to Shadows.
Static - Annotation Type in me.lucko.shadow
Marks a method on a Shadow that targets a static method or field.
staticShadow(Class<T>) - Method in class me.lucko.shadow.ShadowFactory
Creates a static shadow for the given class.

T

Target - Annotation Type in me.lucko.shadow
Defines a class, method or field target with a constant, known value.
TargetResolver - Interface in me.lucko.shadow
Interface to represent a resolver which can identify the corresponding targets for shadow classes, methods and fields.

U

unwrap(Object, Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.ForShadowArrays
 
unwrap(Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.ForShadowArrays
 
unwrap(Object, Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.ForShadows
 
unwrap(Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.ForShadows
 
unwrap(Object, Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.None
 
unwrap(Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.None
 
unwrap(Object, Class<?>, ShadowFactory) - Method in interface me.lucko.shadow.ShadowingStrategy.Unwrapper
Unwraps the given object to a non-shadow object.
unwrap(Class<?>, ShadowFactory) - Method in interface me.lucko.shadow.ShadowingStrategy.Unwrapper
 
unwrapAll(Object[], Class<?>[], ShadowFactory) - Method in interface me.lucko.shadow.ShadowingStrategy.Unwrapper
Unwraps all of the given objects to non-shadow objects.
unwrapAll(Class<?>[], ShadowFactory) - Method in interface me.lucko.shadow.ShadowingStrategy.Unwrapper
 

V

valueOf(String) - Static method in enum me.lucko.shadow.ShadowingStrategy.ForShadowArrays
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.lucko.shadow.ShadowingStrategy.ForShadows
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.lucko.shadow.ShadowingStrategy.None
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.lucko.shadow.ShadowingStrategy.ForShadowArrays
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.lucko.shadow.ShadowingStrategy.ForShadows
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.lucko.shadow.ShadowingStrategy.None
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrap(Object, Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.ForShadowArrays
 
wrap(Object, Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.ForShadows
 
wrap(Object, Class<?>, ShadowFactory) - Method in enum me.lucko.shadow.ShadowingStrategy.None
 
wrap(Object, Class<?>, ShadowFactory) - Method in interface me.lucko.shadow.ShadowingStrategy.Wrapper
Wraps the given object to a shadow.
C D F G L M R S T U V W 
Skip navigation links