|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.reflect.plugins.javassist.JavassistReflectionFactory
public class JavassistReflectionFactory
JavassistReflectionFactory. TODO JBMICROCONT-122 proper classpool with pruning TODO JBMICROCONT-121 non compiler based implementation
Constructor Summary | |
---|---|
JavassistReflectionFactory(boolean check)
Create a new JavassistReflectionFactory. |
Method Summary | |
---|---|
JavassistConstructor |
createConstructor(javassist.CtConstructor ctConstructor)
Create a javassist constructor |
JavassistField |
createField(javassist.CtField ctField)
Create a javassist field |
JavassistMethod |
createMethod(javassist.CtMethod ctMethod)
Create a javassist method |
protected String |
getBoxedType(javassist.CtClass type)
Get the boxed type TODO JBMICROCONT-119 integer progression? |
protected void |
unbox(org.jboss.util.JBossStringBuilder buffer,
javassist.CtClass primitive)
Unbox a primitive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavassistReflectionFactory(boolean check)
check
- whether to check argumentsMethod Detail |
---|
public JavassistMethod createMethod(javassist.CtMethod ctMethod) throws Throwable
ctMethod
- the method
Throwable
- for any errorpublic JavassistConstructor createConstructor(javassist.CtConstructor ctConstructor) throws Throwable
ctConstructor
- the constructor
Throwable
- for any errorpublic JavassistField createField(javassist.CtField ctField) throws Throwable
ctField
- the field
Throwable
- for any errorprotected void unbox(org.jboss.util.JBossStringBuilder buffer, javassist.CtClass primitive)
buffer
- the bufferprimitive
- the primitiveprotected String getBoxedType(javassist.CtClass type)
type
- the type to box
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |