public class PropertyAccessInvocationHandler extends Object implements net.sf.cglib.proxy.MethodInterceptor
Constructor and Description |
---|
PropertyAccessInvocationHandler(Expression<?> host,
AliasFactory aliasFactory,
PathFactory pathFactory,
TypeSystem typeSystem) |
Modifier and Type | Method and Description |
---|---|
protected PathMetadata<Integer> |
createListAccessPath(Path<?> path,
Integer index) |
protected PathMetadata<?> |
createMapAccessPath(Path<?> path,
Object key) |
protected PathMetadata<String> |
createPropertyPath(Path<?> path,
String propertyName) |
Object |
intercept(Object proxy,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy) |
protected <T> T |
newInstance(Class<T> type,
Type genericType,
Object parent,
Object propKey,
PathMetadata<?> metadata) |
protected String |
propertyNameForGetter(Method method) |
public PropertyAccessInvocationHandler(Expression<?> host, AliasFactory aliasFactory, PathFactory pathFactory, TypeSystem typeSystem)
public Object intercept(Object proxy, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy) throws Throwable
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
Throwable
@Nullable protected <T> T newInstance(Class<T> type, Type genericType, Object parent, Object propKey, PathMetadata<?> metadata)
protected PathMetadata<String> createPropertyPath(Path<?> path, String propertyName)
protected PathMetadata<Integer> createListAccessPath(Path<?> path, Integer index)
protected PathMetadata<?> createMapAccessPath(Path<?> path, Object key)
Copyright © 2007–2015 Mysema Ltd. All rights reserved.