|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.reflect.plugins.bytecode.accessor.reflect.ReflectAccessorFactory
public class ReflectAccessorFactory
Class to create implementations of the MethodAccessor
, ConstructorAccessor
and FieldAccessor
interfaces.
This implementation simply creates implementations that use reflection
Constructor Summary | |
---|---|
ReflectAccessorFactory()
|
Method Summary | |
---|---|
static ConstructorAccessor |
createConstructorAccessor(BytecodeConstructorInfo constructorInfo)
Creates a new ConstructorAccessor implementation for a given constructor |
static FieldAccessor |
createFieldAccessor(BytecodeFieldInfo fieldInfo)
Creates a new FieldAccessor implementation for a given field |
static MethodAccessor |
createMethodAccessor(BytecodeMethodInfo methodInfo)
Creates a new MethodAccessor implementation for a given method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectAccessorFactory()
Method Detail |
---|
public static MethodAccessor createMethodAccessor(BytecodeMethodInfo methodInfo)
methodInfo
- the method for which we want to create a MethodAccessor implementation
RuntimeException
- if an error ocurredpublic static ConstructorAccessor createConstructorAccessor(BytecodeConstructorInfo constructorInfo)
constructorInfo
- the constructor for which we want to create a ConstructorAccessor implementation
RuntimeException
- if an error ocurredpublic static FieldAccessor createFieldAccessor(BytecodeFieldInfo fieldInfo)
fieldInfo
- the field for which we want to create a JavassistField implementation
RuntimeException
- if an error ocurred
|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |