public class ASMReflectionFactory extends Object implements IReflectionFactory
IReflectionFactory
based on ASM.Constructor and Description |
---|
ASMReflectionFactory() |
Modifier and Type | Method and Description |
---|---|
<T> IConstructor<T> |
getConstructor(Constructor<T> ctor) |
<T> String[] |
getConstructorParametersNames(Constructor<T> ctor) |
<T,F> IField<T,F> |
getField(Field field) |
<T> IProperties<T> |
getFieldProperties(Class<T> declaringClass,
Field[] fields) |
<T> IGetterMethod<T> |
getGetterMethod(ClassLoader classLoader,
Method method) |
<T> IMethod<T> |
getMethod(ClassLoader classLoader,
Method method) |
<T> IParamsConstructor<T> |
getParamsConstructor(Constructor<T> ctor) |
<T> IProperties<T> |
getProperties(SpaceTypeInfo typeInfo) |
Object |
getProxy(ClassLoader loader,
Class<?>[] interfaces,
ProxyInvocationHandler handler,
boolean allowCache) |
<T> ISetterMethod<T> |
getSetterMethod(ClassLoader classLoader,
Method method) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFields, getGetterMethod, getMethod, getMethods, getMethods, getSetterMethod
public <T> IConstructor<T> getConstructor(Constructor<T> ctor)
getConstructor
in interface IReflectionFactory
public <T> IParamsConstructor<T> getParamsConstructor(Constructor<T> ctor)
getParamsConstructor
in interface IReflectionFactory
public <T> String[] getConstructorParametersNames(Constructor<T> ctor)
getConstructorParametersNames
in interface IReflectionFactory
public <T> IMethod<T> getMethod(ClassLoader classLoader, Method method)
getMethod
in interface IReflectionFactory
public <T> IGetterMethod<T> getGetterMethod(ClassLoader classLoader, Method method)
getGetterMethod
in interface IReflectionFactory
public <T> ISetterMethod<T> getSetterMethod(ClassLoader classLoader, Method method)
getSetterMethod
in interface IReflectionFactory
public <T,F> IField<T,F> getField(Field field)
getField
in interface IReflectionFactory
public <T> IProperties<T> getFieldProperties(Class<T> declaringClass, Field[] fields)
getFieldProperties
in interface IReflectionFactory
public <T> IProperties<T> getProperties(SpaceTypeInfo typeInfo)
getProperties
in interface IReflectionFactory
public Object getProxy(ClassLoader loader, Class<?>[] interfaces, ProxyInvocationHandler handler, boolean allowCache)
getProxy
in interface IReflectionFactory
Copyright © GigaSpaces.