if(isSupportJavassist()){
instance.append(new AnnotationTemplateBuilderSelector(new JavassistTemplateBuilder()));
instance.forceBuilder = new JavassistTemplateBuilder();
instance.append(new BeansTemplateBuilderSelector(
new JavassistTemplateBuilder(
new BeansFieldEntryReader(),
new BuildContextFactory() {
@Override
public BuildContextBase createBuildContext(JavassistTemplateBuilder builder) {
return new BeansBuildContext(builder);
}