public class TemplateHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
TemplateHelper.Pair<E,F> |
| Constructor and Description |
|---|
TemplateHelper(javassist.ClassPool pool) |
| Modifier and Type | Method and Description |
|---|---|
String |
asSetter(String field) |
TemplateHelper |
cls(String name) |
String |
clsName() |
Class<?> |
collectionType(javassist.CtMethod method) |
javassist.CtClass |
compile() |
String |
ctor(String code) |
TemplateHelper |
ext(javassist.CtClass superClass) |
String |
field(String code) |
String |
fieldFor(String getterName) |
TemplateHelper |
impl(String interfaceName) |
String |
method(String code) |
Class<?> |
returnTypeOf(javassist.CtMethod method) |
String |
toString() |
String |
wrapperNameFor(Class<?> cls) |
public TemplateHelper cls(String name)
public String clsName()
public TemplateHelper ext(javassist.CtClass superClass) throws javassist.CannotCompileException
javassist.CannotCompileExceptionpublic TemplateHelper impl(String interfaceName) throws javassist.NotFoundException
javassist.NotFoundExceptionpublic String field(String code) throws javassist.CannotCompileException
javassist.CannotCompileExceptionpublic String ctor(String code) throws javassist.CannotCompileException
javassist.CannotCompileExceptionpublic String method(String code) throws javassist.CannotCompileException
javassist.CannotCompileExceptionpublic Class<?> returnTypeOf(javassist.CtMethod method) throws ClassNotFoundException, NoSuchMethodException
public Class<?> collectionType(javassist.CtMethod method) throws ClassNotFoundException, NoSuchMethodException
public javassist.CtClass compile()
Copyright © 2014. All Rights Reserved.