A C D F G I J M O P S T V

A

AbstractPrxyInvocationHandler - Class in mrcode.duckprxy.impl
 
AbstractPrxyInvocationHandler(Object) - Constructor for class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
AbstractPrxyInvocationHandler.DelegateClassInformation - Class in mrcode.duckprxy.impl
 
AbstractPrxyInvocationHandler.DelegateClassInformation(Method, Method, Map<Pattern, Method>) - Constructor for class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler.DelegateClassInformation
 
addInterface(ClassPool, CtClass, Class<?>, Class<?>, List<MethodUtils.MethodRetrieveStrategy>, Method) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
addMethod(ClassPool, CtClass, Method, Class<?>, List<MethodUtils.MethodRetrieveStrategy>, Method) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 

C

createClassName(Class<?>, Collection<Class<?>>) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 

D

defaultMethod() - Static method in class mrcode.duckprxy.impl.MethodUtils
 
defaultMethodStrategy() - Static method in class mrcode.duckprxy.impl.MethodUtils
 
defaultMethodStrategy(Method) - Static method in class mrcode.duckprxy.impl.MethodUtils
 
delegate - Variable in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
DuckArg - Annotation Type in mrcode.duckprxy
Annotation for duck delegate method paramaeters.
DuckArgType - Enum in mrcode.duckprxy
 
DuckMethod - Annotation Type in mrcode.duckprxy
Adds details to a method of a duck delegate.
DuckPrxy - Interface in mrcode.duckprxy
An interface for a duck typing proxy creator service.
DuckPrxyImpl - Class in mrcode.duckprxy.impl
A (more or less) simple implementation of DuckProxy that uses java reflections.
DuckPrxyImpl() - Constructor for class mrcode.duckprxy.impl.DuckPrxyImpl
 
DuckPrxyPreCompImpl - Class in mrcode.duckprxy.impl
 
DuckPrxyPreCompImpl() - Constructor for class mrcode.duckprxy.impl.DuckPrxyPreCompImpl
 

F

fallbackMethod - Variable in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler.DelegateClassInformation
 

G

getCtClass(ClassPool, Class<?>) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
getCtClass(ClassPool, Class<?>[]) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
getDelegateArguments(String, Method, Object[]) - Method in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
getDelegateCall(String, Method, int) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
getDelegateClassInformation(Class<?>) - Method in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
getDelegateClassInformation(Class<?>) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
getDuckArg(Annotation[]) - Method in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
getDuckArg(Annotation[]) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
getMethod(String, Class<?>[]) - Method in interface mrcode.duckprxy.impl.MethodUtils.MethodRetrieveStrategy
 
getMethodDelegate(Method, Class<?>, List<MethodUtils.MethodRetrieveStrategy>, Method, StringBuilder) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
getProxyClass(String, Object, Class<?>, List<Class<?>>, ClassPool) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
getSubDelegate(Object) - Method in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
getSubDelegateGetter() - Method in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
getSubDelegateGetter() - Method in class mrcode.duckprxy.impl.PrxyInvocationHanlder
 
getSubDelegateGetter() - Method in class mrcode.duckprxy.impl.PrxyPreCompInvocationHandler
 

I

invoke(Object, Method, Object[]) - Method in class mrcode.duckprxy.impl.PrxyInvocationHanlder
 
invoke(Object, Method, Object[]) - Method in class mrcode.duckprxy.impl.PrxyPreCompInvocationHandler
 

J

JavassistDuckPrxy - Class in mrcode.duckprxy.impl
Javassist implementation of DuckPrxy.
JavassistDuckPrxy() - Constructor for class mrcode.duckprxy.impl.JavassistDuckPrxy
 
JavassistDuckPrxy(String) - Constructor for class mrcode.duckprxy.impl.JavassistDuckPrxy
Constructor to set own class name prefix.

M

makeProxy(Class<T>, Object, Class<?>...) - Method in interface mrcode.duckprxy.DuckPrxy
Creates an object that implements the defined interfaces delegating to a given object, mainly using duck typing.
makeProxy(Class<T>, Object, Class<?>...) - Method in class mrcode.duckprxy.impl.DuckPrxyImpl
 
makeProxy(Class<T>, Object, Class<?>...) - Method in class mrcode.duckprxy.impl.DuckPrxyPreCompImpl
 
makeProxy(Class<T>, Object, Class<?>...) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
makeStrategies(Class<?>, AbstractPrxyInvocationHandler.DelegateClassInformation) - Method in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
 
makeStrategies(Class<?>, AbstractPrxyInvocationHandler.DelegateClassInformation) - Method in class mrcode.duckprxy.impl.JavassistDuckPrxy
 
methodByNameAndArgsStrategy(Class<?>) - Static method in class mrcode.duckprxy.impl.MethodUtils
 
methodByNameWithoutArgsStrategy(Class<?>) - Static method in class mrcode.duckprxy.impl.MethodUtils
 
methodByPatternStrategy(Class<?>, Map<Pattern, Method>) - Static method in class mrcode.duckprxy.impl.MethodUtils
 
MethodUtils - Class in mrcode.duckprxy.impl
 
MethodUtils() - Constructor for class mrcode.duckprxy.impl.MethodUtils
 
MethodUtils.MethodRetrieveStrategy - Interface in mrcode.duckprxy.impl
 
mrcode.duckprxy - package mrcode.duckprxy
 
mrcode.duckprxy.impl - package mrcode.duckprxy.impl
 
mrcode.duckprxy.util - package mrcode.duckprxy.util
 

O

ObjectUtil - Class in mrcode.duckprxy.util
 
ObjectUtil() - Constructor for class mrcode.duckprxy.util.ObjectUtil
 

P

patternMap - Variable in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler.DelegateClassInformation
 
PrxyInvocationHanlder - Class in mrcode.duckprxy.impl
The heart of the the DuckPrxyImpl implementation.
PrxyInvocationHanlder(Object) - Constructor for class mrcode.duckprxy.impl.PrxyInvocationHanlder
 
PrxyPreCompInvocationHandler - Class in mrcode.duckprxy.impl
 
PrxyPreCompInvocationHandler(Object, Class<?>[]) - Constructor for class mrcode.duckprxy.impl.PrxyPreCompInvocationHandler
 

S

subDelegateGetter - Variable in class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler.DelegateClassInformation
 

T

toObject(int) - Static method in class mrcode.duckprxy.util.ObjectUtil
 
toObject(Object) - Static method in class mrcode.duckprxy.util.ObjectUtil
 

V

valueOf(String) - Static method in enum mrcode.duckprxy.DuckArgType
Returns the enum constant of this type with the specified name.
values() - Static method in enum mrcode.duckprxy.DuckArgType
Returns an array containing the constants of this enum type, in the order they are declared.

A C D F G I J M O P S T V

Copyright © 2008. All Rights Reserved.